Home
last modified time | relevance | path

Searched refs:READ_PHONE_STATE (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/
DCallUtil.java153 if (!PermissionsUtil.hasPermission(context, android.Manifest.permission.READ_PHONE_STATE) in getVideoCallingAvailability()
200 if (!PermissionsUtil.hasPermission(context, android.Manifest.permission.READ_PHONE_STATE) in isCallWithSubjectSupported()
237 if (!PermissionsUtil.hasPermission(context, android.Manifest.permission.READ_PHONE_STATE) in isTachyonEnabled()
/packages/apps/Dialer/java/com/android/dialer/util/
DPermissionsUtil.java26 import static android.Manifest.permission.READ_PHONE_STATE;
68 READ_PHONE_STATE,
87 return hasPermission(context, permission.READ_PHONE_STATE); in hasReadPhoneStatePermissions()
DCallUtil.java67 if (!PermissionsUtil.hasPermission(context, android.Manifest.permission.READ_PHONE_STATE)) { in getVideoCallingAvailability()
128 if (!PermissionsUtil.hasPermission(context, android.Manifest.permission.READ_PHONE_STATE)) { in isCallWithSubjectSupported()
/packages/apps/Dialer/java/com/android/incallui/
DStatusBarNotifier.java179 @RequiresPermission(Manifest.permission.READ_PHONE_STATE)
208 @RequiresPermission(Manifest.permission.READ_PHONE_STATE)
233 @RequiresPermission(Manifest.permission.READ_PHONE_STATE)
246 @RequiresPermission(Manifest.permission.READ_PHONE_STATE)
264 @RequiresPermission(Manifest.permission.READ_PHONE_STATE)
1090 @RequiresPermission(Manifest.permission.READ_PHONE_STATE)
1100 @RequiresPermission(Manifest.permission.READ_PHONE_STATE)
DCallCardPresenter.java556 context.sendBroadcast(broadcastIntent, Manifest.permission.READ_PHONE_STATE); in onCallStateButtonClicked()
915 if (ContextCompat.checkSelfPermission(context, Manifest.permission.READ_PHONE_STATE) in getConnectionLabel()
/packages/apps/Dialer/java/com/android/dialer/telecom/
DTelecomUtil.java204 if (!hasPermission(context, permission.READ_PHONE_STATE)) { in getSubscriptionInfo()
301 return isDefaultDialer(context) || hasPermission(context, Manifest.permission.READ_PHONE_STATE); in hasReadPhoneStatePermission()
324 @RequiresPermission(permission.READ_PHONE_STATE)
/packages/apps/Messaging/src/com/android/messaging/util/
DOsUtil.java222 return hasPermission(Manifest.permission.READ_PHONE_STATE); in hasPhonePermission()
267 Manifest.permission.READ_PHONE_STATE,
/packages/services/Telephony/testapps/SmsManagerTestApp/src/com/android/phone/testapps/smsmanagertestapp/
DSmsManagerTestApp.java85 if (checkSelfPermission(Manifest.permission.READ_PHONE_STATE) in onResume()
90 requestPermissions(new String[]{Manifest.permission.READ_PHONE_STATE, in onResume()
/packages/apps/Dialer/java/com/android/voicemail/
DVoicemailPermissionHelper.java37 permission.READ_PHONE_STATE,
/packages/apps/Contacts/src/com/android/contacts/activities/
DRequestPermissionsActivity.java71 permissions.add(permission.READ_PHONE_STATE); in getPermissions()
/packages/apps/Contacts/tests/src/com/android/contacts/
DNoPermissionsLaunchSmokeTest.java55 assumeTrue(!hasPermission(mTargetContext, Manifest.permission.READ_PHONE_STATE)); in setUp()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DTelecomServiceImplTest.java23 import static android.Manifest.permission.READ_PHONE_STATE;
402 add(READ_PHONE_STATE); in testGetCallCapablePhoneAccountsFailure()
970 grantPermissionAndAppOp(READ_PHONE_STATE, AppOpsManager.OPSTR_READ_PHONE_STATE); in testGetLine1NumberWithReadPhoneStateTargetPreR()
980 grantPermissionAndAppOp(READ_PHONE_STATE, AppOpsManager.OPSTR_READ_PHONE_STATE); in testGetLine1NumberWithReadPhoneStateTargetR()
DMissedCallNotifierImplTest.java656 eq(android.Manifest.permission.READ_PHONE_STATE), bundleCaptor.capture()); in testDialerHandleMissedCall()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DMissedCallNotifierImpl.java19 import static android.Manifest.permission.READ_PHONE_STATE;
288 mContext.sendBroadcastAsUser(intent, userHandle, READ_PHONE_STATE, options); in sendNotificationThroughDefaultDialer()
/packages/apps/Dialer/java/com/android/dialer/notification/
DVoicemailChannelUtils.java167 @RequiresPermission(permission.READ_PHONE_STATE)
/packages/apps/Dialer/java/com/android/incallui/call/
DDialerCall.java560 if (!PermissionsUtil.hasPermission(context, permission.READ_PHONE_STATE)) { in updateIsVoiceMailNumber()
647 if (PermissionsUtil.hasPermission(context, permission.READ_PHONE_STATE)) { in updateFromTelecomCall()
662 if (!PermissionsUtil.hasPermission(context, permission.READ_PHONE_STATE)) { in cacheCarrierConfiguration()
/packages/services/Telephony/src/com/android/phone/
DNotificationMgr.java19 import static android.Manifest.permission.READ_PHONE_STATE;
483 mContext.sendBroadcastAsUser(intent, userHandle, READ_PHONE_STATE, bopts.toBundle()); in maybeSendVoicemailNotificationUsingDefaultDialer()
DPhoneInterfaceManager.java6565 mApp.enforceCallingOrSelfPermission(android.Manifest.permission.READ_PHONE_STATE, in isDataEnabled()
6603 mApp.enforceCallingOrSelfPermission(android.Manifest.permission.READ_PHONE_STATE, in isDataEnabledForReason()
/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DInCallFragment.java175 if (ContextCompat.checkSelfPermission(getContext(), permission.READ_PHONE_STATE) in onCreateView()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityDiagnosticsManagerTest.java613 android.Manifest.permission.READ_PHONE_STATE); in onReceive()
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DSpecialCharSequenceMgr.java312 if (!PermissionsUtil.hasPermission(context, Manifest.permission.READ_PHONE_STATE)) { in handleDeviceIdDisplay()
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DTelecomUtils.java103 if (ContextCompat.checkSelfPermission(context, Manifest.permission.READ_PHONE_STATE) in isVoicemailNumber()
/packages/services/Telecomm/src/com/android/server/telecom/
DTelecomServiceImpl.java24 import static android.Manifest.permission.READ_PHONE_STATE;
2323 mContext.enforceCallingOrSelfPermission(READ_PHONE_STATE, message); in canReadPhoneState()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DUtils.java262 PLATFORM_PERMISSIONS.put(Manifest.permission.READ_PHONE_STATE, PHONE); in PLATFORM_PERMISSIONS.put() argument