Home
last modified time | relevance | path

Searched refs:UwbSettingsStore (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbSettingsStoreTest.java19 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()
DUwbCountryCodeTest.java97 @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()
DUwbServiceImplTest.java25 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;
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUciLogModeStore.java21 import static com.android.server.uwb.UwbSettingsStore.SETTINGS_LOG_MODE;
67 private final UwbSettingsStore mUwbSettingsStore;
69 public UciLogModeStore(UwbSettingsStore uwbSettingsStore) { in UciLogModeStore()
DUwbServiceImpl.java92 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()
DUwbInjector.java107 private final UwbSettingsStore mUwbSettingsStore;
137 mUwbSettingsStore = new UwbSettingsStore( in UwbInjector()
140 UwbSettingsStore.FILE_NAME)), this); in UwbInjector()
194 public UwbSettingsStore getUwbSettingsStore() { in getUwbSettingsStore()
DUwbCountryCode.java200 UwbSettingsStore.SETTINGS_CACHED_COUNTRY_CODE); in initialize()
418 UwbSettingsStore.SETTINGS_CACHED_COUNTRY_CODE, country); in setCountryCode()
488 UwbSettingsStore.SETTINGS_CACHED_COUNTRY_CODE, ""); in clearCachedCountryCode()
DUwbSettingsStore.java50 public class UwbSettingsStore { class
124 public UwbSettingsStore(@NonNull Context context, @NonNull Handler handler, @NonNull in UwbSettingsStore() method in UwbSettingsStore