Searched refs:UwbSettingsStore (Results 1 – 8 of 8) sorted by relevance
19 import static com.android.server.uwb.UwbSettingsStore.SETTINGS_TOGGLE_STATE;20 import static com.android.server.uwb.UwbSettingsStore.SETTINGS_TOGGLE_STATE_KEY_FOR_MIGRATION;72 private UwbSettingsStore mUwbSettingsStore;82 mUwbSettingsStore = new UwbSettingsStore( in setUp()108 UwbSettingsStore.OnSettingsChangedListener listener = mock( in testChangeListener()109 UwbSettingsStore.OnSettingsChangedListener.class); in testChangeListener()
97 @Mock UwbSettingsStore mUwbSettingsStore;530 UwbSettingsStore.SETTINGS_CACHED_COUNTRY_CODE, TEST_COUNTRY_CODE); in testUseCacheWhenTelephonyAndWifiNotAvailable()552 when(mUwbSettingsStore.get(UwbSettingsStore.SETTINGS_CACHED_COUNTRY_CODE)) in testUsePersistentCacheAtBootupWhenTelephonyAndWifiNotAvailable()555 verify(mUwbSettingsStore).get(UwbSettingsStore.SETTINGS_CACHED_COUNTRY_CODE); in testUsePersistentCacheAtBootupWhenTelephonyAndWifiNotAvailable()
25 import static com.android.server.uwb.UwbSettingsStore.SETTINGS_FIRST_TOGGLE_DONE;26 import static com.android.server.uwb.UwbSettingsStore.SETTINGS_TOGGLE_STATE;124 @Mock private UwbSettingsStore mUwbSettingsStore;
21 import static com.android.server.uwb.UwbSettingsStore.SETTINGS_LOG_MODE;67 private final UwbSettingsStore mUwbSettingsStore;69 public UciLogModeStore(UwbSettingsStore uwbSettingsStore) { in UciLogModeStore()
92 private final UwbSettingsStore mUwbSettingsStore;576 mUwbSettingsStore.put(UwbSettingsStore.SETTINGS_TOGGLE_STATE, enabled); in persistUwbToggleState()580 return mUwbSettingsStore.get(UwbSettingsStore.SETTINGS_FIRST_TOGGLE_DONE); in isUwbFirstToggleDone()584 mUwbSettingsStore.put(UwbSettingsStore.SETTINGS_FIRST_TOGGLE_DONE, true); in persistUwbFirstToggleDone()588 return mUwbSettingsStore.get(UwbSettingsStore.SETTINGS_TOGGLE_STATE); in isUwbToggleEnabled()
107 private final UwbSettingsStore mUwbSettingsStore;137 mUwbSettingsStore = new UwbSettingsStore( in UwbInjector()140 UwbSettingsStore.FILE_NAME)), this); in UwbInjector()194 public UwbSettingsStore getUwbSettingsStore() { in getUwbSettingsStore()
200 UwbSettingsStore.SETTINGS_CACHED_COUNTRY_CODE); in initialize()418 UwbSettingsStore.SETTINGS_CACHED_COUNTRY_CODE, country); in setCountryCode()488 UwbSettingsStore.SETTINGS_CACHED_COUNTRY_CODE, ""); in clearCachedCountryCode()
50 public class UwbSettingsStore { class124 public UwbSettingsStore(@NonNull Context context, @NonNull Handler handler, @NonNull in UwbSettingsStore() method in UwbSettingsStore