Searched refs:requestPermissions (Results 1 - 17 of 17) sorted by relevance

/frameworks/support/leanback/src/main/java/androidx/leanback/app/
H A DPermissionHelper.java28 public static void requestPermissions(android.app.Fragment fragment, String[] permissions, method in class:PermissionHelper
31 fragment.requestPermissions(permissions, requestCode);
H A DSearchFragment.java62 * 0 will be used as requestCode in requestPermissions() call.
240 PermissionHelper.requestPermissions(SearchFragment.this,
H A DSearchSupportFragment.java59 * 0 will be used as requestCode in requestPermissions() call.
235 requestPermissions(new String[]{Manifest.permission.RECORD_AUDIO},
/frameworks/support/legacy/v13/src/main/java/androidx/legacy/app/
H A DFragmentCompat.java49 void requestPermissions(Fragment fragment, String[] permissions, int requestCode); method in interface:FragmentCompat.FragmentCompatImpl
72 * {@link FragmentCompat#requestPermissions(Fragment, String[], int)}, and request
84 * @see FragmentCompat#requestPermissions(Fragment, String[], int)
90 boolean requestPermissions(Fragment fragment, String[] permissions, int requestCode); method in interface:FragmentCompat.PermissionCompatDelegate
98 public void requestPermissions(final Fragment fragment, final String[] permissions, method in class:FragmentCompat.FragmentCompatBaseImpl
142 public void requestPermissions(Fragment fragment, String[] permissions, int requestCode) { method in class:FragmentCompat.FragmentCompatApi23Impl
143 fragment.requestPermissions(permissions, requestCode);
212 * is invoked for every call on {@link #requestPermissions(android.app.Fragment,
215 * @param requestCode The request code passed in {@link #requestPermissions(
222 * @see #requestPermissions(androi
311 public static void requestPermissions(@NonNull Fragment fragment, method in class:FragmentCompat
[all...]
/frameworks/support/compat/src/androidTest/java/androidx/core/app/
H A DActivityCompatTest.java60 ActivityCompat.requestPermissions(activity, new String[]{
62 verify(delegate).requestPermissions(same(activity), aryEq(
68 ActivityCompat.requestPermissions(activity, new String[]{
/frameworks/opt/chips/sample/src/com/android/ex/chips/sample/
H A DMainActivity.java65 requestPermissions(permissions, 0 /* requestCode */);
/frameworks/support/compat/src/main/java/androidx/core/app/
H A DActivityCompat.java59 * is invoked for every call on {@link #requestPermissions(android.app.Activity,
67 * @param requestCode The request code passed in {@link #requestPermissions(
74 * @see #requestPermissions(android.app.Activity, String[], int)
95 * {@link ActivityCompat#requestPermissions(Activity, String[], int)}, and request
108 * @see ActivityCompat#requestPermissions(Activity, String[], int)
110 boolean requestPermissions(@NonNull Activity activity, method in interface:ActivityCompat.PermissionCompatDelegate
129 * @see ActivityCompat#requestPermissions(Activity, String[], int)
496 public static void requestPermissions(final @NonNull Activity activity, method in class:ActivityCompat
499 && sDelegate.requestPermissions(activity, permissions, requestCode)) {
509 activity.requestPermissions(permission
[all...]
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
H A DMainActivity.java116 ActivityCompat.requestPermissions(this,
/frameworks/support/fragment/src/main/java/androidx/fragment/app/
H A DFragmentActivity.java800 // requesting permissions from a fragment. Hence, requestPermissions()
814 * is invoked for every call on {@link #requestPermissions(String[], int)}.
821 * @param requestCode The request code passed in {@link #requestPermissions(String[], int)}.
827 * @see #requestPermissions(String[], int)
925 * Called by Fragment.requestPermissions() to implement its behavior.
930 ActivityCompat.requestPermissions(this, permissions, requestCode);
937 ActivityCompat.requestPermissions(this, permissions,
H A DFragment.java1170 * requestPermissions(new String[]{Manifest.permission.READ_CONTACTS},
1194 public final void requestPermissions(@NonNull String[] permissions, int requestCode) { method in class:Fragment
1203 * is invoked for every call on {@link #requestPermissions(String[], int)}.
1210 * @param requestCode The request code passed in {@link #requestPermissions(String[], int)}.
1216 * @see #requestPermissions(String[], int)
1240 * @see #requestPermissions(String[], int)
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
H A DSoundTriggerTestActivity.java263 requestPermissions(new String[]{Manifest.permission.RECORD_AUDIO},
/frameworks/support/frameworks/support/samples/SupportMediaDemos/src/main/java/com/example/androidx/media/
H A DVideoSelector.java85 requestPermissions(new String[] {Manifest.permission.READ_EXTERNAL_STORAGE},
/frameworks/support/samples/SupportMediaDemos/src/main/java/com/example/androidx/media/
H A DVideoSelector.java85 requestPermissions(new String[] {Manifest.permission.READ_EXTERNAL_STORAGE},
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
H A DNekoLand.java259 requestPermissions(
/frameworks/base/core/java/android/app/
H A DFragment.java1211 * requestPermissions(new String[]{Manifest.permission.READ_CONTACTS},
1236 public final void requestPermissions(@NonNull String[] permissions, int requestCode) { method in class:Fragment
1245 * is invoked for every call on {@link #requestPermissions(String[], int)}.
1252 * @param requestCode The request code passed in {@link #requestPermissions(String[], int)}.
1258 * @see #requestPermissions(String[], int)
1282 * @see #requestPermissions(String[], int)
H A DActivity.java750 private static final String REQUEST_PERMISSIONS_WHO_PREFIX = "@android:requestPermissions:";
4470 public final void requestPermissions(@NonNull String[] permissions, int requestCode) { method in class:Activity
4487 * is invoked for every call on {@link #requestPermissions(String[], int)}.
4494 * @param requestCode The request code passed in {@link #requestPermissions(String[], int)}.
4500 * @see #requestPermissions(String[], int)
4524 * @see #requestPermissions(String[], int)
/frameworks/base/config/
H A Dboot-image-profile.txt228 HPLandroid/app/Activity;->requestPermissions([Ljava/lang/String;I)V
[all...]

Completed in 317 milliseconds