/packages/apps/Dialer/java/com/android/dialer/app/list/ |
D | AllContactsFragment.java | 19 import static android.Manifest.permission.READ_CONTACTS; 94 getActivity(), mReadContactsPermissionGrantedReceiver, READ_CONTACTS); in onStart() local 106 if (PermissionsUtil.hasPermission(getActivity(), READ_CONTACTS)) { in startLoading() 172 if (!PermissionsUtil.hasPermission(activity, READ_CONTACTS)) { in onEmptyViewActionButtonClicked() 174 this, new String[] {READ_CONTACTS}, READ_CONTACTS_PERMISSION_REQUEST_CODE); in onEmptyViewActionButtonClicked()
|
D | RegularSearchFragment.java | 18 import static android.Manifest.permission.READ_CONTACTS; 86 if (!PermissionsUtil.hasPermission(getActivity(), READ_CONTACTS)) { in setupEmptyView() 91 mPermissionToRequest = READ_CONTACTS; in setupEmptyView() 116 if (READ_CONTACTS.equals(mPermissionToRequest)) { in onEmptyViewActionButtonClicked()
|
D | OldSpeedDialFragment.java | 18 import static android.Manifest.permission.READ_CONTACTS; 407 if (!PermissionsUtil.hasPermission(activity, READ_CONTACTS)) { in onEmptyViewActionButtonClicked() 409 this, new String[] {READ_CONTACTS}, READ_CONTACTS_PERMISSION_REQUEST_CODE); in onEmptyViewActionButtonClicked() 421 PermissionsUtil.notifyPermissionGranted(getActivity(), READ_CONTACTS); in onRequestPermissionsResult() local
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
D | SpellCheckerSettingsFragment.java | 71 getActivity() /* context */, Manifest.permission.READ_CONTACTS)) { in onSharedPreferenceChanged() 76 getActivity() /* activity */, Manifest.permission.READ_CONTACTS); in onSharedPreferenceChanged() 86 getActivity(), Manifest.permission.READ_CONTACTS)) { in turnOffLookupContactsIfNoPermission()
|
/packages/apps/Dialer/java/com/android/dialer/interactions/ |
D | UndemoteOutgoingCallReceiver.java | 19 import static android.Manifest.permission.READ_CONTACTS; 44 if (!PermissionsUtil.hasPermission(context, READ_CONTACTS) in onReceive() 79 if (!PermissionsUtil.hasPermission(context, READ_CONTACTS)) { in getContactIdFromPhoneNumber()
|
D | PhoneNumberInteraction.java | 228 if (ContextCompat.checkSelfPermission(mContext, Manifest.permission.READ_CONTACTS) in startInteraction() 233 new String[] {Manifest.permission.READ_CONTACTS}, in startInteraction()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | ContactsContentObserver.java | 55 mContext, Manifest.permission.READ_CONTACTS)) { in registerObserver() 79 mContext, Manifest.permission.READ_CONTACTS)) { in run() 102 mContext, Manifest.permission.READ_CONTACTS)) { in haveContentsChanged()
|
D | ContactsBinaryDictionary.java | 114 mContext, Manifest.permission.READ_CONTACTS)) { in loadDictionaryForUriLocked()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | CorrectionSettingsFragment.java | 131 getActivity() /* context */, Manifest.permission.READ_CONTACTS)) { in onSharedPreferenceChanged() 138 Manifest.permission.READ_CONTACTS); in onSharedPreferenceChanged() 148 getActivity(), Manifest.permission.READ_CONTACTS)) { in turnOffUseContactsIfNoPermission()
|
/packages/experimental/PermissionApp/src/foo/bar/permission/ |
D | PermissionActivity.java | 212 case Manifest.permission.READ_CONTACTS: { in onRequestPermissionsResult() 275 if (checkSelfPermission(Manifest.permission.READ_CONTACTS) in requestPermissions() 277 permissions.add(Manifest.permission.READ_CONTACTS); in requestPermissions()
|
/packages/apps/Dialer/java/com/android/dialer/shortcuts/ |
D | DynamicShortcuts.java | 101 if (ContextCompat.checkSelfPermission(context, Manifest.permission.READ_CONTACTS) in refresh() 147 if (ContextCompat.checkSelfPermission(context, Manifest.permission.READ_CONTACTS) in updateIcons()
|
D | ShortcutUsageReporter.java | 112 if (ContextCompat.checkSelfPermission(context, Manifest.permission.READ_CONTACTS) in queryForLookupKey()
|
D | PinnedShortcuts.java | 91 if (ContextCompat.checkSelfPermission(context, Manifest.permission.READ_CONTACTS) in refresh()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | RequestImportVCardPermissionsActivity.java | 30 permission.READ_CONTACTS,
|
D | RequestPermissionsActivity.java | 64 permissions.add(permission.READ_CONTACTS); in getPermissions()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | BootCompletedReceiver.java | 78 context.sendBroadcast(broadcast, android.Manifest.permission.READ_CONTACTS); in onReceive()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | PermissionsUtil.java | 40 public static final String CONTACTS = permission.READ_CONTACTS;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | ImportantNoticeUtils.java | 96 context, Manifest.permission.READ_CONTACTS)) { in shouldShowImportantNotice()
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | NoPermissionsLaunchSmokeTest.java | 52 assumeTrue(!hasPermission(mTargetContext, Manifest.permission.READ_CONTACTS)); in setUp()
|
/packages/apps/Dialer/java/com/android/dialer/util/ |
D | PermissionsUtil.java | 40 return hasPermission(context, permission.READ_CONTACTS); in hasContactsReadPermissions()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/ |
D | EventLogger.java | 45 Manifest.permission.READ_CONTACTS,
|
D | Utils.java | 166 return Manifest.permission.READ_CONTACTS.equals(permission) in isPermissionIndividuallyControlled()
|
/packages/apps/Car/Stream/src/com/android/car/stream/ |
D | PermissionsActivity.java | 46 android.Manifest.permission.READ_CONTACTS,
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | OsUtil.java | 269 Manifest.permission.READ_CONTACTS,
|
/packages/apps/Dialer/java/com/android/contacts/common/ |
D | ContactPhotoManagerImpl.java | 1014 if (!PermissionsUtil.hasPermission(mContext, android.Manifest.permission.READ_CONTACTS)) { in preloadPhotosInBackground() 1101 if (!PermissionsUtil.hasPermission(mContext, android.Manifest.permission.READ_CONTACTS)) { in loadPhotosInBackground()
|