Home
last modified time | relevance | path

Searched refs:packageName2 (Results 1 – 6 of 6) 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.java245 final String packageName2 = "pkg2"; // allowlisted and denylisted in testShouldInstallPackage() local
252 pkgBitSetMap.put(packageName2, 0L); in testShouldInstallPackage()
261 final AndroidPackage pkg2 = ((ParsedPackage) PackageImpl.forTesting(packageName2) in testShouldInstallPackage()
305 final String packageName2 = "pkg2"; // denylisted whenever allowlisted in testGetWhitelistedPackagesForUserType() local
311 pkgBitSetMap.put(packageName2, 0L); in testGetWhitelistedPackagesForUserType()
391 final String packageName2 = "nonWhitelistedPkg"; in testInstallOverlayPackagesExplicitMode() local
393 final String overlayName2 = String.format("%s.auto_generated_rro_product__", packageName2); in testInstallOverlayPackagesExplicitMode()
408 .setOverlayTarget(packageName2) in testInstallOverlayPackagesExplicitMode()
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayManagerServiceImplTestsBase.java382 @NonNull String packageName2, int userId) { in signaturesMatching() argument
384 final FakeDeviceState.Package pkg2 = mState.select(packageName2, userId); in signaturesMatching()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerService.java1236 @NonNull final String packageName2, final int userId) { in signaturesMatching() argument
1241 packageName1, packageName2) == SIGNATURE_MATCH; in signaturesMatching()
/frameworks/base/services/tests/servicestests/src/com/android/server/app/
DMockPackageManager.java297 public int checkSignatures(@NonNull String packageName1, @NonNull String packageName2) { in checkSignatures() argument
/frameworks/base/core/java/android/content/pm/
DPackageManager.java5519 @NonNull String packageName2); in checkSignatures() argument