Lines Matching refs:hint
137 Return<void> Power::powerHint(PowerHint_1_0 hint, int32_t data) { in powerHint() argument
141 ATRACE_INT(android::hardware::power::V1_0::toString(hint).c_str(), data); in powerHint()
142 ALOGD_IF(hint != PowerHint_1_0::INTERACTION, "%s: %d", in powerHint()
143 android::hardware::power::V1_0::toString(hint).c_str(), static_cast<int>(data)); in powerHint()
144 switch (hint) { in powerHint()
233 Return<void> Power::powerHintAsync(PowerHint_1_0 hint, int32_t data) { in powerHintAsync() argument
235 return powerHint(hint, data); in powerHintAsync()
239 Return<void> Power::powerHintAsync_1_2(PowerHint_1_2 hint, int32_t data) { in powerHintAsync_1_2() argument
244 ATRACE_INT(android::hardware::power::V1_2::toString(hint).c_str(), data); in powerHintAsync_1_2()
245 ALOGD_IF(hint >= PowerHint_1_2::AUDIO_STREAMING, "%s: %d", in powerHintAsync_1_2()
246 android::hardware::power::V1_2::toString(hint).c_str(), static_cast<int>(data)); in powerHintAsync_1_2()
248 switch (hint) { in powerHintAsync_1_2()
332 return powerHint(static_cast<PowerHint_1_0>(hint), data); in powerHintAsync_1_2()
338 Return<void> Power::powerHintAsync_1_3(PowerHint_1_3 hint, int32_t data) { in powerHintAsync_1_3() argument
343 if (hint == PowerHint_1_3::EXPENSIVE_RENDERING) { in powerHintAsync_1_3()
344 ATRACE_INT(android::hardware::power::V1_3::toString(hint).c_str(), data); in powerHintAsync_1_3()
355 return powerHintAsync_1_2(static_cast<PowerHint_1_2>(hint), data); in powerHintAsync_1_3()