Home
last modified time | relevance | path

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

/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.c50 for (int32_t sensorTypeId = 0; sensorTypeId < SENSOR_TYPE_ID_MAX; sensorTypeId++) { in IsRegisterCallback() local
59 static int32_t InsertCallbackNode(int32_t sensorTypeId, const SensorUser *user) in InsertCallbackNode()
87 static int32_t DeleteCallbackNode(int32_t sensorTypeId, const SensorUser *user) in DeleteCallbackNode()
438 int32_t CheckSensorTypeId(int32_t sensorTypeId) in CheckSensorTypeId()
/base/sensors/sensor/interfaces/plugin/src/
Dsensor_js.cpp60 static bool CheckSubscribe(int32_t sensorTypeId) in CheckSubscribe()
72 int32_t sensorTypeId = event->sensorTypeId; in copySensorData() local
92 static bool CheckSystemSubscribe(int32_t sensorTypeId) in CheckSystemSubscribe()
103 int32_t sensorTypeId = event->sensorTypeId; in EmitSubscribeCallback() local
115 int32_t sensorTypeId = event->sensorTypeId; in EmitOnCallback() local
132 int32_t sensorTypeId = event->sensorTypeId; in EmitOnceCallback() local
165 bool UnsubscribeSensor(int32_t sensorTypeId) in UnsubscribeSensor()
173 bool SubscribeSensor(int32_t sensorTypeId, int64_t interval, RecordSensorCallback callback) in SubscribeSensor()
182 static bool IsOnceSubscribed(napi_env env, int32_t sensorTypeId, napi_value callback) in IsOnceSubscribed()
203 static void UpdateOnceCallback(napi_env env, int32_t sensorTypeId, napi_value callback) in UpdateOnceCallback()
[all …]
Dsensor_napi_utils.cpp316 int32_t sensorTypeId = asyncCallbackInfo->data.sensorData.sensorTypeId; in ConvertToSensorData() local
/base/sensors/sensor/utils/src/
Dpermission_util.cpp46 bool PermissionUtil::CheckSensorPermission(AccessTokenID callerToken, int32_t sensorTypeId) in CheckSensorPermission()
Dsensor.cpp59 void Sensor::SetSensorTypeId(uint32_t sensorTypeId) in SetSensorTypeId()
/base/sensors/sensor/interfaces/native/test/unittest/
Dsensor_agent_test.cpp74 int32_t sensorTypeId = 0; variable
/base/sensors/sensor/utils/include/
Dsensor_basic_data_channel.h32 uint32_t sensorTypeId; member
/base/sensors/sensor_lite/interfaces/kits/native/include/
Dsensor_agent_type.h113 int32_t sensorTypeId; /**< Sensor type ID */ member
126 int32_t sensorTypeId; /**< Sensor type ID */ member
/base/sensors/sensor_lite/frameworks/include/
Dsensor_agent_type.h117 int32_t sensorTypeId; /**< Sensor type ID */ member
130 int32_t sensorTypeId; /**< Sensor type ID */ member
/base/sensors/sensor/services/sensor/hdi_connection/adapter/src/
Dhdi_connection.cpp325 int32_t sensorTypeId = sensorInfo.first; in reconnect() local
/base/sensors/sensor/interfaces/plugin/include/
Dasync_callback_info.h73 int32_t sensorTypeId; member
/base/sensors/sensor/interfaces/native/include/
Dsensor_agent_type.h109 int32_t sensorTypeId; /**< Sensor type ID */ member
122 int32_t sensorTypeId; /**< Sensor type ID */ member