/frameworks/native/libs/binder/ |
D | PermissionController.cpp | 68 void PermissionController::getPackagesForUid(const uid_t uid, Vector<String16> &packages) in getPackagesForUid() function in android::PermissionController 72 service->getPackagesForUid(uid, packages); in getPackagesForUid()
|
D | IPermissionController.cpp | 65 virtual void getPackagesForUid(const uid_t uid, Vector<String16>& packages) in getPackagesForUid() function in android::BpPermissionController 143 getPackagesForUid(uid, packages); in onTransact()
|
/frameworks/native/services/nativeperms/android/os/ |
D | IPermissionController.aidl | 23 String[] getPackagesForUid(int uid); in getPackagesForUid() method
|
/frameworks/base/core/java/android/os/ |
D | IPermissionController.aidl | 24 String[] getPackagesForUid(int uid); in getPackagesForUid() method
|
/frameworks/native/libs/binder/include/binder/ |
D | PermissionController.h | 51 void getPackagesForUid(const uid_t uid, Vector<String16>& packages);
|
D | IPermissionController.h | 39 virtual void getPackagesForUid(const uid_t uid, Vector<String16> &packages) = 0;
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | PermissionMonitorTest.java | 155 when(mPackageManager.getPackagesForUid(anyInt())).thenReturn(new String[] {MOCK_PACKAGE1}); in hasBgPermission() 384 when(mPackageManager.getPackagesForUid(anyInt())).thenReturn(new String[]{SYSTEM_PACKAGE2}); in testUserAndPackageAddRemove() 393 when(mPackageManager.getPackagesForUid(anyInt())).thenReturn(new String[]{}); in testUserAndPackageAddRemove() 568 when(mPackageManager.getPackagesForUid(eq(uid))).thenReturn(new String[]{packageName}); in addPackage() 598 when(mPackageManager.getPackagesForUid(MOCK_UID1)) in testPackageInstallSharedUid() 613 when(mPackageManager.getPackagesForUid(MOCK_UID1)).thenReturn(new String[]{}); in testPackageUninstallBasic() 627 when(mPackageManager.getPackagesForUid(MOCK_UID1)).thenReturn(new String[]{}); in testPackageUpdate() 647 when(mPackageManager.getPackagesForUid(MOCK_UID1)).thenReturn(new String[]{ in testPackageUninstallWithMultiplePackages()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | SoftRestrictedPermissionPolicy.java | 94 String[] uidPkgs = pm.getPackagesForUid(appInfo.uid); in getMinimumTargetSDK() 152 String[] uidPkgs = pm.getPackagesForUid(appInfo.uid); in forPermission()
|
/frameworks/native/services/nativeperms/ |
D | nativeperms.cpp | 47 ::android::binder::Status getPackagesForUid( in getPackagesForUid() function in android::PermissionService
|
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/ |
D | ServiceManagerPermissionTests.java | 64 public String[] getPackagesForUid(int uid) { in testSetPermissionController()
|
/frameworks/base/services/core/java/com/android/server/security/ |
D | KeyAttestationApplicationIdProviderService.java | 55 String[] packageNames = mPackageManager.getPackagesForUid(uid); in getKeyAttestationApplicationId()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbSerialReader.java | 111 String[] packages = mContext.getPackageManager().getPackagesForUid(uid); in enforcePackageBelongsToUid()
|
/frameworks/base/core/java/android/content/ |
D | PermissionChecker.java | 104 String[] packageNames = context.getPackageManager().getPackagesForUid(uid); in checkPermission()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsHelperTest.java | 234 doReturn(systemPackages).when(mPackageManager).getPackagesForUid(UID); in testIsTypeSystem_systemPackage_returnTrue() 244 doReturn(servicePackages).when(mPackageManager).getPackagesForUid(UID); in testIsTypeService_servicePackage_returnTrue()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | PackageUtil.java | 176 final String[] packages = pm.getPackagesForUid(uid); in getMaxTargetSdkVersionForUid()
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
D | WatchlistLoggingHandler.java | 154 final String[] packageNames = mPm.getPackagesForUid(uid); in isPackageTestOnly() 331 final String[] packageNames = mPm.getPackagesForUid(key); in getDigestFromUid()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PermissionMonitor.java | 111 String[] packages = mPackageManager.getPackagesForUid(uid); in getPermissionForUid() 270 final String[] names = mPackageManager.getPackagesForUid(uid); in hasUseBackgroundNetworksPermission() 435 String[] packages = mPackageManager.getPackagesForUid(uid); in onPackageRemoved()
|
/frameworks/base/services/core/java/com/android/server/ |
D | HardwarePropertiesManagerService.java | 101 final String[] packages = mContext.getPackageManager().getPackagesForUid( in getCallingPackageName()
|
/frameworks/base/services/restrictions/java/com/android/server/restrictions/ |
D | RestrictionsManagerService.java | 190 String[] pkgs = AppGlobals.getPackageManager().getPackagesForUid(callingUid); in enforceCallerMatchesPackage()
|
/frameworks/base/core/java/android/accounts/ |
D | GrantCredentialsPermissionActivity.java | 68 final String[] packages = pm.getPackagesForUid(mUid); in onCreate()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/ |
D | WatchlistLoggingHandlerTests.java | 142 }).when(mockPackageManager).getPackagesForUid(anyInt()); in setUp()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | DumpUtils.java | 138 final String[] pkgs = context.getPackageManager().getPackagesForUid(uid); in checkUsageStatsPermission()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | InstallerTest.java | 108 final String[] packageNames = pm.getPackagesForUid(app.uid); in testGetAppSize()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | AudioPlayerStateMonitor.java | 202 String[] packages = context.getPackageManager().getPackagesForUid(uid); in dump()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | UidDetailProvider.java | 151 final String[] packageNames = pm.getPackagesForUid(uid); in buildUidDetail()
|