Home
last modified time | relevance | path

Searched refs:gThermalHal (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/cmds/statsd/src/external/
DResourceThermalManagerPuller.cpp52 sp<android::hardware::thermal::V1_0::IThermal> gThermalHal = nullptr; variable
59 gThermalHal = nullptr; in serviceDied()
68 if (gThermalHal == nullptr) { in getThermalHalLocked()
69 gThermalHal = IThermal::getService(); in getThermalHalLocked()
70 if (gThermalHal == nullptr) { in getThermalHalLocked()
76 hardware::Return<bool> linked = gThermalHal->linkToDeath( in getThermalHalLocked()
81 gThermalHal = nullptr; in getThermalHalLocked()
84 gThermalHal = nullptr; in getThermalHalLocked()
90 return gThermalHal != nullptr; in getThermalHalLocked()
110 Return<void> ret = gThermalHal->getTemperatures( in PullInternal()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_HardwarePropertiesManagerService.cpp65 static sp<IThermal> gThermalHal = nullptr; variable
73 gThermalHal = nullptr; in serviceDied()
88 if (gThermalHal != nullptr) { in getThermalHalLocked()
92 gThermalHal = IThermal::getService(); in getThermalHalLocked()
94 if (gThermalHal == nullptr) { in getThermalHalLocked()
100 hardware::Return<bool> linked = gThermalHal->linkToDeath( in getThermalHalLocked()
105 gThermalHal = nullptr; in getThermalHalLocked()
108 gThermalHal = nullptr; in getThermalHalLocked()
123 if (gThermalHal == nullptr) { in nativeGetFanSpeeds()
129 Return<void> ret = gThermalHal->getCoolingDevices( in nativeGetFanSpeeds()
[all …]
/frameworks/native/services/thermalservice/
Dthermalserviced.cpp48 sp<IThermal> gThermalHal = nullptr; variable
54 gThermalHal = nullptr; in serviceDied()
77 gThermalHal = IThermal::getService(); in getThermalHal()
78 if (gThermalHal == nullptr) { in getThermalHal()
88 gThermalHal->linkToDeath(gThermalHalDied, 0x451F /* cookie */); in getThermalHal()
91 Return<void> ret = gThermalHal->registerThermalCallback( in getThermalHal()