Home
last modified time | relevance | path

Searched refs:checkReadPhoneState (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/telephony/java/com/android/internal/telephony/
DTelephonyPermissions.java99 return checkReadPhoneState(context, subId, Binder.getCallingPid(), Binder.getCallingUid(), in checkCallingOrSelfReadPhoneState()
134 public static boolean checkReadPhoneState( in checkReadPhoneState() method in TelephonyPermissions
136 return checkReadPhoneState( in checkReadPhoneState()
154 public static boolean checkReadPhoneState( in checkReadPhoneState() method in TelephonyPermissions
484 return checkReadPhoneState( in checkReadPhoneNumber()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyPermissionsTest.java110 TelephonyPermissions.checkReadPhoneState( in testCheckReadPhoneState_noPermissions()
122 assertTrue(TelephonyPermissions.checkReadPhoneState( in testCheckReadPhoneState_hasPrivilegedPermission()
132 assertTrue(TelephonyPermissions.checkReadPhoneState( in testCheckReadPhoneState_hasPermissionAndAppOp()
140 assertFalse(TelephonyPermissions.checkReadPhoneState( in testCheckReadPhoneState_hasPermissionWithoutAppOp()
148 assertTrue(TelephonyPermissions.checkReadPhoneState( in testCheckReadPhoneState_hasCarrierPrivileges()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionController.java3529 canReadAllPhoneState = TelephonyPermissions.checkReadPhoneState(mContext, in getSubscriptionInfoListFromCacheHelper()