/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | PowerAdvisor.cpp | 293 void PowerAdvisor::updateTargetWorkDuration(Duration targetDuration) { in updateTargetWorkDuration() argument 300 mTargetDuration = targetDuration; in updateTargetWorkDuration() 301 if (sTraceHintSessionData) ATRACE_INT64("Time target", targetDuration.ns()); in updateTargetWorkDuration() 302 if (targetDuration == mLastTargetDurationSent) return; in updateTargetWorkDuration() 308 ALOGV("Sending target time: %" PRId64 "ns", targetDuration.ns()); in updateTargetWorkDuration() 309 mLastTargetDurationSent = targetDuration; in updateTargetWorkDuration() 310 auto target = targetDuration.ns(); in updateTargetWorkDuration() 311 if (!writeHintSessionMessage<ChannelMessageContents::Tag::targetDuration>(&target, 1)) { in updateTargetWorkDuration() 312 auto ret = mHintSession->updateTargetWorkDuration(targetDuration.ns()); in updateTargetWorkDuration() 556 void PowerAdvisor::setTotalFrameTargetWorkDuration(Duration targetDuration) { in setTotalFrameTargetWorkDuration() argument [all …]
|
D | PowerAdvisor.h | 66 virtual void updateTargetWorkDuration(Duration targetDuration) = 0; 103 virtual void setTotalFrameTargetWorkDuration(Duration targetDuration) = 0; 128 void updateTargetWorkDuration(Duration targetDuration) override; 147 void setTotalFrameTargetWorkDuration(Duration targetDuration) override;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | MockPowerAdvisor.h | 42 MOCK_METHOD(void, updateTargetWorkDuration, (Duration targetDuration), (override)); 67 MOCK_METHOD(void, setTotalFrameTargetWorkDuration, (Duration targetDuration), (override));
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/ |
D | MockPowerAdvisor.h | 40 MOCK_METHOD(void, updateTargetWorkDuration, (Duration targetDuration), (override)); 65 MOCK_METHOD(void, setTotalFrameTargetWorkDuration, (Duration targetDuration), (override));
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelCpuThreadReaderEndToEndTest.java | 78 final Duration targetDuration = Duration.ofMillis(millis); in testTimedWork() local 79 final Runnable work = timedWork(targetDuration); in testTimedWork() 85 targetDuration.toMillis(), resultDuration.toMillis(), in testTimedWork()
|
/frameworks/base/native/android/tests/performance_hint/ |
D | PerformanceHintNativeTest.cpp | 100 int64_t targetDuration = 56789L, bool isHwui = false) { in createSession() argument 108 createHintSessionWithConfig(_, Eq(tids), Eq(targetDuration), _, _, _)) in createSession() 131 targetDuration, SessionTag::HWUI); in createSession() 133 return APerformanceHint_createSession(manager, tids.data(), tids.size(), targetDuration); in createSession()
|
/frameworks/base/libs/hwui/renderthread/ |
D | HintSessionWrapper.h | 90 int64_t targetDuration) = nullptr;
|
/frameworks/base/native/android/ |
D | performance_hint.cpp | 133 void traceTargetDuration(int64_t targetDuration); 443 void APerformanceHintSession::traceTargetDuration(int64_t targetDuration) { in traceTargetDuration() argument 444 ATrace_setCounter((mSessionName + " target duration").c_str(), targetDuration); in traceTargetDuration()
|
/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()
|
/frameworks/av/media/libstagefright/httplive/ |
D | PlaylistFetcher.cpp | 1045 int32_t targetDuration; in initSeqNumberForLiveStream() local 1047 && mPlaylist->meta()->findInt32("target-duration", &targetDuration)) { in initSeqNumberForLiveStream() 1059 } while (timeFromEnd < targetDuration * 3E6 && index > 0); in initSeqNumberForLiveStream()
|
/frameworks/base/services/core/java/com/android/server/power/hint/ |
D | HintManagerService.java | 978 long targetDuration, int[] tids, @SessionTag int sessionTag) { in logPerformanceHintSessionAtom() argument 980 sessionId, targetDuration, tids.length, sessionTag); in logPerformanceHintSessionAtom()
|