Searched refs:getNameForUid (Results 1 – 8 of 8) sorted by relevance
108 val oldUidName = mPm.getNameForUid(uid) in testBestEffort()117 val newUidName = mPm.getNameForUid(uid) in testBestEffort()
316 assertThat(mPackageManager.getNameForUid(uidStub)).isNull(); in testGetNameForUid_cannotDetectStubPkgs()317 assertThat(mPackageManager.getNameForUid(uidStubSharedUser)).isNull(); in testGetNameForUid_cannotDetectStubPkgs()
631 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
339 final String name = pm.getNameForUid(Process.SDK_SANDBOX_VIRTUAL_UID); in testReservedVirtualUid()
216 bundle.putString(TEST_KEY, mPm.getNameForUid(Process.myUid())); in processRequest()
738 final String name = getPackageManager().getNameForUid(uid); in sendNameForUid()
588 assertEquals(PACKAGE_NAME, mPackageManager.getNameForUid(appInfo.uid)); in testGetInfo()2777 final String pkgName = pm.getNameForUid(Process.toSdkSandboxUid(11543)); in testGetNameForUid_sdkSandboxUid()
12979 method @Nullable public abstract String getNameForUid(int);