/packages/apps/Contacts/src/com/android/contacts/ |
D | CallUtil.java | 153 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/ |
D | PermissionsUtil.java | 26 import static android.Manifest.permission.READ_PHONE_STATE; 68 READ_PHONE_STATE, 87 return hasPermission(context, permission.READ_PHONE_STATE); in hasReadPhoneStatePermissions()
|
D | CallUtil.java | 67 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/ |
D | StatusBarNotifier.java | 179 @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)
|
D | CallCardPresenter.java | 556 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/ |
D | TelecomUtil.java | 204 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/ |
D | OsUtil.java | 222 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/ |
D | SmsManagerTestApp.java | 85 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/ |
D | VoicemailPermissionHelper.java | 37 permission.READ_PHONE_STATE,
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | RequestPermissionsActivity.java | 71 permissions.add(permission.READ_PHONE_STATE); in getPermissions()
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | NoPermissionsLaunchSmokeTest.java | 55 assumeTrue(!hasPermission(mTargetContext, Manifest.permission.READ_PHONE_STATE)); in setUp()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | TelecomServiceImplTest.java | 23 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()
|
D | MissedCallNotifierImplTest.java | 656 eq(android.Manifest.permission.READ_PHONE_STATE), bundleCaptor.capture()); in testDialerHandleMissedCall()
|
/packages/services/Telecomm/src/com/android/server/telecom/ui/ |
D | MissedCallNotifierImpl.java | 19 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/ |
D | VoicemailChannelUtils.java | 167 @RequiresPermission(permission.READ_PHONE_STATE)
|
/packages/apps/Dialer/java/com/android/incallui/call/ |
D | DialerCall.java | 560 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/ |
D | NotificationMgr.java | 19 import static android.Manifest.permission.READ_PHONE_STATE; 483 mContext.sendBroadcastAsUser(intent, userHandle, READ_PHONE_STATE, bopts.toBundle()); in maybeSendVoicemailNotificationUsingDefaultDialer()
|
D | PhoneInterfaceManager.java | 6565 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/ |
D | InCallFragment.java | 175 if (ContextCompat.checkSelfPermission(getContext(), permission.READ_PHONE_STATE) in onCreateView()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | ConnectivityDiagnosticsManagerTest.java | 613 android.Manifest.permission.READ_PHONE_STATE); in onReceive()
|
/packages/apps/Dialer/java/com/android/dialer/dialpadview/ |
D | SpecialCharSequenceMgr.java | 312 if (!PermissionsUtil.hasPermission(context, Manifest.permission.READ_PHONE_STATE)) { in handleDeviceIdDisplay()
|
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/ |
D | TelecomUtils.java | 103 if (ContextCompat.checkSelfPermission(context, Manifest.permission.READ_PHONE_STATE) in isVoicemailNumber()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | TelecomServiceImpl.java | 24 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/ |
D | Utils.java | 262 PLATFORM_PERMISSIONS.put(Manifest.permission.READ_PHONE_STATE, PHONE); in PLATFORM_PERMISSIONS.put() argument
|