Home
last modified time | relevance | path

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

/frameworks/support/compat/tests/java/android/support/v4/content/
DContextCompatTest.java133 ContextCompat.checkSelfPermission(mContext, null); in testCheckSelfPermissionNull()
139 ContextCompat.checkSelfPermission(mContext, in testCheckSelfPermission()
142 ContextCompat.checkSelfPermission(mContext, in testCheckSelfPermission()
148 ContextCompat.checkSelfPermission(mContext, in testCheckSelfPermission()
151 ContextCompat.checkSelfPermission(mContext, in testCheckSelfPermission()
154 ContextCompat.checkSelfPermission(mContext, in testCheckSelfPermission()
157 ContextCompat.checkSelfPermission(mContext, in testCheckSelfPermission()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DTwilightManager.java103 int permission = PermissionChecker.checkSelfPermission(mContext, in getLastKnownLocation()
109 permission = PermissionChecker.checkSelfPermission(mContext, in getLastKnownLocation()
/frameworks/support/core-utils/java/android/support/v4/content/
DPermissionChecker.java123 public static int checkSelfPermission(@NonNull Context context, in checkSelfPermission() method in PermissionChecker
/frameworks/base/docs/html/training/permissions/
Drequesting.jd127 android.support.v4.content.ContextCompat#checkSelfPermission
128 ContextCompat.checkSelfPermission()} method. For example, this snippet shows how to
133 int permissionCheck = ContextCompat.checkSelfPermission(thisActivity,
224 if (ContextCompat.checkSelfPermission(thisActivity,
/frameworks/support/compat/java/android/support/v4/content/
DContextCompat.java421 public static int checkSelfPermission(@NonNull Context context, @NonNull String permission) { in checkSelfPermission() method in ContextCompat
/frameworks/base/core/java/android/content/
DContextWrapper.java689 public int checkSelfPermission(String permission) { in checkSelfPermission() method in ContextWrapper
690 return mBase.checkSelfPermission(permission); in checkSelfPermission()
DContext.java3735 public abstract int checkSelfPermission(@NonNull String permission); in checkSelfPermission() method in Context
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoLand.java253 if (checkSelfPermission(Manifest.permission.WRITE_EXTERNAL_STORAGE) in onBindViewHolder()
/frameworks/base/test-runner/src/android/test/mock/
DMockContext.java577 public int checkSelfPermission(String permission) { in checkSelfPermission() method in MockContext
/frameworks/base/docs/html/training/articles/
Dwear-permissions.jd312 …id.support.v4.content.ContextCompat#checkSelfPermission(android.content.Context,java.lang.String)
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerTestService.java403 return getBaseContext().checkSelfPermission(Manifest.permission.RECORD_AUDIO) in hasMicrophonePermission()
/frameworks/base/docs/html/about/versions/marshmallow/
Dandroid-6.0-changes.jd61 new {@link android.content.Context#checkSelfPermission(java.lang.String) checkSelfPermission()}
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java1187 public int checkSelfPermission(String arg0) { in checkSelfPermission() method in BridgeContext
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java6133 mContext.checkSelfPermission( in getParentProfileInstance()
/frameworks/base/core/java/android/app/
DContextImpl.java1573 public int checkSelfPermission(String permission) { in checkSelfPermission() method in ContextImpl
/frameworks/support/api/
Dcurrent.txt4672 method public static int checkSelfPermission(android.content.Context, java.lang.String);
4792 method public static int checkSelfPermission(android.content.Context, java.lang.String);
/frameworks/base/api/
Dtest-current.txt8052 method public abstract int checkSelfPermission(java.lang.String);
8247 method public int checkSelfPermission(java.lang.String);
38003 method public int checkSelfPermission(java.lang.String);
Dcurrent.txt8045 method public abstract int checkSelfPermission(java.lang.String);
8239 method public int checkSelfPermission(java.lang.String);
37924 method public int checkSelfPermission(java.lang.String);
Dsystem-current.txt8369 method public abstract int checkSelfPermission(java.lang.String);
8574 method public int checkSelfPermission(java.lang.String);
41089 method public int checkSelfPermission(java.lang.String);