Home
last modified time | relevance | path

Searched refs:SettingsSession (Results 1 – 4 of 4) 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;
355 SettingsSession<String> freezerEnabled = null; in testAppFreezerWithAllowOomAdj()
356 SettingsSession<String> amConstantsSettings = null; in testAppFreezerWithAllowOomAdj()
367 freezerEnabled = new SettingsSession<>( in testAppFreezerWithAllowOomAdj()
384 amConstantsSettings = new SettingsSession<>( in testAppFreezerWithAllowOomAdj()
519 SettingsSession<String> amConstantsSettings = null; in testKillAppIfBgRestrictedCachedIdle()
545 amConstantsSettings = new SettingsSession<>( in testKillAppIfBgRestrictedCachedIdle()
DServiceRestarterTest.java40 import android.server.wm.settings.SettingsSession;
97 private SettingsSession<String> mAMConstantsSettings;
118 mAMConstantsSettings = new SettingsSession<>( in setUp()