Home
last modified time | relevance | path

Searched defs:sensorTypeId (Results 1 – 25 of 29) sorted by relevance

12

/base/msdp/device_status/libs/test/unittest/src/
Ddevice_status_datahub_test.cpp54 void SensorAccelCallbackData(int32_t sensorTypeId, AccelData* data) in SensorAccelCallbackData()
69 int32_t sensorTypeId = SENSOR_TYPE_ID_ACCELEROMETER; variable
84 int32_t sensorTypeId = SENSOR_TYPE_ID_ACCELEROMETER; variable
141 int32_t sensorTypeId = SENSOR_TYPE_ID_ACCELEROMETER; variable
158 int32_t sensorTypeId = SENSOR_TYPE_ID_ACCELEROMETER; variable
173 int32_t sensorTypeId = SENSOR_TYPE_ID_ACCELEROMETER; variable
188 int32_t sensorTypeId = SENSOR_TYPE_ID_ACCELEROMETER; variable
206 int32_t sensorTypeId = SENSOR_TYPE_ID_ACCELEROMETER; variable
224 int32_t sensorTypeId = SENSOR_TYPE_ID_ACCELEROMETER; variable
242 int32_t sensorTypeId = SENSOR_TYPE_ID_TEMPERATURE; variable
[all …]
Ddevice_status_algorithm_test.cpp208 int32_t sensorTypeId = SENSOR_TYPE_ID_ACCELEROMETER; variable
417 int32_t sensorTypeId = SENSOR_TYPE_ID_ACCELEROMETER; variable
433 int32_t sensorTypeId = SENSOR_TYPE_ID_NONE; variable
453 int32_t sensorTypeId = SENSOR_TYPE_ID_MAX; variable
472 int32_t sensorTypeId = SENSOR_TYPE_ID_MAX; variable
/base/sensors/sensor_lite/frameworks/src/
Dsensor_agent.c28 int32_t ActivateSensor(int32_t sensorTypeId, SensorUser *user) in ActivateSensor()
36 int32_t DeactivateSensor(int32_t sensorTypeId, SensorUser *user) in DeactivateSensor()
44 int32_t SetBatch(int32_t sensorTypeId, SensorUser *user, int64_t samplingInterval, int64_t reportIn… in SetBatch()
52 int32_t SubscribeSensor(int32_t sensorTypeId, SensorUser *user) in SubscribeSensor()
60 int32_t UnsubscribeSensor(int32_t sensorTypeId, SensorUser *user) in UnsubscribeSensor()
68 int32_t SetMode(int32_t sensorTypeId, SensorUser *user, int32_t mode) in SetMode()
76 int32_t SetOption(int32_t sensorTypeId, SensorUser *user, int32_t option) in SetOption()
Dsensor_agent_proxy.c51 for (int32_t sensorTypeId = 0; sensorTypeId < SENSOR_TYPE_ID_MAX; sensorTypeId++) { in IsRegisterCallback() local
60 static int32_t InsertCallbackNode(int32_t sensorTypeId, const SensorUser *user) in InsertCallbackNode()
88 static int32_t DeleteCallbackNode(int32_t sensorTypeId, const SensorUser *user) in DeleteCallbackNode()
420 int32_t CheckSensorTypeId(int32_t sensorTypeId) in CheckSensorTypeId()
/base/msdp/device_status/libs/src/datahub/
Dsensor_data_callback.cpp77 bool SensorDataCallback::SubscribeSensorEvent(int32_t sensorTypeId, SensorCallback callback) in SubscribeSensorEvent()
89 bool SensorDataCallback::UnsubscribeSensorEvent(int32_t sensorTypeId, SensorCallback callback) in UnsubscribeSensorEvent()
101 bool SensorDataCallback::NotifyCallback(int32_t sensorTypeId, AccelData* data) in NotifyCallback()
111 bool SensorDataCallback::PushData(int32_t sensorTypeId, uint8_t* data) in PushData()
130 bool SensorDataCallback::PopData(int32_t sensorTypeId, AccelData& data) in PopData()
157 bool SensorDataCallback::RegisterCallbackSensor(int32_t sensorTypeId) in RegisterCallbackSensor()
179 bool SensorDataCallback::UnregisterCallbackSensor(int32_t sensorTypeId) in UnregisterCallbackSensor()
/base/sensors/medical_sensor/interfaces/plugin/src/
Dmedical_js.cpp49 int32_t sensorTypeId = event->sensorTypeId; in DataCallbackImpl() local
74 static int32_t UnsubscribeSensor(int32_t sensorTypeId) in UnsubscribeSensor()
91 static int32_t SubscribeSensor(int32_t sensorTypeId, int64_t interval, const MedicalSensorUser *use… in SubscribeSensor()
126 int32_t sensorTypeId = GetCppInt32(args[0], env); in On() local
173 int32_t sensorTypeId = GetCppInt32(args[0], env); in Off() local
224 int32_t sensorTypeId = GetCppInt32(args[0], env); in SetOpt() local
Dmedical_napi_utils.cpp156 int32_t sensorTypeId = asyncCallbackInfo->sensorTypeId; in EmitUvEventLoop() local
/base/msdp/device_status/libs/src/algorithm/
Dalgo_base.cpp28 void AlgoBase::Unsubscribe(int32_t sensorTypeId) in Unsubscribe()
35 bool AlgoBase::SetData(int32_t sensorTypeId, AccelData* sensorData) in SetData()
Dalgo_absolute_still.cpp40 bool AlgoAbsoluteStill::StartAlgorithm(int32_t sensorTypeId, AccelData* sensorData) in StartAlgorithm()
Dalgo_horizontal.cpp37 bool AlgoHorizontal::StartAlgorithm(int32_t sensorTypeId, AccelData* sensorData) in StartAlgorithm()
Dalgo_vertical.cpp38 bool AlgoVertical::StartAlgorithm(int32_t sensorTypeId, AccelData* sensorData) in StartAlgorithm()
/base/sensors/sensor/test/fuzztest/interfaces/sensoragent_fuzzer/
Dsensoragent_fuzzer.cpp29 bool CheckSensorTypeId(int32_t sensorTypeId) in CheckSensorTypeId()
47 intptr_t sensorTypeId = reinterpret_cast<intptr_t>(data); in SensorAgentFuzzTest() local
/base/sensors/sensor/frameworks/js/napi/src/
Dsensor_js.cpp59 static bool CheckSubscribe(int32_t sensorTypeId) in CheckSubscribe()
70 int32_t sensorTypeId = event->sensorTypeId; in copySensorData() local
96 static bool CheckSystemSubscribe(int32_t sensorTypeId) in CheckSystemSubscribe()
109 int32_t sensorTypeId = event->sensorTypeId; in EmitSubscribeCallback() local
127 int32_t sensorTypeId = event->sensorTypeId; in EmitOnCallback() local
145 int32_t sensorTypeId = event->sensorTypeId; in EmitOnceCallback() local
181 int32_t UnsubscribeSensor(int32_t sensorTypeId) in UnsubscribeSensor()
192 int32_t SubscribeSensor(int32_t sensorTypeId, int64_t interval, RecordSensorCallback callback) in SubscribeSensor()
208 static bool IsOnceSubscribed(napi_env env, int32_t sensorTypeId, napi_value callback) in IsOnceSubscribed()
231 static void UpdateOnceCallback(napi_env env, int32_t sensorTypeId, napi_value callback) in UpdateOnceCallback()
[all …]
/base/sensors/medical_sensor/interfaces/native/test/unittest/
Dmedical_native_test.cpp73 int32_t sensorTypeId = 0; variable
/base/sensors/medical_sensor/utils/src/
Dpermission_util.cpp40 int32_t PermissionUtil::CheckSensorPermission(AccessTokenID callerToken, int32_t sensorTypeId) in CheckSensorPermission()
/base/sensors/medical_sensor/interfaces/plugin/include/
Dmedical_napi_utils.h36 int32_t sensorTypeId; member
/base/sensors/sensor/frameworks/native/include/
Dnative_sensor_impl.h27 int32_t sensorTypeId = -1; /**< Sensor type ID */ member
52 int32_t sensorTypeId = -1; member
/base/sensors/sensor/utils/common/src/
Dpermission_util.cpp41 int32_t PermissionUtil::CheckSensorPermission(AccessTokenID callerToken, int32_t sensorTypeId) in CheckSensorPermission()
Dsensor.cpp58 void Sensor::SetSensorTypeId(int32_t sensorTypeId) in SetSensorTypeId()
/base/sensors/medical_sensor/utils/include/
Dmedical_sensor_basic_data_channel.h31 uint32_t sensorTypeId; /**< Sensor type ID */ member
/base/msdp/device_status/libs/src/
Ddevicestatus_algorithm_manager.cpp95 bool AlgoMgr::CheckSensorTypeId(int32_t sensorTypeId) in CheckSensorTypeId()
/base/sensors/sensor/utils/common/include/
Dsensor_data_event.h34 int32_t sensorTypeId; /**< Sensor type ID */ member
/base/sensors/medical_sensor/interfaces/native/include/
Dmedical_native_type.h85 int32_t sensorTypeId; /**< Sensor type ID */ member
98 int32_t sensorTypeId; /**< Sensor type ID */ member
/base/sensors/sensor_lite/interfaces/kits/native/include/
Dsensor_agent_type.h117 int32_t sensorTypeId; /**< Sensor type ID */ member
130 int32_t sensorTypeId; /**< Sensor type ID */ member
/base/sensors/sensor/services/hdi_connection/adapter/src/
Dhdi_connection.cpp297 int32_t sensorTypeId = sensorInfo.first; in Reconnect() local

12