Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DRoleObserverTest.java170 mUsers.get(0).getUserHandle())). in testInit()
174 mUsers.get(0).getUserHandle())). in testInit()
206 mUsers.get(0).getUserHandle())). in testSwapDefault()
220 mUsers.get(0).getUserHandle())). in testSwapDefault()
237 mUsers.get(0).getUserHandle())). in testSwapDefault_multipleOverlappingApps()
252 mUsers.get(0).getUserHandle())). in testSwapDefault_multipleOverlappingApps()
279 mUsers.get(0).getUserHandle())). in testSwapDefault_newUser()
289 mUsers.get(1).getUserHandle())). in testSwapDefault_newUser()
/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()
/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/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.java1348 public @UserIdInt int getUserHandle() { in getUserHandle() method in UserManager
1375 return mService.isUserNameSet(getUserHandle()); in isUserNameSet()
2000 int ident = getUserHandle((int) serialNumber); in getUserForSerialNumber()
2850 setUserName(getUserHandle(), name); in setUserName()
2877 setUserIcon(getUserHandle(), icon); in setUserIcon()
2920 return getUserIcon(getUserHandle()); in getUserIcon()
3017 public @UserIdInt int getUserHandle(int userSerialNumber) { in getUserHandle() method in UserManager
3019 return mService.getUserHandle(userSerialNumber); in getUserHandle()
3200 public UserHandle getUserHandle() { in getUserHandle() method in UserManager.EnforcingUser
DIUserManager.aidl70 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/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotPersisterTestBase.java56 mTestUserId = um.getUserHandle(); in setUp()
/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/
DTestEnrollmentActivity.java60 new int[] { UserManager.get(this).getUserHandle() /* current user */}); in onEnrollButtonClicked()
/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.java262 public UserHandle getUserHandle() { in getUserHandle() method in UserInfo
DLauncherApps.java1030 shortcut.getIconResourceId(), shortcut.getUserHandle(), density); in getShortcutIconDrawable()
1037 icon.getResId(), shortcut.getUserHandle(), density); in getShortcutIconDrawable()
1084 originalIcon, shortcut.getUserHandle()); in getShortcutBadgedIconDrawable()
/frameworks/base/core/java/android/provider/
DCallLog.java846 final int currentUserId = userManager.getUserHandle(); in addCall()
870 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.java351 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/telephony/java/com/android/internal/telephony/
DCallerInfoAsyncQuery.java110 final int myUser = UserManager.get(context).getUserHandle(); in getCurrentProfileContentResolver()
/frameworks/base/services/core/java/com/android/server/adb/
DAdbDebuggingManager.java588 if (startConfirmationActivity(componentName, userInfo.getUserHandle(), key, fingerprints) in startConfirmation()
589 || startConfirmationService(componentName, userInfo.getUserHandle(), in startConfirmation()

12