Home
last modified time | relevance | path

Searched refs:requestPermissions (Results 1 – 25 of 51) sorted by relevance

123

/packages/apps/Contacts/src/com/android/contacts/activities/
DRequestPermissionsActivityBase.java73 requestPermissions(); in onCreate()
124 private void requestPermissions() { in requestPermissions() method in RequestPermissionsActivityBase
138 ActivityCompat.requestPermissions( in requestPermissions()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/permissions/
DPermissionsUtil.java59 public static void requestPermissions(Activity activity, int requestCode, in requestPermissions() method in PermissionsUtil
61 ActivityCompat.requestPermissions(activity, permissions, requestCode); in requestPermissions()
DPermissionsManager.java62 public synchronized void requestPermissions(@Nonnull PermissionsResultCallback callback, in requestPermissions() method in PermissionsManager
77 PermissionsUtil.requestPermissions(activity, requestId, permissionsArray); in requestPermissions()
DPermissionsActivity.java85 PermissionsUtil.requestPermissions(this, mPendingRequestCode, permissionsToRequest); in onResume()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrHalfSizedDialogFragment.java207 activity.requestPermissions( in onDismiss()
211 activity.requestPermissions( in onDismiss()
/packages/apps/SampleLocationAttribution/src/com/example/android/locationattribution/
DMainActivity.java135 ActivityCompat.requestPermissions(this,
142 ActivityCompat.requestPermissions(this,
/packages/apps/Tag/src/com/android/apps/tag/record/
DUriRecord.java173 activity.requestPermissions(new String[]{Manifest.permission.CALL_PHONE}, 1); in requestPermissionIfNeeded()
182 … activity.requestPermissions(new String[]{Manifest.permission.READ_EXTERNAL_STORAGE}, 1); in requestPermissionIfNeeded()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/sensor/
DSensorsTestFragment.java210 requestPermissions(missingPermissions); in initPermissions()
230 private void requestPermissions(Set<String> permissions) { in requestPermissions() method in SensorsTestFragment
233 requestPermissions(permissions.toArray(new String[permissions.size()]), in requestPermissions()
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DPermissionsActivity.java30 requestPermissions(Utils.PERMISSIONS, REQUEST_CODE); in onCreate()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraMediaChooser.java272 mMediaPicker.requestPermissions(new String[] { Manifest.permission.CAMERA }, in requestCameraPermission()
277 mMediaPicker.requestPermissions(new String[] { Manifest.permission.RECORD_AUDIO }, in requestRecordAudioPermission()
DAudioMediaChooser.java117 mMediaPicker.requestPermissions(new String[] { Manifest.permission.RECORD_AUDIO }, in requestRecordAudioPermission()
DContactMediaChooser.java95 mMediaPicker.requestPermissions( in setSelected()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DSpellCheckerSettingsFragment.java75 get(getActivity() /* context */).requestPermissions(this /* PermissionsResultCallback */, in onSharedPreferenceChanged()
/packages/apps/Messaging/src/com/android/messaging/ui/
DPermissionCheckActivity.java100 requestPermissions(missingPermissions, REQUIRED_PERMISSIONS_REQUEST_CODE); in tryRequestPermission()
/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/
DSystemUpdaterActivity.java52 ActivityCompat.requestPermissions(this, REQUIRED_STORAGE_PERMISSIONS, in onCreate()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/fragment/
DPermissionFragment.java110 requestPermissions(missing.toArray(new String[0]), REQUEST_REQUIRED_PERMISSIONS); in requestMissingRequiredPermissions()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/list/
DNewSearchFragment.java373 requestPermissions(deniedPermissions, READ_CONTACTS_PERMISSION_REQUEST_CODE); in onEmptyViewActionButtonClicked()
442 requestPermissions(deniedPermissions, LOCATION_PERMISSION_REQUEST_CODE); in requestLocationPermission()
/packages/apps/Dialer/java/com/android/dialer/interactions/
DPhoneNumberInteraction.java230 ActivityCompat.requestPermissions( in startInteraction()
242 ActivityCompat.requestPermissions( in startInteraction()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DStandalonePreviewActivity.java74 requestPermissions( in onCreate()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DCorrectionSettingsFragment.java135 PermissionsManager.get(getActivity() /* context */).requestPermissions( in onSharedPreferenceChanged()
/packages/apps/Dialer/java/com/android/dialer/voicemail/settings/
DCurrentVoicemailGreetingActivity.java93 ActivityCompat.requestPermissions( in onStart()
/packages/apps/Dialer/java/com/android/dialer/postcall/
DPostCallActivity.java107 requestPermissions(new String[] {permission.SEND_SMS}, REQUEST_CODE_SEND_SMS); in onMessageFragmentSendMessage()
/packages/apps/Camera2/src/com/android/camera/app/
DFirstRunDialog.java216 activity.requestPermissions( in checkLocationPermission()
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/
DBuglePhotoViewController.java165 ((Activity)getActivity()).requestPermissions( in onOptionsItemSelected()
/packages/apps/Camera2/src/com/android/camera/
DPermissionsActivity.java160 requestPermissions(permissionsToRequest, PERMISSION_REQUEST_CODE); in buildPermissionsRequest()

123