Searched refs:getPackagesForUid (Results 1 – 13 of 13) sorted by relevance
29 final String[] packagesForUid = pm.getPackagesForUid(uidForSharedUser); in testSelfIsOnlyMemberOfSharedUserIdPackages()
164 found = isAppInPackageNamesArray(TINY_PKG, pm.getPackagesForUid(appUid)); in testGetPackagesForUidVisibility_currentUser()177 found = isAppInPackageNamesArray(TINY_PKG, pm.getPackagesForUid(appUid)); in testGetPackagesForUidVisibility_anotherUserCrossUserGrant()191 isAppInPackageNamesArray(TINY_PKG, pm.getPackagesForUid(appUid)); in testGetPackagesForUidVisibility_anotherUserCrossUserNoGrant()
70 final String[] pkgs = pm.getPackagesForUid(uid); in testBlacklistedPermissions()
43 String[] packageNames = pm.getPackagesForUid(uid); in AttestationApplicationId()
76 String[] packageNames = getPackageManager().getPackagesForUid(packageUid); in initialize()
116 String[] packageNames = getPackageManager().getPackagesForUid(packageUid);
164 String[] packageNames = getPackageManager().getPackagesForUid(packageUid);
141 String[] packages = pm.getPackagesForUid(uid); in uidToPackage()
198 final String[] sharesUidWith = pm.getPackagesForUid(uid); in sharesUidWithInstallerPackage()
499 Assert.assertNull(getPackagesForUid(QUERIES_NOTHING, targetSharedUid)); in queriesNothing_getPackagesForUid_consistentVisibility()500 Assert.assertNull(getPackagesForUid(QUERIES_NOTHING, targetUid)); in queriesNothing_getPackagesForUid_consistentVisibility()508 Assert.assertNotNull(getPackagesForUid(QUERIES_NOTHING_PERM, targetSharedUid)); in queriesNothingHasPermission_getPackagesForUid_consistentVisibility()509 Assert.assertNotNull(getPackagesForUid(QUERIES_NOTHING_PERM, targetUid)); in queriesNothingHasPermission_getPackagesForUid_consistentVisibility()1227 private String[] getPackagesForUid(String sourcePackageName, int targetUid) in getPackagesForUid() method in AppEnumerationTests
496 final String[] packages = getPackageManager().getPackagesForUid(uid); in sendPackagesForUid()
341 checkPackagesNameForUid(PACKAGE_NAME, mPackageManager.getPackagesForUid(appInfo.uid)); in testGetInfo()
4936 name: "getPackagesForUid"