/cts/tests/tests/uidmigration/src/android/uidmigration/cts/ |
D | SharedUserMigrationTest.kt | 58 val pkgs = mPm.getPackagesForUid(uid).assertNotNull() in reset() 73 var pkgs = mPm.getPackagesForUid(uid).assertNotNull() in testNewInstallOnly() 85 pkgs = mPm.getPackagesForUid(uid).assertNotNull() in testNewInstallOnly() 102 var pkgs = mPm.getPackagesForUid(uid).assertNotNull() in testBestEffort() 113 pkgs = mPm.getPackagesForUid(uid).assertNotNull() in testBestEffort() 124 pkgs = mPm.getPackagesForUid(uid).assertNotNull() in testBestEffort() 135 val pkgs = mPm.getPackagesForUid(uid).assertNotNull() in <lambda>()
|
D | AppIdMigrationTest.kt | 72 var pkgs = mPm.getPackagesForUid(uid).assertNotNull() in <lambda>() 80 pkgs = mPm.getPackagesForUid(uid).assertNotNull() in <lambda>()
|
/cts/hostsidetests/appsecurity/test-apps/SharedUidInstall/src/com/android/cts/shareduidinstall/ |
D | SharedUidPackageTest.java | 29 final String[] packagesForUid = pm.getPackagesForUid(uidForSharedUser); in testSelfIsOnlyMemberOfSharedUserIdPackages()
|
/cts/hostsidetests/appsecurity/test-apps/ApplicationVisibilityCrossUserApp/src/com/android/cts/applicationvisibility/ |
D | ApplicationVisibilityCrossUserTest.java | 167 found = isAppInPackageNamesArray(TINY_PKG, pm.getPackagesForUid(appUid)); in testGetPackagesForUidVisibility_currentUser() 181 found = isAppInPackageNamesArray(TINY_PKG, pm.getPackagesForUid(appUid)); in testGetPackagesForUidVisibility_anotherUserCrossUserGrant() 196 isAppInPackageNamesArray(TINY_PKG, pm.getPackagesForUid(appUid)); in testGetPackagesForUidVisibility_anotherUserCrossUserNoGrant()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/bluetooth/ |
D | Bluetooth.java | 153 var allPackages = packageManager.getPackagesForUid(BLUETOOTH_UID); in findPackageName()
|
/cts/tests/security/src/android/keystore/cts/ |
D | AttestationApplicationId.java | 43 String[] packageNames = pm.getPackagesForUid(uid); in AttestationApplicationId()
|
/cts/tests/tests/telephony/current/EmbmsMiddlewareTestApp/src/android/telephony/cts/embmstestapp/ |
D | CtsGroupCallService.java | 73 String[] packageNames = getPackageManager().getPackagesForUid(packageUid); in initialize()
|
D | CtsStreamingService.java | 108 String[] packageNames = getPackageManager().getPackagesForUid(packageUid);
|
D | CtsDownloadService.java | 154 String[] packageNames = getPackageManager().getPackagesForUid(packageUid);
|
/cts/hostsidetests/appcompat/compatchanges/app/src/com/android/cts/appcompat/compatchanges/ |
D | CompatChangesTest.java | 260 String[] packages = context.getPackageManager().getPackagesForUid(SYSTEM_UID); in testAllPackagesSharingSystemUidTargetLatestSdk()
|
/cts/hostsidetests/appsecurity/test-apps/ListeningPortsApp/src/android/appsecurity/cts/listeningports/ |
D | ListeningPortsTest.java | 188 packages = pm.getPackagesForUid(uid); in uidToPackage()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | ProcessTest.java | 345 final String[] packages = pm.getPackagesForUid(Process.SDK_SANDBOX_VIRTUAL_UID); in testReservedVirtualUid()
|
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/ |
D | AppEnumerationTests.java | 613 Assert.assertNull(getPackagesForUid(QUERIES_NOTHING, targetSharedUid)); in queriesNothing_getPackagesForUid_consistentVisibility() 614 Assert.assertNull(getPackagesForUid(QUERIES_NOTHING, targetUid)); in queriesNothing_getPackagesForUid_consistentVisibility() 622 Assert.assertNotNull(getPackagesForUid(QUERIES_NOTHING_PERM, targetSharedUid)); in queriesNothingHasPermission_getPackagesForUid_consistentVisibility() 623 Assert.assertNotNull(getPackagesForUid(QUERIES_NOTHING_PERM, targetUid)); in queriesNothingHasPermission_getPackagesForUid_consistentVisibility() 1497 private String[] getPackagesForUid(String sourcePackageName, int targetUid) in getPackagesForUid() method in AppEnumerationTests
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | PackageDeviceInfo.java | 256 final String[] sharesUidWith = pm.getPackagesForUid(uid); in sharesUidWithInstallerPackage()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarAppFocusManagerTest.java | 133 String[] myPackages = mContext.getPackageManager().getPackagesForUid(Process.myUid()); in testGetAppTypeOwner()
|
/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/ |
D | MockSatelliteServiceManager.java | 297 final String[] callerPackages = pm.getPackagesForUid(uid); in onUidImportance()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerShellCommandIncrementalTest.java | 911 String[] packages = pm.getPackagesForUid(uid); in testInstallWithIdSigNoDigesting()
|
D | PackageManagerTest.java | 587 checkPackagesNameForUid(PACKAGE_NAME, mPackageManager.getPackagesForUid(appInfo.uid)); in testGetInfo() 2769 final String[] pkgs = pm.getPackagesForUid(Process.toSdkSandboxUid(10239)); in testGetPackagesForUid_sdkSandboxUid()
|
/cts/tests/tests/appenumeration/lib/src/android/appenumeration/cts/ |
D | TestActivity.java | 730 final String[] packages = getPackageManager().getPackagesForUid(uid); in sendPackagesForUid()
|
/cts/tools/release-parser/tests/resources/ |
D | Shell.apk.pb.txt | 4936 name: "getPackagesForUid"
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 12992 method @Nullable public abstract String[] getPackagesForUid(int);
|