/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/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/prefs/ |
D | TmaPrefsFragment.java | 59 this::requestPermissions)); in onCreatePreferences() 94 private void requestPermissions(Context context) { in requestPermissions() method in TmaPrefsFragment 100 ((Activity) context).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/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/dialogs/ |
D | DialogsActivity.java | 263 requestPermissions(new String[]{Manifest.permission.CAMERA}, 1); in showPermissionDialog() 277 requestPermissions(new String[]{Manifest.permission.CAMERA, in showMultiPermissionDialog() 282 requestPermissions(new String[]{Manifest.permission.ACCESS_FINE_LOCATION}, 1); in showForegroundPermissionDialog() 286 requestPermissions(new String[]{Manifest.permission.ACCESS_BACKGROUND_LOCATION}, 1); in showBackgroundPermissionDialog()
|
/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, 141 ActivityCompat.requestPermissions(this,
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/sensor/ |
D | SensorsTestFragment.java | 236 requestPermissions(missingPermissions); in initPermissions() 250 private void requestPermissions(Set<String> permissions) { in requestPermissions() method in SensorsTestFragment 252 requestPermissions(permissions.toArray(new String[permissions.size()]), in requestPermissions()
|
/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/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/UniversalMediaPlayer/java/com/android/pump/fragment/ |
D | PermissionFragment.java | 110 requestPermissions(missing.toArray(new String[0]), REQUEST_REQUIRED_PERMISSIONS); in requestMissingRequiredPermissions()
|
/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/ |
D | SystemUpdaterActivity.java | 55 ActivityCompat.requestPermissions(this, REQUIRED_STORAGE_PERMISSIONS, in onCreate()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | StandalonePreviewActivity.java | 78 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/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/Dialer/java/com/android/dialer/postcall/ |
D | PostCallActivity.java | 107 requestPermissions(new String[] {permission.SEND_SMS}, REQUEST_CODE_SEND_SMS); in onMessageFragmentSendMessage()
|
/packages/apps/Car/Calendar/src/com/android/car/calendar/ |
D | CarCalendarActivity.java | 126 requestPermissions(new String[] {permission}, /* requestCode= */ 0); in runWithPermission()
|