Home
last modified time | relevance | path

Searched refs:EnableSensor (Results 1 - 25 of 39) sorted by relevance

12

/base/sensors/medical_sensor/services/medical_sensor/test/unittest/phone/
H A Dmedical_proxy_test.cpp118 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 Dsensor_hdi_connection.cpp69 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 Di_medical_sensor_service.h37 virtual ErrCode EnableSensor(uint32_t sensorId, int64_t samplingPeriodNs,
H A Dmedical_sensor_service_proxy.h31 ErrCode EnableSensor(uint32_t sensorId, int64_t samplingPeriodNs, int64_t maxReportDelayNs) override;
H A Dmedical_sensor_service_client.h36 int32_t EnableSensor(uint32_t sensorId, int64_t samplingPeroid, int64_t maxReportDelay);
/base/sensors/sensor/services/hdi_connection/adapter/include/
H A Dcompatible_connection.h30 int32_t EnableSensor(int32_t sensorId) override;
H A Dhdi_connection.h31 int32_t EnableSensor(int32_t sensorId) override;
/base/sensors/sensor/services/hdi_connection/hardware/include/
H A Dhdi_service_impl.h32 int32_t EnableSensor(int32_t sensorId);
/base/sensors/sensor/services/include/
H A Dsensor_service_proxy.h32 ErrCode EnableSensor(int32_t sensorId, int64_t samplingPeriodNs, int64_t maxReportDelayNs) override;
/base/sensors/sensor/services/hdi_connection/interface/include/
H A Di_sensor_hdi_connection.h32 virtual int32_t EnableSensor(int32_t sensorId) = 0;
H A Dsensor_hdi_connection.h33 int32_t EnableSensor(int32_t sensorId) override;
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/adapter/include/
H A Dcompatible_connection.h34 int32_t EnableSensor(int32_t sensorId) override;
H A Dhdi_connection.h35 int32_t EnableSensor(int32_t sensorId) override;
/base/sensors/sensor/frameworks/native/include/
H A Di_sensor_service.h37 virtual ErrCode EnableSensor(int32_t sensorId, int64_t samplingPeriodNs,
H A Dsensor_service_proxy.h32 ErrCode EnableSensor(int32_t sensorId, int64_t samplingPeriodNs, int64_t maxReportDelayNs) override;
H A Dsensor_service_client.h42 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 Dsensor_hdi_connection.h34 int32_t EnableSensor(int32_t sensorId) override;
H A Di_sensor_hdi_connection.h36 virtual int32_t EnableSensor(int32_t sensorId) = 0;
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/hardware/include/
H A Dhdi_service_impl.h36 int32_t EnableSensor(uint32_t sensorId);
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/adapter/src/
H A Dcompatible_connection.cpp64 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 Dcompatible_connection.cpp74 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 Dmedical_service_client.cpp97 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 Dsensor_hdi_connection.cpp233 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 Dmedical_sensor_service.h54 ErrCode EnableSensor(uint32_t sensorId, int64_t samplingPeriodNs, int64_t maxReportDelayNs) override;
/base/sensors/sensor/frameworks/native/src/
H A Dsensor_service_client.cpp131 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()

Completed in 7 milliseconds

12