Home
last modified time | relevance | path

Searched refs:READ_CONTACTS (Results 1 – 25 of 32) sorted by relevance

12

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DSpellCheckerSettingsFragment.java71 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/
DUndemoteOutgoingCallReceiver.java19 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()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DContactsContentObserver.java55 mContext, Manifest.permission.READ_CONTACTS)) { in registerObserver()
79 mContext, Manifest.permission.READ_CONTACTS)) { in run()
102 mContext, Manifest.permission.READ_CONTACTS)) { in haveContentsChanged()
DContactsBinaryDictionary.java114 mContext, Manifest.permission.READ_CONTACTS)) { in loadDictionaryForUriLocked()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DCorrectionSettingsFragment.java131 getActivity() /* context */, Manifest.permission.READ_CONTACTS)) { in onSharedPreferenceChanged()
138 Manifest.permission.READ_CONTACTS); in onSharedPreferenceChanged()
148 getActivity(), Manifest.permission.READ_CONTACTS)) { in turnOffUseContactsIfNoPermission()
DAccountsSettingsFragment.java260 getActivity(), Manifest.permission.READ_CONTACTS); in refreshSyncSettingsUI()
/packages/apps/Dialer/java/com/android/dialer/util/
DPermissionsUtil.java25 import static android.Manifest.permission.READ_CONTACTS;
77 Collections.unmodifiableList(Arrays.asList(READ_CONTACTS, WRITE_CONTACTS));
91 return hasPermission(context, permission.READ_CONTACTS); in hasContactsReadPermissions()
/packages/apps/Dialer/java/com/android/dialer/shortcuts/
DDynamicShortcuts.java101 if (ContextCompat.checkSelfPermission(context, Manifest.permission.READ_CONTACTS) in refresh()
147 if (ContextCompat.checkSelfPermission(context, Manifest.permission.READ_CONTACTS) in updateIcons()
DShortcutUsageReporter.java112 if (ContextCompat.checkSelfPermission(context, Manifest.permission.READ_CONTACTS) in queryForLookupKey()
DPinnedShortcuts.java90 if (ContextCompat.checkSelfPermission(context, Manifest.permission.READ_CONTACTS) in refresh()
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/
DContactsFragment.java19 import static android.Manifest.permission.READ_CONTACTS;
166 getActivity(), readContactsPermissionGrantedReceiver, READ_CONTACTS); in onStart() local
/packages/apps/Contacts/src/com/android/contacts/activities/
DRequestImportVCardPermissionsActivity.java30 permission.READ_CONTACTS,
DRequestPermissionsActivity.java62 permissions.add(permission.READ_CONTACTS); in getPermissions()
/packages/apps/Dialer/java/com/android/dialer/app/list/
DOldSpeedDialFragment.java18 import static android.Manifest.permission.READ_CONTACTS;
369 PermissionsUtil.notifyPermissionGranted(getContext(), READ_CONTACTS); in onRequestPermissionsResult() local
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DBootCompletedReceiver.java78 context.sendBroadcast(broadcast, android.Manifest.permission.READ_CONTACTS); in onReceive()
/packages/apps/Contacts/src/com/android/contacts/util/
DPermissionsUtil.java40 public static final String CONTACTS = permission.READ_CONTACTS;
/packages/apps/Contacts/tests/src/com/android/contacts/
DNoPermissionsLaunchSmokeTest.java52 assumeTrue(!hasPermission(mTargetContext, Manifest.permission.READ_CONTACTS)); in setUp()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DImportantNoticeUtils.java96 context, Manifest.permission.READ_CONTACTS)) { in shouldShowImportantNotice()
/packages/apps/Dialer/java/com/android/dialer/preferredsim/impl/
DPreferredSimFallbackProvider.java162 if (getContext().checkCallingOrSelfPermission(permission.READ_CONTACTS) in checkReadContactsPermission()
/packages/apps/Dialer/java/com/android/dialer/speeddial/
DSpeedDialFragment.java230 PermissionsUtil.notifyPermissionGranted(getContext(), Manifest.permission.READ_CONTACTS); in onRequestPermissionsResult()
320 getActivity(), readContactsPermissionGrantedReceiver, Manifest.permission.READ_CONTACTS); in onStart()
/packages/apps/Messaging/src/com/android/messaging/util/
DOsUtil.java269 Manifest.permission.READ_CONTACTS,
DContactUtil.java546 return OsUtil.hasPermission(Manifest.permission.READ_CONTACTS); in hasReadContactsPermission()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/utils/
DUtils.java130 PLATFORM_PERMISSIONS.put(Manifest.permission.READ_CONTACTS, CONTACTS); in PLATFORM_PERMISSIONS.put() argument
534 return Manifest.permission.READ_CONTACTS.equals(permission) in isPermissionIndividuallyControlled()
/packages/apps/Dialer/java/com/android/dialer/contactphoto/
DContactPhotoManagerImpl.java1027 if (!PermissionsUtil.hasPermission(context, android.Manifest.permission.READ_CONTACTS)) { in preloadPhotosInBackground()
1114 if (!PermissionsUtil.hasPermission(context, android.Manifest.permission.READ_CONTACTS)) { in loadPhotosInBackground()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/television/
DAllAppPermissionsFragment.java308 case Manifest.permission.READ_CONTACTS: in isMutableGranularPermission()

12