Home
last modified time | relevance | path

Searched refs:checkSelfPermission (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DScreenRecordDialog.java61 if (mUseAudio && checkSelfPermission(Manifest.permission.RECORD_AUDIO) in onCreate()
109 int permission = checkSelfPermission(Manifest.permission.WRITE_EXTERNAL_STORAGE); in onActivityResult()
120 int videoPermission = checkSelfPermission( in onActivityResult()
122 int audioPermission = checkSelfPermission(Manifest.permission.RECORD_AUDIO); in onActivityResult()
/frameworks/base/apct-tests/perftests/core/src/android/accounts/
DAccountManagerPerfTest.java46 if (context.checkSelfPermission(Manifest.permission.GET_ACCOUNTS) in testGetAccounts()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestCase.java149 if (context.checkSelfPermission(android.Manifest.permission.WRITE_SECURE_SETTINGS) in setStubIme()
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/
DAudioVolumesTestBase.java113 mContext.checkSelfPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING)); in setUp()
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DMainActivity.java94 int permissionCheck = ContextCompat.checkSelfPermission(this, in checkPermission()
/frameworks/base/tests/testables/src/android/testing/
DTestableContext.java348 public int checkSelfPermission(String permission) { in checkSelfPermission() method in TestableContext
352 return super.checkSelfPermission(permission); in checkSelfPermission()
/frameworks/base/core/java/android/content/
DContextWrapper.java815 public int checkSelfPermission(String permission) { in checkSelfPermission() method in ContextWrapper
816 return mBase.checkSelfPermission(permission); in checkSelfPermission()
DContext.java4996 public abstract int checkSelfPermission(@NonNull String permission); in checkSelfPermission() method in Context
/frameworks/base/test-mock/src/android/test/mock/
DMockContext.java669 public int checkSelfPermission(String permission) { in checkSelfPermission() method in MockContext
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerTestService.java411 return getBaseContext().checkSelfPermission(Manifest.permission.RECORD_AUDIO) in hasMicrophonePermission()
/frameworks/base/media/java/android/media/tv/
DTvView.java854 return getContext().checkSelfPermission( in checkChangeHdmiCecActiveSourcePermission()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodManager.java2357 if (fallbackContext.checkSelfPermission(WRITE_SECURE_SETTINGS) in setInputMethod()
2764 if (fallbackContext.checkSelfPermission(WRITE_SECURE_SETTINGS) in setCurrentInputMethodSubtype()
/frameworks/base/core/java/android/permission/
DPermissionControllerManager.java272 if (mContext.checkSelfPermission(Manifest.permission.REVOKE_RUNTIME_PERMISSIONS) in revokeRuntimePermissions()
/frameworks/base/test-mock/api/
Dcurrent.txt41 method public int checkSelfPermission(String);
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java1257 public int checkSelfPermission(String arg0) { in checkSelfPermission() method in BridgeContext
/frameworks/base/core/java/android/app/
DContextImpl.java1929 public int checkSelfPermission(String permission) { in checkSelfPermission() method in ContextImpl
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java9318 mContext.checkSelfPermission( in getParentProfileInstance()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java2795 when(mContext.checkSelfPermission( in testStartSubscriptionProvisioningWithoutPermissions()
/frameworks/base/core/java/android/widget/
DEditor.java7101 || mContext.checkSelfPermission(info.activityInfo.permission)
DTextView.java11270 if (getContext().checkSelfPermission(INTERACT_ACROSS_USERS_FULL) in setTextOperationUser()
/frameworks/base/config/
Dboot-image-profile.txt1171 HSPLandroid/app/ContextImpl;->checkSelfPermission(Ljava/lang/String;)I
3563 HSPLandroid/content/ContextWrapper;->checkSelfPermission(Ljava/lang/String;)I
Dhiddenapi-greylist-max-o.txt13795 Landroid/content/PermissionChecker;->checkSelfPermission(Landroid/content/Context;Ljava/lang/String…
/frameworks/base/non-updatable-api/
Dcurrent.txt9685 method public abstract int checkSelfPermission(@NonNull String);
9904 method public int checkSelfPermission(String);
/frameworks/base/api/
Dcurrent.txt9685 method public abstract int checkSelfPermission(@NonNull String);
9904 method public int checkSelfPermission(String);