Searched refs:LAST_ACTIVE_USER_ID (Results 1 – 5 of 5) sorted by relevance
826 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()
685 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()
417 dumpGlobalProperty(writer, indent, CarSettings.Global.LAST_ACTIVE_USER_ID); in dump()
81 public static final String LAST_ACTIVE_USER_ID = field in CarSettings.Global
65 mSettings.put(CarSettings.Global.LAST_ACTIVE_USER_ID, SCOPE_GLOBAL); in loadSettingNames()