Home
last modified time | relevance | path

Searched refs:SubscribeSensor (Results 1 – 25 of 27) sorted by relevance

12

/base/sensors/sensor/interfaces/native/test/unittest/
Dsensor_agent_test.cpp163 int32_t ret = SubscribeSensor(sensorId, &user);
230 int32_t ret = SubscribeSensor(sensorId, &user);
257 int32_t ret = SubscribeSensor(sensorId, &user);
266 int32_t ret = SubscribeSensor(invalidValue, &user);
273 int32_t ret = SubscribeSensor(sensorId, nullptr);
282 int32_t ret = SubscribeSensor(sensorId, &user);
309 int32_t ret = SubscribeSensor(sensorId, &user);
349 int32_t ret = SubscribeSensor(sensorId, &user);
414 int32_t ret = SubscribeSensor(sensorId, &user);
427 ret = SubscribeSensor(sensorId, &user2);
/base/sensors/medical_sensor/interfaces/plugin/include/
Dmedical_js.h22 static int32_t SubscribeSensor(int32_t sensorTypeId, int64_t interval, const MedicalSensorUser *use…
/base/sensors/sensor_lite/interfaces/kits/native/test/unittest/src/
Dsensor_agent_interfaces_test.cpp287 ret = SubscribeSensor(0, &sensorUser);
304 int32_t ret = SubscribeSensor(0, sensorUser);
319 int32_t ret = SubscribeSensor(-1, &sensorUser);
393 ret = SubscribeSensor(0, &sensorUser);
432 ret = SubscribeSensor(0, &sensorUser);
463 ret = SubscribeSensor(0, &sensorUser);
/base/sensors/sensor/interfaces/plugin/include/
Dsensor_js.h28 int32_t SubscribeSensor(int32_t sensorTypeId, int64_t interval, RecordSensorCallback callback);
/base/sensors/sensor/interfaces/native/include/
Dsensor_agent.h70 int32_t SubscribeSensor(int32_t sensorTypeId, const SensorUser *user);
/base/sensors/sensor_lite/interfaces/kits/native/include/
Dsensor_agent.h71 int32_t SubscribeSensor(int32_t sensorTypeId, SensorUser *user);
/base/sensors/sensor_lite/frameworks/include/
Dsensor_agent.h75 int32_t SubscribeSensor(int32_t sensorTypeId, SensorUser *user);
/base/sensors/medical_sensor/interfaces/native/include/
Dmedical_native_impl.h70 int32_t SubscribeSensor(int32_t sensorTypeId, const MedicalSensorUser *user);
/base/sensors/sensor/interfaces/native/src/
Dsensor_agent.cpp111 int32_t SubscribeSensor(int32_t sensorId, const SensorUser *user) in SubscribeSensor() function
118 int32_t ret = proxy->SubscribeSensor(sensorId, user); in SubscribeSensor()
/base/sensors/sensor_lite/interfaces/kits/native/test/performance/src/
Dsensor_lite_test_performance.cpp110 ret = SubscribeSensor(0, &sensorUser);
139 ret = SubscribeSensor(0, &sensorUser);
242 ret = SubscribeSensor(0, &sensorUser);
/base/sensors/sensor_lite/services/include/
Dsensor_service.h57 int32_t (*SubscribeSensor)(int32_t sensorId, const SensorUser *user); member
/base/sensors/sensor/interfaces/native/test/fuzztest/sensoragent_fuzzer/
Dsensoragent_fuzzer.cpp52 int32_t ret = SubscribeSensor(sensorTypeId, &user); in SensorAgentFuzzTest()
/base/sensors/medical_sensor/interfaces/native/test/unittest/
Dmedical_native_test.cpp78 int32_t ret = SubscribeSensor(sensorTypeId, &user);
/base/sensors/sensor_lite/frameworks/src/
Dsensor_agent.c52 int32_t SubscribeSensor(int32_t sensorTypeId, SensorUser *user) in SubscribeSensor() function
Dsensor_agent_client.c83 return sensor->SubscribeSensor(sensorId, sensorUser); in SubscribeSensorByProxy()
/base/sensors/sensor/frameworks/native/sensor/include/
Dsensor_agent_proxy.h41 int32_t SubscribeSensor(int32_t sensorId, const SensorUser *user) const;
/base/sensors/medical_sensor/interfaces/plugin/src/
Dmedical_js.cpp89 static int32_t SubscribeSensor(int32_t sensorTypeId, int64_t interval, const MedicalSensorUser *use… in SubscribeSensor() function
92 int32_t ret = SubscribeSensor(sensorTypeId, user); in SubscribeSensor()
146 int32_t ret = SubscribeSensor(sensorTypeId, interval, &user); in On()
/base/sensors/sensor_lite/services/src/
Dsensor_service.c118 int32_t ret = defaultApi->SubscribeSensor(sensorId, &sensorUser); in SubscribeSensorInvoke()
220 .SubscribeSensor = SubscribeSensorImpl,
/base/sensors/sensor_lite/
DREADME_zh.md58 …011514211"><a name="b1011011514211"></a><a name="b1011011514211"></a>SubscribeSensor</strong>(int3…
138 int32_t ret = SubscribeSensor(SENSOR_TYPE_ID_ACCELEROMETER, &sensorUser);
DREADME.md58 …011514211"><a name="b1011011514211"></a><a name="b1011011514211"></a>SubscribeSensor</strong>(int3…
138 int32_t ret = SubscribeSensor(SENSOR_TYPE_ID_ACCELEROMETER, &sensorUser);
/base/msdp/device_status/libs/src/datahub/
Dsensor_data_callback.cpp162 int32_t ret = SubscribeSensor(sensorTypeId, &user_); in RegisterCallbackSensor()
/base/sensors/sensor/interfaces/plugin/src/
Dsensor_js.cpp181 int32_t SubscribeSensor(int32_t sensorTypeId, int64_t interval, RecordSensorCallback callback) in SubscribeSensor() function
184 int32_t ret = SubscribeSensor(sensorTypeId, &user); in SubscribeSensor()
259 int32_t ret = SubscribeSensor(sensorTypeId, REPORTING_INTERVAL, DataCallbackImpl); in Once()
346 int32_t ret = SubscribeSensor(sensorTypeId, interval, DataCallbackImpl); in On()
1197 int32_t ret = SubscribeSensor(sensorTypeId, g_samplingPeriod[interval], DataCallbackImpl); in Subscribe()
/base/sensors/sensor/frameworks/native/sensor/src/
Dsensor_agent_proxy.cpp208 int32_t SensorAgentProxy::SubscribeSensor(int32_t sensorId, const SensorUser *user) const in SubscribeSensor() function in OHOS::Sensors::SensorAgentProxy
/base/sensors/medical_sensor/interfaces/native/src/
Dmedical_native_impl.cpp234 int32_t SubscribeSensor(int32_t sensorId, const MedicalSensorUser *user) in SubscribeSensor() function
/base/powermgr/display_manager/service/native/src/
Ddisplay_power_mgr_service.cpp385 SubscribeSensor(SENSOR_TYPE_ID_AMBIENT_LIGHT, &sensorUser_); in ActivateAmbientSensor()

12