Home
last modified time | relevance | path

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

12

/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
Dark_sensor_adapter_wrapper.cpp28 int32_t ArkSensorAdapterWrapper::IsOhosSensorSupported(int32_t sensorTypeId) in IsOhosSensorSupported()
33 int32_t ArkSensorAdapterWrapper::GetOhosSensorReportingMode(int32_t sensorTypeId) in GetOhosSensorReportingMode()
38 double ArkSensorAdapterWrapper::GetOhosSensorDefaultSupportedFrequency(int32_t sensorTypeId) in GetOhosSensorDefaultSupportedFrequency()
43 double ArkSensorAdapterWrapper::GetOhosSensorMinSupportedFrequency(int32_t sensorTypeId) in GetOhosSensorMinSupportedFrequency()
48 double ArkSensorAdapterWrapper::GetOhosSensorMaxSupportedFrequency(int32_t sensorTypeId) in GetOhosSensorMaxSupportedFrequency()
53 int32_t ArkSensorAdapterWrapper::SubscribeOhosSensor(int32_t sensorTypeId, int64_t samplingInterval) in SubscribeOhosSensor()
58 int32_t ArkSensorAdapterWrapper::UnsubscribeOhosSensor(int32_t sensorTypeId) in UnsubscribeOhosSensor()
63 int32_t ArkSensorAdapterWrapper::RegistOhosSensorCallback(int32_t sensorTypeId, in RegistOhosSensorCallback()
/base/msdp/device_status/test/unittest/libs/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_algo_mgr_test.cpp114 int32_t sensorTypeId = SENSOR_TYPE_ID_MAX; variable
127 int32_t sensorTypeId = SENSOR_TYPE_ID_MAX; variable
Ddevice_status_algorithm_test.cpp205 int32_t sensorTypeId = SENSOR_TYPE_ID_ACCELEROMETER; variable
398 int32_t sensorTypeId = SENSOR_TYPE_ID_ACCELEROMETER; variable
414 int32_t sensorTypeId = SENSOR_TYPE_ID_NONE; variable
432 int32_t sensorTypeId = SENSOR_TYPE_ID_MAX; variable
450 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()
/base/msdp/device_status/libs/src/datahub/
Dsensor_data_callback.cpp85 bool SensorDataCallback::SubscribeSensorEvent(int32_t sensorTypeId, SensorCallback callback) in SubscribeSensorEvent()
97 bool SensorDataCallback::UnsubscribeSensorEvent(int32_t sensorTypeId, SensorCallback callback) in UnsubscribeSensorEvent()
109 bool SensorDataCallback::NotifyCallback(int32_t sensorTypeId, AccelData* data) in NotifyCallback()
119 bool SensorDataCallback::PushData(int32_t sensorTypeId, uint8_t* data) in PushData()
140 bool SensorDataCallback::PopData(int32_t sensorTypeId, AccelData& data) in PopData()
167 bool SensorDataCallback::RegisterCallbackSensor(int32_t sensorTypeId) in RegisterCallbackSensor()
189 bool SensorDataCallback::UnregisterCallbackSensor(int32_t sensorTypeId) in UnregisterCallbackSensor()
/base/web/webview/ohos_adapter/sensor_adapter/src/
Dsensor_adapter_impl.cpp31 SensorTypeId SensorTypeToOhosSensorType(int sensorTypeId) in SensorTypeToOhosSensorType()
51 std::string SensorTypeToSensorUserName(int sensorTypeId) in SensorTypeToSensorUserName()
84 int32_t SensorAdapterImpl::IsOhosSensorSupported(int32_t sensorTypeId) in IsOhosSensorSupported()
107 int32_t SensorAdapterImpl::GetOhosSensorReportingMode(int32_t sensorTypeId) in GetOhosSensorReportingMode()
128 double SensorAdapterImpl::GetOhosSensorDefaultSupportedFrequency(int32_t sensorTypeId) in GetOhosSensorDefaultSupportedFrequency()
140 double SensorAdapterImpl::GetOhosSensorMinSupportedFrequency(int32_t sensorTypeId) in GetOhosSensorMinSupportedFrequency()
169 double SensorAdapterImpl::GetOhosSensorMaxSupportedFrequency(int32_t sensorTypeId) in GetOhosSensorMaxSupportedFrequency()
355 int32_t SensorAdapterImpl::SubscribeOhosSensor(int32_t sensorTypeId, int64_t samplingInterval) in SubscribeOhosSensor()
400 int32_t SensorAdapterImpl::RegistOhosSensorCallback(int32_t sensorTypeId, in RegistOhosSensorCallback()
414 int32_t SensorAdapterImpl::UnsubscribeOhosSensor(int32_t sensorTypeId) in UnsubscribeOhosSensor()
/base/sensors/sensor/frameworks/js/ani/src/
Dsensor_ani.cpp128 static bool CheckSubscribe(int32_t sensorTypeId) in CheckSubscribe()
139 int32_t sensorTypeId = event->sensorTypeId; in CopySensorData() local
165 static bool CheckSystemSubscribe(int32_t sensorTypeId) in CheckSystemSubscribe()
210 int32_t sensorTypeId = asyncCallbackInfo->data.sensorData.sensorTypeId; in ValidateAndInitialize() local
297 int32_t sensorTypeId = asyncCallbackInfo->data.sensorData.sensorTypeId; in SetSensorPropertiesAndPushData() local
399 int32_t sensorTypeId = event->sensorTypeId; in EmitOnCallback() local
424 static int32_t SubscribeSensor(int32_t sensorTypeId, int64_t interval, RecordSensorCallback callbac… in SubscribeSensor()
440 static bool IsSubscribed(ani_env *env, int32_t sensorTypeId, ani_object callback) in IsSubscribed()
466 static void UpdateCallbackInfos(ani_env *env, int32_t sensorTypeId, ani_object callback) in UpdateCallbackInfos()
556 int32_t sensorTypeId = INVALID_SENSOR_ID; in On() local
[all …]
/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
/base/msdp/device_status/libs/src/algorithm/
Dalgo_horizontal.cpp31 algoCallback_ = [this](int32_t sensorTypeId, AccelData* sensorData) { in Init()
39 bool AlgoHorizontal::StartAlgorithm(int32_t sensorTypeId, AccelData* sensorData) in StartAlgorithm()
Dalgo_absolute_still.cpp31 algoCallback_ = [this](int32_t sensorTypeId, AccelData* sensorData) { in Init()
42 bool AlgoAbsoluteStill::StartAlgorithm(int32_t sensorTypeId, AccelData* sensorData) in StartAlgorithm()
Dalgo_vertical.cpp34 algoCallback_ = [this](int32_t sensorTypeId, AccelData* sensorData) { in Init()
42 bool AlgoVertical::StartAlgorithm(int32_t sensorTypeId, AccelData* sensorData) in StartAlgorithm()
Dalgo_base.cpp28 void AlgoBase::Unsubscribe(int32_t sensorTypeId) in Unsubscribe()
35 bool AlgoBase::SetData(int32_t sensorTypeId, AccelData* sensorData) in SetData()
/base/sensors/sensor/utils/common/src/
Dactive_info.cpp27 ActiveInfo::ActiveInfo(int32_t pid, int32_t deviceId, int32_t sensorTypeId, int32_t sensorId, int64… in ActiveInfo()
58 void ActiveInfo::SetSensorTypeId(int32_t sensorTypeId) in SetSensorTypeId()
129 int32_t sensorTypeId = -1; in Unmarshalling() local
Dsensor.cpp60 void Sensor::SetSensorTypeId(int32_t sensorTypeId) in SetSensorTypeId()
297 SensorDescriptionIPC::SensorDescriptionIPC(int32_t deviceId, int32_t sensorTypeId, int32_t sensorId… in SensorDescriptionIPC()
Dpermission_util.cpp41 int32_t PermissionUtil::CheckSensorPermission(AccessTokenID callerToken, int32_t sensorTypeId) in CheckSensorPermission()
/base/msdp/device_status/intention/stationary/server/src/
Dsensor_manager.cpp23 SensorManager::SensorManager(const int32_t sensorTypeId, const int32_t sensorSamplingInterval) in SensorManager()
80 bool SensorManager::IsSupportedSensor(const int32_t sensorTypeId) in IsSupportedSensor()
/base/sensors/sensor/test/fuzztest/interfaces/sensoragent_fuzzer/
Dsensoragent_fuzzer.cpp83 bool CheckSensorTypeId(int32_t sensorTypeId) in CheckSensorTypeId()
103 int32_t sensorTypeId = 0; in SensorAgentFuzzTest() local
/base/sensors/medical_sensor/interfaces/native/test/unittest/
Dmedical_native_test.cpp73 int32_t sensorTypeId = 0; variable
/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/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/utils/common/include/
Dsensor_data_event.h34 int32_t sensorTypeId; /**< Sensor type ID */ member
63 int32_t sensorTypeId = -1; /**< Sensor type ID */ member
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
Dark_sensor_adapter_impl.cpp58 int32_t ArkSensorAdapterImpl::RegistOhosSensorCallback(int32_t sensorTypeId, in RegistOhosSensorCallback()
/base/sensors/medical_sensor/utils/include/
Dmedical_sensor_basic_data_channel.h31 uint32_t sensorTypeId; /**< Sensor type ID */ member

12