Home
last modified time | relevance | path

Searched refs:packageName2 (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountsDbTest.java379 String packageName2 = "com.example.two"; in testVisibilityFindSetDelete() local
391 mAccountsDb.setAccountVisibility(accId, packageName2, 2); in testVisibilityFindSetDelete()
392 assertEquals(mAccountsDb.findAccountVisibility(accId, packageName2), Integer.valueOf(2)); in testVisibilityFindSetDelete()
394 mAccountsDb.setAccountVisibility(accId, packageName2, 3); in testVisibilityFindSetDelete()
395 assertEquals(mAccountsDb.findAccountVisibility(accId, packageName2), Integer.valueOf(3)); in testVisibilityFindSetDelete()
400 assertEquals(vis.get(packageName2), Integer.valueOf(3)); in testVisibilityFindSetDelete()
412 String packageName2 = "com.example.two"; in testFindAllVisibilityValues() local
423 mAccountsDb.setAccountVisibility(accId, packageName2, 2); in testFindAllVisibilityValues()
431 assertEquals(accnt1Visibility.get(packageName2), Integer.valueOf(2)); in testFindAllVisibilityValues()
436 mAccountsDb.setAccountVisibility(accId2, packageName2, 3); in testFindAllVisibilityValues()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserSystemPackageInstallerTest.java246 final String packageName2 = "pkg2"; // whitelisted and blacklisted in testShouldInstallPackage() local
253 pkgBitSetMap.put(packageName2, 0L); in testShouldInstallPackage()
262 final AndroidPackage pkg2 = ((ParsedPackage) PackageImpl.forTesting(packageName2) in testShouldInstallPackage()
306 final String packageName2 = "pkg2"; // blacklisted whenever whitelisted in testGetWhitelistedPackagesForUserType() local
312 pkgBitSetMap.put(packageName2, 0L); in testGetWhitelistedPackagesForUserType()
409 final String packageName2 = "nonWhitelistedPkg"; in testInstallOverlayPackagesExplicitMode() local
411 final String overlayName2 = String.format("%s.auto_generated_rro_product__", packageName2); in testInstallOverlayPackagesExplicitMode()
421 .setOverlayTarget(packageName2) in testInstallOverlayPackagesExplicitMode()
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayManagerServiceImplTestsBase.java332 @NonNull String packageName2, int userId) { in signaturesMatching() argument
334 final DummyDeviceState.Package pkg2 = mState.select(packageName2, userId); in signaturesMatching()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerService.java1109 @NonNull final String packageName2, final int userId) { in signaturesMatching() argument
1114 packageName1, packageName2) == SIGNATURE_MATCH; in signaturesMatching()
/frameworks/base/core/java/android/content/pm/
DPackageManager.java4781 @NonNull String packageName2); in checkSignatures() argument