Home
last modified time | relevance | path

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

/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/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/packages/EasterEgg/src/com/android/egg/neko/
DNekoLand.java257 if (checkSelfPermission(Manifest.permission.WRITE_EXTERNAL_STORAGE) in onBindViewHolder()
/frameworks/base/core/java/android/content/
DContextWrapper.java833 public int checkSelfPermission(String permission) { in checkSelfPermission() method in ContextWrapper
834 return mBase.checkSelfPermission(permission); in checkSelfPermission()
DContext.java5249 public abstract int checkSelfPermission(@NonNull String permission); in checkSelfPermission() method in Context
/frameworks/base/core/java/android/permission/
DPermissionControllerManager.java253 if (mContext.checkSelfPermission(requiredPermission) in enforceSomePermissionsGrantedToSelf()
/frameworks/base/test-mock/src/android/test/mock/
DMockContext.java679 public int checkSelfPermission(String permission) { in checkSelfPermission() method in MockContext
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerTestService.java416 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.java2469 if (fallbackContext.checkSelfPermission(WRITE_SECURE_SETTINGS) in setInputMethod()
2878 if (fallbackContext.checkSelfPermission(WRITE_SECURE_SETTINGS) in setCurrentInputMethodSubtype()
/frameworks/base/test-mock/api/
Dcurrent.txt41 method public int checkSelfPermission(String);
/frameworks/base/core/java/android/content/pm/
DLauncherApps.java635 && mContext.checkSelfPermission(permission.INTERACT_ACROSS_USERS_FULL) in logErrorForInvalidProfileAccess()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java1297 public int checkSelfPermission(String arg0) { in checkSelfPermission() method in BridgeContext
/frameworks/base/core/java/android/app/
DContextImpl.java2002 public int checkSelfPermission(String permission) { in checkSelfPermission() method in ContextImpl
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java10161 mContext.checkSelfPermission( in getParentProfileInstance()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java3359 when(mContext.checkSelfPermission( in testStartSubscriptionProvisioningWithoutPermissions()
/frameworks/base/core/java/android/widget/
DEditor.java7610 || mContext.checkSelfPermission(info.activityInfo.permission) in isSupportedActivity()
DTextView.java11348 if (getContext().checkSelfPermission(INTERACT_ACROSS_USERS_FULL) in setTextOperationUser()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/config/
Dboot-image-profile.txt1680 HSPLandroid/app/ContextImpl;->checkSelfPermission(Ljava/lang/String;)I
4965 HSPLandroid/content/ContextWrapper;->checkSelfPermission(Ljava/lang/String;)I
/frameworks/base/api/
Dcurrent.txt10032 method public abstract int checkSelfPermission(@NonNull String);
10258 method public int checkSelfPermission(String);