Home
last modified time | relevance | path

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

/frameworks/base/telecomm/java/android/telecom/
DPhoneAccountHandle.java95 public UserHandle getUserHandle() { in getUserHandle() method in PhoneAccountHandle
123 Objects.equals(((PhoneAccountHandle) other).getUserHandle(), getUserHandle()); in equals()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java80 Bundle restrictions = mUserManager.getUserRestrictions(user.getUserHandle()); in testAddUser()
149 assertEquals(user1.id, mUserManager.getUserHandle(serialNumber1)); in testSerialNumber()
155 assertEquals(user2.id, mUserManager.getUserHandle(serialNumber2)); in testSerialNumber()
/frameworks/base/core/java/android/os/
DUserManager.java450 public int getUserHandle() { in getUserHandle() method in UserManager
462 return mService.getUserInfo(getUserHandle()).name; in getUserName()
712 int ident = getUserHandle((int)serialNumber); in getUserForSerialNumber()
1155 public int getUserHandle(int userSerialNumber) { in getUserHandle() method in UserManager
1157 return mService.getUserHandle(userSerialNumber); in getUserHandle()
DIUserManager.aidl42 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/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/
DTestEnrollmentActivity.java60 new int[] { UserManager.get(this).getUserHandle() /* current user */}); in onEnrollButtonClicked()
/frameworks/base/core/java/android/provider/
DCallLog.java530 final int currentUserId = userManager.getUserHandle(); in addCall()
534 final UserHandle userHandle = user.getUserHandle(); in addCall()
/frameworks/base/core/java/android/content/pm/
DUserInfo.java154 public UserHandle getUserHandle() { in getUserHandle() method in UserInfo
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallerInfoAsyncQuery.java105 final int myUser = UserManager.get(context).getUserHandle(); in getCurrentProfileContentResolver()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java260 new Intent().setComponent(name), userInfo.getUserHandle()); in refreshAgentList()
783 return parent.getUserHandle().getIdentifier(); in resolveProfileParent()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java450 public UserHandle getUserHandle() { in getUserHandle() method in DevicePolicyManagerService.ActiveAdmin
1197 mContext.sendOrderedBroadcastAsUser(intent, admin.getUserHandle(), in sendAdminCommandLocked()
1200 mContext.sendBroadcastAsUser(intent, admin.getUserHandle()); in sendAdminCommandLocked()
1245 int userHandle = admin.getUserHandle().getIdentifier(); in removeActiveAdminLocked()
1678 manageNotification(userInfo.getUserHandle()); in doInBackground()
2601 return admin != null ? admin.getUserHandle().getIdentifier() : UserHandle.USER_NULL; in getProfileWithMinimumFailedPasswordsForWipe()
3193 identifier = strictestAdmin.getUserHandle().getIdentifier(); in reportFailedPasswordAttempt()
4727 return userInfo.getUserHandle(); in createUser()
/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java672 return parent.getUserHandle().getIdentifier(); in resolveCallingProfileParentLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java1224 mContext.sendBroadcastAsUser(USER_PRESENT_INTENT, ui.getUserHandle()); in sendUserPresentBroadcast()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java3032 profileIds[enabledProfileIndex] = profile.getUserHandle().getIdentifier(); in getEnabledGroupProfileIds()
3168 return parent.getUserHandle().getIdentifier(); in getProfileParent()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1786 public int getUserHandle(int userSerialNumber) { in getUserHandle() method in UserManagerService
/frameworks/base/services/core/java/com/android/server/
DMountService.java1383 createEmulatedVolumeForUserLocked(user.getUserHandle()); in readStorageListLocked()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java3577 return parent.getUserHandle().getIdentifier(); in resolveProfileParentLocked()