Home
last modified time | relevance | path

Searched refs:checkSelfPermission (Results 1 – 22 of 22) 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 setDummyIme()
/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.java782 public int checkSelfPermission(String permission) { in checkSelfPermission() method in ContextWrapper
783 return mBase.checkSelfPermission(permission); in checkSelfPermission()
DContext.java4763 public abstract int checkSelfPermission(@NonNull String permission); in checkSelfPermission() method in Context
/frameworks/base/test-mock/src/android/test/mock/
DMockContext.java646 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.java2356 if (fallbackContext.checkSelfPermission(WRITE_SECURE_SETTINGS) in setInputMethod()
2763 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.java1880 public int checkSelfPermission(String permission) { in checkSelfPermission() method in ContextImpl
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java9294 mContext.checkSelfPermission( in getParentProfileInstance()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java2640 when(mContext.checkSelfPermission( in testStartSubscriptionProvisioningWithoutPermissions()
/frameworks/base/core/java/android/widget/
DEditor.java7101 || mContext.checkSelfPermission(info.activityInfo.permission)
DTextView.java11248 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.txt14731 Landroid/content/PermissionChecker;->checkSelfPermission(Landroid/content/Context;Ljava/lang/String…
/frameworks/base/api/
Dcurrent.txt9680 method public abstract int checkSelfPermission(@NonNull String);
9895 method public int checkSelfPermission(String);