/packages/experimental/PermissionApp/src/foo/bar/permission/ |
D | PermissionActivity.java | 112 requestPermissions(); in onOptionsItemSelected() 169 requestPermissions(); in onBackPressed() 226 requestPermissions(new String[] {Manifest.permission.READ_CONTACTS}, in showContacts() 240 requestPermissions(new String[]{Manifest.permission.READ_CALENDAR}, in showEvents() 251 private void requestPermissions() { in requestPermissions() method in PermissionActivity 262 requestPermissions(permissions.toArray(new String[0]), in requestPermissions()
|
/packages/experimental/PermissionApp2/src/foo/bar/permission2/ |
D | PermissionActivity.java | 111 requestPermissions(); in onOptionsItemSelected() 207 ActivityCompat.requestPermissions(this, new String[]{ in showContacts() 226 ActivityCompat.requestPermissions(this, new String[]{ in showEvents() 238 private void requestPermissions() { in requestPermissions() method in PermissionActivity 247 ActivityCompat.requestPermissions(this, permissions, in requestPermissions()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/activity/ |
D | RequestPermissionsActivityBase.java | 74 requestPermissions(); in onCreate() 118 private void requestPermissions() { in requestPermissions() method in RequestPermissionsActivityBase 133 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/services/Car/car-support-lib/src/android/support/car/app/ |
D | CarActivity.java | 69 public void requestPermissions(String[] permissions, int requestCode) { in requestPermissions() method in CarActivity.Proxy 186 public void requestPermissions(String[] permissions, int requestCode) { in requestPermissions() method in CarActivity 191 mProxy.requestPermissions(permissions, requestCode); in requestPermissions()
|
D | CarProxyActivity.java | 130 public void requestPermissions(String[] permissions, int requestCode) { 131 CarProxyActivity.this.requestPermissions(permissions, requestCode);
|
D | CarFragmentActivity.java | 695 super.requestPermissions(permissions, requestCode); in requestPermissionsFromFragment() 703 super.requestPermissions(permissions, in requestPermissionsFromFragment()
|
/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/mediapicker/ |
D | AudioMediaChooser.java | 117 mMediaPicker.requestPermissions(new String[] { Manifest.permission.RECORD_AUDIO }, in requestRecordAudioPermission()
|
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 | GalleryMediaChooser.java | 198 mMediaPicker.requestPermissions( in setSelected()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | PermissionCheckActivity.java | 100 requestPermissions(missingPermissions, REQUIRED_PERMISSIONS_REQUEST_CODE); in tryRequestPermission()
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
D | SmartDialSearchFragment.java | 114 FragmentCompat.requestPermissions(this, new String[] {CALL_PHONE}, in onEmptyViewActionButtonClicked()
|
D | RegularSearchFragment.java | 129 FragmentCompat.requestPermissions(this, new String[] {mPermissionToRequest}, in onEmptyViewActionButtonClicked()
|
D | AllContactsFragment.java | 179 FragmentCompat.requestPermissions(this, new String[] {READ_CONTACTS}, in onEmptyViewActionButtonClicked()
|
D | SpeedDialFragment.java | 487 FragmentCompat.requestPermissions(this, new String[] {READ_CONTACTS}, in onEmptyViewActionButtonClicked()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | CorrectionSettingsFragment.java | 135 PermissionsManager.get(getActivity() /* context */).requestPermissions( in onSharedPreferenceChanged()
|
/packages/apps/TV/src/com/android/tv/onboarding/ |
D | OnboardingActivity.java | 83 requestPermissions(new String[]{PERMISSION_READ_TV_LISTINGS}, in onCreate()
|
/packages/apps/HTMLViewer/src/com/android/htmlviewer/ |
D | HTMLViewerActivity.java | 98 requestPermissions(new String[] {Manifest.permission.READ_EXTERNAL_STORAGE}, 0); in requestPermissionAndLoad()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | PermissionsActivity.java | 169 requestPermissions(permissionsToRequest, PERMISSION_REQUEST_CODE); in buildPermissionsRequest()
|
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/ |
D | BuglePhotoViewController.java | 165 ((Activity)getActivity()).requestPermissions( in onOptionsItemSelected()
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
D | CallLogFragment.java | 491 FragmentCompat.requestPermissions(this, new String[] {READ_CALL_LOG}, in onEmptyViewActionButtonClicked()
|
/packages/apps/Browser2/src/org/chromium/webview_shell/ |
D | WebViewBrowserActivity.java | 308 requestPermissions(androidPermissionsNeeded.toArray(new String[0]), requestCode); in requestPermissionsForPage()
|