Searched refs:ChannelMessageContents (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/services/surfaceflinger/PowerAdvisor/ |
D | PowerAdvisor.cpp | 53 using ChannelMessageContents = hal::ChannelMessage::ChannelMessageContents; typedef 211 if (!writeHintSessionMessage<ChannelMessageContents::Tag::hint>(&hint, 1)) { in sendHintSessionHint() 301 if (!writeHintSessionMessage<ChannelMessageContents::Tag::targetDuration>(&target, 1)) { in updateTargetWorkDuration() 356 ChannelMessageContents::Tag::workDuration>(mHintSessionQueue.data(), in reportActualWorkDuration() 369 template <hal::ChannelMessage::ChannelMessageContents::Tag T, class In> 386 if constexpr (T == ChannelMessageContents::Tag::workDuration) { in writeHintSessionMessage() 392 .data = ChannelMessageContents::make<ChannelMessageContents::Tag::workDuration, in writeHintSessionMessage() 404 .data = ChannelMessageContents::make<T, In>(std::move(contents[i])), in writeHintSessionMessage()
|
D | PowerAdvisor.h | 350 template <aidl::android::hardware::power::ChannelMessage::ChannelMessageContents::Tag T,
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | PowerAdvisorTest.cpp | 231 ChannelMessage::ChannelMessageContents::Tag::targetDuration); in testGpuScenario() 232 target = msgs[0].data.get<ChannelMessage::ChannelMessageContents::Tag::targetDuration>(); in testGpuScenario() 235 ASSERT_EQ(msgs[1].data.getTag(), ChannelMessage::ChannelMessageContents::Tag::hint); in testGpuScenario() 236 hint = msgs[1].data.get<ChannelMessage::ChannelMessageContents::Tag::hint>(); in testGpuScenario() 294 ASSERT_EQ(msgs[0].data.getTag(), ChannelMessage::ChannelMessageContents::Tag::workDuration); in testGpuScenario() 295 auto actual = msgs[0].data.get<ChannelMessage::ChannelMessageContents::Tag::workDuration>(); in testGpuScenario() 816 ASSERT_EQ(msgs[0].data.getTag(), ChannelMessage::ChannelMessageContents::Tag::hint); in TEST_F() 817 auto hint = msgs[0].data.get<ChannelMessage::ChannelMessageContents::Tag::hint>(); in TEST_F()
|
/frameworks/base/native/android/ |
D | performance_hint.cpp | 67 using HalChannelMessageContents = hal::ChannelMessage::ChannelMessageContents; 1038 hal::ChannelMessage::ChannelMessageContents::SessionModeSetter modeObj{.modeInt = mode, in setMode()
|
/frameworks/base/native/android/tests/performance_hint/ |
D | PerformanceHintNativeTest.cpp | 44 using HalChannelMessageContents = hal::ChannelMessage::ChannelMessageContents;
|