Home
last modified time | relevance | path

Searched refs:getUserHandle (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DRoleObserverTest.java171 mUsers.get(0).getUserHandle())). in testInit()
175 mUsers.get(0).getUserHandle())). in testInit()
207 mUsers.get(0).getUserHandle())). in testSwapDefault()
221 mUsers.get(0).getUserHandle())). in testSwapDefault()
238 mUsers.get(0).getUserHandle())). in testSwapDefault_multipleOverlappingApps()
253 mUsers.get(0).getUserHandle())). in testSwapDefault_multipleOverlappingApps()
280 mUsers.get(0).getUserHandle())). in testSwapDefault_newUser()
290 mUsers.get(1).getUserHandle())). in testSwapDefault_newUser()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java135 Bundle restrictions = mUserManager.getUserRestrictions(user.getUserHandle()); in testAddUser()
167 final UserHandle user = userInfo.getUserHandle(); in testRemoveUserByHandle()
214 userInfo.getUserHandle())); in testSetUserAdmin()
216 userInfo.getUserHandle())); in testSetUserAdmin()
227 userInfo.getUserHandle())); in testSetUserAdmin()
229 userInfo.getUserHandle())); in testSetUserAdmin()
457 assertEquals(user1.id, mUserManager.getUserHandle(serialNumber1)); in testSerialNumber()
462 assertEquals(user2.id, mUserManager.getUserHandle(serialNumber2)); in testSerialNumber()
529 guest.getUserHandle())); in testSetDefaultGuestRestrictions()
560 switchUser(-1, user.getUserHandle(), false); in testSwitchUserByHandle()
DShortcutManagerTest2.java235 assertEquals(HANDLE_USER_10, si.getUserHandle()); in testShortcutInfoParcel()
368 assertEquals(HANDLE_USER_11, si.getUserHandle()); in testShortcutInfoClone()
508 assertEquals(HANDLE_USER_11, si.getUserHandle()); in testShortcutInfoClone_resId()
957 assertEquals(HANDLE_USER_10, si.getUserHandle()); in testShortcutInfoSaveAndLoad()
1037 assertEquals(HANDLE_USER_10, si.getUserHandle());
1108 assertEquals(HANDLE_USER_10, si.getUserHandle());
/frameworks/base/telecomm/java/android/telecom/
DPhoneAccountHandle.java102 public UserHandle getUserHandle() { in getUserHandle() method in PhoneAccountHandle
130 Objects.equals(((PhoneAccountHandle) other).getUserHandle(), getUserHandle()); in equals()
DCallerInfoAsyncQuery.java108 final int myUser = UserManager.get(context).getUserHandle(); in getCurrentProfileContentResolver()
/frameworks/base/core/java/android/app/prediction/
DAppTarget.java75 mUser = mShortcutInfo.getUserHandle(); in AppTarget()
98 mUser = mShortcutInfo.getUserHandle(); in AppTarget()
243 mUser = info.getUserHandle(); in Builder()
268 setTarget(info.getPackage(), info.getUserHandle()); in setTarget()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/bluetooth/
DBluetoothEventManagerIntegTest.java103 mContext.sendBroadcastAsUser(mTestIntent, mOtherUser.getUserHandle()); in registerAdapterReceiver_ifIntentFromAnotherUser_broadcastIsReceived()
125 mContext.sendBroadcastAsUser(mTestIntent, mOtherUser.getUserHandle()); in registerProfileReceiver_ifIntentFromAnotherUser_broadcastIsReceived()
/frameworks/base/core/java/android/os/
DUserManager.java1362 public @UserIdInt int getUserHandle() { in getUserHandle() method in UserManager
1389 return mService.isUserNameSet(getUserHandle()); in isUserNameSet()
2014 int ident = getUserHandle((int) serialNumber); in getUserForSerialNumber()
2910 setUserName(getUserHandle(), name); in setUserName()
2937 setUserIcon(getUserHandle(), icon); in setUserIcon()
2980 return getUserIcon(getUserHandle()); in getUserIcon()
3077 public @UserIdInt int getUserHandle(int userSerialNumber) { in getUserHandle() method in UserManager
3079 return mService.getUserHandle(userSerialNumber); in getUserHandle()
3260 public UserHandle getUserHandle() { in getUserHandle() method in UserManager.EnforcingUser
DIUserManager.aidl71 int getUserHandle(int userSerialNumber); in getUserHandle() method
/frameworks/base/media/java/android/media/projection/
DMediaProjectionInfo.java44 public UserHandle getUserHandle() { in getUserHandle() method in MediaProjectionInfo
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/
DPipUI.java51 final int processUser = UserManager.get(mContext).getUserHandle(); in start()
/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/
DTestEnrollmentActivity.java60 new int[] { UserManager.get(this).getUserHandle() /* current user */}); in onEnrollButtonClicked()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotPersisterTestBase.java75 mTestUserId = um.getUserHandle(); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/
DThemeOverlayController.java121 userHandles.add(userInfo.getUserHandle()); in updateThemeOverlays()
/frameworks/base/core/java/android/service/notification/
DAdjustment.java226 public @NonNull UserHandle getUserHandle() { in getUserHandle() method in Adjustment
/frameworks/base/services/core/java/com/android/server/slice/
DSliceFullAccessList.java106 upgradeXml(xmlVersion, userInfo.getUserHandle().getIdentifier()); in readXml()
/frameworks/base/services/core/java/com/android/server/storage/
DAppCollector.java134 app.packageName, user.getUserHandle()); in handleMessage()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbSettingsManager.java99 parentUser = parentUserInfo.getUserHandle(); in getSettingsForProfileGroup()
/frameworks/base/core/java/android/content/pm/
DUserInfo.java312 public UserHandle getUserHandle() { in getUserHandle() method in UserInfo
DLauncherApps.java1059 shortcut.getIconResourceId(), shortcut.getUserHandle(), density); in getShortcutIconDrawable()
1066 icon.getResId(), shortcut.getUserHandle(), density); in getShortcutIconDrawable()
1113 originalIcon, shortcut.getUserHandle()); in getShortcutBadgedIconDrawable()
/frameworks/base/core/java/android/provider/
DCallLog.java847 final int currentUserId = userManager.getUserHandle(); in addCall()
871 final UserHandle userHandle = userInfo.getUserHandle(); in addCall()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerServiceImpl.java92 mCurrentUser = user.getUserHandle().getIdentifier(); in TunerServiceImpl()
/frameworks/base/cmds/telecom/src/com/android/commands/telecom/
DTelecom.java417 userHandle = UserHandle.of(mUserManager.getUserHandle(userSn)); in getPhoneAccountHandleFromArgs()
/frameworks/base/services/core/java/com/android/server/display/
DAmbientBrightnessStatsTracker.java356 return userManager.getUserHandle(userSerialNumber); in getUserId()
/frameworks/base/services/core/java/com/android/server/adb/
DAdbDebuggingManager.java1441 if (startConfirmationActivity(componentName, userInfo.getUserHandle(), extras) in startConfirmationForNetwork()
1442 || startConfirmationService(componentName, userInfo.getUserHandle(), in startConfirmationForNetwork()
1468 if (startConfirmationActivity(componentName, userInfo.getUserHandle(), extras) in startConfirmationForKey()
1469 || startConfirmationService(componentName, userInfo.getUserHandle(), in startConfirmationForKey()

123