/base/powermgr/thermal_manager/services/native/src/thermal_observer/ |
D | thermal_observer.cpp | 77 typeMap_.insert(std::make_pair(SensorType::SOC, sensorType[ARG_0])); in InitSensorTypeMap() 78 typeMap_.insert(std::make_pair(SensorType::BATTERY, sensorType[ARG_1])); in InitSensorTypeMap() 79 typeMap_.insert(std::make_pair(SensorType::SHELL, sensorType[ARG_2])); in InitSensorTypeMap() 80 typeMap_.insert(std::make_pair(SensorType::SENSOR1, sensorType[ARG_3])); in InitSensorTypeMap() 81 typeMap_.insert(std::make_pair(SensorType::SENSOR2, sensorType[ARG_4])); in InitSensorTypeMap() 82 typeMap_.insert(std::make_pair(SensorType::SENSOR3, sensorType[ARG_5])); in InitSensorTypeMap() 83 typeMap_.insert(std::make_pair(SensorType::SENSOR4, sensorType[ARG_6])); in InitSensorTypeMap() 84 typeMap_.insert(std::make_pair(SensorType::SENSOR5, sensorType[ARG_7])); in InitSensorTypeMap() 85 typeMap_.insert(std::make_pair(SensorType::SENSOR6, sensorType[ARG_8])); in InitSensorTypeMap() 86 typeMap_.insert(std::make_pair(SensorType::SENSOR7, sensorType[ARG_9])); in InitSensorTypeMap() [all …]
|
/base/powermgr/thermal_manager/services/native/include/thermal_observer/ |
D | thermal_observer.h | 58 bool GetThermalSrvSensorInfo(const SensorType& type, ThermalSrvSensorInfo& sensorInfo); 65 int32_t GetTemp(const SensorType& type); 66 std::map<SensorType, std::string> GetSensorType() in GetSensorType() 112 std::map<SensorType, std::string> typeMap_;
|
/base/powermgr/thermal_manager/test/unittest/src/ |
D | thermal_mock_proxy_remote_test.cpp | 64 SensorType sensorType = SensorType::SOC; 103 SensorType type = SensorType::SOC;
|
D | thermal_mock_proxy_writeinterfacetoken_test.cpp | 60 SensorType type = SensorType::SOC;
|
D | thermal_mock_proxy_writeremoteobject_test.cpp | 62 SensorType sensorType = SensorType::SOC;
|
D | thermal_observer_test.cpp | 129 SensorType type = SensorType::SOC;
|
D | thermal_mock_stub_test.cpp | 218 THERMAL_WRITE_PARCEL_NO_RET(g_data, Uint32, static_cast<uint32_t>(SensorType::BATTERY));
|
D | thermal_mgr_policy_test.cpp | 1617 int32_t out = thermalMgrClient.GetThermalSensorTemp(SensorType::BATTERY);
|
/base/sensors/medical_sensor/ |
D | README_ZH.md | 57 | `on(type: SensorType, callback: Callback<Response>, options?: Options)` | 监听传感器数据变化。`SensorType`为… 58 | `off(type: SensorType, callback?: Callback<Response>)` | 取消订阅传感器数据。参数与`on`前两个参数一样。 |
|
/base/sensors/sensor/ |
D | README_zh.md | 123 …"><a name="p18666622171316"></a><a name="p18666622171316"></a>on(type: SensorType, callback: Callb… 125 …7"><a name="p1476355071517"></a><a name="p1476355071517"></a>监听传感器数据变化。SensorType为支持订阅的传感器类型,callb… 128 …"><a name="p1490010315564"></a><a name="p1490010315564"></a>once(type: SensorType, callback: Callb… 130 …><a name="p5900163115564"></a><a name="p5900163115564"></a>监听传感器数据变化一次。SensorType为支持订阅的传感器类型,callb… 133 …><a name="p16909135319564"></a><a name="p16909135319564"></a>off(type: SensorType, callback: Callb… 135 …3"><a name="p3909165315613"></a><a name="p3909165315613"></a>取消订阅传感器数据。SensorType为支持的取消订阅的传感器类型,ca… 158 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER, (data) => { 162 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION); 164 sensor.once(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER, (data) => {
|
D | README.md | 123 …"><a name="p18666622171316"></a><a name="p18666622171316"></a>on(type: SensorType, callback: Callb… 125 …115423516"><a name="b14384115423516"></a><a name="b14384115423516"></a>SensorType</strong> indicat… 128 …"><a name="p1490010315564"></a><a name="p1490010315564"></a>once(type: SensorType, callback: Callb… 130 …115653114"><a name="b16369115653114"></a><a name="b16369115653114"></a>SensorType</strong> indicat… 133 …><a name="p16909135319564"></a><a name="p16909135319564"></a>off(type: SensorType, callback: Callb… 135 …753103316"><a name="b63331753103316"></a><a name="b63331753103316"></a>SensorType</strong> indicat… 158 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER, (data) => { 162 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION); 164 sensor.once(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER, (data) => {
|
/base/powermgr/thermal_manager/interfaces/inner_api/native/include/ |
D | thermal_mgr_client.h | 40 int32_t GetThermalSensorTemp(const SensorType type); 60 bool GetThermalSrvSensorInfo(const SensorType& type, ThermalSrvSensorInfo& sensorInfo);
|
D | thermal_srv_sensor_info.h | 78 enum class SensorType : uint32_t { enum
|
D | ithermal_srv.h | 38 …virtual bool GetThermalSrvSensorInfo(const SensorType& type, ThermalSrvSensorInfo& sensorInfo) = 0;
|
/base/powermgr/thermal_manager/services/zidl/include/ |
D | thermal_srv_proxy.h | 50 …virtual bool GetThermalSrvSensorInfo(const SensorType& type, ThermalSrvSensorInfo& sensorInfo) ove…
|
/base/powermgr/thermal_manager/frameworks/native/ |
D | thermal_mgr_client.cpp | 146 bool ThermalMgrClient::GetThermalSrvSensorInfo(const SensorType& type, ThermalSrvSensorInfo& sensor… in GetThermalSrvSensorInfo() 156 int32_t ThermalMgrClient::GetThermalSensorTemp(const SensorType type) in GetThermalSensorTemp()
|
/base/powermgr/thermal_manager/test/fuzztest/thermal_fuzzer/ |
D | thermal_fuzzer_test.cpp | 147 SensorType sensorType = static_cast<SensorType>(code); in TestGetSensorTemp()
|
/base/powermgr/thermal_manager/test/systemtest/src/ |
D | thermal_mgr_interface_test.cpp | 173 int32_t out = thermalMgrClient.GetThermalSensorTemp(SensorType::BATTERY); 194 int32_t out = thermalMgrClient.GetThermalSensorTemp(SensorType::SOC); 215 int32_t out = thermalMgrClient.GetThermalSensorTemp(SensorType::SHELL); 236 int32_t out = thermalMgrClient.GetThermalSensorTemp(SensorType::SENSOR1); 257 int32_t out = thermalMgrClient.GetThermalSensorTemp(SensorType::SENSOR2); 675 int32_t out = thermalMgrClient.GetThermalSensorTemp(SensorType::BATTERY);
|
/base/powermgr/thermal_manager/services/native/include/ |
D | thermal_service.h | 67 bool GetThermalSrvSensorInfo(const SensorType& type, ThermalSrvSensorInfo& sensorInfo) override;
|
/base/powermgr/thermal_manager/services/zidl/src/ |
D | thermal_srv_stub.cpp | 185 bool ret = GetThermalSrvSensorInfo(static_cast<SensorType>(type), sensorInfo); in GetThermalSrvSensorInfoStub()
|
D | thermal_srv_proxy.cpp | 195 bool ThermalSrvProxy::GetThermalSrvSensorInfo(const SensorType& type, ThermalSrvSensorInfo& sensorI… in GetThermalSrvSensorInfo()
|
/base/powermgr/thermal_manager/services/native/src/ |
D | thermal_service.cpp | 331 bool ThermalService::GetThermalSrvSensorInfo(const SensorType& type, ThermalSrvSensorInfo& sensorIn… in GetThermalSrvSensorInfo()
|