Home
last modified time | relevance | path

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

/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.java123 protected void setCurrentUser(int userId) {} in setCurrentUser() method in ProfileService
294 setCurrentUser(userId); in doStart()
304 setCurrentUser(currentUserId); in doStart()
/packages/apps/QuickAccessWallet/tests/robolectric/src/com/android/systemui/plugin/globalactions/wallet/
DQuickAccessWalletClientTest.java124 ShadowActivityManager.setCurrentUser(11); in isWalletFeatureAvailable_wrongUser()
233 public static void setCurrentUser(int userId) { in setCurrentUser() method in QuickAccessWalletClientTest.ShadowActivityManager
/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/apps/Car/Notification/tests/robotests/src/com/android/car/notification/testutils/
DShadowActivityManager.java40 public static void setCurrentUser(int userId) { in setCurrentUser() method in ShadowActivityManager
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowActivityManager.java65 public static void setCurrentUser(int userId) { in setCurrentUser() method in ShadowActivityManager
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java154 setCurrentUser(CURRENT_USER_ID, /* isGuest= */ false); in setUp()
683 private UserInfo setCurrentUser(int userId, boolean isGuest) { in setCurrentUser() method in CarPowerManagementServiceUnitTest
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/profiles/
DProfileHelperTest.java89 ShadowActivityManager.setCurrentUser(10); in setUp()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapService.java645 protected void setCurrentUser(int userId) { in setCurrentUser() method in BluetoothPbapService
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DAdvancedPowerUsageDetailTest.java678 ShadowActivityManager.setCurrentUser(currentUser); in testStartBatteryDetailPage_typeUser_startByCurrentUser()