Home
last modified time | relevance | path

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

123

/frameworks/native/libs/binder/
DIPermissionController.cpp52 virtual void getPackagesForUid(const uid_t uid, Vector<String16>& packages) in getPackagesForUid() function in android::BpPermissionController
106 getPackagesForUid(uid, packages); in onTransact()
/frameworks/base/core/java/android/os/
DIPermissionController.aidl23 String[] getPackagesForUid(int uid); in getPackagesForUid() method
/frameworks/native/include/binder/
DIPermissionController.h35 virtual void getPackagesForUid(const uid_t uid, Vector<String16> &packages) = 0;
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/
DServiceManagerPermissionTests.java57 public String[] getPackagesForUid(int uid) { in testSetPermissionController()
/frameworks/support/v4/java/android/support/v4/app/
DNotificationCompatSideChannelService.java110 for (String validPackage : getPackageManager().getPackagesForUid(callingUid)) { in checkPermission()
/frameworks/av/services/audioflinger/
DServiceUtilities.cpp89 permCtrl->getPackagesForUid(uid, packages); in recordingAllowed()
/frameworks/support/v4/java/android/support/v4/content/
DPermissionChecker.java99 String[] packageNames = context.getPackageManager().getPackagesForUid(uid); in checkPermission()
/frameworks/native/libs/gui/
DSensorManager.cpp64 interface_cast<IPermissionController>(binder)->getPackagesForUid(uid, packages); in getInstanceForPackage()
/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.java190 String[] pkgs = AppGlobals.getPackageManager().getPackagesForUid(callingUid); in enforceCallerMatchesPackage()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DUidDetailProvider.java146 final String[] packageNames = pm.getPackagesForUid(uid); in buildUidDetail()
/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java351 for (String packageName : pm.getPackagesForUid(uid)) { in isUidValidForPolicy()
/frameworks/base/services/core/java/com/android/server/
DAppOpsService.java256 String[] packageNames = getPackagesForUid(uidState.uid); in systemReady()
341 && getPackagesForUid(uid).length <= 0) { in packageRemoved()
523 String[] uidPackageNames = getPackagesForUid(uid); in setUidMode()
726 for (String packageName : getPackagesForUid(uidState.uid)) { in resetAllModes()
2291 private static String[] getPackagesForUid(int uid) { in getPackagesForUid() method in AppOpsService
2294 packageNames = AppGlobals.getPackageManager().getPackagesForUid(uid); in getPackagesForUid()
DMmsServiceBroker.java319 final String[] packages = getPackageManager().getPackagesForUid(Binder.getCallingUid()); in getCallingPackageName()
/frameworks/base/services/core/java/com/android/server/content/
DSyncOperation.java391 final String[] packages = pm.getPackagesForUid(reason); in reasonToString()
/frameworks/base/core/java/android/content/pm/
DIPackageManager.aidl125 String[] getPackagesForUid(int uid); in getPackagesForUid() method
DRegisteredServicesCache.java349 String[] packages = mContext.getPackageManager().getPackagesForUid(callerUid); in inSystemImage()
/frameworks/base/media/java/android/service/media/
DMediaBrowserService.java571 final String[] packages = pm.getPackagesForUid(uid); in isValidPackage()
/frameworks/base/services/core/java/com/android/server/firewall/
DIntentFirewall.java198 String[] callerPackagesArray = pm.getPackagesForUid(callerUid); in logIntent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccCarrierPrivilegeRules.java359 String[] packages = packageManager.getPackagesForUid(Binder.getCallingUid()); in getCarrierPrivilegeStatusForCurrentTransaction()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTest.java447 doReturn(new String[]{TAG}).when(mockPackageManager).getPackagesForUid(anyInt()); in setupMockPackagePermissionChecks()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java255 public String[] getPackagesForUid(int uid) { in getPackagesForUid() method in BridgePackageManager
/frameworks/base/test-runner/src/android/test/mock/
DMockPackageManager.java295 public String[] getPackagesForUid(int uid) { in getPackagesForUid() method in MockPackageManager
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSMSDispatcher.java969 String[] packageNames = pm.getPackagesForUid(Binder.getCallingUid()); in sendRawPdu()
1559 String[] packageNames = pm.getPackagesForUid(Binder.getCallingUid()); in getSmsTracker()
/frameworks/base/core/java/android/widget/
DAppSecurityPermissions.java329 String sharedPkgList[] = mPm.getPackagesForUid(sharedUid); in getAllUsedPermissions()

123