Home
last modified time | relevance | path

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

12

/packages/experimental/PermissionApp2/src/foo/bar/permission2/
DPermissionActivity.java201 if (ContextCompat.checkSelfPermission(this, Manifest.permission.READ_CONTACTS) in showContacts()
204 Manifest.permission.READ_CONTACTS)) { in showContacts()
208 Manifest.permission.READ_CONTACTS}, in showContacts()
241 || ContextCompat.checkSelfPermission(this, Manifest.permission.READ_CONTACTS) in requestPermissions()
244 Manifest.permission.READ_CONTACTS, in requestPermissions()
/packages/experimental/PermissionApp/src/foo/bar/permission/
DPermissionActivity.java197 case Manifest.permission.READ_CONTACTS: { in onRequestPermissionsResult()
224 if (checkSelfPermission(Manifest.permission.READ_CONTACTS) in showContacts()
226 requestPermissions(new String[] {Manifest.permission.READ_CONTACTS}, in showContacts()
257 if (checkSelfPermission(Manifest.permission.READ_CONTACTS) in requestPermissions()
259 permissions.add(Manifest.permission.READ_CONTACTS); in requestPermissions()
/packages/apps/Dialer/src/com/android/dialer/list/
DAllContactsFragment.java19 import static android.Manifest.permission.READ_CONTACTS;
99 mReadContactsPermissionGrantedReceiver, READ_CONTACTS); in onStart() local
111 if (PermissionsUtil.hasPermission(getActivity(), READ_CONTACTS)) { in startLoading()
178 if (!PermissionsUtil.hasPermission(activity, READ_CONTACTS)) { in onEmptyViewActionButtonClicked()
179 FragmentCompat.requestPermissions(this, new String[] {READ_CONTACTS}, in onEmptyViewActionButtonClicked()
DRegularSearchFragment.java18 import static android.Manifest.permission.READ_CONTACTS;
98 if (!PermissionsUtil.hasPermission(getActivity(), READ_CONTACTS)) { in setupEmptyView()
103 mPermissionToRequest = READ_CONTACTS; in setupEmptyView()
128 if (READ_CONTACTS.equals(mPermissionToRequest)) { in onEmptyViewActionButtonClicked()
DSpeedDialFragment.java18 import static android.Manifest.permission.READ_CONTACTS;
486 if (!PermissionsUtil.hasPermission(activity, READ_CONTACTS)) { in onEmptyViewActionButtonClicked()
487 FragmentCompat.requestPermissions(this, new String[] {READ_CONTACTS}, in onEmptyViewActionButtonClicked()
500 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/src/com/android/dialer/interactions/
DUndemoteOutgoingCallReceiver.java19 import static android.Manifest.permission.READ_CONTACTS;
47 if (!PermissionsUtil.hasPermission(context, READ_CONTACTS) in onReceive()
82 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()
DDictionaryFacilitatorImpl.java295 context, Manifest.permission.READ_CONTACTS); in resetDictionaries()
DLatinIME.java1295 null /* activity */, permission.READ_CONTACTS); in showImportantNoticeContents()
/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/ContactsCommon/src/com/android/contacts/common/activity/
DRequestPermissionsActivity.java33 permission.READ_CONTACTS,
49 permission.READ_CONTACTS, // Contacts group in getDesiredPermissions()
DRequestImportVCardPermissionsActivity.java28 permission.READ_CONTACTS,
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DBootCompletedReceiver.java78 context.sendBroadcast(broadcast, android.Manifest.permission.READ_CONTACTS); in onReceive()
/packages/apps/ContactsCommon/src/com/android/contacts/common/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/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/Dialer/src/com/android/dialer/calllog/
DCallLogNotificationsHelper.java336 if (!PermissionsUtil.hasPermission(mContext, Manifest.permission.READ_CONTACTS)) { in query()
DCallLogAdapter.java359 if (PermissionsUtil.hasPermission(mContext, android.Manifest.permission.READ_CONTACTS)) { in onResume()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/
DAllAppPermissionsFragment.java296 case Manifest.permission.READ_CONTACTS: in isMutableGranularPermission()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DCallerInfoAsyncQuery.java344 if (!PermissionsUtil.hasPermission(context, Manifest.permission.READ_CONTACTS)) { in startQuery()
/packages/apps/ContactsCommon/src/com/android/contacts/common/
DContactPhotoManager.java1461 android.Manifest.permission.READ_CONTACTS)) { in loadPhotosInBackground()

12