Home
last modified time | relevance | path

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

12

/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
H A 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()
/ohos5.0/base/msdp/device_status/test/unittest/libs/src/
H A Ddevice_status_datahub_test.cpp69 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
287 int32_t sensorTypeId = SENSOR_TYPE_ID_ACCELEROMETER; variable
[all …]
H A Ddevice_status_algorithm_test.cpp204 int32_t sensorTypeId = SENSOR_TYPE_ID_ACCELEROMETER; variable
397 int32_t sensorTypeId = SENSOR_TYPE_ID_ACCELEROMETER; variable
413 int32_t sensorTypeId = SENSOR_TYPE_ID_NONE; variable
431 int32_t sensorTypeId = SENSOR_TYPE_ID_MAX; variable
449 int32_t sensorTypeId = SENSOR_TYPE_ID_MAX; variable
/ohos5.0/base/sensors/sensor_lite/frameworks/src/
H A 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()
H A 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()
/ohos5.0/base/msdp/device_status/libs/src/datahub/
H A 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()
/ohos5.0/base/web/webview/ohos_adapter/sensor_adapter/src/
H A Dsensor_adapter_impl.cpp30 SensorTypeId SensorTypeToOhosSensorType(int sensorTypeId) in SensorTypeToOhosSensorType()
50 std::string SensorTypeToSensorUserName(int sensorTypeId) in SensorTypeToSensorUserName()
83 int32_t SensorAdapterImpl::IsOhosSensorSupported(int32_t sensorTypeId) in IsOhosSensorSupported()
106 int32_t SensorAdapterImpl::GetOhosSensorReportingMode(int32_t sensorTypeId) in GetOhosSensorReportingMode()
127 double SensorAdapterImpl::GetOhosSensorDefaultSupportedFrequency(int32_t sensorTypeId) in GetOhosSensorDefaultSupportedFrequency()
139 double SensorAdapterImpl::GetOhosSensorMinSupportedFrequency(int32_t sensorTypeId) in GetOhosSensorMinSupportedFrequency()
168 double SensorAdapterImpl::GetOhosSensorMaxSupportedFrequency(int32_t sensorTypeId) in GetOhosSensorMaxSupportedFrequency()
354 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()
/ohos5.0/base/msdp/device_status/libs/src/algorithm/
H A Dalgo_absolute_still.cpp31 algoCallback_ = [this](int32_t sensorTypeId, AccelData* sensorData) { in Init()
42 bool AlgoAbsoluteStill::StartAlgorithm(int32_t sensorTypeId, AccelData* sensorData) in StartAlgorithm()
H A Dalgo_horizontal.cpp31 algoCallback_ = [this](int32_t sensorTypeId, AccelData* sensorData) { in Init()
39 bool AlgoHorizontal::StartAlgorithm(int32_t sensorTypeId, AccelData* sensorData) in StartAlgorithm()
H A Dalgo_vertical.cpp34 algoCallback_ = [this](int32_t sensorTypeId, AccelData* sensorData) { in Init()
42 bool AlgoVertical::StartAlgorithm(int32_t sensorTypeId, AccelData* sensorData) in StartAlgorithm()
H A Dalgo_base.cpp28 void AlgoBase::Unsubscribe(int32_t sensorTypeId) in Unsubscribe()
35 bool AlgoBase::SetData(int32_t sensorTypeId, AccelData* sensorData) in SetData()
/ohos5.0/base/sensors/medical_sensor/interfaces/plugin/src/
H A 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
/ohos5.0/base/sensors/sensor/frameworks/js/napi/src/
H A Dsensor_js.cpp60 static bool CheckSubscribe(int32_t sensorTypeId) in CheckSubscribe()
71 int32_t sensorTypeId = event->sensorTypeId; in copySensorData() local
110 int32_t sensorTypeId = event->sensorTypeId; in EmitSubscribeCallback() local
128 int32_t sensorTypeId = event->sensorTypeId; in EmitOnCallback() local
146 int32_t sensorTypeId = event->sensorTypeId; in EmitOnceCallback() local
182 int32_t UnsubscribeSensor(int32_t sensorTypeId) in UnsubscribeSensor()
304 int32_t sensorTypeId = INVALID_SENSOR_ID; in Once() local
404 int32_t sensorTypeId = INVALID_SENSOR_ID; in On() local
490 int32_t sensorTypeId = INVALID_SENSOR_ID; in Off() local
1088 int32_t sensorTypeId = INVALID_SENSOR_ID; in GetSingleSensor() local
[all …]
/ohos5.0/base/sensors/sensor/test/fuzztest/interfaces/sensoragent_fuzzer/
H A Dsensoragent_fuzzer.cpp83 bool CheckSensorTypeId(int32_t sensorTypeId) in CheckSensorTypeId()
103 int32_t sensorTypeId = 0; in SensorAgentFuzzTest() local
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/sensor/
H A D_hdf_sensor_information_v10.md120 ### sensorTypeId subsection
H A D_hdf_sensor_information_v11.md146 ### sensorTypeId subsection
H A D_hdf_sensor_information_v20.md172 ### sensorTypeId subsection
/ohos5.0/base/sensors/medical_sensor/interfaces/native/test/unittest/
H A Dmedical_native_test.cpp73 int32_t sensorTypeId = 0; variable
/ohos5.0/base/sensors/medical_sensor/interfaces/plugin/include/
H A Dmedical_napi_utils.h36 int32_t sensorTypeId; member
/ohos5.0/base/sensors/medical_sensor/utils/src/
H A Dpermission_util.cpp40 int32_t PermissionUtil::CheckSensorPermission(AccessTokenID callerToken, int32_t sensorTypeId) in CheckSensorPermission()
/ohos5.0/base/sensors/sensor/frameworks/native/include/
H A Dnative_sensor_impl.h27 int32_t sensorTypeId = -1; /**< Sensor type ID */ member
52 int32_t sensorTypeId = -1; member
/ohos5.0/base/sensors/medical_sensor/utils/include/
H A Dmedical_sensor_basic_data_channel.h31 uint32_t sensorTypeId; /**< Sensor type ID */ member
/ohos5.0/base/sensors/sensor/utils/common/src/
H A Dpermission_util.cpp41 int32_t PermissionUtil::CheckSensorPermission(AccessTokenID callerToken, int32_t sensorTypeId) in CheckSensorPermission()
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
H A Dark_sensor_adapter_impl.cpp58 int32_t ArkSensorAdapterImpl::RegistOhosSensorCallback(int32_t sensorTypeId, in RegistOhosSensorCallback()
/ohos5.0/foundation/resourceschedule/device_standby/plugins/test/unittest/
H A Dstandby_plugin_unit_test.cpp472 int32_t sensorTypeId = 1; variable
494 int32_t sensorTypeId = 1; variable

12