Home
last modified time | relevance | path

Searched refs:LAST_ACTIVE_USER_ID (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DInitialUserSetterTest.java826 assertThat(getSettingsInt(CarSettings.Global.LAST_ACTIVE_USER_ID)) in testGetInitialUser_WithNonExistLastActiveUser_ReturnsLastPersistentUser()
839 assertThat(getSettingsInt(CarSettings.Global.LAST_ACTIVE_USER_ID)) in testGetInitialUser_WithNonExistLastActiveAndPersistentUsers_ReturnsSmallestUser()
941 assertSettingsNotSet(CarSettings.Global.LAST_ACTIVE_USER_ID); in testSetLastActiveUser_headlessSystem()
952 assertThat(getSettingsInt(CarSettings.Global.LAST_ACTIVE_USER_ID)) in testSetLastActiveUser_nonHeadlessSystem()
963 assertThat(getSettingsInt(CarSettings.Global.LAST_ACTIVE_USER_ID)).isEqualTo(42); in testSetLastActiveUser_nonExistingUser()
977 assertThat(getSettingsInt(CarSettings.Global.LAST_ACTIVE_USER_ID)) in testSetLastActiveUser_ephemeralUser()
989 assertThat(getSettingsInt(CarSettings.Global.LAST_ACTIVE_USER_ID)).isEqualTo(42); in testSetLastActiveUser_nonEphemeralUser()
1002 putSettingsInt(CarSettings.Global.LAST_ACTIVE_USER_ID, userId); in setLastActiveUser()
/packages/services/Car/service/src/com/android/car/user/
DInitialUserSetter.java685 setUserIdGlobalProperty(CarSettings.Global.LAST_ACTIVE_USER_ID, userId); in setLastActiveUser()
746 int lastActiveUser = getUserIdGlobalProperty(CarSettings.Global.LAST_ACTIVE_USER_ID); in getInitialUser()
751 resetUserIdGlobalProperty(CarSettings.Global.LAST_ACTIVE_USER_ID); in getInitialUser()
DCarUserService.java417 dumpGlobalProperty(writer, indent, CarSettings.Global.LAST_ACTIVE_USER_ID); in dump()
/packages/services/Car/car-lib/src/android/car/settings/
DCarSettings.java81 public static final String LAST_ACTIVE_USER_ID = field in CarSettings.Global
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarSettingsTest.java65 mSettings.put(CarSettings.Global.LAST_ACTIVE_USER_ID, SCOPE_GLOBAL); in loadSettingNames()