Home
last modified time | relevance | path

Searched refs:getSettingsInt (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/android/car/userlib/
DCarUserManagerHelperTest.java205 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()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioSettingsUnitTest.java81 assertThat(getSettingsInt(TEST_GAIN_INDEX_KEY)).isEqualTo(TEST_GAIN_INDEX); in storedVolumeGainIndexForUser_savesValue()
/packages/services/Car/car-test-lib/src/android/car/test/mocks/
DAbstractExtendedMockitoTestCase.java187 protected int getSettingsInt(@NonNull String key) { in getSettingsInt() method in AbstractExtendedMockitoTestCase
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserServiceTest.java355 assertThat(getSettingsInt(CarSettings.Global.DEFAULT_USER_RESTRICTIONS_SET)).isEqualTo(1); in testInitializeGuestRestrictions_IfNotAlreadySet()