Home
last modified time | relevance | path

Searched refs:requestPermissions (Results 1 – 25 of 31) sorted by relevance

12

/packages/experimental/PermissionApp/src/foo/bar/permission/
DPermissionActivity.java112 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/
DPermissionActivity.java111 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/
DRequestPermissionsActivityBase.java74 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/
DPermissionsUtil.java59 public static void requestPermissions(Activity activity, int requestCode, in requestPermissions() method in PermissionsUtil
61 ActivityCompat.requestPermissions(activity, permissions, requestCode); in requestPermissions()
DPermissionsManager.java62 public synchronized void requestPermissions(@Nonnull PermissionsResultCallback callback, in requestPermissions() method in PermissionsManager
77 PermissionsUtil.requestPermissions(activity, requestId, permissionsArray); in requestPermissions()
DPermissionsActivity.java85 PermissionsUtil.requestPermissions(this, mPendingRequestCode, permissionsToRequest); in onResume()
/packages/services/Car/car-support-lib/src/android/support/car/app/
DCarActivity.java69 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()
DCarProxyActivity.java130 public void requestPermissions(String[] permissions, int requestCode) {
131 CarProxyActivity.this.requestPermissions(permissions, requestCode);
DCarFragmentActivity.java695 super.requestPermissions(permissions, requestCode); in requestPermissionsFromFragment()
703 super.requestPermissions(permissions, in requestPermissionsFromFragment()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DSpellCheckerSettingsFragment.java75 get(getActivity() /* context */).requestPermissions(this /* PermissionsResultCallback */, in onSharedPreferenceChanged()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DAudioMediaChooser.java117 mMediaPicker.requestPermissions(new String[] { Manifest.permission.RECORD_AUDIO }, in requestRecordAudioPermission()
DCameraMediaChooser.java272 mMediaPicker.requestPermissions(new String[] { Manifest.permission.CAMERA }, in requestCameraPermission()
277 mMediaPicker.requestPermissions(new String[] { Manifest.permission.RECORD_AUDIO }, in requestRecordAudioPermission()
DGalleryMediaChooser.java198 mMediaPicker.requestPermissions( in setSelected()
/packages/apps/Messaging/src/com/android/messaging/ui/
DPermissionCheckActivity.java100 requestPermissions(missingPermissions, REQUIRED_PERMISSIONS_REQUEST_CODE); in tryRequestPermission()
/packages/apps/Dialer/src/com/android/dialer/list/
DSmartDialSearchFragment.java114 FragmentCompat.requestPermissions(this, new String[] {CALL_PHONE}, in onEmptyViewActionButtonClicked()
DRegularSearchFragment.java129 FragmentCompat.requestPermissions(this, new String[] {mPermissionToRequest}, in onEmptyViewActionButtonClicked()
DAllContactsFragment.java179 FragmentCompat.requestPermissions(this, new String[] {READ_CONTACTS}, in onEmptyViewActionButtonClicked()
DSpeedDialFragment.java487 FragmentCompat.requestPermissions(this, new String[] {READ_CONTACTS}, in onEmptyViewActionButtonClicked()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DCorrectionSettingsFragment.java135 PermissionsManager.get(getActivity() /* context */).requestPermissions( in onSharedPreferenceChanged()
/packages/apps/TV/src/com/android/tv/onboarding/
DOnboardingActivity.java83 requestPermissions(new String[]{PERMISSION_READ_TV_LISTINGS}, in onCreate()
/packages/apps/HTMLViewer/src/com/android/htmlviewer/
DHTMLViewerActivity.java98 requestPermissions(new String[] {Manifest.permission.READ_EXTERNAL_STORAGE}, 0); in requestPermissionAndLoad()
/packages/apps/Camera2/src/com/android/camera/
DPermissionsActivity.java169 requestPermissions(permissionsToRequest, PERMISSION_REQUEST_CODE); in buildPermissionsRequest()
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/
DBuglePhotoViewController.java165 ((Activity)getActivity()).requestPermissions( in onOptionsItemSelected()
/packages/apps/Dialer/src/com/android/dialer/calllog/
DCallLogFragment.java491 FragmentCompat.requestPermissions(this, new String[] {READ_CALL_LOG}, in onEmptyViewActionButtonClicked()
/packages/apps/Browser2/src/org/chromium/webview_shell/
DWebViewBrowserActivity.java308 requestPermissions(androidPermissionsNeeded.toArray(new String[0]), requestCode); in requestPermissionsForPage()

12