Searched refs:SettingsSession (Results 1 – 3 of 3) 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;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()