Home
last modified time | relevance | path

Searched refs:getNamesForUids (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DAppEnumerationTests.java653 Assert.assertNull(getNamesForUids(QUERIES_NOTHING, targetSharedUid)[0]); in queriesNothing_getNamesForUids_consistentVisibility()
654 Assert.assertNull(getNamesForUids(QUERIES_NOTHING, targetUid)[0]); in queriesNothing_getNamesForUids_consistentVisibility()
669 Assert.assertNotNull(getNamesForUids(QUERIES_NOTHING_PERM, targetSharedUid)[0]); in queriesNothingHasPermission_getNamesForUids_consistentVisibility()
670 Assert.assertNotNull(getNamesForUids(QUERIES_NOTHING_PERM, targetUid)[0]); in queriesNothingHasPermission_getNamesForUids_consistentVisibility()
1510 private String[] getNamesForUids(String sourcePackageName, int targetUid) throws Exception { in getNamesForUids() method in AppEnumerationTests
DCrossUserPackageVisibilityTests.java333 mPackageManager.getNamesForUids(new int[] {uidStub, uidStubSharedUser})); in testGetNamesForUids_cannotDetectStubPkgs()
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/content/pm/
DPackageManagerHelperTest.java157 .getNamesForUids(mPackageManager, packageUidsList[index]); in testGetNamesForUids()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java1024 assertNull(mPackageManager.getNamesForUids(null)); in testGetNamesForUids_null()
1029 assertNull(mPackageManager.getNamesForUids(new int[0])); in testGetNamesForUids_empty()
1043 result = mPackageManager.getNamesForUids(uids); in testGetNamesForUids_valid()
2785 final String[] names = pm.getNamesForUids(uids); in testGetNamesForUids_sdkSandboxUids()
/cts/tests/tests/appenumeration/lib/src/android/appenumeration/cts/
DTestActivity.java746 final String[] names = getPackageManager().getNamesForUids(new int[]{uid}); in sendNamesForUids()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dtest-current.txt1117 method @Nullable public abstract String[] getNamesForUids(int[]);