Searched refs:checkCallingPermission (Results 1 – 8 of 8) sorted by relevance
330 .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()
102 public int checkCallingPermission(String permission) { in checkCallingPermission() method in MyMockContext
505 return checkCallingPermission(permission); in checkPermission()509 public int checkCallingPermission(String permission) { in checkCallingPermission() method in ContactsActor.RestrictionMockContext533 return checkCallingPermission(permission); in checkCallingOrSelfPermission()
621 .when(mContext).checkCallingPermission(CALL_PHONE); in testPlaceCallWithNonEmergencyPermission()635 .when(mContext).checkCallingPermission(CALL_PHONE); in testPlaceCallWithAppOpsOff()649 .when(mContext).checkCallingPermission(CALL_PHONE); in testPlaceCallWithNoCallingPermission()
81 if (!PermissionCache::checkCallingPermission(sDump)) { in dump()
559 return getContext().checkCallingPermission(permission) in passesSystemPermissionCheck()
1185 final boolean hasCallPermission = mContext.checkCallingPermission(CALL_PHONE) ==
481 public abstract int checkCallingPermission(java.lang.String);