HomeSort by relevance Sort by last modified time
    Searched refs:UriPermission (Results 1 - 11 of 11) sorted by null

  /frameworks/base/core/java/android/content/
UriPermission.java 31 public final class UriPermission implements Parcelable {
42 public UriPermission(Uri uri, int modeFlags, long persistedTime) {
49 public UriPermission(Parcel in) {
90 return "UriPermission {uri=" + mUri + ", modeFlags=" + mModeFlags + ", persistedTime="
106 public static final Creator<UriPermission> CREATOR = new Creator<UriPermission>() {
108 public UriPermission createFromParcel(Parcel source) {
109 return new UriPermission(source);
113 public UriPermission[] newArray(int size) {
114 return new UriPermission[size]
    [all...]
ContentResolver.java     [all...]
  /frameworks/base/services/java/com/android/server/am/
UriPermissionOwner.java 33 HashSet<UriPermission> readUriPermissions; // special access to reading uris.
34 HashSet<UriPermission> writeUriPermissions; // special access to writing uris.
69 for (UriPermission perm : readUriPermissions) {
77 for (UriPermission perm : writeUriPermissions) {
88 Iterator<UriPermission> it = readUriPermissions.iterator();
90 UriPermission perm = it.next();
103 Iterator<UriPermission> it = writeUriPermissions.iterator();
105 UriPermission perm = it.next();
118 public void addReadPermission(UriPermission perm) {
120 readUriPermissions = new HashSet<UriPermission>();
    [all...]
UriPermission.java 38 final class UriPermission {
39 private static final String TAG = "UriPermission";
86 UriPermission(String sourcePkg, String targetPkg, int targetUid, Uri uri) {
278 sb.append("UriPermission{");
321 public static class PersistedTimeComparator implements Comparator<UriPermission> {
323 public int compare(UriPermission lhs, UriPermission rhs) {
329 * Snapshot of {@link UriPermission} with frozen
330 * {@link UriPermission#persistedModeFlags} state.
340 private Snapshot(UriPermission perm)
    [all...]
ActivityManagerService.java 727 * This optimized lookup structure maps from {@link UriPermission#targetUid}
728 * to {@link UriPermission#uri} to {@link UriPermission}.
731 private final SparseArray<ArrayMap<Uri, UriPermission>>
732 mGrantedUriPermissions = new SparseArray<ArrayMap<Uri, UriPermission>>();
    [all...]
  /cts/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/
GrantUriPermission.java 22 import android.content.UriPermission;
82 final List<UriPermission> perms = context.getContentResolver()
89 final UriPermission perm = perms.get(0);
  /cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
AccessPermissionWithDiffSigTest.java 26 import android.content.UriPermission;
    [all...]
  /frameworks/base/core/java/android/app/
IActivityManager.java 30 import android.content.UriPermission;
218 public ParceledListSlice<UriPermission> getPersistedUriPermissions(
    [all...]
ActivityManagerNative.java 26 import android.content.UriPermission;
    [all...]
  /prebuilts/sdk/19/
android.jar 
  /prebuilts/sdk/current/
android.jar 

Completed in 234 milliseconds