Home
last modified time | relevance | path

Searched refs:powerHalV1_0 (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/jni/
Dcom_android_server_power_PowerManagerService.cpp137 sp<IPowerV1_0> powerHalV1_0 = getPowerHalV1_0(); in sendPowerHint() local
138 if (powerHalV1_0 != nullptr) { in sendPowerHint()
139 ret = powerHalV1_0->powerHint(hintId, data); in sendPowerHint()
195 sp<IPowerV1_0> powerHalV1_0 = getPowerHalV1_0(); in nativeSetInteractive() local
196 if (powerHalV1_0 != nullptr) { in nativeSetInteractive()
198 Return<void> ret = powerHalV1_0->setInteractive(enable); in nativeSetInteractive()
228 sp<IPowerV1_0> powerHalV1_0 = getPowerHalV1_0(); in nativeSetFeature() local
229 if (powerHalV1_0 != nullptr) { in nativeSetFeature()
230 Return<void> ret = powerHalV1_0->setFeature((Feature)featureId, static_cast<bool>(data)); in nativeSetFeature()
Dcom_android_server_am_BatteryStatsService.cpp207 sp<IPowerV1_0> powerHalV1_0 = getPowerHalV1_0(); in getLowPowerStats() local
208 if (powerHalV1_0 == nullptr) { in getLowPowerStats()
213 Return<void> ret = powerHalV1_0->getPlatformLowPowerStats( in getLowPowerStats()
291 sp<IPowerV1_0> powerHalV1_0 = getPowerHalV1_0(); in getPlatformLowPowerStats() local
292 if (powerHalV1_0 == nullptr) { in getPlatformLowPowerStats()
297 Return<void> ret = powerHalV1_0->getPlatformLowPowerStats( in getPlatformLowPowerStats()