Searched refs:getNamesForUids (Results 1 – 6 of 6) sorted by relevance
653 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
333 mPackageManager.getNamesForUids(new int[] {uidStub, uidStubSharedUser})); in testGetNamesForUids_cannotDetectStubPkgs()
157 .getNamesForUids(mPackageManager, packageUidsList[index]); in testGetNamesForUids()
1024 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()
746 final String[] names = getPackageManager().getNamesForUids(new int[]{uid}); in sendNamesForUids()
1117 method @Nullable public abstract String[] getNamesForUids(int[]);