Searched refs:SettingsSession (Results 1 – 4 of 4) sorted by relevance
33 import android.perftests.utils.WindowPerfTestBase.SettingsSession;69 private final SettingsSession<Integer> mStayOnWhilePluggedInSetting = new SettingsSession<>(75 private final SettingsSession<Integer> mNavigationModeSetting = new SettingsSession<>(
142 public static class SettingsSession<T> implements AutoCloseable { class in WindowPerfTestBase147 public SettingsSession(T originalValue, Consumer<T> setter) { in SettingsSession() method in WindowPerfTestBase.SettingsSession
54 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()
40 import android.server.wm.settings.SettingsSession;97 private SettingsSession<String> mAMConstantsSettings;118 mAMConstantsSettings = new SettingsSession<>( in setUp()