/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 | 63 virtual void getPackagesForUid(const uid_t uid, Vector<String16>& packages) in getPackagesForUid() function in android::BpPermissionController 141 getPackagesForUid(uid, packages); in onTransact()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | SoftRestrictedPermissionPolicy.java | 90 String[] uidPkgs = pm.getPackagesForUid(appInfo.uid); in getMinimumTargetSDK() 260 String[] packageNames = packageManager.getPackagesForUid(uid); 281 String[] packageNames = packageManager.getPackagesForUid(uid);
|
/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 | 49 void getPackagesForUid(const uid_t uid, Vector<String16>& packages);
|
D | IPermissionController.h | 37 virtual void getPackagesForUid(const uid_t uid, Vector<String16> &packages) = 0;
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | AppsFilterSnapshot.java | 88 QuadFunction<Integer, Integer, Integer, Boolean, String[]> getPackagesForUid); in dumpQueries() argument
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | PackageManagerHelper.java | 69 String[] getPackagesForUid(int uid); in getPackagesForUid() method
|
D | OverlayActorEnforcer.java | 125 String[] callingPackageNames = mPackageManager.getPackagesForUid(callingUid); in isAllowedActor()
|
/frameworks/base/services/core/java/com/android/server/security/ |
D | KeyAttestationApplicationIdProviderService.java | 57 String[] packageNames = mPackageManager.getPackagesForUid(uid); in getKeyAttestationApplicationId()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestBase.java | 254 .getPackagesForUid(eq(packageUid)); in setUpPackageManagerForFakeAdmin() 256 .getPackagesForUid(eq(packageUid)); in setUpPackageManagerForFakeAdmin()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbSerialReader.java | 114 String[] packages = mContext.getPackageManager().getPackagesForUid(uid); in enforcePackageBelongsToUid()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/ |
D | GameManagerServiceTests.java | 1632 when(mMockPackageManager.getPackagesForUid(DEFAULT_PACKAGE_UID)).thenReturn(packages); in testGamePowerMode_gamePackage() 1642 when(mMockPackageManager.getPackagesForUid(DEFAULT_PACKAGE_UID)).thenReturn(packages1); in testGamePowerMode_twoGames() 1646 when(mMockPackageManager.getPackagesForUid(somePackageId)).thenReturn(packages2); in testGamePowerMode_twoGames() 1667 when(mMockPackageManager.getPackagesForUid(DEFAULT_PACKAGE_UID)).thenReturn(packages1); in testGamePowerMode_twoGamesOverlap() 1671 when(mMockPackageManager.getPackagesForUid(somePackageId)).thenReturn(packages2); in testGamePowerMode_twoGamesOverlap() 1688 when(mMockPackageManager.getPackagesForUid(DEFAULT_PACKAGE_UID)).thenReturn(packages); in testGamePowerMode_released() 1700 when(mMockPackageManager.getPackagesForUid(DEFAULT_PACKAGE_UID)).thenReturn(packages); in testGamePowerMode_noPackage() 1711 when(mMockPackageManager.getPackagesForUid(DEFAULT_PACKAGE_UID)).thenReturn(packages); in testGamePowerMode_notAGamePackage() 1722 when(mMockPackageManager.getPackagesForUid(DEFAULT_PACKAGE_UID)).thenReturn(packages); in testGamePowerMode_notAGamePackageNotReleased()
|
/frameworks/base/core/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/ |
D | BatteryConsumerInfoHelper.java | 80 String[] packages = packageManager.getPackagesForUid(uid); in makeBatteryConsumerInfo()
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
D | WatchlistLoggingHandler.java | 156 final String[] packageNames = mPm.getPackagesForUid(uid); in isPackageTestOnly() 330 final String[] packageNames = mPm.getPackagesForUid(key); in getDigestFromUid()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | PackageUtil.java | 180 final String[] packages = pm.getPackagesForUid(uid); in getMaxTargetSdkVersionForUid()
|
/frameworks/base/services/core/java/com/android/server/ |
D | HardwarePropertiesManagerService.java | 101 final String[] packages = mContext.getPackageManager().getPackagesForUid( in getCallingPackageName()
|
/frameworks/base/location/java/android/location/util/identity/ |
D | CallerIdentity.java | 97 if (!ArrayUtils.contains(context.getPackageManager().getPackagesForUid(uid), packageName)) { in fromBinder()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AccessibilitySecurityPolicyTest.java | 272 when(mMockPackageManager.getPackagesForUid(APP_UID)) in resolveValidReportedPackage_pkgNameIsInvalid_returnFirstCorrectPkgName() 292 when(mMockPackageManager.getPackagesForUid(APP_UID)) in resolveValidReportedPackage_anotherPkgNameWithActAsPkgPermission_returnPkg() 312 when(mMockPackageManager.getPackagesForUid(APP_UID)) in resolveValidReportedPackage_anotherPkgNameWithoutActAsPkgPermission_returnUidPkg()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/ |
D | WatchlistLoggingHandlerTests.java | 142 }).when(mockPackageManager).getPackagesForUid(anyInt()); in setUp()
|
/frameworks/base/startop/apps/test/src/ |
D | SystemServerBenchmarks.java | 96 pm.getPackagesForUid(app.uid); in initializeBenchmarks()
|
/frameworks/base/services/restrictions/java/com/android/server/restrictions/ |
D | RestrictionsManagerService.java | 190 String[] pkgs = AppGlobals.getPackageManager().getPackagesForUid(callingUid); in enforceCallerMatchesPackage()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
D | AccountManagerServiceTest.java | 227 when(mMockPackageManager.getPackagesForUid(anyInt())).thenReturn(list); in testCheckAddAccount() 270 when(mMockPackageManager.getPackagesForUid(anyInt())).thenReturn(list); in testCheckAddAccountLongName() 370 when(mMockPackageManager.getPackagesForUid(anyInt())).thenReturn(list); in testRemovedAccountSync() 415 when(mMockPackageManager.getPackagesForUid(anyInt())).thenReturn(list); in testPreNDatabaseMigration() 1500 when(mMockPackageManager.getPackagesForUid(anyInt())).thenReturn(list); in testRemoveAccountAsUserRemovalAllowed() 1697 when(mMockPackageManager.getPackagesForUid(anyInt())).thenReturn(list); in testGetAuthTokenWithInvalidPackage() 1719 when(mMockPackageManager.getPackagesForUid(anyInt())).thenReturn(list); in testGetAuthTokenFromInternal() 1756 when(mMockPackageManager.getPackagesForUid(anyInt())).thenReturn(list); in testGetAuthTokenSuccess() 1789 when(mMockPackageManager.getPackagesForUid(anyInt())).thenReturn(list); in testGetAuthTokenCachedSuccess() 1839 when(mMockPackageManager.getPackagesForUid(anyInt())).thenReturn(list); in testGetAuthTokenReturnWithInvalidIntent() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/logcat/ |
D | LogcatManagerServiceTest.java | 96 when(mPackageManagerMock.getPackagesForUid(APP1_UID)).thenReturn( in setUp() 98 when(mPackageManagerMock.getPackagesForUid(APP2_UID)).thenReturn( in setUp()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | DumpUtils.java | 138 final String[] pkgs = context.getPackageManager().getPackagesForUid(uid); in checkUsageStatsPermission()
|