Home
last modified time | relevance | path

Searched refs:getNameForUid (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/uidmigration/src/android/uidmigration/cts/
DSharedUserMigrationTest.kt108 val oldUidName = mPm.getNameForUid(uid) in testBestEffort()
117 val newUidName = mPm.getNameForUid(uid) in testBestEffort()
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DCrossUserPackageVisibilityTests.java316 assertThat(mPackageManager.getNameForUid(uidStub)).isNull(); in testGetNameForUid_cannotDetectStubPkgs()
317 assertThat(mPackageManager.getNameForUid(uidStubSharedUser)).isNull(); in testGetNameForUid_cannotDetectStubPkgs()
DAppEnumerationTests.java631 Assert.assertNull(getNameForUid(QUERIES_NOTHING, targetSharedUid)); in queriesNothing_getNameForUid_consistentVisibility()
632 Assert.assertNull(getNameForUid(QUERIES_NOTHING, targetUid)); in queriesNothing_getNameForUid_consistentVisibility()
640 Assert.assertNotNull(getNameForUid(QUERIES_NOTHING_PERM, targetSharedUid)); in queriesNothingHasPermission_getNameForUid_consistentVisibility()
641 Assert.assertNotNull(getNameForUid(QUERIES_NOTHING_PERM, targetUid)); in queriesNothingHasPermission_getNameForUid_consistentVisibility()
1504 private String getNameForUid(String sourcePackageName, int targetUid) throws Exception { in getNameForUid() method in AppEnumerationTests
/cts/tests/tests/os/src/android/os/cts/
DProcessTest.java339 final String name = pm.getNameForUid(Process.SDK_SANDBOX_VIRTUAL_UID); in testReservedVirtualUid()
/cts/tests/ondeviceintelligence/src/android/ondeviceintelligence/cts/
DCtsIsolatedInferenceService.java216 bundle.putString(TEST_KEY, mPm.getNameForUid(Process.myUid())); in processRequest()
/cts/tests/tests/appenumeration/lib/src/android/appenumeration/cts/
DTestActivity.java738 final String name = getPackageManager().getNameForUid(uid); in sendNameForUid()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java588 assertEquals(PACKAGE_NAME, mPackageManager.getNameForUid(appInfo.uid)); in testGetInfo()
2777 final String pkgName = pm.getNameForUid(Process.toSdkSandboxUid(11543)); in testGetNameForUid_sdkSandboxUid()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt12979 method @Nullable public abstract String getNameForUid(int);