/base/sensors/medical_sensor/services/medical_sensor/test/unittest/common/ |
D | client_info_test.cpp | 40 ClientInfo &clientInfo_ = ClientInfo::GetInstance(); member in OHOS::Sensors::ClientInfoTest 70 bool ret = clientInfo_.UpdateSensorInfo(ACC_SENSOR_ID, pid, sensorInfo); 90 bool ret = clientInfo_.UpdateSensorInfo(ACC_SENSOR_ID, pid, sensorInfo); 110 bool ret = clientInfo_.UpdateSensorInfo(MAG_SENSOR_ID, pid, sensorInfo); 130 bool ret = clientInfo_.UpdateSensorInfo(INVALID_SENSOR_ID, pid, sensorInfo); 150 bool ret = clientInfo_.UpdateSensorInfo(MAG_SENSOR_ID, pid, sensorInfo); 170 bool ret = clientInfo_.UpdateSensorInfo(ACC_SENSOR_ID, pid, sensorInfo); 183 MedicalSensorState ret = clientInfo_.GetSensorState(ACC_SENSOR_ID); 196 MedicalSensorState ret = clientInfo_.GetSensorState(MAG_SENSOR_ID); 212 auto ret = clientInfo_.UpdateSensorChannel(pid, sensorChannel); [all …]
|
/base/sensors/sensor/services/sensor/src/ |
D | sensor_service.cpp | 168 AccessTokenID tokenId = clientInfo_.GetTokenIdByPid(pid); in ReportSensorSysEvent() 171 int32_t uid = clientInfo_.GetUidByPid(pid); in ReportSensorSysEvent() 194 auto ret = clientInfo_.GetStoreEvent(sensorId, sensorData); in ReportOnChangeData() 199 sptr<SensorBasicDataChannel> channel = clientInfo_.GetSensorChannelByPid(GetCallingPid()); in ReportOnChangeData() 218 clientInfo_.RemoveSubscriber(sensorId, GetCallingPid()); in SaveSubscriber() 246 if (clientInfo_.GetSensorState(sensorId)) { in EnableSensor() 266 clientInfo_.RemoveSubscriber(sensorId, GetCallingPid()); in EnableSensor() 273 clientInfo_.RemoveSubscriber(sensorId, GetCallingPid()); in EnableSensor() 310 int32_t uid = clientInfo_.GetUidByPid(pid); in DisableSensor() 311 clientInfo_.DestroyCmd(uid); in DisableSensor() [all …]
|
D | sensor_manager.cpp | 56 SensorBasicInfo sensorInfo = clientInfo_.GetBestSensorInfo(sensorId); in SetBestSensorParams() 81 SensorBasicInfo sensorInfo = clientInfo_.GetBestSensorInfo(sensorId); in ResetBestSensorParams() 113 if (!clientInfo_.UpdateSensorInfo(sensorId, pid, sensorInfo)) { in SaveSubscriber() 155 if (clientInfo_.OnlyCurPidSensorEnabled(sensorId, clientPid)) { in IsOtherClientUsingSensor() 159 clientInfo_.ClearCurPidSensorInfo(sensorId, clientPid); in IsOtherClientUsingSensor() 172 clientInfo_.ClearSensorInfo(sensorId); in AfterDisableSensor() 175 auto ret = clientInfo_.GetStoreEvent(sensorId, sensorData); in AfterDisableSensor() 179 clientInfo_.StoreEvent(sensorData); in AfterDisableSensor()
|
D | sensor_power_policy.cpp | 32 ClientInfo &clientInfo_ = ClientInfo::GetInstance(); variable 47 std::vector<int32_t> sensorIdList = clientInfo_.GetSensorIdByPid(pid); in SuspendSensors() 84 auto sensorInfo = clientInfo_.GetCurPidSensorInfo(sensorId, pid); in Suspend() 144 if (clientInfo_.GetSensorState(sensorId)) { in Resume() 162 clientInfo_.RemoveSubscriber(sensorId, pid); in Resume() 181 clientInfo_.RemoveSubscriber(sensorId, pid); in RestoreSensorInfo() 222 std::vector<int32_t> sensorIdList = clientInfo_.GetSensorIdByPid(pid); in GetActiveInfoList() 224 auto sensorInfo = clientInfo_.GetCurPidSensorInfo(sensorId, pid); in GetActiveInfoList()
|
D | sensor_data_processer.cpp | 164 uint64_t periodCount = clientInfo_.ComputeBestPeriodCount(sensorId, channel); in ReportData() 168 auto fifoCount = clientInfo_.ComputeBestFifoCount(sensorId, channel); in ReportData() 246 std::vector<sptr<SensorBasicDataChannel>> channelList = clientInfo_.GetSensorChannel(sensorId); in EventFilter() 280 clientInfo_.UpdateDataQueue(data.sensorTypeId, data); in SendEvents() 287 clientInfo_.StoreEvent(data); in SendEvents()
|
D | flush_info_record.cpp | 88 sptr<SensorBasicDataChannel> channel = clientInfo_.GetSensorChannelByPid(pid); in FlushProcess()
|
/base/sensors/medical_sensor/services/medical_sensor/src/ |
D | medical_service.cpp | 201 auto ret = clientInfo_.GetStoreEvent(sensorId, event); in ReportOnChangeData() 206 …sptr<MedicalSensorBasicDataChannel> channel = clientInfo_.GetSensorChannelByPid(this->GetCallingPi… in ReportOnChangeData() 229 clientInfo_.RemoveSubscriber(sensorId, this->GetCallingPid()); in SaveSubscriber() 246 if (clientInfo_.GetSensorState(sensorId) == SENSOR_ENABLED) { in EnableSensor() 265 clientInfo_.RemoveSubscriber(sensorId, this->GetCallingPid()); in EnableSensor() 272 clientInfo_.RemoveSubscriber(sensorId, this->GetCallingPid()); in EnableSensor() 293 if (clientInfo_.GetSensorState(sensorId) != SENSOR_ENABLED) { in DisableSensor() 305 clientInfo_.DestroyCmd(this->GetCallingUid()); in DisableSensor() 306 clientInfo_.ClearDataQueue(sensorId); in DisableSensor() 333 auto state = clientInfo_.GetSensorState(sensorId); in GetSensorState() [all …]
|
D | medical_manager.cpp | 62 MedicalSensorBasicInfo sensorInfo = clientInfo_.GetBestSensorInfo(sensorId); in SetBestSensorParams() 88 MedicalSensorBasicInfo sensorInfo = clientInfo_.GetBestSensorInfo(sensorId); in ResetBestSensorParams() 137 auto updateRet = clientInfo_.UpdateSensorInfo(sensorId, pid, sensorInfo); in SaveSubscriber() 159 if (clientInfo_.OnlyCurPidSensorEnabled(sensorId, clientPid)) { in IsOtherClientUsingSensor() 163 clientInfo_.ClearCurPidSensorInfo(sensorId, clientPid); in IsOtherClientUsingSensor() 174 if (!clientInfo_.ClearSensorInfo(sensorId)) { in AfterDisableSensor() 180 auto ret = clientInfo_.GetStoreEvent(sensorId, event); in AfterDisableSensor() 184 clientInfo_.StoreEvent(event); in AfterDisableSensor()
|
D | medical_data_processer.cpp | 186 uint64_t periodCount = clientInfo_.ComputeBestPeriodCount(sensorId, channel); in ReportData() 190 auto fifoCount = clientInfo_.ComputeBestFifoCount(sensorId, channel); in ReportData() 314 channelList = clientInfo_.GetSensorChannel(realSensorId); in EventFilter() 316 channelList = clientInfo_.GetSensorChannel(sensorId); in EventFilter() 392 clientInfo_.UpdateDataQueue(event.sensorTypeId, event); in SendEvents() 399 clientInfo_.StoreEvent(event); in SendEvents()
|
D | flush_info_record.cpp | 107 sptr<MedicalSensorBasicDataChannel> channel = clientInfo_.GetSensorChannelByPid(pid); in FlushProcess()
|
/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/ |
D | input_method_controller.cpp | 88 return proxy->UpdateListenEventFlag(clientInfo_, IME_NONE); in RestoreListenEventFlag() 104 auto oldEventFlag = clientInfo_.eventFlag; in UpdateListenEventFlag() 106 auto ret = proxy->UpdateListenEventFlag(clientInfo_, eventType); in UpdateListenEventFlag() 108 clientInfo_.eventFlag = oldEventFlag; in UpdateListenEventFlag() 116 …clientInfo_.eventFlag = isOn ? clientInfo_.eventFlag | currentEvent : clientInfo_.eventFlag & curr… in UpdateNativeEventFlag() 146 clientInfo_ = { .attribute = attribute, .client = client, .channel = channel }; in Initialize() 256 clientInfo_.isShowKeyboard = false; in WorkThread() 429 clientInfo_.isShowKeyboard = isShowKeyboard; in Attach() 432 int32_t ret = PrepareInput(clientInfo_); in Attach() 437 ret = StartInput(clientInfo_.client, isShowKeyboard, true); in Attach() [all …]
|
/base/inputmethod/imf/test/unittest/cpp_test/src/ |
D | input_method_private_member_test.cpp | 192 …int32_t ret = userSession->ShowKeyboard(imc->clientInfo_.channel, imc->clientInfo_.client, false, … 194 ret = userSession->HideKeyboard(imc->clientInfo_.client); 196 ret = userSession->ClearDataChannel(imc->clientInfo_.channel); 198 ret = userSession->SendAgentToSingleClient(imc->clientInfo_.client); 227 auto clientInfo = userSession->GetClientInfo(imc->clientInfo_.client->AsObject()); 239 userSession->SetCurrentClient(imc->clientInfo_.client);
|
/base/sensors/sensor/services/sensor/include/ |
D | flush_info_record.h | 62 ClientInfo &clientInfo_ = ClientInfo::GetInstance();
|
D | sensor_manager.h | 59 ClientInfo &clientInfo_ = ClientInfo::GetInstance();
|
D | sensor_data_processer.h | 58 ClientInfo &clientInfo_ = ClientInfo::GetInstance();
|
D | sensor_service.h | 107 ClientInfo &clientInfo_ = ClientInfo::GetInstance();
|
/base/sensors/medical_sensor/services/medical_sensor/include/ |
D | medical_sensor_manager.h | 48 ClientInfo &clientInfo_ = ClientInfo::GetInstance();
|
D | flush_info_record.h | 62 ClientInfo &clientInfo_ = ClientInfo::GetInstance();
|
D | medical_sensor_data_processer.h | 61 ClientInfo &clientInfo_ = ClientInfo::GetInstance();
|
D | medical_sensor_service.h | 89 ClientInfo &clientInfo_ = ClientInfo::GetInstance();
|
/base/inputmethod/imf/interfaces/inner_api/inputmethod_controller/include/ |
D | input_method_controller.h | 495 InputClientInfo clientInfo_; variable
|