Home
last modified time | relevance | path

Searched refs:checkSignatures (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/opt/car/services/updatableServices/tests/src/com/android/server/wm/
DCarDisplayCompatScaleProviderUpdatableTest.java180 when(mPackageManager.checkSignatures(eq(PLATFORM_PACKAGE_NAME), eq("package1"))) in hasMedataData_notDisplayCompat_returnsTrue()
198 when(mPackageManager.checkSignatures(eq(PLATFORM_PACKAGE_NAME), eq("package1"))) in hasMedataDataDisplayCompat_requiredTrue_returnsTrue()
288 when(mPackageManager.checkSignatures(eq(PLATFORM_PACKAGE_NAME), eq("package1"))) in hasPlatformSignature_returnsFalse()
314 when(mPackageManager.checkSignatures(eq(PLATFORM_PACKAGE_NAME), eq("package1"))) in matchDisplay_scalesPackage()
342 when(mPackageManager.checkSignatures(eq(PLATFORM_PACKAGE_NAME), eq("package1"))) in matchDisplayPackage_scalesPackage()
370 when(mPackageManager.checkSignatures(eq(PLATFORM_PACKAGE_NAME), eq("package1"))) in matchDisplayUser_scalesPackage()
399 when(mPackageManager.checkSignatures(eq(PLATFORM_PACKAGE_NAME), eq("package1"))) in matchDisplayPackageUser_scalesPackage()
409 when(mPackageManager.checkSignatures(eq(PLATFORM_PACKAGE_NAME), eq("package2"))) in matchDisplayPackageUser_scalesPackage()
439 when(mPackageManager.checkSignatures(eq(PLATFORM_PACKAGE_NAME), eq("package1"))) in displayUserPackage_hasHigherPriority_thanDisplayUser()
469 when(mPackageManager.checkSignatures(eq(PLATFORM_PACKAGE_NAME), eq("package1"))) in displayUser_hasHigherPriority_thanDisplayPackage()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFilterGraph.java189 checkSignatures(); in build()
203 checkSignatures(); in buildSubGraph()
281 private void checkSignatures() { in checkSignatures() method in FilterGraph.Builder
506 public void checkSignatures() { in checkSignatures() method in FilterGraph
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobAccessMode.java113 if (checkSignatures(callingUid, committerUid)) { in isAccessAllowedForCaller()
138 private boolean checkSignatures(int uid1, int uid2) { in checkSignatures() method in BlobAccessMode
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageManagerTests.java2428 private void checkSignatures(int apk1, int apk2, int expMatchResult) throws Exception { in checkSignatures() method in PackageManagerTests
2436 checkSignatures(apk1, apk2, PackageManager.SIGNATURE_MATCH); in testCheckSignaturesAllMatch()
2443 checkSignatures(apk1, apk2, PackageManager.SIGNATURE_NO_MATCH); in testCheckSignaturesNoMatch()
2450 checkSignatures(apk1, apk2, PackageManager.SIGNATURE_NO_MATCH); in testCheckSignaturesSomeMatch1()
2457 checkSignatures(apk1, apk2, PackageManager.SIGNATURE_NO_MATCH); in testCheckSignaturesSomeMatch2()
2464 checkSignatures(apk1, apk2, PackageManager.SIGNATURE_NO_MATCH); in testCheckSignaturesMoreMatch()
2492 int match = mContext.getPackageManager().checkSignatures( in testCheckSignaturesUnknown()
2507 checkSignatures(apk1, apk2, PackageManager.SIGNATURE_MATCH); in testCheckSignaturesRotatedAgainstOriginal()
2517 checkSignatures(apk1, apk2, PackageManager.SIGNATURE_MATCH); in testCheckSignaturesRotatedAgainstRotated()
2575 int matchByName = pm.checkSignatures(pkg1.getPackageName(), pkg2.getPackageName()); in checkSharedSignatures()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java147 when(mMockPackageManager.checkSignatures(anyInt(), anyInt())) in setUp()
672 when(mMockPackageManager.checkSignatures( in testStartAddAccountSessionReturnWithInvalidIntent()
703 when(mMockPackageManager.checkSignatures( in testStartAddAccountSessionReturnWithValidIntent()
737 when(mMockPackageManager.checkSignatures( in testStartAddAccountSessionWhereAuthenticatorReturnsIntentWithProhibitedFlags()
891 when(mMockPackageManager.checkSignatures( in testStartUpdateCredentialsSessionReturnWithInvalidIntent()
922 when(mMockPackageManager.checkSignatures( in testStartUpdateCredentialsSessionReturnWithValidIntent()
1193 when(mMockPackageManager.checkSignatures( in testFinishSessionAsUserReturnWithInvalidIntent()
1222 when(mMockPackageManager.checkSignatures( in testFinishSessionAsUserReturnWithValidIntent()
1460 when(mMockPackageManager.checkSignatures(anyInt(), anyInt())) in testRemoveAccountAsUserAccountNotManagedByCaller()
1580 when(mMockPackageManager.checkSignatures( in testRemoveAccountAsUserReturnWithValidIntent()
[all …]
/frameworks/base/startop/apps/test/src/
DSystemServerBenchmarks.java130 pm.checkSignatures("com.android.settings", packageName); in initializeBenchmarks()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java267 public int checkSignatures(String pkg1, String pkg2) { in checkSignatures() method in PackageManagerStub
272 public int checkSignatures(int uid1, int uid2) { in checkSignatures() method in PackageManagerStub
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java319 public int checkSignatures(String pkg1, String pkg2) { in checkSignatures() method in BridgePackageManager
324 public int checkSignatures(int uid1, int uid2) { in checkSignatures() method in BridgePackageManager
/frameworks/base/test-mock/src/android/test/mock/
DMockPackageManager.java338 public int checkSignatures(String pkg1, String pkg2) { in checkSignatures() method in MockPackageManager
343 public int checkSignatures(int uid1, int uid2) { in checkSignatures() method in MockPackageManager
/frameworks/base/services/tests/servicestests/src/com/android/server/app/
DMockPackageManager.java297 public int checkSignatures(@NonNull String packageName1, @NonNull String packageName2) { in checkSignatures() method in MockPackageManager
302 public int checkSignatures(int uid1, int uid2) { in checkSignatures() method in MockPackageManager
/frameworks/base/core/java/com/android/internal/content/om/
DOverlayManagerImpl.java186 return packageManager.checkSignatures(packageName, targetPackage) in isSameWithTargetSignature()
/frameworks/base/packages/WAPPushManager/src/com/android/smspush/
DWapPushManager.java177 int match = pm.checkSignatures(mContext.getPackageName(), package_name); in signatureCheck()
/frameworks/base/services/core/java/com/android/server/pm/
DIPackageManagerBase.java231 public final int checkSignatures(@NonNull String pkg1, @NonNull String pkg2, int userId) { in checkSignatures() method in IPackageManagerBase
232 return snapshot().checkSignatures(pkg1, pkg2, userId); in checkSignatures()
DComputer.java445 int checkSignatures(@NonNull String pkg1, @NonNull String pkg2, int userId); in checkSignatures() method
DComputerEngine.java4194 public int checkSignatures(@NonNull String pkg1, @NonNull String pkg2, int userId) { in checkSignatures() method in ComputerEngine
/frameworks/opt/car/services/updatableServices/src/com/android/server/wm/
DCarDisplayCompatScaleProviderUpdatableImpl.java550 if (mPackageManager.checkSignatures(PLATFORM_PACKAGE_NAME, packageName) in requiresDisplayCompatNotCachedLocked()
/frameworks/base/test-mock/api/
Dcurrent.txt203 method @Deprecated public int checkSignatures(String, String);
204 method @Deprecated public int checkSignatures(int, int);
/frameworks/base/core/java/android/content/pm/
DIPackageManager.aidl108 int checkSignatures(String pkg1, String pkg2, int userId); in checkSignatures() method
DPackageManager.java7107 public abstract int checkSignatures(@NonNull String packageName1, in checkSignatures() method in PackageManager
7128 public abstract @SignatureResult int checkSignatures(int uid1, int uid2); in checkSignatures() method in PackageManager
/frameworks/base/core/tests/overlaytests/device_self_targeting/src/com/android/overlaytest/
DOverlayManagerImplTest.java149 when(mMockPackageManager.checkSignatures(anyString(), anyString())) in setUp()
/frameworks/base/telephony/common/com/android/internal/telephony/
DSmsApplication.java776 final int result = packageManager.checkSignatures(context.getPackageName(), in assignExclusiveSmsPermissionsToSystemApp()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java989 public int checkSignatures(String pkg1, String pkg2) { in checkSignatures() method in ApplicationPackageManager
991 return mPM.checkSignatures(pkg1, pkg2, getUserId()); in checkSignatures()
998 public int checkSignatures(int uid1, int uid2) { in checkSignatures() method in ApplicationPackageManager
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerService.java1313 return mPackageManager.checkSignatures( in signaturesMatching()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8692 method public abstract int checkSignatures(java.lang.String, java.lang.String);
8693 method public abstract int checkSignatures(int, int);
29334 method public int checkSignatures(java.lang.String, java.lang.String);
29335 method public int checkSignatures(int, int);
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...

12