/base/sensors/sensor/interfaces/native/test/unittest/ |
D | sensor_agent_test.cpp | 163 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/ |
D | medical_js.h | 22 static int32_t SubscribeSensor(int32_t sensorTypeId, int64_t interval, const MedicalSensorUser *use…
|
/base/sensors/sensor_lite/interfaces/kits/native/test/unittest/src/ |
D | sensor_agent_interfaces_test.cpp | 287 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/ |
D | sensor_js.h | 28 int32_t SubscribeSensor(int32_t sensorTypeId, int64_t interval, RecordSensorCallback callback);
|
/base/sensors/sensor/interfaces/native/include/ |
D | sensor_agent.h | 70 int32_t SubscribeSensor(int32_t sensorTypeId, const SensorUser *user);
|
/base/sensors/sensor_lite/interfaces/kits/native/include/ |
D | sensor_agent.h | 71 int32_t SubscribeSensor(int32_t sensorTypeId, SensorUser *user);
|
/base/sensors/sensor_lite/frameworks/include/ |
D | sensor_agent.h | 75 int32_t SubscribeSensor(int32_t sensorTypeId, SensorUser *user);
|
/base/sensors/medical_sensor/interfaces/native/include/ |
D | medical_native_impl.h | 70 int32_t SubscribeSensor(int32_t sensorTypeId, const MedicalSensorUser *user);
|
/base/sensors/sensor/interfaces/native/src/ |
D | sensor_agent.cpp | 111 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/ |
D | sensor_lite_test_performance.cpp | 110 ret = SubscribeSensor(0, &sensorUser); 139 ret = SubscribeSensor(0, &sensorUser); 242 ret = SubscribeSensor(0, &sensorUser);
|
/base/sensors/sensor_lite/services/include/ |
D | sensor_service.h | 57 int32_t (*SubscribeSensor)(int32_t sensorId, const SensorUser *user); member
|
/base/sensors/sensor/interfaces/native/test/fuzztest/sensoragent_fuzzer/ |
D | sensoragent_fuzzer.cpp | 52 int32_t ret = SubscribeSensor(sensorTypeId, &user); in SensorAgentFuzzTest()
|
/base/sensors/medical_sensor/interfaces/native/test/unittest/ |
D | medical_native_test.cpp | 78 int32_t ret = SubscribeSensor(sensorTypeId, &user);
|
/base/sensors/sensor_lite/frameworks/src/ |
D | sensor_agent.c | 52 int32_t SubscribeSensor(int32_t sensorTypeId, SensorUser *user) in SubscribeSensor() function
|
D | sensor_agent_client.c | 83 return sensor->SubscribeSensor(sensorId, sensorUser); in SubscribeSensorByProxy()
|
/base/sensors/sensor/frameworks/native/sensor/include/ |
D | sensor_agent_proxy.h | 41 int32_t SubscribeSensor(int32_t sensorId, const SensorUser *user) const;
|
/base/sensors/medical_sensor/interfaces/plugin/src/ |
D | medical_js.cpp | 89 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/ |
D | sensor_service.c | 118 int32_t ret = defaultApi->SubscribeSensor(sensorId, &sensorUser); in SubscribeSensorInvoke() 220 .SubscribeSensor = SubscribeSensorImpl,
|
/base/sensors/sensor_lite/ |
D | README_zh.md | 58 …011514211"><a name="b1011011514211"></a><a name="b1011011514211"></a>SubscribeSensor</strong>(int3… 138 int32_t ret = SubscribeSensor(SENSOR_TYPE_ID_ACCELEROMETER, &sensorUser);
|
D | README.md | 58 …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/ |
D | sensor_data_callback.cpp | 162 int32_t ret = SubscribeSensor(sensorTypeId, &user_); in RegisterCallbackSensor()
|
/base/sensors/sensor/interfaces/plugin/src/ |
D | sensor_js.cpp | 181 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/ |
D | sensor_agent_proxy.cpp | 208 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/ |
D | medical_native_impl.cpp | 234 int32_t SubscribeSensor(int32_t sensorId, const MedicalSensorUser *user) in SubscribeSensor() function
|
/base/powermgr/display_manager/service/native/src/ |
D | display_power_mgr_service.cpp | 385 SubscribeSensor(SENSOR_TYPE_ID_AMBIENT_LIGHT, &sensorUser_); in ActivateAmbientSensor()
|