/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/ |
H A D | ark_sensor_adapter_wrapper.cpp | 28 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 D | device_status_datahub_test.cpp | 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 287 int32_t sensorTypeId = SENSOR_TYPE_ID_ACCELEROMETER; variable [all …]
|
H A D | device_status_algorithm_test.cpp | 204 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 D | sensor_agent.c | 28 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 D | sensor_agent_proxy.c | 51 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 D | sensor_data_callback.cpp | 85 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 D | sensor_adapter_impl.cpp | 30 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 D | algo_absolute_still.cpp | 31 algoCallback_ = [this](int32_t sensorTypeId, AccelData* sensorData) { in Init() 42 bool AlgoAbsoluteStill::StartAlgorithm(int32_t sensorTypeId, AccelData* sensorData) in StartAlgorithm()
|
H A D | algo_horizontal.cpp | 31 algoCallback_ = [this](int32_t sensorTypeId, AccelData* sensorData) { in Init() 39 bool AlgoHorizontal::StartAlgorithm(int32_t sensorTypeId, AccelData* sensorData) in StartAlgorithm()
|
H A D | algo_vertical.cpp | 34 algoCallback_ = [this](int32_t sensorTypeId, AccelData* sensorData) { in Init() 42 bool AlgoVertical::StartAlgorithm(int32_t sensorTypeId, AccelData* sensorData) in StartAlgorithm()
|
H A D | algo_base.cpp | 28 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 D | medical_js.cpp | 49 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 D | sensor_js.cpp | 60 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 D | sensoragent_fuzzer.cpp | 83 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.md | 120 ### sensorTypeId subsection
|
H A D | _hdf_sensor_information_v11.md | 146 ### sensorTypeId subsection
|
H A D | _hdf_sensor_information_v20.md | 172 ### sensorTypeId subsection
|
/ohos5.0/base/sensors/medical_sensor/interfaces/native/test/unittest/ |
H A D | medical_native_test.cpp | 73 int32_t sensorTypeId = 0; variable
|
/ohos5.0/base/sensors/medical_sensor/interfaces/plugin/include/ |
H A D | medical_napi_utils.h | 36 int32_t sensorTypeId; member
|
/ohos5.0/base/sensors/medical_sensor/utils/src/ |
H A D | permission_util.cpp | 40 int32_t PermissionUtil::CheckSensorPermission(AccessTokenID callerToken, int32_t sensorTypeId) in CheckSensorPermission()
|
/ohos5.0/base/sensors/sensor/frameworks/native/include/ |
H A D | native_sensor_impl.h | 27 int32_t sensorTypeId = -1; /**< Sensor type ID */ member 52 int32_t sensorTypeId = -1; member
|
/ohos5.0/base/sensors/medical_sensor/utils/include/ |
H A D | medical_sensor_basic_data_channel.h | 31 uint32_t sensorTypeId; /**< Sensor type ID */ member
|
/ohos5.0/base/sensors/sensor/utils/common/src/ |
H A D | permission_util.cpp | 41 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 D | ark_sensor_adapter_impl.cpp | 58 int32_t ArkSensorAdapterImpl::RegistOhosSensorCallback(int32_t sensorTypeId, in RegistOhosSensorCallback()
|
/ohos5.0/foundation/resourceschedule/device_standby/plugins/test/unittest/ |
H A D | standby_plugin_unit_test.cpp | 472 int32_t sensorTypeId = 1; variable 494 int32_t sensorTypeId = 1; variable
|