Home
last modified time | relevance | path

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

12

/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.cpp75 bool SensorDataCallback::SubscribeSensorEvent(int32_t sensorTypeId, SensorCallback callback) in SubscribeSensorEvent()
88 bool SensorDataCallback::UnsubscribeSensorEvent(int32_t sensorTypeId, SensorCallback callback) in UnsubscribeSensorEvent()
101 bool SensorDataCallback::NotifyCallback(int32_t sensorTypeId, AccelData* data) in NotifyCallback()
114 bool SensorDataCallback::PushData(int32_t sensorTypeId, uint8_t* data) in PushData()
133 bool SensorDataCallback::PopData(int32_t sensorTypeId, AccelData& data) in PopData()
158 bool SensorDataCallback::RegisterCallbackSensor(int32_t sensorTypeId) in RegisterCallbackSensor()
180 bool SensorDataCallback::UnregisterCallbackSensor(int32_t sensorTypeId) in UnregisterCallbackSensor()
/base/msdp/device_status/libs/src/algorithm/
Dalgo_base.cpp20 void AlgoBase::Unsubscribe(int32_t sensorTypeId) in Unsubscribe()
30 bool AlgoBase::GetData(int32_t sensorTypeId, AccelData* sensorData) in GetData()
Dalgo_relative_still.cpp32 bool AlgoRelativeStill::StartAlgorithm(int32_t sensorTypeId, AccelData* sensorData) in StartAlgorithm()
Dalgo_absolute_still.cpp32 bool AlgoAbsoluteStill::StartAlgorithm(int32_t sensorTypeId, AccelData* sensorData) in StartAlgorithm()
/base/sensors/medical_sensor/interfaces/plugin/src/
Dmedical_js.cpp47 int32_t sensorTypeId = event->sensorTypeId; in DataCallbackImpl() local
72 static int32_t UnsubscribeSensor(int32_t sensorTypeId) in UnsubscribeSensor()
89 static int32_t SubscribeSensor(int32_t sensorTypeId, int64_t interval, const MedicalSensorUser *use… in SubscribeSensor()
124 int32_t sensorTypeId = GetCppInt32(args[0], env); in On() local
171 int32_t sensorTypeId = GetCppInt32(args[0], env); in Off() local
222 int32_t sensorTypeId = GetCppInt32(args[0], env); in SetOpt() local
Dmedical_napi_utils.cpp154 int32_t sensorTypeId = asyncCallbackInfo->sensorTypeId; in EmitUvEventLoop() local
/base/sensors/sensor/interfaces/native/test/fuzztest/sensoragent_fuzzer/
Dsensoragent_fuzzer.cpp29 bool CheckSensorTypeId(int32_t sensorTypeId) in CheckSensorTypeId()
48 intptr_t sensorTypeId = reinterpret_cast<intptr_t>(data); in SensorAgentFuzzTest() local
/base/sensors/sensor/interfaces/plugin/src/
Dsensor_js.cpp59 static bool CheckSubscribe(int32_t sensorTypeId) in CheckSubscribe()
70 int32_t sensorTypeId = event->sensorTypeId; in copySensorData() local
90 static bool CheckSystemSubscribe(int32_t sensorTypeId) in CheckSystemSubscribe()
103 int32_t sensorTypeId = event->sensorTypeId; in EmitSubscribeCallback() local
116 int32_t sensorTypeId = event->sensorTypeId; in EmitOnCallback() local
134 int32_t sensorTypeId = event->sensorTypeId; in EmitOnceCallback() local
170 int32_t UnsubscribeSensor(int32_t sensorTypeId) in UnsubscribeSensor()
181 int32_t SubscribeSensor(int32_t sensorTypeId, int64_t interval, RecordSensorCallback callback) in SubscribeSensor()
197 static bool IsOnceSubscribed(napi_env env, int32_t sensorTypeId, napi_value callback) in IsOnceSubscribed()
220 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.h34 int32_t sensorTypeId; member
/base/sensors/sensor/utils/include/
Dsensor_basic_data_channel.h31 uint32_t sensorTypeId; member
/base/sensors/sensor/utils/src/
Dpermission_util.cpp46 int32_t PermissionUtil::CheckSensorPermission(AccessTokenID callerToken, int32_t sensorTypeId) in CheckSensorPermission()
Dsensor.cpp58 void Sensor::SetSensorTypeId(uint32_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.cpp103 bool AlgoMgr::CheckSensorTypeId(int32_t sensorTypeId) in CheckSensorTypeId()
/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/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/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.cpp281 int32_t sensorTypeId = sensorInfo.first; in Reconnect() local
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/adapter/src/
Dhdi_connection.cpp319 int32_t sensorTypeId = sensorInfo.first; in reconnect() local
/base/sensors/sensor/interfaces/plugin/include/
Dasync_callback_info.h74 int32_t sensorTypeId; member
/base/sensors/sensor/interfaces/native/include/
Dsensor_agent_type.h109 int32_t sensorTypeId; /**< Sensor type ID */ member
124 int32_t sensorTypeId; /**< Sensor type ID */ member

12