Searched refs:getSettingsInt (Results 1 – 4 of 4) sorted by relevance
205 assertThat(getSettingsInt(CarSettings.Global.LAST_ACTIVE_USER_ID)) in testGetInitialUser_WithNonExistLastActiveUser_ReturnsLastPersistentUser()218 assertThat(getSettingsInt(CarSettings.Global.LAST_ACTIVE_USER_ID)) in testGetInitialUser_WithNonExistLastActiveAndPersistentUsers_ReturnsSmallestUser()220 assertThat(getSettingsInt(CarSettings.Global.LAST_ACTIVE_PERSISTENT_USER_ID)) in testGetInitialUser_WithNonExistLastActiveAndPersistentUsers_ReturnsSmallestUser()331 assertThat(getSettingsInt(CarSettings.Global.LAST_ACTIVE_USER_ID)) in testSetLastActiveUser_nonHeadlessSystem()333 assertThat(getSettingsInt(CarSettings.Global.LAST_ACTIVE_PERSISTENT_USER_ID)) in testSetLastActiveUser_nonHeadlessSystem()342 assertThat(getSettingsInt(CarSettings.Global.LAST_ACTIVE_USER_ID)).isEqualTo(42); in testSetLastActiveUser_nonExistingUser()356 assertThat(getSettingsInt(CarSettings.Global.LAST_ACTIVE_USER_ID)) in testSetLastActiveUser_ephemeralUser()358 assertThat(getSettingsInt(CarSettings.Global.LAST_ACTIVE_PERSISTENT_USER_ID)) in testSetLastActiveUser_ephemeralUser()368 assertThat(getSettingsInt(CarSettings.Global.LAST_ACTIVE_USER_ID)).isEqualTo(42); in testSetLastActiveUser_nonEphemeralUser()369 assertThat(getSettingsInt(CarSettings.Global.LAST_ACTIVE_PERSISTENT_USER_ID)).isEqualTo(42); in testSetLastActiveUser_nonEphemeralUser()
81 assertThat(getSettingsInt(TEST_GAIN_INDEX_KEY)).isEqualTo(TEST_GAIN_INDEX); in storedVolumeGainIndexForUser_savesValue()
187 protected int getSettingsInt(@NonNull String key) { in getSettingsInt() method in AbstractExtendedMockitoTestCase
355 assertThat(getSettingsInt(CarSettings.Global.DEFAULT_USER_RESTRICTIONS_SET)).isEqualTo(1); in testInitializeGuestRestrictions_IfNotAlreadySet()