Home
last modified time | relevance | path

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

/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationProxyTest.kt146 verify(connection).isCallerPackage(TEST_CALLING_UID_ACCEPT, TEST_PKG_NAME_ONE) in <lambda>()
151 verify(connection).isCallerPackage(TEST_CALLING_UID_REJECT, TEST_PKG_NAME_ONE) in <lambda>()
164 verify(connection).isCallerPackage(TEST_CALLING_UID_ACCEPT, TEST_PKG_NAME_TWO) in <lambda>()
169 verify(connection).isCallerPackage(TEST_CALLING_UID_REJECT, TEST_PKG_NAME_TWO) in <lambda>()
183 verify(connection).isCallerPackage(TEST_CALLING_UID_ACCEPT, TEST_PKG_NAME_TWO) in <lambda>()
192 .isCallerPackage(callingUidCaptor.capture(), eq(TEST_PKG_NAME_TWO)) in <lambda>()
509 whenever(isCallerPackage(TEST_CALLING_UID_ACCEPT, TEST_PKG_NAME_ONE)) { true } in <lambda>()
510 whenever(isCallerPackage(TEST_CALLING_UID_ACCEPT, TEST_PKG_NAME_TWO)) { true } in <lambda>()
511 whenever(isCallerPackage(TEST_CALLING_UID_REJECT, TEST_PKG_NAME_ONE)) { false } in <lambda>()
512 whenever(isCallerPackage(TEST_CALLING_UID_REJECT, TEST_PKG_NAME_TWO)) { false } in <lambda>()
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/proxy/
DDomainVerificationProxy.java116 boolean isCallerPackage(int callingUid, @NonNull String packageName); in isCallerPackage() method
DDomainVerificationProxyV2.java102 return mConnection.isCallerPackage(callingUid, mVerifierComponent.getPackageName()); in isCallerVerifier()
DDomainVerificationProxyV1.java240 return mConnection.isCallerPackage(callingUid, mVerifierComponent.getPackageName()); in isCallerVerifier()
/frameworks/base/services/core/java/com/android/server/pm/
DDomainVerificationConnection.java79 public boolean isCallerPackage(int callingUid, @NonNull String packageName) { in isCallerPackage() method in DomainVerificationConnection