Home
last modified time | relevance | path

Searched refs:TelephonyPermissions (Results 1 – 12 of 12) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyPermissionsTest.java133 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 …]
DSubscriptionControllerTest.java941 assertTrue(TelephonyPermissions.checkCallingOrSelfReadPhoneState(mContext, 1, in testSetSubscriptionGroup()
/frameworks/base/services/core/java/com/android/server/os/
DDeviceIdentifiersPolicyService.java27 import com.android.internal.telephony.TelephonyPermissions;
58 if (!TelephonyPermissions.checkCallingOrSelfReadDeviceIdentifiers(mContext, in getSerial()
68 if (!TelephonyPermissions.checkCallingOrSelfReadDeviceIdentifiers(mContext, in getSerialForPackage()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsPermissions.java102 TelephonyPermissions.enforceCallingOrSelfCarrierPrivilege( in enforceCallerIsImsAppOrCarrierApp()
146 TelephonyPermissions in checkCallingOrSelfCanGetSmscAddress()
166 TelephonyPermissions.enforceCallingOrSelfModifyPermissionOrCarrierPrivilege( in checkCallingOrSelfCanSetSmscAddress()
DPhoneSubInfoController.java154 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,
DSubscriptionController.java540 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 …]
DSmsController.java683 if (!TelephonyPermissions.checkCallingOrSelfReadPhoneState(getPhone(subId).getContext(), in checkSmsShortCodeDestination()
/frameworks/base/telephony/common/com/android/internal/telephony/
DTelephonyPermissions.java44 public final class TelephonyPermissions { class
63 private TelephonyPermissions() {} in TelephonyPermissions() method in TelephonyPermissions
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java92 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()
/frameworks/base/config/
Dpreloaded-classes4688 com.android.internal.telephony.-$$Lambda$TelephonyPermissions$LxEEC4irBSbjD1lSC4EeVLgFY9I
4900 com.android.internal.telephony.TelephonyPermissions
Dboot-image-profile.txt21714 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 …]
/frameworks/base/cmds/statsd/src/
Datoms.proto6947 * frameworks/base/telephony/java/com/android/internal/telephony/TelephonyPermissions.java