/packages/modules/Permission/tests/cts/permissionui/UsePermissionAppLatest/src/android/permissionui/cts/usepermission/ |
D | RequestPermissionsActivity.kt | 42 requestPermissions(permissions, 1, Context.DEVICE_ID_DEFAULT) in onCreate() 44 requestPermissions(permissions, 1) in onCreate() 72 requestPermissions(permissions, 1) in handleResult()
|
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/ |
D | NotificationPermissionTest.kt | 288 val intent = createIntent(requestPermissions = true, intentAction = BROADCAST_ACTION) in mergeAppPermissionRequestIntoNotificationAndVerifyResult() 307 launchApp(createChannels = false, requestPermissions = true) in mergeNotificationRequestIntoAppPermissionRequestAndVerifyResult() 354 requestPermissions: Boolean = false, in createIntent() 369 intent.putExtra(EXTRA_REQUEST_OTHER_PERMISSIONS, requestPermissions) in createIntent() 380 requestPermissions: Boolean = false, in launchApp() 391 requestPermissions, in launchApp()
|
/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/modules/Permission/tests/cts/permission/AppThatRequestCustomCameraPermission/src/android/permission/cts/appthatrequestcustomcamerapermission/ |
D | RequestCameraPermission.java | 50 requestPermissions(new String[] {CAMERA}, 0); in onCreate() 69 requestPermissions(new String[] {CUSTOM_PERMISSION}, 1), 500); in onRequestPermissionsResult()
|
/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/services/Car/tests/AdasLocationTestApp/src/com/google/android/car/adaslocation/ |
D | AdasLocationActivity.java | 173 requestPermissions(missingPermissions); in initPermissions() 183 private void requestPermissions(Set<String> permissions) { in requestPermissions() method in AdasLocationActivity 184 requestPermissions(permissions.toArray(new String[permissions.size()]), in requestPermissions()
|
/packages/modules/Permission/tests/cts/permissionui/CreateNotificationChannelsApp31/src/android/permissionui/cts/usepermission/ |
D | CreateNotificationChannelsActivity.kt | 96 requestPermissions(arrayOf(Manifest.permission.RECORD_AUDIO), 0) in handleIntent() 100 requestPermissions(arrayOf(Manifest.permission.POST_NOTIFICATIONS), 0) in handleIntent()
|
/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/modules/Permission/tests/cts/permission/AppThatRequestPermissionAandC/src/android/permission/cts/appthatrequestpermission/ |
D | RequestPermission.java | 27 requestPermissions(new String[] {"android.permission.cts.appthatrequestpermission.A", in onCreate()
|
/packages/modules/Permission/tests/cts/permission/AppThatRequestPermissionAandB/src/android/permission/cts/appthatrequestpermission/ |
D | RequestPermission.java | 27 requestPermissions(new String[] {"android.permission.cts.appthatrequestpermission.A", in onCreate()
|
/packages/modules/Permission/tests/cts/permission/AppThatRequestOneTimePermission/src/android/permission/cts/appthatrequestpermission/ |
D | RequestPermission.java | 27 requestPermissions(new String[] {"android.permission.ACCESS_FINE_LOCATION"}, 0); in onCreate()
|
/packages/providers/MediaProvider/tools/dialogs/src/com/android/providers/media/tools/dialogs/ |
D | DialogsActivity.java | 72 requestPermissions(new String[]{READ_EXTERNAL_STORAGE, WRITE_EXTERNAL_STORAGE}, 42); in onCreate() 81 requestPermissions( in onCreate()
|
/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/modules/Permission/tests/cts/permissionui/AppThatStartsTwoPermissionDialogs/src/android/permissionui/cts/usepermission/ |
D | Activity2.kt | 27 requestPermissions(arrayOf(Manifest.permission.CALL_PHONE), 3) in onCreate()
|
D | Activity1.kt | 29 requestPermissions(arrayOf(READ_CONTACTS), 2) in onCreate()
|
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/ |
D | PermissionsActivity.java | 30 requestPermissions(Utils.PERMISSIONS, REQUEST_CODE); in onCreate()
|
/packages/modules/Permission/tests/cts/permission/AppThatDefinesUndefinedPermissionGroupElement/src/android/permission/cts/appthatrequestpermission/ |
D | RequestPermissions.kt | 33 requestPermissions(permissions, 0) in onCreate()
|
/packages/modules/Permission/tests/cts/permissionui/UsePermissionApp30WithBackground/src/android/permissionui/cts/usepermission/ |
D | RequestPermissionsActivity.kt | 34 requestPermissions(permissions, 1) in onCreate()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/sensor/ |
D | SensorsTestFragment.java | 254 requestPermissions(missingPermissions); in initPermissions() 268 private void requestPermissions(Set<String> permissions) { in requestPermissions() method in SensorsTestFragment 270 requestPermissions(permissions.toArray(new String[permissions.size()]), in requestPermissions()
|
/packages/modules/Permission/tests/cts/permissionmultidevice/AccessRemoteDeviceCameraApp/src/android/permissionmultidevice/cts/accessremotedevicecamera/ |
D | RequestPermissionActivity.kt | 39 requestPermissions(DEVICE_AWARE_PERMISSIONS, 1001, deviceId) in onCreate()
|
/packages/modules/Permission/tests/cts/permissionui/UsePermissionAppWithOverlay/src/android/permissionui/cts/usepermission/ |
D | RequestPermissionsActivity.kt | 69 requestPermissions(permissions, 1) in eventuallyRequestPermission()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
D | SpellCheckerSettingsFragment.java | 75 get(getActivity() /* context */).requestPermissions(this /* PermissionsResultCallback */, in onSharedPreferenceChanged()
|