Searched refs:TelephonyPermissions (Results 1 – 12 of 12) sorted by relevance
133 TelephonyPermissions.checkReadPhoneState( in testCheckReadPhoneState_noPermissions()145 assertTrue(TelephonyPermissions.checkReadPhoneState( in testCheckReadPhoneState_hasPrivilegedPermission()155 assertTrue(TelephonyPermissions.checkReadPhoneState( in testCheckReadPhoneState_hasPermissionAndAppOp()163 assertFalse(TelephonyPermissions.checkReadPhoneState( in testCheckReadPhoneState_hasPermissionWithoutAppOp()173 assertTrue(TelephonyPermissions.checkReadPhoneState( in testCheckReadPhoneState_hasCarrierPrivileges()179 assertFalse(TelephonyPermissions.checkReadPhoneStateOnAnyActiveSub( in testCheckReadPhoneStateOnAnyActiveSub_noPermissions()187 assertTrue(TelephonyPermissions.checkReadPhoneStateOnAnyActiveSub( in testCheckReadPhoneStateOnAnyActiveSub_hasPrivilegedPermission()197 assertTrue(TelephonyPermissions.checkReadPhoneStateOnAnyActiveSub( in testCheckReadPhoneStateOnAnyActiveSub_hasPermissionAndAppOp()205 assertFalse(TelephonyPermissions.checkReadPhoneStateOnAnyActiveSub( in testCheckReadPhoneStateOnAnyActiveSub_hasPermissionWithoutAppOp()216 assertTrue(TelephonyPermissions.checkReadPhoneStateOnAnyActiveSub( in testCheckReadPhoneStateOnAnyActiveSub_hasCarrierPrivileges()[all …]
941 assertTrue(TelephonyPermissions.checkCallingOrSelfReadPhoneState(mContext, 1, in testSetSubscriptionGroup()
27 import com.android.internal.telephony.TelephonyPermissions;58 if (!TelephonyPermissions.checkCallingOrSelfReadDeviceIdentifiers(mContext, in getSerial()68 if (!TelephonyPermissions.checkCallingOrSelfReadDeviceIdentifiers(mContext, in getSerialForPackage()
102 TelephonyPermissions.enforceCallingOrSelfCarrierPrivilege( in enforceCallerIsImsAppOrCarrierApp()146 TelephonyPermissions in checkCallingOrSelfCanGetSmscAddress()166 TelephonyPermissions.enforceCallingOrSelfModifyPermissionOrCarrierPrivilege( in checkCallingOrSelfCanSetSmscAddress()
154 if (!TelephonyPermissions.checkCallingOrSelfReadSubscriberIdentifiers( in getSubscriberIdForSubscriber()277 TelephonyPermissions.enforceCallingOrSelfCarrierPrivilege(mContext, subId, message); in enforcePrivilegedPermissionOrCarrierPrivilege()457 TelephonyPermissions.checkCallingOrSelfReadPhoneState(467 TelephonyPermissions.checkCallingOrSelfReadDeviceIdentifiers(477 TelephonyPermissions.checkCallingOrSelfReadSubscriberIdentifiers(505 TelephonyPermissions.checkCallingOrSelfReadPhoneNumber(520 if (!TelephonyPermissions.checkCallingOrSelfReadDeviceIdentifiers(mContext,
540 if (!TelephonyPermissions.checkCallingOrSelfReadPhoneState(mContext, subId, callingPackage, in getActiveSubscriptionInfo()665 if (!TelephonyPermissions.checkCallingOrSelfReadPhoneState( in getActiveSubscriptionInfoForSimSlotIndex()716 if (!TelephonyPermissions.checkCallingOrSelfReadPhoneState( in getAllSubInfoList()842 if (!TelephonyPermissions.checkCallingOrSelfReadPhoneState( in getAllSubInfoCount()886 if (!TelephonyPermissions.checkCallingOrSelfReadPhoneState( in getAvailableSubscriptionInfoList()2657 if (!TelephonyPermissions.checkCallingOrSelfReadPhoneState(mContext, subId, callingPackage, in isActiveSubId()2795 if (!TelephonyPermissions.checkCallingOrSelfReadPhoneState(mContext, subId, callingPackage, in getSubscriptionProperty()2999 TelephonyPermissions.enforceCallingOrSelfModifyPermissionOrCarrierPrivilege( in setOpportunistic()3477 return TelephonyPermissions.checkCallingOrSelfReadPhoneState(mContext, subId, in getSubscriptionsInGroup()3766 canReadAllPhoneState = TelephonyPermissions.checkReadPhoneState(mContext, in getSubscriptionInfoListFromCacheHelper()[all …]
683 if (!TelephonyPermissions.checkCallingOrSelfReadPhoneState(getPhone(subId).getContext(), in checkSmsShortCodeDestination()
44 public final class TelephonyPermissions { class63 private TelephonyPermissions() {} in TelephonyPermissions() method in TelephonyPermissions
92 import com.android.internal.telephony.TelephonyPermissions;165 return TelephonyPermissions.checkReadCallLog( in canReadCallLog()1461 .filter(i -> TelephonyPermissions.checkCarrierPrivilegeForSubId(mContext, in notifyCarrierNetworkChange()2573 TelephonyPermissions.enforceCallingOrSelfCarrierPrivilege(mContext, in enforceNotifyPermissionOrCarrierPrivilege()2627 if (!TelephonyPermissions.checkCallingOrSelfReadPhoneState( in checkListenerPermission()2640 TelephonyPermissions.enforceCallingOrSelfCarrierPrivilege(mContext, subId, message); in checkListenerPermission()
4688 com.android.internal.telephony.-$$Lambda$TelephonyPermissions$LxEEC4irBSbjD1lSC4EeVLgFY9I4900 com.android.internal.telephony.TelephonyPermissions
21714 HSPLcom/android/internal/telephony/-$$Lambda$TelephonyPermissions$LxEEC4irBSbjD1lSC4EeVLgFY9I;-><in…21715 HSPLcom/android/internal/telephony/-$$Lambda$TelephonyPermissions$LxEEC4irBSbjD1lSC4EeVLgFY9I;->get…23010 HSPLcom/android/internal/telephony/TelephonyPermissions;->checkCallingOrSelfReadDeviceIdentifiers(L…23011 HSPLcom/android/internal/telephony/TelephonyPermissions;->checkCallingOrSelfReadDeviceIdentifiers(L…23012 HSPLcom/android/internal/telephony/TelephonyPermissions;->checkCallingOrSelfReadPhoneNumber(Landroi…23013 HSPLcom/android/internal/telephony/TelephonyPermissions;->checkCallingOrSelfReadPhoneState(Landroid…23014 HSPLcom/android/internal/telephony/TelephonyPermissions;->checkCallingOrSelfReadSubscriberIdentifie…23015 HSPLcom/android/internal/telephony/TelephonyPermissions;->checkReadCallLog(Landroid/content/Context…23016 HSPLcom/android/internal/telephony/TelephonyPermissions;->checkReadCallLog(Landroid/content/Context…23017 HSPLcom/android/internal/telephony/TelephonyPermissions;->checkReadDeviceIdentifiers(Landroid/conte…[all …]
6947 * frameworks/base/telephony/java/com/android/internal/telephony/TelephonyPermissions.java