Lines Matching refs:hint
127 Return<void> Power::powerHint(PowerHint_1_0 hint, int32_t data) { in powerHint() argument
131 ATRACE_INT(android::hardware::power::V1_0::toString(hint).c_str(), data); in powerHint()
132 ALOGD_IF(hint != PowerHint_1_0::INTERACTION, "%s: %d", in powerHint()
133 android::hardware::power::V1_0::toString(hint).c_str(), static_cast<int>(data)); in powerHint()
134 switch (hint) { in powerHint()
223 Return<void> Power::powerHintAsync(PowerHint_1_0 hint, int32_t data) { in powerHintAsync() argument
225 return powerHint(hint, data); in powerHintAsync()
229 Return<void> Power::powerHintAsync_1_2(PowerHint_1_2 hint, int32_t data) { in powerHintAsync_1_2() argument
234 ATRACE_INT(android::hardware::power::V1_2::toString(hint).c_str(), data); in powerHintAsync_1_2()
235 ALOGD_IF(hint >= PowerHint_1_2::AUDIO_STREAMING, "%s: %d", in powerHintAsync_1_2()
236 android::hardware::power::V1_2::toString(hint).c_str(), static_cast<int>(data)); in powerHintAsync_1_2()
238 switch (hint) { in powerHintAsync_1_2()
320 return powerHint(static_cast<PowerHint_1_0>(hint), data); in powerHintAsync_1_2()
326 Return<void> Power::powerHintAsync_1_3(PowerHint_1_3 hint, int32_t data) { in powerHintAsync_1_3() argument
331 if (hint == PowerHint_1_3::EXPENSIVE_RENDERING) { in powerHintAsync_1_3()
332 ATRACE_INT(android::hardware::power::V1_3::toString(hint).c_str(), data); in powerHintAsync_1_3()
343 return powerHintAsync_1_2(static_cast<PowerHint_1_2>(hint), data); in powerHintAsync_1_3()