Home
last modified time | relevance | path

Searched refs:readPermission (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DProviderInfo.java38 public String readPermission = null; field in ProviderInfo
106 readPermission = orig.readPermission; in ProviderInfo()
130 out.writeString(readPermission); in writeToParcel()
159 readPermission = in.readString(); in ProviderInfo()
DPathPermission.java31 public PathPermission(String pattern, int type, String readPermission, in PathPermission() argument
34 mReadPermission = readPermission; in PathPermission()
DPackageParser.java3473 p.info.readPermission = owner.applicationInfo.permission; in parseProvider()
3475 p.info.readPermission = in parseProvider()
3630 String readPermission = sa.getNonConfigurationString( in parseProviderTags() local
3632 if (readPermission == null) { in parseProviderTags()
3633 readPermission = permission; in parseProviderTags()
3642 if (readPermission != null) { in parseProviderTags()
3643 readPermission = readPermission.intern(); in parseProviderTags()
3668 PatternMatcher.PATTERN_LITERAL, readPermission, writePermission); in parseProviderTags()
3675 PatternMatcher.PATTERN_PREFIX, readPermission, writePermission); in parseProviderTags()
3682 PatternMatcher.PATTERN_SIMPLE_GLOB, readPermission, writePermission); in parseProviderTags()
/frameworks/base/docs/html/guide/topics/manifest/
Dpath-permission-element.jd13 android:<a href="#readPermission">readPermission</a>="<i>string</i>"
79 <code>readPermission</code> and
84 <dt><a name="readPermission"></a>{@code android:readPermission}</dt>
Dprovider-element.jd21 android:<a href="#rprmsn">readPermission</a>="<i>string</i>"
146 <code><a href="{@docRoot}guide/topics/manifest/provider-element.html#rprmsn">readPermission</a></co…
247 <code><a href="#rprmsn">readPermission</a></code> and
249 …e><a href="{@docRoot}guide/topics/manifest/provider-element.html#rprmsn">readPermission</a></code>
283 <dt><a name="rprmsn"></a>{@code android:readPermission}</dt>
297 <code><a href="#rprmsn">readPermission</a></code> attributes.</dd>
/frameworks/base/test-runner/src/android/test/mock/
DMockContentProvider.java182 String readPermission, in MockContentProvider() argument
185 super(context, readPermission, writePermission, pathPermissions); in MockContentProvider()
DMockContext.java551 public int checkUriPermission(Uri uri, String readPermission, in checkUriPermission() argument
575 Uri uri, String readPermission, String writePermission, in enforceUriPermission() argument
/frameworks/base/core/java/android/content/
DContextWrapper.java635 public int checkUriPermission(Uri uri, String readPermission, in checkUriPermission() argument
637 return mBase.checkUriPermission(uri, readPermission, writePermission, in checkUriPermission()
661 Uri uri, String readPermission, String writePermission, in enforceUriPermission() argument
664 uri, readPermission, writePermission, pid, uid, modeFlags, in enforceUriPermission()
DContext.java3198 public abstract int checkUriPermission(@Nullable Uri uri, @Nullable String readPermission, in checkUriPermission() argument
3287 @Nullable Uri uri, @Nullable String readPermission, in enforceUriPermission() argument
DContentProvider.java150 String readPermission, in ContentProvider() argument
154 mReadPermission = readPermission; in ContentProvider()
1689 setReadPermission(info.readPermission); in attachInfo()
/frameworks/base/core/java/android/provider/
DSearchIndexablesProvider.java96 if (!android.Manifest.permission.READ_SEARCH_INDEXABLES.equals(info.readPermission)) { in attachInfo()
DDocumentsProvider.java166 if (!android.Manifest.permission.MANAGE_DOCUMENTS.equals(info.readPermission) in attachInfo()
/frameworks/base/services/core/java/com/android/server/
DSystemConfig.java240 readPermission(parser, perm); in readPermissionsFromXml()
364 void readPermission(XmlPullParser parser, String name) in readPermission() method in SystemConfig
/frameworks/base/test-runner/src/android/test/
DIsolatedContext.java104 Uri uri, String readPermission, String writePermission, int pid, in checkUriPermission() argument
/frameworks/base/core/java/android/app/
DContextImpl.java2014 public int checkUriPermission(Uri uri, String readPermission, in checkUriPermission() argument
2018 + readPermission + " writePermission=" + writePermission in checkUriPermission()
2022 if (readPermission == null in checkUriPermission()
2023 || checkPermission(readPermission, pid, uid) in checkUriPermission()
2102 Uri uri, String readPermission, String writePermission, in enforceUriPermission() argument
2106 uri, readPermission, writePermission, pid, uid, in enforceUriPermission()
/frameworks/base/docs/html/guide/topics/security/
Dpermissions.jd343 {@link android.R.attr#readPermission android:readPermission} restricts who
/frameworks/base/docs/html/guide/topics/search/
Dadding-custom-suggestions.jd617 android:readPermission="com.example.provider.READ_MY_DATA"
620 android:readPermission="android.permission.GLOBAL_SEARCH" /&gt;
/frameworks/base/docs/html/guide/topics/providers/
Dcontent-provider-creating.jd970 android:readPermission</a></code> and
1104 android:readPermission</a></code>: Provider-wide read permission.
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java6926 if (!readMet && pi.readPermission != null && considerUidPermissions
6927 && (pm.checkUidPermission(pi.readPermission, uid) == PERMISSION_GRANTED)) {
6937 boolean allowDefaultRead = pi.readPermission == null;
7159 if (pi.readPermission != null) { in checkGrantUriPermissionLocked()
8995 if (checkComponentPermission(cpi.readPermission, callingPid, callingUid,
9040 + cpi.readPermission + " or " + cpi.writePermission;
/frameworks/base/api/
Dsystem-current.txt1062 field public static final int readPermission = 16842759; // 0x1010007
9263 field public java.lang.String readPermission;
Dcurrent.txt992 field public static final int readPermission = 16842759; // 0x1010007
8957 field public java.lang.String readPermission;