Home
last modified time | relevance | path

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

/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()
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 …]
DSubscriptionControllerTest.java864 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()
67 if (!TelephonyPermissions.checkCallingOrSelfReadDeviceIdentifiers(mContext, in getSerialForPackage()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneSubInfoController.java140 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,
DSmsPermissions.java101 TelephonyPermissions.enforceCallingOrSelfCarrierPrivilege(mPhone.getSubId(), message); in enforceCallerIsImsAppOrCarrierApp()
DSubscriptionController.java488 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 …]
DSmsController.java526 if (!TelephonyPermissions.checkCallingOrSelfReadPhoneState(getPhone(subId).getContext(), in checkSmsShortCodeDestination()
/frameworks/base/telephony/java/com/android/internal/telephony/
DTelephonyPermissions.java47 public final class TelephonyPermissions { class
69 private TelephonyPermissions() {} in TelephonyPermissions() method in TelephonyPermissions
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java68 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()
/frameworks/base/config/
Dpreloaded-classes4688 com.android.internal.telephony.-$$Lambda$TelephonyPermissions$LxEEC4irBSbjD1lSC4EeVLgFY9I
4901 com.android.internal.telephony.TelephonyPermissions
/frameworks/base/cmds/statsd/src/
Datoms.proto6176 * frameworks/base/telephony/java/com/android/internal/telephony/TelephonyPermissions.java