Home
last modified time | relevance | path

Searched refs:getUserHandleForUid (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/incident/
DIncidentCompanionService.java140 + " userHandle=" + UserHandle.getUserHandleForUid(primaryUser) in sendReportReadyBroadcast()
145 UserHandle.getUserHandleForUid(primaryUser), in sendReportReadyBroadcast()
DPendingReports.java366 mContext.sendBroadcastAsUser(intent, UserHandle.getUserHandleForUid(primaryUser), in sendBroadcast()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbHandlerManager.java91 UserHandle.getUserHandleForUid(rInfo.activityInfo.applicationInfo.uid); in confirmUsbHandler()
DUsbProfileGroupSettingsManager.java181 handlePackageAdded(new UserPackage(packageName, UserHandle.getUserHandleForUid(uid))); in onPackageAdded()
191 clearDefaults(packageName, UserHandle.getUserHandleForUid(uid)); in onPackageRemoved()
684 if (UserHandle.getUserHandleForUid( in removeForwardIntentIfNotNeeded()
863 UserHandle user = UserHandle.getUserHandleForUid( in resolveActivity()
893 UserHandle.getUserHandleForUid( in getDefaultActivityLocked()
/frameworks/base/core/java/com/android/internal/util/
DLocationPermissionChecker.java225 UserHandle.getUserHandleForUid(callingUid)).targetSdkVersion in isTargetSdkLessThan()
/frameworks/base/telephony/common/com/android/internal/telephony/
DTelephonyPermissions.java373 callingPackage, 0, UserHandle.getUserHandleForUid(uid)); in reportAccessDeniedToReadIdentifiers()
487 callingPackage, 0, UserHandle.getUserHandleForUid(Binder.getCallingUid())); in checkReadPhoneNumber()
DCarrierAppUtils.java125 Context userContext = context.createContextAsUser(UserHandle.getUserHandleForUid(userId), in getContentResolverForUser()
DSmsApplication.java163 UserHandle.getUserHandleForUid(mUid)); in getApplicationName()
/frameworks/base/services/core/java/com/android/server/role/
DFinancialSmsManager.java186 UserHandle.getUserHandleForUid(UserHandle.getCallingUserId())); in connectAndRun()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DFullscreenUserSwitcher.java106 UserHandle.getUserHandleForUid(UserHandle.USER_SYSTEM), in FullscreenUserSwitcher()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationAccesses.java102 UserHandle user = UserHandle.getUserHandleForUid(uid); in getAppList()
DRecentLocationApps.java97 final UserHandle user = UserHandle.getUserHandleForUid(uid); in getAppList()
/frameworks/base/core/java/android/os/
DUserHandle.java203 public static UserHandle getUserHandleForUid(int uid) { in getUserHandleForUid() method in UserHandle
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DLocationPermissionCheckerTest.java147 UserHandle.getUserHandleForUid(MANAGED_PROFILE_UID).getIdentifier())) in setupMockInterface()
/frameworks/base/services/core/java/com/android/server/policy/
DPermissionPolicyService.java639 perm, pkg, UserHandle.getUserHandleForUid(uid)) in isBgPermRestricted()
676 pkg.packageName, UserHandle.getUserHandleForUid(uid)); in addOpIfFgPermissions()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsUsageMonitor.java581 pkg, 0, UserHandle.getUserHandleForUid(uid)); in checkCallerIsSystemOrPhoneOrSameApp()
DSMSDispatcher.java1434 UserHandle.getUserHandleForUid(userId)); in getAppLabel()
1870 UserHandle callingUser = UserHandle.getUserHandleForUid(Binder.getCallingUid()); in getSmsTracker()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java2276 eq(UserHandle.getUserHandleForUid(mContext.binder.callingUid)))) in testCreateAdminSupportIntent()
2287 eq(UserHandle.getUserHandleForUid(UserHandle.myUserId()))); in testCreateAdminSupportIntent()
2987 eq(UserHandle.getUserHandleForUid(mContext.binder.callingUid)))) in testProvisioning_nonSplitUser_withDo_primaryUser_restrictedByDo()
2991 eq(UserHandle.getUserHandleForUid(mContext.binder.callingUid)))) in testProvisioning_nonSplitUser_withDo_primaryUser_restrictedByDo()
3013 eq(UserHandle.getUserHandleForUid(mContext.binder.callingUid)))) in testProvisioning_nonSplitUser_withDo_primaryUser_restrictedBySystem()
3017 eq(UserHandle.getUserHandleForUid(mContext.binder.callingUid)))) in testProvisioning_nonSplitUser_withDo_primaryUser_restrictedBySystem()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNetworkSuggestionsManager.java1045 intent, UserHandle.getUserHandleForUid(networkSuggestion.suggestorUid)); in sendPostConnectionBroadcast()
DWifiNetworkFactory.java1189 mContext.startActivityAsUser(intent, UserHandle.getUserHandleForUid( in startUi()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java2033 pkg, UserHandle.getUserHandleForUid(uid),
2647 UserHandle user = UserHandle.getUserHandleForUid(callingUid);
2679 UserHandle user = UserHandle.getUserHandleForUid(callingUid);
2738 UserHandle.getUserHandleForUid(uid),
2799 UserHandle.getUserHandleForUid(callingUid),
2837 UserHandle.getUserHandleForUid(callingUid),
2842 pkg, UserHandle.getUserHandleForUid(callingUid), groupToDelete,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsResolver.java1545 UserHandle.getUserHandleForUid(UserHandle.myUserId()))) { in searchForImsServices()
/frameworks/base/services/print/java/com/android/server/print/
DUserState.java653 UserHandle.getUserHandleForUid(mUserId), this); in addPrintServiceRecommendationsChangeListener()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java449 UserHandle.getUserHandleForUid(uid))) { in cancelAccountAccessRequestNotificationIfNeeded()
452 UserHandle.getUserHandleForUid(uid)); in cancelAccountAccessRequestNotificationIfNeeded()
4071 UserHandle.getUserHandleForUid(uid)); in newRequestAccountAccessIntent()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkFactoryTest.java2851 intentArgumentCaptor.capture(), eq(UserHandle.getUserHandleForUid(TEST_UID_1))); in validateUiStartParams()

12