/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | RequestPermissionsActivityBase.java | 73 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/ |
D | PermissionsUtil.java | 59 public static void requestPermissions(Activity activity, int requestCode, in requestPermissions() method in PermissionsUtil 61 ActivityCompat.requestPermissions(activity, permissions, requestCode); in requestPermissions()
|
D | PermissionsManager.java | 62 public synchronized void requestPermissions(@Nonnull PermissionsResultCallback callback, in requestPermissions() method in PermissionsManager 77 PermissionsUtil.requestPermissions(activity, requestId, permissionsArray); in requestPermissions()
|
D | PermissionsActivity.java | 85 PermissionsUtil.requestPermissions(this, mPendingRequestCode, permissionsToRequest); in onResume()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | DvrHalfSizedDialogFragment.java | 207 activity.requestPermissions( in onDismiss() 211 activity.requestPermissions( in onDismiss()
|
/packages/apps/SampleLocationAttribution/src/com/example/android/locationattribution/ |
D | MainActivity.java | 135 ActivityCompat.requestPermissions(this, 142 ActivityCompat.requestPermissions(this,
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
D | UriRecord.java | 173 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/ |
D | SensorsTestFragment.java | 210 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/ |
D | PermissionsActivity.java | 30 requestPermissions(Utils.PERMISSIONS, REQUEST_CODE); in onCreate()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | CameraMediaChooser.java | 272 mMediaPicker.requestPermissions(new String[] { Manifest.permission.CAMERA }, in requestCameraPermission() 277 mMediaPicker.requestPermissions(new String[] { Manifest.permission.RECORD_AUDIO }, in requestRecordAudioPermission()
|
D | AudioMediaChooser.java | 117 mMediaPicker.requestPermissions(new String[] { Manifest.permission.RECORD_AUDIO }, in requestRecordAudioPermission()
|
D | ContactMediaChooser.java | 95 mMediaPicker.requestPermissions( in setSelected()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
D | SpellCheckerSettingsFragment.java | 75 get(getActivity() /* context */).requestPermissions(this /* PermissionsResultCallback */, in onSharedPreferenceChanged()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | PermissionCheckActivity.java | 100 requestPermissions(missingPermissions, REQUIRED_PERMISSIONS_REQUEST_CODE); in tryRequestPermission()
|
/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/ |
D | SystemUpdaterActivity.java | 52 ActivityCompat.requestPermissions(this, REQUIRED_STORAGE_PERMISSIONS, in onCreate()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/fragment/ |
D | PermissionFragment.java | 110 requestPermissions(missing.toArray(new String[0]), REQUEST_REQUIRED_PERMISSIONS); in requestMissingRequiredPermissions()
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/list/ |
D | NewSearchFragment.java | 373 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/ |
D | PhoneNumberInteraction.java | 230 ActivityCompat.requestPermissions( in startInteraction() 242 ActivityCompat.requestPermissions( in startInteraction()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | StandalonePreviewActivity.java | 74 requestPermissions( in onCreate()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | CorrectionSettingsFragment.java | 135 PermissionsManager.get(getActivity() /* context */).requestPermissions( in onSharedPreferenceChanged()
|
/packages/apps/Dialer/java/com/android/dialer/voicemail/settings/ |
D | CurrentVoicemailGreetingActivity.java | 93 ActivityCompat.requestPermissions( in onStart()
|
/packages/apps/Dialer/java/com/android/dialer/postcall/ |
D | PostCallActivity.java | 107 requestPermissions(new String[] {permission.SEND_SMS}, REQUEST_CODE_SEND_SMS); in onMessageFragmentSendMessage()
|
/packages/apps/Camera2/src/com/android/camera/app/ |
D | FirstRunDialog.java | 216 activity.requestPermissions( in checkLocationPermission()
|
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/ |
D | BuglePhotoViewController.java | 165 ((Activity)getActivity()).requestPermissions( in onOptionsItemSelected()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | PermissionsActivity.java | 160 requestPermissions(permissionsToRequest, PERMISSION_REQUEST_CODE); in buildPermissionsRequest()
|