/frameworks/base/core/tests/coretests/src/android/net/ |
D | UriTest.java | 43 Uri uri = builder.build(); in testToStringWithPathOnly() local 173 Uri uri = Uri.parse("http://localhost:42"); in testAuthorityParsing() local 230 Uri uri = Uri.parse("foo://bar/a%20a/b%20b"); in testPathSegmentDecoding() local 277 Uri uri = Uri.fromFile(f); in testFile() local 284 Uri uri = Uri.parse("content://user"); in testQueryParameters() local 305 Uri uri = Uri.parse("http://google.com./b/c/g"); in testHostWithTrailingDot() local 312 Uri uri = Uri.parse("empty:"); in testSchemeOnly() local 320 Uri uri = Uri.parse("content://user"); in testEmptyPath() local 326 Uri uri = Uri.parse("content://user/a/b"); in testPathOperations() local 362 Uri uri = Uri.parse("mailto:nobody"); in testOpaqueUri() local [all …]
|
/frameworks/base/core/java/android/content/ |
D | ContentInterface.java | 43 public @Nullable Cursor query(@NonNull Uri uri, @Nullable String[] projection, in query() 47 public @Nullable String getType(@NonNull Uri uri) throws RemoteException; in getType() 49 public @Nullable String[] getStreamTypes(@NonNull Uri uri, @NonNull String mimeTypeFilter) in getStreamTypes() 52 public @Nullable Uri canonicalize(@NonNull Uri uri) throws RemoteException; in canonicalize() 54 public @Nullable Uri uncanonicalize(@NonNull Uri uri) throws RemoteException; in uncanonicalize() 56 public boolean refresh(@NonNull Uri uri, @Nullable Bundle extras, in refresh() 59 public int checkUriPermission(@NonNull Uri uri, int uid, @Intent.AccessUriMode int modeFlags) in checkUriPermission() 62 public @Nullable Uri insert(@NonNull Uri uri, @Nullable ContentValues initialValues, in insert() 65 public int bulkInsert(@NonNull Uri uri, @NonNull ContentValues[] initialValues) in bulkInsert() 68 public int delete(@NonNull Uri uri, @Nullable Bundle extras) throws RemoteException; in delete() [all …]
|
D | LoggingContentInterface.java | 92 public @Nullable Cursor query(@NonNull Uri uri, @Nullable String[] projection, in query() 95 try (Logger l = new Logger("query", uri, projection, queryArgs, cancellationSignal)) { in query() argument 106 public @Nullable String getType(@NonNull Uri uri) throws RemoteException { in getType() 107 try (Logger l = new Logger("getType", uri)) { in getType() argument 118 public @Nullable String[] getStreamTypes(@NonNull Uri uri, @NonNull String mimeTypeFilter) in getStreamTypes() 120 try (Logger l = new Logger("getStreamTypes", uri, mimeTypeFilter)) { in getStreamTypes() argument 131 public @Nullable Uri canonicalize(@NonNull Uri uri) throws RemoteException { in canonicalize() 132 try (Logger l = new Logger("canonicalize", uri)) { in canonicalize() argument 143 public @Nullable Uri uncanonicalize(@NonNull Uri uri) throws RemoteException { in uncanonicalize() 144 try (Logger l = new Logger("uncanonicalize", uri)) { in uncanonicalize() argument [all …]
|
D | ContentProvider.java | 234 public Cursor query(String callingPkg, @Nullable String attributionTag, Uri uri, in query() 290 public String getType(Uri uri) { in getType() 305 public void getTypeAsync(Uri uri, RemoteCallback callback) { in getTypeAsync() 317 public Uri insert(String callingPkg, @Nullable String attributionTag, Uri uri, in insert() 346 public int bulkInsert(String callingPkg, @Nullable String attributionTag, Uri uri, in bulkInsert() 377 Uri uri = operation.getUri(); in applyBatch() local 423 public int delete(String callingPkg, @Nullable String attributionTag, Uri uri, in delete() 445 public int update(String callingPkg, @Nullable String attributionTag, Uri uri, in update() 468 Uri uri, String mode, ICancellationSignal cancellationSignal, IBinder callerToken) in openFile() 489 Uri uri, String mode, ICancellationSignal cancellationSignal) in openAssetFile() [all …]
|
/frameworks/base/core/java/android/app/slice/ |
D | SliceManager.java | 133 public void pinSlice(@NonNull Uri uri, @NonNull Set<SliceSpec> specs) { in pinSlice() 135 mService.pinSlice(mContext.getPackageName(), uri, in pinSlice() local 147 public void pinSlice(@NonNull Uri uri, @NonNull List<SliceSpec> specs) { in pinSlice() 165 public void unpinSlice(@NonNull Uri uri) { in unpinSlice() 167 mService.unpinSlice(mContext.getPackageName(), uri, mToken); in unpinSlice() local 191 public @NonNull Set<SliceSpec> getPinnedSpecs(Uri uri) { in getPinnedSpecs() 223 public @NonNull Collection<Uri> getSliceDescendants(@NonNull Uri uri) { in getSliceDescendants() 244 public @Nullable Slice bindSlice(@NonNull Uri uri, @NonNull Set<SliceSpec> supportedSpecs) { in bindSlice() 274 public @Nullable Slice bindSlice(@NonNull Uri uri, @NonNull List<SliceSpec> supportedSpecs) { in bindSlice() 434 public @PermissionResult int checkSlicePermission(@NonNull Uri uri, int pid, int uid) { in checkSlicePermission() [all …]
|
D | ISliceManager.aidl | 24 void pinSlice(String pkg, in Uri uri, in SliceSpec[] specs, in IBinder token); in pinSlice() 25 void unpinSlice(String pkg, in Uri uri, in IBinder token); in unpinSlice() 27 SliceSpec[] getPinnedSpecs(in Uri uri, String pkg); in getPinnedSpecs() 34 void grantSlicePermission(String callingPkg, String toPkg, in Uri uri); in grantSlicePermission() 35 void revokeSlicePermission(String callingPkg, String toPkg, in Uri uri); in revokeSlicePermission() 36 int checkSlicePermission(in Uri uri, String callingPkg, String pkg, int pid, int uid, in checkSlicePermission() 38 void grantPermissionFromUser(in Uri uri, String pkg, String callingPkg, boolean allSlices); in grantPermissionFromUser()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | FakeProviderRemote.java | 33 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() 39 public String getType(Uri uri) { in getType() 47 public Uri insert(Uri uri, ContentValues values) { in insert() 52 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() 57 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() 62 public Uri canonicalize(Uri uri) { in canonicalize()
|
D | FakeProviderLocal.java | 33 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() 39 public String getType(Uri uri) { in getType() 44 public Uri insert(Uri uri, ContentValues values) { in insert() 49 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() 54 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
|
D | SlowProvider.java | 41 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() 47 public String getType(Uri uri) { in getType() 52 public Uri insert(Uri uri, ContentValues values) { in insert() 57 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() 62 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
|
D | RedactingProvider.java | 32 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() 71 public String getType(Uri uri) { in getType() 76 public Uri insert(Uri uri, ContentValues values) { in insert() 81 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() 86 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageIconProvider.java | 57 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() 63 public String getType(Uri uri) { in getType() 75 public Uri insert(Uri uri, ContentValues values) { in insert() 80 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() 99 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() 105 Uri uri, @SuppressWarnings("unused") String mode) throws FileNotFoundException { in openFile() 126 private String getPackageNameFromUri(Uri uri) { in getPackageNameFromUri() 144 private void enforcePermissions(Uri uri) { in enforcePermissions()
|
/frameworks/base/core/tests/coretests/EnabledTestApp/src/com/android/frameworks/coretests/enabled_app/ |
D | DisabledProvider.java | 34 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() 39 public String getType(Uri uri) { in getType() 43 public Uri insert(Uri uri, ContentValues values) { in insert() 47 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() 51 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
|
D | EnabledProvider.java | 34 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() 39 public String getType(Uri uri) { in getType() 43 public Uri insert(Uri uri, ContentValues values) { in insert() 47 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() 51 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
|
/frameworks/base/core/tests/coretests/apks/install_complete_package_info/src/com/android/frameworks/coretests/ |
D | TestReceiver.java | 33 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() 39 public String getType(Uri uri) { in getType() 44 public Uri insert(Uri uri, ContentValues values) { in insert() 49 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() 54 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
|
D | TestProvider.java | 33 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() 39 public String getType(Uri uri) { in getType() 44 public Uri insert(Uri uri, ContentValues values) { in insert() 49 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() 54 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
|
/frameworks/base/core/tests/coretests/apks/version/src/com/android/frameworks/coretests/version_test/ |
D | NullProvider.java | 15 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() 21 public Uri insert(Uri uri, ContentValues values) { in insert() 26 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() 31 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() 36 public String getType(Uri uri) { in getType()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/frameworks/tests/uiservices/ |
D | DummyProvider.java | 29 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() 35 public String getType(Uri uri) { in getType() 40 public Uri insert(Uri uri, ContentValues values) { in insert() 45 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() 50 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
|
/frameworks/base/core/tests/coretests/apks/version_nosys/src/com/android/frameworks/coretests/version_test/ |
D | NullProvider.java | 15 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() 21 public Uri insert(Uri uri, ContentValues values) { in insert() 26 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() 31 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() 36 public String getType(Uri uri) { in getType()
|
/frameworks/base/tests/ActivityManagerPerfTests/test-app/src/com/android/frameworks/perftests/amteststestapp/ |
D | TestContentProvider.java | 26 public Uri insert(Uri uri, ContentValues values) { in insert() 31 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() 37 public String getType(Uri uri) { in getType() 42 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() 52 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
|
/frameworks/base/tests/ActivityManagerPerfTests/stub-app/src/com/android/stubs/am/ |
D | TestContentProvider.java | 30 public Uri insert(Uri uri, ContentValues values) { in insert() 35 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() 41 public String getType(Uri uri) { in getType() 46 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() 59 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
|
/frameworks/base/media/java/android/service/media/ |
D | IMediaBrowserService.aidl | 18 void addSubscriptionDeprecated(String uri, IMediaBrowserServiceCallbacks callbacks); in addSubscriptionDeprecated() 19 void removeSubscriptionDeprecated(String uri, IMediaBrowserServiceCallbacks callbacks); in removeSubscriptionDeprecated() 21 void getMediaItem(String uri, in ResultReceiver cb, IMediaBrowserServiceCallbacks callbacks); in getMediaItem() 22 void addSubscription(String uri, in IBinder token, in Bundle options, in addSubscription() 24 void removeSubscription(String uri, in IBinder token, IMediaBrowserServiceCallbacks callbacks); in removeSubscription()
|
/frameworks/base/core/java/android/provider/ |
D | SyncStateContract.java | 73 public static byte[] get(ContentProviderClient provider, Uri uri, in get() 103 public static void set(ContentProviderClient provider, Uri uri, in set() 112 public static Uri insert(ContentProviderClient provider, Uri uri, in insert() 121 public static void update(ContentProviderClient provider, Uri uri, byte[] data) in update() 128 public static Pair<Uri, byte[]> getWithUri(ContentProviderClient provider, Uri uri, in getWithUri() 158 public static ContentProviderOperation newSetOperation(Uri uri, in newSetOperation() 178 public static ContentProviderOperation newUpdateOperation(Uri uri, byte[] data) { in newUpdateOperation()
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | HeapDumpProvider.java | 48 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() 54 public String getType(Uri uri) { in getType() 59 public Uri insert(Uri uri, ContentValues values) { in insert() 64 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() 71 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() 76 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile()
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
D | SingleUserProvider.java | 35 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() 41 public String getType(Uri uri) { in getType() 46 public Uri insert(Uri uri, ContentValues values) { in insert() 51 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() 56 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
|
/frameworks/base/services/core/java/com/android/server/textclassifier/ |
D | IconsContentProvider.java | 67 public ParcelFileDescriptor openFile(Uri uri, String mode) { in openFile() 114 public String getType(Uri uri) { in getType() 124 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() 130 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() 135 public Uri insert(Uri uri, ContentValues values) { in insert() 140 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
|