/base/sensors/medical_sensor/services/medical_sensor/test/unittest/phone/ |
H A D | medical_proxy_test.cpp | 118 HiLog::Info(LABEL, "EnableSensor begin"); in HWTEST_F() 122 auto ret = afeProxy_->EnableSensor(afeId_, samplingPeriodNs, maxReportDelayNs); in HWTEST_F() 123 HiLog::Info(LABEL, "EnableSensor ret is : %{public}d", ret); in HWTEST_F() 128 ret = afeProxy_->EnableSensor(afeId_, samplingPeriodNs, maxReportDelayNs); in HWTEST_F() 133 ret = afeProxy_->EnableSensor(afeId_, samplingPeriodNs, maxReportDelayNs); in HWTEST_F() 137 ret = afeProxy_->EnableSensor(afeId_, samplingPeriodNs, maxReportDelayNs); in HWTEST_F() 142 ret = afeProxy_->EnableSensor(afeId_, samplingPeriodNs, maxReportDelayNs); in HWTEST_F() 153 HiLog::Info(LABEL, "EnableSensor begin"); in HWTEST_F() 157 auto ret = afeProxy_->EnableSensor(afeId_, samplingPeriodNs, maxReportDelayNs); in HWTEST_F() 158 HiLog::Info(LABEL, "EnableSensor re in HWTEST_F() [all...] |
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/interface/src/ |
H A D | sensor_hdi_connection.cpp | 69 int32_t SensorHdiConnection::EnableSensor(int32_t sensorId) in EnableSensor() function in OHOS::Sensors::SensorHdiConnection 71 int32_t ret = iSensorHdiConnection_->EnableSensor(sensorId); in EnableSensor()
|
/base/sensors/medical_sensor/frameworks/native/medical_sensor/include/ |
H A D | i_medical_sensor_service.h | 37 virtual ErrCode EnableSensor(uint32_t sensorId, int64_t samplingPeriodNs,
|
H A D | medical_sensor_service_proxy.h | 31 ErrCode EnableSensor(uint32_t sensorId, int64_t samplingPeriodNs, int64_t maxReportDelayNs) override;
|
H A D | medical_sensor_service_client.h | 36 int32_t EnableSensor(uint32_t sensorId, int64_t samplingPeroid, int64_t maxReportDelay);
|
/base/sensors/sensor/services/hdi_connection/adapter/include/ |
H A D | compatible_connection.h | 30 int32_t EnableSensor(int32_t sensorId) override;
|
H A D | hdi_connection.h | 31 int32_t EnableSensor(int32_t sensorId) override;
|
/base/sensors/sensor/services/hdi_connection/hardware/include/ |
H A D | hdi_service_impl.h | 32 int32_t EnableSensor(int32_t sensorId);
|
/base/sensors/sensor/services/include/ |
H A D | sensor_service_proxy.h | 32 ErrCode EnableSensor(int32_t sensorId, int64_t samplingPeriodNs, int64_t maxReportDelayNs) override;
|
/base/sensors/sensor/services/hdi_connection/interface/include/ |
H A D | i_sensor_hdi_connection.h | 32 virtual int32_t EnableSensor(int32_t sensorId) = 0;
|
H A D | sensor_hdi_connection.h | 33 int32_t EnableSensor(int32_t sensorId) override;
|
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/adapter/include/ |
H A D | compatible_connection.h | 34 int32_t EnableSensor(int32_t sensorId) override;
|
H A D | hdi_connection.h | 35 int32_t EnableSensor(int32_t sensorId) override;
|
/base/sensors/sensor/frameworks/native/include/ |
H A D | i_sensor_service.h | 37 virtual ErrCode EnableSensor(int32_t sensorId, int64_t samplingPeriodNs,
|
H A D | sensor_service_proxy.h | 32 ErrCode EnableSensor(int32_t sensorId, int64_t samplingPeriodNs, int64_t maxReportDelayNs) override;
|
H A D | sensor_service_client.h | 42 int32_t EnableSensor(int32_t sensorId, int64_t samplingPeriod, int64_t maxReportDelay);
|
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/interface/include/ |
H A D | sensor_hdi_connection.h | 34 int32_t EnableSensor(int32_t sensorId) override;
|
H A D | i_sensor_hdi_connection.h | 36 virtual int32_t EnableSensor(int32_t sensorId) = 0;
|
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/hardware/include/ |
H A D | hdi_service_impl.h | 36 int32_t EnableSensor(uint32_t sensorId);
|
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/adapter/src/ |
H A D | compatible_connection.cpp | 64 int32_t CompatibleConnection::EnableSensor(int32_t sensorId)
in EnableSensor() function in OHOS::Sensors::CompatibleConnection 66 int32_t ret = hdiServiceImpl_.EnableSensor(sensorId);
in EnableSensor()
|
/base/sensors/sensor/services/hdi_connection/adapter/src/ |
H A D | compatible_connection.cpp | 74 int32_t CompatibleConnection::EnableSensor(int32_t sensorId)
in EnableSensor() function in OHOS::Sensors::CompatibleConnection 76 int32_t ret = hdiServiceImpl_.EnableSensor(sensorId);
in EnableSensor()
|
/base/sensors/medical_sensor/frameworks/native/medical_sensor/src/ |
H A D | medical_service_client.cpp | 97 int32_t MedicalSensorServiceClient::EnableSensor(uint32_t sensorId, int64_t samplingPeriod, int64_t maxReportDelay) in EnableSensor() function in OHOS::Sensors::MedicalSensorServiceClient 109 ret = afeServer_->EnableSensor(sensorId, samplingPeriod, maxReportDelay); in EnableSensor() 224 afeServer_->EnableSensor(it.first, it.second.GetSamplingPeriodNs(), it.second.GetMaxReportDelayNs()); in ProcessDeathObserver()
|
/base/sensors/sensor/services/hdi_connection/interface/src/ |
H A D | sensor_hdi_connection.cpp | 233 int32_t SensorHdiConnection::EnableSensor(int32_t sensorId) in EnableSensor() function in OHOS::Sensors::SensorHdiConnection 236 StartTrace(HITRACE_TAG_SENSORS, "EnableSensor"); in EnableSensor() 242 ret = iSensorCompatibleHdiConnection_->EnableSensor(sensorId); in EnableSensor() 254 ret = iSensorHdiConnection_->EnableSensor(sensorId); in EnableSensor()
|
/base/sensors/medical_sensor/services/medical_sensor/include/ |
H A D | medical_sensor_service.h | 54 ErrCode EnableSensor(uint32_t sensorId, int64_t samplingPeriodNs, int64_t maxReportDelayNs) override;
|
/base/sensors/sensor/frameworks/native/src/ |
H A D | sensor_service_client.cpp | 131 int32_t SensorServiceClient::EnableSensor(int32_t sensorId, int64_t samplingPeriod, int64_t maxReportDelay) in EnableSensor() function in OHOS::Sensors::SensorServiceClient 142 StartTrace(HITRACE_TAG_SENSORS, "EnableSensor"); in EnableSensor() 144 ret = sensorServer_->EnableSensor(sensorId, samplingPeriod, maxReportDelay); in EnableSensor() 250 sensorServer_->EnableSensor(it.first, it.second.GetSamplingPeriodNs(), it.second.GetMaxReportDelayNs()); in ReenableSensor()
|