Home
last modified time | relevance | path

Searched defs:uri (Results 1 – 25 of 430) sorted by relevance

12345678910>>...18

/frameworks/base/core/tests/coretests/src/android/net/
DUriTest.java43 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/
DContentInterface.java43 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 args, in refresh()
59 public @Nullable Uri insert(@NonNull Uri uri, @Nullable ContentValues initialValues) in insert()
62 public int bulkInsert(@NonNull Uri uri, @NonNull ContentValues[] initialValues) in bulkInsert()
65 public int delete(@NonNull Uri uri, @Nullable String selection, in delete()
68 public int update(@NonNull Uri uri, @Nullable ContentValues values, @Nullable String selection, in update()
[all …]
DLoggingContentInterface.java92 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 …]
DContentProvider.java227 public Cursor query(String callingPkg, Uri uri, @Nullable String[] projection, in query()
279 public String getType(Uri uri) { in getType()
294 public Uri insert(String callingPkg, Uri uri, ContentValues initialValues) { in insert()
319 public int bulkInsert(String callingPkg, Uri uri, ContentValues[] initialValues) { in bulkInsert()
346 Uri uri = operation.getUri(); in applyBatch() local
391 public int delete(String callingPkg, Uri uri, String selection, String[] selectionArgs) { in delete()
410 public int update(String callingPkg, Uri uri, ContentValues values, String selection, in update()
431 String callingPkg, Uri uri, String mode, ICancellationSignal cancellationSignal, in openFile()
451 String callingPkg, Uri uri, String mode, ICancellationSignal cancellationSignal) in openAssetFile()
487 public String[] getStreamTypes(Uri uri, String mimeTypeFilter) { in getStreamTypes()
[all …]
/frameworks/base/core/java/android/app/slice/
DSliceManager.java132 public void pinSlice(@NonNull Uri uri, @NonNull Set<SliceSpec> specs) { in pinSlice()
134 mService.pinSlice(mContext.getPackageName(), uri, in pinSlice() local
146 public void pinSlice(@NonNull Uri uri, @NonNull List<SliceSpec> specs) { in pinSlice()
164 public void unpinSlice(@NonNull Uri uri) { in unpinSlice()
166 mService.unpinSlice(mContext.getPackageName(), uri, mToken); in unpinSlice() local
190 public @NonNull Set<SliceSpec> getPinnedSpecs(Uri uri) { in getPinnedSpecs()
222 public @NonNull Collection<Uri> getSliceDescendants(@NonNull Uri uri) { in getSliceDescendants()
243 public @Nullable Slice bindSlice(@NonNull Uri uri, @NonNull Set<SliceSpec> supportedSpecs) { in bindSlice()
273 public @Nullable Slice bindSlice(@NonNull Uri uri, @NonNull List<SliceSpec> supportedSpecs) { in bindSlice()
433 public @PermissionResult int checkSlicePermission(@NonNull Uri uri, int pid, int uid) { in checkSlicePermission()
[all …]
DISliceManager.aidl24 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/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageIconProvider.java57 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/apks/version_nosys/src/com/android/frameworks/coretests/version_test/
DNullProvider.java15 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/core/tests/coretests/apks/install_multi_package/src/com/android/frameworks/coretests/
DFirstChildTestReceiver.java33 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()
DSecondChildTestProvider.java33 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()
DSecondChildTestReceiver.java33 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()
DTestReceiver.java33 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()
DTestProvider.java33 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()
DFirstChildTestProvider.java33 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/tests/ActivityManagerPerfTests/test-app/src/com/android/frameworks/perftests/amteststestapp/
DTestContentProvider.java26 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/core/tests/coretests/apks/version/src/com/android/frameworks/coretests/version_test/
DNullProvider.java15 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/
DDummyProvider.java29 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/install_complete_package_info/src/com/android/frameworks/coretests/
DTestProvider.java33 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()
DTestReceiver.java33 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/EnabledTestApp/src/com/android/frameworks/coretests/enabled_app/
DDisabledProvider.java34 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()
DEnabledProvider.java34 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/services/core/java/com/android/server/am/
DDumpHeapProvider.java52 …public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String… in query()
57 public String getType(Uri uri) { in getType()
62 public Uri insert(Uri uri, ContentValues values) { in insert()
67 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
72 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
77 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile()
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DTestContentResolver.java36 public void notifyChange(Uri uri, ContentObserver observer, boolean syncToNetwork) { in notifyChange()
41 void waitForNotification(Uri uri, int count) throws InterruptedException, TimeoutException { in waitForNotification()
46 int getChangeCount(Uri uri) { in getChangeCount()
54 private synchronized Phaser getPhaser(Uri uri) { in getPhaser()
/frameworks/base/media/java/android/service/media/
DIMediaBrowserService.aidl18 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/
DSyncStateContract.java73 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()

12345678910>>...18