Home
last modified time | relevance | path

Searched refs:SettingsSession (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DWindowPerfRunPreconditionBase.java33 import android.perftests.utils.WindowPerfTestBase.SettingsSession;
69 private final SettingsSession<Integer> mStayOnWhilePluggedInSetting = new SettingsSession<>(
75 private final SettingsSession<Integer> mNavigationModeSetting = new SettingsSession<>(
DWindowPerfTestBase.java142 public static class SettingsSession<T> implements AutoCloseable { class in WindowPerfTestBase
147 public SettingsSession(T originalValue, Consumer<T> setter) { in SettingsSession() method in WindowPerfTestBase.SettingsSession
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerTest.java54 import android.server.wm.settings.SettingsSession;
352 SettingsSession<String> freezerEnabled = null; in testAppFreezerWithAllowOomAdj()
353 SettingsSession<String> amConstantsSettings = null; in testAppFreezerWithAllowOomAdj()
364 freezerEnabled = new SettingsSession<>( in testAppFreezerWithAllowOomAdj()
381 amConstantsSettings = new SettingsSession<>( in testAppFreezerWithAllowOomAdj()