Home
last modified time | relevance | path

Searched refs:SystemPerformanceHinter (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/window/
DSystemPerformanceHinterTests.java25 import static android.window.SystemPerformanceHinter.HINT_ADPF;
26 import static android.window.SystemPerformanceHinter.HINT_ALL;
27 import static android.window.SystemPerformanceHinter.HINT_SF_EARLY_WAKEUP;
28 import static android.window.SystemPerformanceHinter.HINT_SF_FRAME_RATE;
72 private SystemPerformanceHinter mHinter;
94 mHinter = new SystemPerformanceHinter( in setUpOnce()
112 SystemPerformanceHinter hinter = new SystemPerformanceHinter( in testSFVRRHintWithoutDisplayRootProvider_expectThrows()
145 final SystemPerformanceHinter.HighPerfSession session = in testVRRHint()
165 final SystemPerformanceHinter.HighPerfSession session = in testVRRHintCloseSession()
183 final SystemPerformanceHinter.HighPerfSession session = in testEarlyWakeupHint()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPipPerfHintController.java19 import static android.window.SystemPerformanceHinter.HINT_SF;
23 import android.window.SystemPerformanceHinter;
24 import android.window.SystemPerformanceHinter.HighPerfSession;
50 private final SystemPerformanceHinter mSystemPerformanceHinter;
59 @NonNull SystemPerformanceHinter systemPerformanceHinter) { in PipPerfHintController()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/performance/
DPerfHintController.kt21 import android.window.SystemPerformanceHinter
37 val hinter: SystemPerformanceHinter
40 hinter = SystemPerformanceHinter(mContext,
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/
DRootTaskDisplayAreaOrganizer.java36 import android.window.SystemPerformanceHinter;
64 private final SystemPerformanceHinter.DisplayRootProvider mPerfRootProvider =
65 new SystemPerformanceHinter.DisplayRootProvider() {
264 public SystemPerformanceHinter.DisplayRootProvider getPerformanceRootProvider() { in getPerformanceRootProvider()
/frameworks/base/core/java/android/window/
DSystemPerformanceHinter.java45 public class SystemPerformanceHinter { class
174 public SystemPerformanceHinter(@NonNull Context context, in SystemPerformanceHinter() method in SystemPerformanceHinter
183 public SystemPerformanceHinter(@NonNull Context context, in SystemPerformanceHinter() method in SystemPerformanceHinter
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/dagger/
DWMShellBaseModule.java28 import android.window.SystemPerformanceHinter;
317 static Optional<SystemPerformanceHinter> provideSystemPerformanceHinter(Context context, in provideSystemPerformanceHinter()
414 Optional<SystemPerformanceHinter> systemPerformanceHinterOptional) { in providePipPerfHintController()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTransitionTests.java97 import android.window.SystemPerformanceHinter;
2584 final var session = new SystemPerformanceHinter.HighPerfSession[1]; in testTransitionsTriggerPerformanceHints()
2586 final SystemPerformanceHinter perfHinter = mWm.mSystemPerformanceHinter; in testTransitionsTriggerPerformanceHints()
2589 session[0] = (SystemPerformanceHinter.HighPerfSession) invocation.callRealMethod(); in testTransitionsTriggerPerformanceHints()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java250 import android.window.SystemPerformanceHinter;
590 private SystemPerformanceHinter.HighPerfSession mTransitionPrefSession;
593 private SystemPerformanceHinter.HighPerfSession mHighFrameRateSession;
3431 SystemPerformanceHinter.HINT_SF, mDisplayId, "Transition"); in enableHighPerfTransition()
3447 SystemPerformanceHinter.HINT_SF_FRAME_RATE, mDisplayId, "WindowAnimation"); in enableHighFrameRate()
DWindowManagerService.java321 import android.window.SystemPerformanceHinter;
1125 SystemPerformanceHinter mSystemPerformanceHinter;
1448 mSystemPerformanceHinter = new SystemPerformanceHinter(mContext, displayId -> { in WindowManagerService()