Home
last modified time | relevance | path

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

/frameworks/base/telecomm/java/android/telecom/
DPhoneAccountHandle.java92 public UserHandle getUserHandle() { in getUserHandle() method in PhoneAccountHandle
120 Objects.equals(((PhoneAccountHandle) other).getUserHandle(), getUserHandle()); in equals()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java89 Bundle restrictions = mUserManager.getUserRestrictions(user.getUserHandle()); in testAddUser()
183 assertEquals(user1.id, mUserManager.getUserHandle(serialNumber1)); in testSerialNumber()
188 assertEquals(user2.id, mUserManager.getUserHandle(serialNumber2)); in testSerialNumber()
/frameworks/base/core/java/android/os/
DUserManager.java532 public int getUserHandle() { in getUserHandle() method in UserManager
544 return mService.getUserInfo(getUserHandle()).name; in getUserName()
817 int ident = getUserHandle((int) serialNumber); in getUserForSerialNumber()
1321 public int getUserHandle(int userSerialNumber) { in getUserHandle() method in UserManager
1323 return mService.getUserHandle(userSerialNumber); in getUserHandle()
DIUserManager.aidl51 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/content/pm/
DUserInfo.java154 public UserHandle getUserHandle() { in getUserHandle() method in UserInfo
/frameworks/base/core/java/android/provider/
DCallLog.java608 final int currentUserId = userManager.getUserHandle(); in addCall()
612 final UserHandle userHandle = user.getUserHandle(); in addCall()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java146 return getNameForVpnConfig(cfg, profile.getUserHandle()); in getProfileVpnName()
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallerInfoAsyncQuery.java104 final int myUser = UserManager.get(context).getUserHandle(); in getCurrentProfileContentResolver()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDebuggingManager.java327 UserManager.get(mContext).getUserInfo(currentUserId).getUserHandle(); in startConfirmation()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java263 new Intent().setComponent(name), userInfo.getUserHandle()); in refreshAgentList()
841 return parent.getUserHandle().getIdentifier(); in resolveProfileParent()
/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java672 return parent.getUserHandle().getIdentifier(); in resolveCallingProfileParentLocked()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java523 public UserHandle getUserHandle() { in getUserHandle() method in DevicePolicyManagerService.ActiveAdmin
1319 mContext.sendOrderedBroadcastAsUser(intent, admin.getUserHandle(), in sendAdminCommandLocked()
1322 mContext.sendBroadcastAsUser(intent, admin.getUserHandle()); in sendAdminCommandLocked()
1367 int userHandle = admin.getUserHandle().getIdentifier(); in removeActiveAdminLocked()
1860 manageNotification(userInfo.getUserHandle()); in doInBackground()
2800 return admin != null ? admin.getUserHandle().getIdentifier() : UserHandle.USER_NULL; in getProfileWithMinimumFailedPasswordsForWipe()
3551 identifier = strictestAdmin.getUserHandle().getIdentifier(); in reportFailedPasswordAttempt()
5330 return userInfo.getUserHandle(); in createUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java1319 mContext.sendBroadcastAsUser(USER_PRESENT_INTENT, ui.getUserHandle()); in sendUserPresentBroadcast()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java3148 profileIds[enabledProfileIndex] = profile.getUserHandle().getIdentifier(); in getEnabledGroupProfileIds()
3284 return parent.getUserHandle().getIdentifier(); in getProfileParent()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1804 public int getUserHandle(int userSerialNumber) { in getUserHandle() method in UserManagerService
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java3647 return parent.getUserHandle().getIdentifier(); in resolveProfileParentLocked()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java1974 final int userId = user.getUserHandle().getIdentifier(); in getPackageBans()
/frameworks/base/api/
Dcurrent.txt30335 method public android.os.UserHandle getUserHandle();
Dsystem-current.txt32543 method public android.os.UserHandle getUserHandle();