Lines Matching refs:hint
141 Return<void> Power::powerHint(PowerHint_1_0 hint, int32_t data) { in powerHint() argument
145 ATRACE_INT(android::hardware::power::V1_0::toString(hint).c_str(), data); in powerHint()
146 ALOGD_IF(hint != PowerHint_1_0::INTERACTION, "%s: %d", in powerHint()
147 android::hardware::power::V1_0::toString(hint).c_str(), static_cast<int>(data)); in powerHint()
148 switch (hint) { in powerHint()
231 Return<void> Power::powerHintAsync(PowerHint_1_0 hint, int32_t data) { in powerHintAsync() argument
233 return powerHint(hint, data); in powerHintAsync()
237 Return<void> Power::powerHintAsync_1_2(PowerHint_1_2 hint, int32_t data) { in powerHintAsync_1_2() argument
242 ATRACE_INT(android::hardware::power::V1_2::toString(hint).c_str(), data); in powerHintAsync_1_2()
243 ALOGD_IF(hint >= PowerHint_1_2::AUDIO_STREAMING, "%s: %d", in powerHintAsync_1_2()
244 android::hardware::power::V1_2::toString(hint).c_str(), static_cast<int>(data)); in powerHintAsync_1_2()
246 switch (hint) { in powerHintAsync_1_2()
330 return powerHint(static_cast<PowerHint_1_0>(hint), data); in powerHintAsync_1_2()
336 Return<void> Power::powerHintAsync_1_3(PowerHint_1_3 hint, int32_t data) { in powerHintAsync_1_3() argument
341 if (hint == PowerHint_1_3::EXPENSIVE_RENDERING) { in powerHintAsync_1_3()
342 ATRACE_INT(android::hardware::power::V1_3::toString(hint).c_str(), data); in powerHintAsync_1_3()
353 return powerHintAsync_1_2(static_cast<PowerHint_1_2>(hint), data); in powerHintAsync_1_3()