Home
last modified time | relevance | path

Searched refs:cmdType (Results 1 - 25 of 27) sorted by relevance

12

/base/sensors/medical_sensor/services/medical_sensor/test/unittest/phone/
H A Dmedical_proxy_test.cpp186 uint32_t cmdType = 0; // flush cmd in HWTEST_F() local
189 auto ret = afeProxy_->RunCommand(afeId_, cmdType, params); in HWTEST_F()
203 uint32_t cmdType = 4; // unknown cmd in HWTEST_F() local
205 auto ret = afeProxy_->RunCommand(afeId_, cmdType, params); in HWTEST_F()
217 uint32_t cmdType = 4; // unknown cmd in HWTEST_F() local
219 auto ret = afeProxy_->RunCommand(INVALID_SENSOR_ID, cmdType, params); in HWTEST_F()
231 uint32_t cmdType = 0; // flush cmd in HWTEST_F() local
233 auto ret = afeProxy_->RunCommand(INVALID_SENSOR_ID, cmdType, params); in HWTEST_F()
/base/sensors/medical_sensor/utils/src/
H A Dmedical_channel_info.cpp78 void MedicalSensorChannelInfo::SetCmdType(const std::vector<int32_t> &cmdType) in SetCmdType() argument
80 cmdType_ = cmdType; in SetCmdType()
/base/sensors/sensor/utils/common/src/
H A Dsensor_channel_info.cpp78 void SensorChannelInfo::SetCmdType(const std::vector<int32_t> &cmdType) in SetCmdType() argument
80 cmdType_ = cmdType; in SetCmdType()
/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/
H A Dexpand_sub_session.c191 static int32_t AddSendCmdDataToList(int32_t cmdType, const CJson *sendCmdData, CJson *sendCmdList) in AddSendCmdDataToList() argument
198 if (AddIntToJson(sendCmd, FIELD_ID, cmdType) != HC_SUCCESS) { in AddSendCmdDataToList()
199 LOGE("add cmdType to json fail."); in AddSendCmdDataToList()
238 int32_t cmdType; in ProcRecvCmd() local
239 if (GetIntFromJson(recvCmd, FIELD_ID, &cmdType) != HC_SUCCESS) { in ProcRecvCmd()
240 LOGE("get cmdType from recvCmd fail."); in ProcRecvCmd()
252 if (cmd->type != cmdType) { in ProcRecvCmd()
268 LOGE("cmd not found. [Cmd]: %d", cmdType); in ProcRecvCmd()
383 static int32_t AddExpandProcess(ExpandSubSession *self, int32_t cmdType, void *params, in AddExpandProcess() argument
395 const CmdComponent *component = GetCmdComponent(cmdType); in AddExpandProcess()
[all...]
/base/security/device_auth/services/session_manager/inc/session/v2/expand_sub_session/
H A Dexpand_sub_session.h30 int32_t (*addCmd)(ExpandSubSession *self, int32_t cmdType,
/base/sensors/medical_sensor/frameworks/native/medical_sensor/include/
H A Di_medical_sensor_service.h46 virtual ErrCode RunCommand(uint32_t sensorId, uint32_t cmdType, uint32_t params) = 0;
H A Dmedical_sensor_service_proxy.h35 ErrCode RunCommand(uint32_t sensorId, uint32_t cmdType, uint32_t params) override;
H A Dmedical_sensor_service_client.h38 int32_t RunCommand(uint32_t sensorId, int32_t cmdType, int32_t parms);
/base/sensors/medical_sensor/utils/include/
H A Dmedical_sensor_channel_info.h39 void SetCmdType(const std::vector<int32_t> &cmdType);
/base/sensors/sensor/services/include/
H A Dsensor_service_proxy.h35 ErrCode RunCommand(int32_t sensorId, uint32_t cmdType, uint32_t params) override;
H A Dclient_info.h72 void UpdateCmd(int32_t sensorId, int32_t uid, int32_t cmdType);
/base/sensors/sensor/utils/common/include/
H A Dsensor_channel_info.h40 void SetCmdType(const std::vector<int32_t> &cmdType);
/base/sensors/medical_sensor/services/medical_sensor/src/
H A Dmedical_service.cpp337 ErrCode MedicalSensorService::RunCommand(uint32_t sensorId, uint32_t cmdType, uint32_t params) in RunCommand() argument
341 ((cmdType != static_cast<uint32_t>(FlushCmdId::FLUSH)) && in RunCommand()
342 (cmdType != static_cast<uint32_t>(FlushCmdId::SET_MODE)))) { in RunCommand()
348 if (cmdType == static_cast<uint32_t>(FlushCmdId::FLUSH)) { in RunCommand()
357 if (sensorHdiConnection_.RunCommand(sensorId, cmdType, params) != ERR_OK) { in RunCommand()
362 clientInfo_.UpdateCmd(sensorId, uid, cmdType); in RunCommand()
H A Dclient_info.cpp632 void ClientInfo::UpdateCmd(uint32_t sensorId, int32_t uid, int32_t cmdType) in UpdateCmd() argument
639 tmp.push_back(cmdType); in UpdateCmd()
647 tmp.push_back(cmdType); in UpdateCmd()
652 tmp.push_back(cmdType); in UpdateCmd()
/base/sensors/medical_sensor/frameworks/native/medical_sensor/src/
H A Dmedical_service_proxy.cpp143 ErrCode MedicalSensorServiceProxy::RunCommand(uint32_t sensorId, uint32_t cmdType, uint32_t params) in RunCommand() argument
145 if (cmdType > static_cast<uint32_t>(FlushCmdId::RESERVED)) { in RunCommand()
146 HiLog::Error(LABEL, "%{public}s failed, cmdType : %{public}u", __func__, cmdType); in RunCommand()
160 if (!data.WriteUint32(cmdType)) { in RunCommand()
161 HiLog::Error(LABEL, "%{public}s write cmdType failed", __func__); in RunCommand()
H A Dmedical_service_client.cpp135 int32_t MedicalSensorServiceClient::RunCommand(uint32_t sensorId, int32_t cmdType, int32_t params) in RunCommand() argument
147 ret = afeServer_->RunCommand(sensorId, cmdType, params); in RunCommand()
/base/hiviewdfx/hiview/plugins/reliability/leak_detectors/native_leak/
H A Dnative_leak_state.h82 bool SuccessToSendCmd(std::shared_ptr<NativeLeakInfo> &userMonitorInfo, MemCmd cmdType);
83 int32_t SendCmd(std::shared_ptr<NativeLeakInfo> &userMonitorInfo, MemCmd cmdType) const;
H A Dnative_leak_state.cpp563 bool NativeLeakDumpState::SuccessToSendCmd(shared_ptr<NativeLeakInfo> &userMonitorInfo, MemCmd cmdType) in SuccessToSendCmd() argument
565 if (SendCmd(userMonitorInfo, cmdType)) { in SuccessToSendCmd()
571 int32_t NativeLeakDumpState::SendCmd(shared_ptr<NativeLeakInfo> &userMonitorInfo, MemCmd cmdType) const in SendCmd()
575 trackCmd.cmd = cmdType; in SendCmd()
579 HIVIEW_LOGI("ID:%{public}d, type:%{public}u, cmd:%{public}d", trackCmd.id, trackCmd.type, cmdType); in SendCmd()
/base/hiviewdfx/hiview/utility/smart_parser/rule/include/
H A Dsyntax_rules.h54 std::string cmdType; member
/base/sensors/medical_sensor/services/medical_sensor/include/
H A Dmedical_sensor_service.h62 ErrCode RunCommand(uint32_t sensorId, uint32_t cmdType, uint32_t params) override;
H A Dclient_info.h68 void UpdateCmd(uint32_t sensorId, int32_t uid, int32_t cmdType);
/base/telephony/call_manager/services/audio/include/
H A Daudio_player.h87 const AudioStandard::StateChangeCmdType cmdType) override {}
/base/web/webview/ohos_adapter/audio_adapter/include/
H A Daudio_renderer_adapter_impl.h37 void OnStateChange(const RendererState state, const StateChangeCmdType cmdType = CMD_FROM_CLIENT) override;
/base/sensors/sensor/services/src/
H A Dclient_info.cpp630 void ClientInfo::UpdateCmd(int32_t sensorId, int32_t uid, int32_t cmdType) in UpdateCmd() argument
637 tmp.push_back(cmdType); in UpdateCmd()
645 tmp.push_back(cmdType); in UpdateCmd()
650 tmp.push_back(cmdType); in UpdateCmd()
/base/hiviewdfx/hiview/utility/smart_parser/feature_analysis/
H A Dfeature_analysis.cpp99 if (matchFlag && featureCmd.cmdType == L2_RULES) { in RawInfoPosition()
204 if (seekType == FIRST_MATCH && rule.cmdType == L2_RULES) { in ParseElementForParam()

Completed in 14 milliseconds

12