/base/sensors/sensor/interfaces/native/test/unittest/ |
D | sensor_agent_test.cpp | 163 int32_t ret = SubscribeSensor(SENSOR_ID, &user); 230 int32_t ret = SubscribeSensor(SENSOR_ID, &user); 257 int32_t ret = SubscribeSensor(SENSOR_ID, &user); 266 int32_t ret = SubscribeSensor(INVALID_VALUE, &user); 273 int32_t ret = SubscribeSensor(SENSOR_ID, nullptr); 282 int32_t ret = SubscribeSensor(SENSOR_ID, &user); 309 int32_t ret = SubscribeSensor(SENSOR_ID, &user); 349 int32_t ret = SubscribeSensor(SENSOR_ID, &user); 414 int32_t ret = SubscribeSensor(SENSOR_ID, &user); 427 ret = SubscribeSensor(SENSOR_ID, &user2);
|
D | sensor_power_test.cpp | 155 int32_t ret = SubscribeSensor(SENSOR_ID, &user); 183 int32_t ret = SubscribeSensor(SENSOR_ID, &user); 226 ret = SubscribeSensor(SENSOR_ID, &user); 264 ret = SubscribeSensor(SENSOR_ID, &user); 297 int32_t ret = SubscribeSensor(SENSOR_ID, &user);
|
/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_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_lite/services/include/ |
D | sensor_service.h | 57 int32_t (*SubscribeSensor)(int32_t sensorId, const SensorUser *user); member
|
/base/sensors/sensor/interfaces/native/include/ |
D | sensor_agent.h | 70 int32_t SubscribeSensor(int32_t sensorTypeId, const SensorUser *user);
|
/base/sensors/sensor/interfaces/native/test/fuzztest/sensoragent_fuzzer/ |
D | sensoragent_fuzzer.cpp | 52 int32_t ret = SubscribeSensor(sensorTypeId, &user); in SensorAgentFuzzTest()
|
/base/sensors/sensor/interfaces/native/src/ |
D | sensor_agent.cpp | 85 int32_t SubscribeSensor(int32_t sensorId, const SensorUser *user) in SubscribeSensor() function 87 int32_t ret = SENSOR_AGENT_IMPL->SubscribeSensor(sensorId, user); in SubscribeSensor()
|
/base/sensors/medical_sensor/interfaces/native/test/unittest/ |
D | medical_native_test.cpp | 78 int32_t ret = SubscribeSensor(sensorTypeId, &user);
|
/base/useriam/face_auth/services_ex/src/ |
D | screen_brightness_task.cpp | 117 ResultCode SubscribeSensor() in SubscribeSensor() function 120 int32_t subscribeSensorRet = SubscribeSensor(SENSOR_TYPE_ID_AMBIENT_LIGHT, &SENSOR_USER); in SubscribeSensor() 294 ResultCode result = SubscribeSensor(); in StartProcess()
|
/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_lite/interfaces/kits/native/test/performance/src/ |
D | sensor_lite_test_performance.cpp | 110 ret = SubscribeSensor(0, &sensorUser); 139 ret = SubscribeSensor(0, &sensorUser);
|
/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/frameworks/native/sensor/include/ |
D | sensor_agent_proxy.h | 40 int32_t SubscribeSensor(int32_t sensorId, const SensorUser *user);
|
/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 | 161 int32_t ret = SubscribeSensor(sensorTypeId, &user_); in RegisterCallbackSensor()
|
/base/sensors/sensor/interfaces/plugin/src/ |
D | sensor_js.cpp | 187 int32_t SubscribeSensor(int32_t sensorTypeId, int64_t interval, RecordSensorCallback callback) in SubscribeSensor() function 190 int32_t ret = SubscribeSensor(sensorTypeId, &user); in SubscribeSensor() 265 int32_t ret = SubscribeSensor(sensorTypeId, REPORTING_INTERVAL, DataCallbackImpl); in Once() 343 int32_t ret = SubscribeSensor(sensorTypeId, interval, DataCallbackImpl); in On() 1158 int32_t ret = SubscribeSensor(sensorTypeId, g_samplingPeriod[interval], DataCallbackImpl); in Subscribe()
|
/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
|