Home
last modified time | relevance | path

Searched refs:checkCallingPermission (Results 1 – 8 of 8) sorted by relevance

/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/
DBlockedNumberProviderTest.java330 .when(mMockContext).checkCallingPermission(anyString()); in testRegularAppCannotAccessApis()
389 .when(mMockContext).checkCallingPermission(anyString()); in testCarrierAppCanAccessApis()
406 .when(mMockContext).checkCallingPermission(anyString()); in testSelfCanAccessApis()
415 .when(mMockContext).checkCallingPermission(anyString()); in testDefaultDialerCanAccessApis()
430 .when(mMockContext).checkCallingPermission(anyString()); in testPrivilegedAppCannotUseSystemApis()
565 .when(mMockContext).checkCallingPermission(anyString()); in testRegularAppAccessingApisAsSecondaryUser()
DMyMockContext.java102 public int checkCallingPermission(String permission) { in checkCallingPermission() method in MyMockContext
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java505 return checkCallingPermission(permission); in checkPermission()
509 public int checkCallingPermission(String permission) { in checkCallingPermission() method in ContactsActor.RestrictionMockContext
533 return checkCallingPermission(permission); in checkCallingOrSelfPermission()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DTelecomServiceImplTest.java621 .when(mContext).checkCallingPermission(CALL_PHONE); in testPlaceCallWithNonEmergencyPermission()
635 .when(mContext).checkCallingPermission(CALL_PHONE); in testPlaceCallWithAppOpsOff()
649 .when(mContext).checkCallingPermission(CALL_PHONE); in testPlaceCallWithNoCallingPermission()
/packages/services/Car/vehicle_monitor_service/
DVehicleMonitorService.cpp81 if (!PermissionCache::checkCallingPermission(sDump)) { in dump()
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DBlockedNumberProvider.java559 return getContext().checkCallingPermission(permission) in passesSystemPermissionCheck()
/packages/services/Telecomm/src/com/android/server/telecom/
DTelecomServiceImpl.java1185 final boolean hasCallPermission = mContext.checkCallingPermission(CALL_PHONE) ==
/packages/services/Car/car-support-lib/
Dproguard-release.flags481 public abstract int checkCallingPermission(java.lang.String);