Home
last modified time | relevance | path

Searched refs:commandId (Results 1 – 25 of 132) sorted by relevance

123456

/ohos5.0/base/useriam/face_auth/services/src/
H A Dsa_command_manager.cpp40 for (const auto &commandId : commandIds) { in RegisterSaCommandProcessor() local
41 if (commandId2Processors_.find(commandId) == commandId2Processors_.end()) { in RegisterSaCommandProcessor()
42 commandId2Processors_[commandId] = std::set<std::shared_ptr<ISaCommandProcessor>>(); in RegisterSaCommandProcessor()
45 commandId2Processors_[commandId].insert(processor); in RegisterSaCommandProcessor()
58 for (const auto &commandId : commandIds) { in UnregisterSaCommandProcessor() local
59 if (commandId2Processors_.find(commandId) == commandId2Processors_.end()) { in UnregisterSaCommandProcessor()
63 commandId2Processors_[commandId].erase(processor); in UnregisterSaCommandProcessor()
/ohos5.0/base/useriam/fingerprint_auth/services/src/
H A Dsa_command_manager.cpp40 for (const auto &commandId : commandIds) { in RegisterSaCommandProcessor() local
41 if (commandId2Processors_.find(commandId) == commandId2Processors_.end()) { in RegisterSaCommandProcessor()
42 commandId2Processors_[commandId] = std::set<std::shared_ptr<ISaCommandProcessor>>(); in RegisterSaCommandProcessor()
45 commandId2Processors_[commandId].insert(processor); in RegisterSaCommandProcessor()
58 for (const auto &commandId : commandIds) { in UnregisterSaCommandProcessor() local
59 if (commandId2Processors_.find(commandId) == commandId2Processors_.end()) { in UnregisterSaCommandProcessor()
63 commandId2Processors_[commandId].erase(processor); in UnregisterSaCommandProcessor()
/ohos5.0/base/useriam/user_auth_framework/frameworks/native/executors/src/framework/
H A Dframework_executor_callback.cpp60 int32_t commandId = 0; in OnBeginExecuteInner() local
67 switch (commandId) { in OnBeginExecuteInner()
78 IAM_LOGE("command id %{public}u is not supported", commandId); in OnBeginExecuteInner()
81 IAM_LOGI("command id = %{public}u ret = %{public}d", commandId, ret); in OnBeginExecuteInner()
122 uint32_t commandId = 0; in OnSetPropertyInner() local
128 if (commandId == PROPERTY_MODE_DEL) { in OnSetPropertyInner()
130 } else if (commandId == PROPERTY_MODE_SET_CACHED_TEMPLATES) { in OnSetPropertyInner()
132 } else if (commandId == PROPERTY_MODE_NOTIFY_COLLECTOR_READY) { in OnSetPropertyInner()
137 IAM_LOGI("command id = %{public}u ret = %{public}d", commandId, ret); in OnSetPropertyInner()
177 uint32_t commandId = 0; in OnGetPropertyInner() local
[all …]
/ohos5.0/drivers/hdf_core/framework/model/network/wifi/platform/src/message/
H A Dsidecar.c43 …atic MessageContext *CreateMessageContext(ServiceId sender, ServiceId receiver, uint32_t commandId, in CreateMessageContext() argument
51 context->commandId = commandId; in CreateMessageContext()
111 …ic ErrorCode SideCarSendSyncMessage(const Service *sideCar, ServiceId receiver, uint32_t commandId, in SideCarSendSyncMessage() argument
122 context = CreateMessageContext(privateData->serviceId, receiver, commandId, sendData); in SideCarSendSyncMessage()
145 …orCode SideCarSendAsyncMessageInner(const Service *sideCar, ServiceId receiver, uint32_t commandId, in SideCarSendAsyncMessageInner() argument
158 context = CreateMessageContext(privateData->serviceId, receiver, commandId, reqData); in SideCarSendAsyncMessageInner()
190 …c ErrorCode SideCarSendAsyncMessage(const Service *sideCar, ServiceId receiver, uint32_t commandId, in SideCarSendAsyncMessage() argument
197 return SideCarSendAsyncMessageInner(sideCar, receiver, commandId, reqData, callback); in SideCarSendAsyncMessage()
200 …de SideCarSendOneWayMessage(const struct SideCar_ *sideCar, ServiceId receiver, uint32_t commandId, in SideCarSendOneWayMessage() argument
203 return SideCarSendAsyncMessageInner(sideCar, receiver, commandId, reqData, NULL); in SideCarSendOneWayMessage()
H A Dmessage_dispatcher.c64 struct MessageDef *GetMsgDef(const struct ServiceDef *serviceDef, uint32_t commandId) in GetMsgDef() argument
71 if (commandId >= serviceDef->messagesLength) { in GetMsgDef()
76 msgDef = serviceDef->messages + commandId; in GetMsgDef()
144 …HDF_LOGE("Send semaphore failed!CMD=%u,Sender=%u,Receiver=%u", context->commandId, context->sender… in HandleSyncResponse()
/ohos5.0/foundation/ability/idl_tool/test/native/src/
H A Dmain_client.cpp46 TestCommand commandId = TestCommand::TEST_CMD_INT_TRANS; in main() local
48 commandId = TestCommand(atoi(argv[1])); in main()
59 ZLOGE(LABEL, "commandId= : %{public}d", commandId); in main()
60 switch (commandId) { in main()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dstylus_detector_default.cpp64 auto commandId = StringUtils::StringToInt(params[1]); in ExecuteCommand() local
68 if (commandId < 0 || commandId >= MAX_COMMAND_INDEX) { in ExecuteCommand()
72 auto command = static_cast<CommandType>(commandId); in ExecuteCommand()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/
H A Dwifi_cmd_client.cpp53 int WifiCmdClient::SendCmdToDriver(const std::string &ifName, int commandId, const std::string &par… in SendCmdToDriver() argument
60 if (commandId == CMD_SET_RX_LISTEN_POWER_SAVING_SWITCH) { in SendCmdToDriver()
62 } else if (commandId == CMD_SET_SOFTAP_2G_MSS) { in SendCmdToDriver()
64 } else if (commandId == CMD_AX_BLA_LIST) { in SendCmdToDriver()
66 } else if (commandId == CMD_AX_SELFCURE) { in SendCmdToDriver()
68 } else if (commandId == CMD_BE_BLA_LIST) { in SendCmdToDriver()
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/userauth/
H A D_executor_send_msg_v10.md21 | int [commandId](#commandid) | 消息命令ID。 |
28 ### commandId subsection
31 int ExecutorSendMsg::commandId
H A D_executor_send_msg_v12.md21 | int [commandId](#commandid) | 消息命令ID。 |
28 ### commandId subsection
31 int ExecutorSendMsg::commandId
/ohos5.0/drivers/hdf_core/framework/model/network/wifi/platform/include/message/
H A Dsidecar.h29 uint32_t commandId; \
70 …orCode (*SendOneWayMessage)(const struct SideCar_ *sideCar, ServiceId receiver, uint32_t commandId,
73 …rrorCode (*SendSyncMessage)(const struct SideCar_ *sideCar, ServiceId receiver, uint32_t commandId,
76 …rorCode (*SendAsyncMessage)(const struct SideCar_ *sideCar, ServiceId receiver, uint32_t commandId,
/ohos5.0/foundation/communication/ipc/ipc/test/auxiliary/native/src/
H A Dmain_client.cpp76 TestCommand commandId = TestCommand::TEST_CMD_SYNC_TRANS; in main() local
78 commandId = TestCommand(std::stoi(argv[1])); in main()
89 ZLOGE(LABEL, "commandId= : %{public}d", commandId); in main()
129 auto it = commandMap.find(commandId); in main()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/
H A Dhfp_hf_profile.cpp242 int commandId; in QueryOperatorName() local
245 commandId = HfpHfCommandProcessor::AT_COPS_GETTER; in QueryOperatorName()
248 commandId = HfpHfCommandProcessor::AT_COPS_SETTER; in QueryOperatorName()
250 commandProcessor_.SendAtCommand(dataConn_, cmd, commandId); in QueryOperatorName()
282 int commandId = HfpHfCommandProcessor::AT_COMMAND_NONE; in SetHfVolume() local
285 commandId = HfpHfCommandProcessor::AT_VGS_SETTER; in SetHfVolume()
288 commandId = HfpHfCommandProcessor::AT_VGM_SETTER; in SetHfVolume()
294 commandProcessor_.SendAtCommand(dataConn_, cmd, commandId); in SetHfVolume()
/ohos5.0/base/useriam/user_auth_framework/frameworks/native/executors/src/async_command/
H A Dcustom_command.cpp51 uint32_t commandId = 0; in SendRequest() local
52 …ol getAuthPropertyModeRet = attributes_->GetUint32Value(Attributes::ATTR_PROPERTY_MODE, commandId); in SendRequest()
59 …ResultCode ret = hdi->SendCommand(static_cast<UserAuth::PropertyMode>(commandId), extraInfo, share… in SendRequest()
H A Dasync_command_base.cpp42 auto commandId = GenerateCommandId(); in AsyncCommandBase() local
44 …ss << "Command(type:" << type << ", id:" << commandId << ", scheduleId:" << GET_MASKED_STRING(sche… in AsyncCommandBase()
183 std::atomic<uint32_t> commandId = 0; in GenerateCommandId() local
185 return ++commandId; in GenerateCommandId()
/ohos5.0/base/useriam/user_auth_framework/test/unittest/services/src/
H A Dresource_node_utils_test.cpp104 int32_t commandId = 1250; variable
107 ResourceNodeUtils::SendMsgToExecutor(testIndex, commandId, testMsg);
114 int32_t commandId = 1250; variable
129 ResourceNodeUtils::SendMsgToExecutor(testIndex1, commandId, testMsg);
130 ResourceNodeUtils::SendMsgToExecutor(testIndex2, commandId, testMsg);
/ohos5.0/drivers/hdf_core/framework/model/network/wifi/platform/src/message/nodes/
H A Dlocal_node.c42 …if (localNodeService->mapper != NULL && context->commandId < localNodeService->mapper->messagesLen… in HandleRequestMessage()
43 messageDef = localNodeService->mapper->messages[context->commandId]; in HandleRequestMessage()
108 if (context->commandId >= localService->mapper->messagesLength || in SendMessageLocalNode()
109 localService->mapper->messages[context->commandId].handler == NULL) { in SendMessageLocalNode()
114 pri = localService->mapper->messages[context->commandId].pri; in SendMessageLocalNode()
/ohos5.0/foundation/ability/dmsfwk_lite/source/
H A Ddmslite_parser.c276 uint16_t commandId = UnMarshallUint16(tlvHead, COMMAND_ID); in ProcessCommuMsg() local
277 HILOGI("[ProcessCommuMsg commandId %hu]", commandId); in ProcessCommuMsg()
278 switch (commandId) { in ProcessCommuMsg()
288 HILOGW("[Unknown command id %hu]", commandId); in ProcessCommuMsg()
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/faceauth/
H A Dinterface_i_executor_faceauth_v10.md28 | [SendCommand](#sendcommand) ([in] int commandId, [in] unsigned char[] extraInfo, [in] [IExecutorC…
239 IExecutor::SendCommand ([in] int commandId, [in] unsigned char[] extraInfo, [in] IExecutorCallback …
251 | commandId | 操作命令ID。详细说明请参考[CommandId](_hdf_face_auth_v10.md#commandid)。 |
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/fingerauth/
H A Dinterface_i_executor_fingerauth_v10.md28 | [SendCommand](#sendcommand) ([in] int commandId, [in] unsigned char[] extraInfo, [in] [IExecutorC…
233 IExecutor::SendCommand ([in] int commandId, [in] unsigned char[] extraInfo, [in] IExecutorCallback …
245 | commandId | 操作命令ID[CommandId](_hdf_fingerprint_auth_v10.md#commandid)。 |
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/pinauth/
H A Dinterface_i_executor_pinauth_v10.md28 | [SendCommand](#sendcommand) ([in] int commandId, [in] unsigned char[] extraInfo, [in] [IExecutorC…
239 IExecutor::SendCommand ([in] int commandId, [in] unsigned char[] extraInfo, [in] IExecutorCallback …
251 | commandId | 操作命令ID[CommandId](_hdf_pin_auth_v10.md#commandid)。 |
/ohos5.0/drivers/hdf_core/framework/test/unittest/model/network/wifi/unittest/message/
H A Dhdf_single_node_message_test.c54 HDF_LOGI("Handle message %d\n", context->commandId); in FuncSmallLoad()
61 g_cmdList[g_cmdListCount++] = context->commandId; in FuncSmallLoad()
62 HDF_LOGI("Finish handle message %d\n", context->commandId); in FuncSmallLoad()
248 HDF_LOGI("Receive response for CMD %d.\n", context->commandId); in SendMessageTestCallBack()
/ohos5.0/drivers/peripheral/face_auth/hdi_service/src/
H A Dall_in_one_executor_impl.cpp146 …int32_t commandId, const std::vector<uint8_t> &extraInfo, const sptr<IExecutorCallback> &callbackO… in SendCommand() argument
155 switch (commandId) { in SendCommand()
181 IAM_LOGD("not support DriverCommandId : %{public}d", commandId); in SendCommand()
/ohos5.0/drivers/peripheral/fingerprint_auth/hdi_service/src/
H A Dall_in_one_executor_impl.cpp146 …int32_t commandId, const std::vector<uint8_t> &extraInfo, const sptr<IExecutorCallback> &callbackO… in SendCommand() argument
155 switch (commandId) { in SendCommand()
181 IAM_LOGD("not support DriverCommandId : %{public}d", commandId); in SendCommand()
/ohos5.0/base/web/webview/ohos_interface/include/ohos_nweb/
H A Dnweb_context_menu_params.h164 virtual void Continue(int32_t commandId, MenuEventFlags flag) = 0;
173 virtual void Continue(int32_t commandId, MenuEventFlags flag) = 0;

123456