Home
last modified time | relevance | path

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

12

/packages/apps/Dialer/java/com/android/dialer/app/list/
DAllContactsFragment.java19 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()
DRegularSearchFragment.java18 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()
DOldSpeedDialFragment.java18 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/
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()
DPhoneNumberInteraction.java228 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/
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()
/packages/experimental/PermissionApp/src/foo/bar/permission/
DPermissionActivity.java212 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/
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.java91 if (ContextCompat.checkSelfPermission(context, Manifest.permission.READ_CONTACTS) in refresh()
/packages/apps/Contacts/src/com/android/contacts/activities/
DRequestImportVCardPermissionsActivity.java30 permission.READ_CONTACTS,
DRequestPermissionsActivity.java64 permissions.add(permission.READ_CONTACTS); in getPermissions()
/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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DImportantNoticeUtils.java96 context, Manifest.permission.READ_CONTACTS)) { in shouldShowImportantNotice()
/packages/apps/Contacts/tests/src/com/android/contacts/
DNoPermissionsLaunchSmokeTest.java52 assumeTrue(!hasPermission(mTargetContext, Manifest.permission.READ_CONTACTS)); in setUp()
/packages/apps/Dialer/java/com/android/dialer/util/
DPermissionsUtil.java40 return hasPermission(context, permission.READ_CONTACTS); in hasContactsReadPermissions()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/
DEventLogger.java45 Manifest.permission.READ_CONTACTS,
DUtils.java166 return Manifest.permission.READ_CONTACTS.equals(permission) in isPermissionIndividuallyControlled()
/packages/apps/Car/Stream/src/com/android/car/stream/
DPermissionsActivity.java46 android.Manifest.permission.READ_CONTACTS,
/packages/apps/Messaging/src/com/android/messaging/util/
DOsUtil.java269 Manifest.permission.READ_CONTACTS,
/packages/apps/Dialer/java/com/android/contacts/common/
DContactPhotoManagerImpl.java1014 if (!PermissionsUtil.hasPermission(mContext, android.Manifest.permission.READ_CONTACTS)) { in preloadPhotosInBackground()
1101 if (!PermissionsUtil.hasPermission(mContext, android.Manifest.permission.READ_CONTACTS)) { in loadPhotosInBackground()

12