Home
last modified time | relevance | path

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

/packages/services/Car/tests/robotests/src/com/android/car/users/
DCarUserManagerHelperRoboTest.java70 ShadowActivityManager.setCurrentUser(15); in testGetForegroundUserId()
77 ShadowActivityManager.setCurrentUser(currentForegroundUserId); in testGetForegroundUserInfo()
85 ShadowUserManager.getShadow().setCurrentUser(currentProcessUserId); in testGetCurrentProcessUserId()
93 ShadowUserManager.getShadow().setCurrentUser(currentProcessUserId); in testGetCurrentProcessUserInfo()
101 userManager.setCurrentUser(currentProcessUserId); in testGetAllUsers()
126 ShadowActivityManager.setCurrentUser(11); in testGetAllUsersExceptForegroundUser()
147 ShadowActivityManager.setCurrentUser(10); in testCheckForegroundUser()
151 ShadowActivityManager.setCurrentUser(11); in testCheckForegroundUser()
162 shadowUserManager.setCurrentUser(10); in testIsUserRunningCurrentProcess()
167 shadowUserManager.setCurrentUser(11); in testIsUserRunningCurrentProcess()
[all …]
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/users/
DRestrictedProfileTest.java66 setCurrentUser(mProfileInfo); in testGetUser_isSelf()
72 setCurrentUser(mOwnerInfo).addOtherUsers(mProfileInfo); in testGetUser_isChild()
78 setCurrentUser(mOwnerInfo); in testGetUser_doesNotExist()
84 setCurrentUser(mOwnerInfo).addOtherUsers(mProfileInfo); in testEnterUser_isOwner_profileExists()
91 setCurrentUser(mOwnerInfo); in testEnterUser_isOwner_profileDoesNotExist()
98 setCurrentUser(mProfileInfo).addOtherUsers(mOwnerInfo); in testEnterUser_isProfile()
105 setCurrentUser(mOwnerInfo).addOtherUsers(mProfileInfo); in testExitUser_isOwner()
112 setCurrentUser(mProfileInfo).addOtherUsers(mOwnerInfo, mSystemInfo); in testExitUser_isProfile()
119 setCurrentUser(mProfileInfo).addOtherUsers(mProfileInfo, mSystemInfo); in testExitUser_isProfile_legacyParent()
129 private UserSetter setCurrentUser(UserInfo user) { in setCurrentUser() method in RestrictedProfileTest
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DProfileService.java106 protected void setCurrentUser(int userId) {} in setCurrentUser() method in ProfileService
248 setCurrentUser(userId); in doStart()
258 setCurrentUser(currentUserId); in doStart()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowActivityManager.java35 public static void setCurrentUser(int userId) { in setCurrentUser() method in ShadowActivityManager
/packages/services/Car/tests/robotests/src/com/android/car/testutils/shadow/
DShadowActivityManager.java57 public static void setCurrentUser(int userId) { in setCurrentUser() method in ShadowActivityManager
DShadowUserManager.java135 public void setCurrentUser(int userId) { in setCurrentUser() method in ShadowUserManager
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DAdvancedPowerUsageDetailTest.java333 ShadowActivityManager.setCurrentUser(currentUser); in testStartBatteryDetailPage_typeUser_startByCurrentUser()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapService.java571 protected void setCurrentUser(int userId) { in setCurrentUser() method in BluetoothPbapService