Home
last modified time | relevance | path

Searched refs:getPackagesForUid (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/support/v4/java/android/support/v4/app/
DNotificationCompatSideChannelService.java110 for (String validPackage : getPackageManager().getPackagesForUid(callingUid)) { in checkPermission()
/frameworks/base/core/java/android/accounts/
DGrantCredentialsPermissionActivity.java70 final String[] packages = pm.getPackagesForUid(mUid); in onCreate()
/frameworks/base/services/restrictions/java/com/android/server/restrictions/
DRestrictionsManagerService.java205 String[] pkgs = AppGlobals.getPackageManager().getPackagesForUid(callingUid); in enforceCallerMatchesPackage()
/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java290 for (String packageName : pm.getPackagesForUid(uid)) { in isUidValidForPolicy()
/frameworks/base/media/java/android/service/media/
DMediaBrowserService.java393 final String[] packages = pm.getPackagesForUid(uid); in isValidPackage()
/frameworks/base/services/core/java/com/android/server/content/
DSyncOperation.java238 final String[] packages = pm.getPackagesForUid(reason); in reasonToString()
/frameworks/base/core/java/android/content/pm/
DIPackageManager.aidl106 String[] getPackagesForUid(int uid); in getPackagesForUid() method
DRegisteredServicesCache.java307 String[] packages = mContext.getPackageManager().getPackagesForUid(callerUid); in inSystemImage()
DPackageManager.java2285 public abstract String[] getPackagesForUid(int uid); in getPackagesForUid() method in PackageManager
/frameworks/base/services/core/java/com/android/server/
DMmsServiceBroker.java211 final String[] packages = getPackageManager().getPackagesForUid(Binder.getCallingUid()); in getCallingPackageName()
DTextServicesManagerService.java264 final String[] packageNames = AppGlobals.getPackageManager().getPackagesForUid(uid); in calledFromValidUser()
DLocationManagerService.java1517 String[] packages = mPackageManager.getPackagesForUid(uid); in checkPackageName()
2024 String[] packageNames = mPackageManager.getPackagesForUid(uid); in doesUidHavePackage()
DInputMethodManagerService.java2342 packageInfos = mIPackageManager.getPackagesForUid(Binder.getCallingUid()); in setAdditionalInputMethodSubtypes()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccCarrierPrivilegeRules.java298 String[] packages = packageManager.getPackagesForUid(Binder.getCallingUid()); in getCarrierPrivilegeStatusForCurrentTransaction()
/frameworks/base/services/core/java/com/android/server/firewall/
DIntentFirewall.java198 String[] callerPackagesArray = pm.getPackagesForUid(callerUid); in logIntent()
/frameworks/base/test-runner/src/android/test/mock/
DMockPackageManager.java215 public String[] getPackagesForUid(int uid) { in getPackagesForUid() method in MockPackageManager
/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java717 String[] packages = mContext.getPackageManager().getPackagesForUid( in resolveCallingPackageNameEnforcingSecurity()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSMSDispatcher.java956 String[] packageNames = pm.getPackagesForUid(Binder.getCallingUid()); in sendRawPdu()
1535 String[] packageNames = pm.getPackagesForUid(Binder.getCallingUid()); in getSmsTracker()
/frameworks/base/core/java/android/widget/
DAppSecurityPermissions.java332 String sharedPkgList[] = mPm.getPackagesForUid(sharedUid); in getAllUsedPermissions()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java462 public String[] getPackagesForUid(int uid) { in getPackagesForUid() method in ApplicationPackageManager
464 return mPM.getPackagesForUid(uid); in getPackagesForUid()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java314 String[] packages = getContext().getPackageManager().getPackagesForUid(uid); in enforcePackageName()
DMediaRouterService.java479 String[] packageNames = mContext.getPackageManager().getPackagesForUid(uid); in validatePackageName()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java156 public String[] getPackagesForUid(int uid) { in setUp()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerService.java1395 String[] packageNames = mContext.getPackageManager().getPackagesForUid(uid); in validatePackageName()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java345 final boolean packageExists = mPackageManager.getPackagesForUid(uid) != null; in purgeOldGrants()
3081 String[] packages = userPackageManager.getPackagesForUid(callingUid); in isPrivileged()
3334 String[] packages = mPackageManager.getPackagesForUid(callingUid); in filterSharedAccounts()

12