Searched refs:ChannelMessageContents (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | PowerAdvisor.cpp | 61 using ChannelMessageContents = ChannelMessage::ChannelMessageContents; typedef 222 if (!writeHintSessionMessage<ChannelMessageContents::Tag::hint>(&hint, 1)) { in sendHintSessionHint() 311 if (!writeHintSessionMessage<ChannelMessageContents::Tag::targetDuration>(&target, 1)) { in updateTargetWorkDuration() 366 ChannelMessageContents::Tag::workDuration>(mHintSessionQueue.data(), in reportActualWorkDuration() 379 template <ChannelMessage::ChannelMessageContents::Tag T, class In> 396 if constexpr (T == ChannelMessageContents::Tag::workDuration) { in writeHintSessionMessage() 402 .data = ChannelMessageContents::make<ChannelMessageContents::Tag::workDuration, in writeHintSessionMessage() 414 .data = ChannelMessageContents::make<T, In>(std::move(contents[i])), in writeHintSessionMessage()
|
D | PowerAdvisor.h | 323 template <aidl::android::hardware::power::ChannelMessage::ChannelMessageContents::Tag T,
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | PowerAdvisorTest.cpp | 227 ChannelMessage::ChannelMessageContents::Tag::targetDuration); in testGpuScenario() 228 target = msgs[0].data.get<ChannelMessage::ChannelMessageContents::Tag::targetDuration>(); in testGpuScenario() 231 ASSERT_EQ(msgs[1].data.getTag(), ChannelMessage::ChannelMessageContents::Tag::hint); in testGpuScenario() 232 hint = msgs[1].data.get<ChannelMessage::ChannelMessageContents::Tag::hint>(); in testGpuScenario() 290 ASSERT_EQ(msgs[0].data.getTag(), ChannelMessage::ChannelMessageContents::Tag::workDuration); in testGpuScenario() 291 auto actual = msgs[0].data.get<ChannelMessage::ChannelMessageContents::Tag::workDuration>(); in testGpuScenario() 803 ASSERT_EQ(msgs[0].data.getTag(), ChannelMessage::ChannelMessageContents::Tag::hint); in TEST_F() 804 auto hint = msgs[0].data.get<ChannelMessage::ChannelMessageContents::Tag::hint>(); in TEST_F()
|