Searched refs:TelephonyPermissions (Results 1 – 11 of 11) sorted by relevance
110 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()154 assertFalse(TelephonyPermissions.checkReadPhoneStateOnAnyActiveSub( in testCheckReadPhoneStateOnAnyActiveSub_noPermissions()162 assertTrue(TelephonyPermissions.checkReadPhoneStateOnAnyActiveSub( in testCheckReadPhoneStateOnAnyActiveSub_hasPrivilegedPermission()172 assertTrue(TelephonyPermissions.checkReadPhoneStateOnAnyActiveSub( in testCheckReadPhoneStateOnAnyActiveSub_hasPermissionAndAppOp()180 assertFalse(TelephonyPermissions.checkReadPhoneStateOnAnyActiveSub( in testCheckReadPhoneStateOnAnyActiveSub_hasPermissionWithoutAppOp()188 assertTrue(TelephonyPermissions.checkReadPhoneStateOnAnyActiveSub( in testCheckReadPhoneStateOnAnyActiveSub_hasCarrierPrivileges()[all …]
864 assertTrue(TelephonyPermissions.checkCallingOrSelfReadPhoneState(mContext, 1, in testSetSubscriptionGroup()
27 import com.android.internal.telephony.TelephonyPermissions;58 if (!TelephonyPermissions.checkCallingOrSelfReadDeviceIdentifiers(mContext, in getSerial()67 if (!TelephonyPermissions.checkCallingOrSelfReadDeviceIdentifiers(mContext, in getSerialForPackage()
140 if (!TelephonyPermissions.checkCallingOrSelfReadSubscriberIdentifiers( in getSubscriberIdForSubscriber()243 TelephonyPermissions.enforceCallingOrSelfCarrierPrivilege(subId, message); in enforcePrivilegedPermissionOrCarrierPrivilege()417 TelephonyPermissions.checkCallingOrSelfReadPhoneState(425 TelephonyPermissions.checkCallingOrSelfReadDeviceIdentifiers(433 TelephonyPermissions.checkCallingOrSelfReadSubscriberIdentifiers(460 TelephonyPermissions.checkCallingOrSelfReadPhoneNumber(474 if (!TelephonyPermissions.checkCallingOrSelfReadDeviceIdentifiers(mContext,
101 TelephonyPermissions.enforceCallingOrSelfCarrierPrivilege(mPhone.getSubId(), message); in enforceCallerIsImsAppOrCarrierApp()
488 if (!TelephonyPermissions.checkCallingOrSelfReadPhoneState( in getActiveSubscriptionInfo()548 if (!TelephonyPermissions.checkCallingOrSelfReadPhoneState( in getActiveSubscriptionInfoForIccId()606 if (!TelephonyPermissions.checkCallingOrSelfReadPhoneState( in getActiveSubscriptionInfoForSimSlotIndex()655 if (!TelephonyPermissions.checkCallingOrSelfReadPhoneState( in getAllSubInfoList()769 if (!TelephonyPermissions.checkCallingOrSelfReadPhoneState( in getAllSubInfoCount()812 if (!TelephonyPermissions.checkCallingOrSelfReadPhoneState( in getAvailableSubscriptionInfoList()2476 if (!TelephonyPermissions.checkCallingOrSelfReadPhoneState(mContext, subId, callingPackage, in isActiveSubId()2609 if (!TelephonyPermissions.checkCallingOrSelfReadPhoneState( in getSubscriptionProperty()2814 TelephonyPermissions.enforceCallingOrSelfModifyPermissionOrCarrierPrivilege( in setOpportunistic()3257 return TelephonyPermissions.checkCallingOrSelfReadPhoneState(mContext, subId, in getSubscriptionsInGroup()[all …]
526 if (!TelephonyPermissions.checkCallingOrSelfReadPhoneState(getPhone(subId).getContext(), in checkSmsShortCodeDestination()
47 public final class TelephonyPermissions { class69 private TelephonyPermissions() {} in TelephonyPermissions() method in TelephonyPermissions
68 import com.android.internal.telephony.TelephonyPermissions;141 return TelephonyPermissions.checkReadCallLog( in canReadCallLog()853 && TelephonyPermissions.checkReadPhoneStateOnAnyActiveSub( in listen()1192 .filter(i -> TelephonyPermissions.checkCarrierPrivilegeForSubId(i)).toArray(); in notifyCarrierNetworkChange()1838 && TelephonyPermissions.checkReadPhoneStateOnAnyActiveSub( in notifyActiveDataSubIdChanged()2196 TelephonyPermissions.enforceCallingOrSelfCarrierPrivilege( in enforceNotifyPermissionOrCarrierPrivilege()2250 if (!TelephonyPermissions.checkCallingOrSelfReadPhoneState( in checkListenerPermission()
4688 com.android.internal.telephony.-$$Lambda$TelephonyPermissions$LxEEC4irBSbjD1lSC4EeVLgFY9I4901 com.android.internal.telephony.TelephonyPermissions
6176 * frameworks/base/telephony/java/com/android/internal/telephony/TelephonyPermissions.java