Home
last modified time | relevance | path

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

12345678910>>...14

/frameworks/base/core/tests/coretests/src/android/net/
DUriTest.java39 Uri uri = builder.build(); in testToStringWithPathOnly() local
169 Uri uri = Uri.parse("http://localhost:42"); in testAuthorityParsing() local
216 Uri uri = Uri.parse("foo://bar/a%20a/b%20b"); in testPathSegmentDecoding() local
263 Uri uri = Uri.fromFile(f); in testFile() local
270 Uri uri = Uri.parse("content://user"); in testQueryParameters() local
291 Uri uri = Uri.parse("http://google.com./b/c/g"); in testHostWithTrailingDot() local
298 Uri uri = Uri.parse("empty:"); in testSchemeOnly() local
306 Uri uri = Uri.parse("content://user"); in testEmptyPath() local
312 Uri uri = Uri.parse("content://user/a/b"); in testPathOperations() local
348 Uri uri = Uri.parse("mailto:nobody"); in testOpaqueUri() local
[all …]
/frameworks/base/core/java/android/content/
DContentProvider.java207 public Cursor query(String callingPkg, Uri uri, String[] projection, in query()
248 public String getType(Uri uri) { in getType()
255 public Uri insert(String callingPkg, Uri uri, ContentValues initialValues) { in insert()
271 public int bulkInsert(String callingPkg, Uri uri, ContentValues[] initialValues) { in bulkInsert()
293 Uri uri = operation.getUri(); in applyBatch() local
332 public int delete(String callingPkg, Uri uri, String selection, String[] selectionArgs) { in delete()
347 public int update(String callingPkg, Uri uri, ContentValues values, String selection, in update()
364 String callingPkg, Uri uri, String mode, ICancellationSignal cancellationSignal, in openFile()
380 String callingPkg, Uri uri, String mode, ICancellationSignal cancellationSignal) in openAssetFile()
407 public String[] getStreamTypes(Uri uri, String mimeTypeFilter) { in getStreamTypes()
[all …]
DContentResolver.java469 public final @Nullable Cursor query(@RequiresPermission.Read @NonNull Uri uri, in query()
509 public final @Nullable Cursor query(final @RequiresPermission.Read @NonNull Uri uri, in query()
683 public final @Nullable InputStream openInputStream(@NonNull Uri uri) in openInputStream()
716 public final @Nullable OutputStream openOutputStream(@NonNull Uri uri) in openOutputStream()
740 public final @Nullable OutputStream openOutputStream(@NonNull Uri uri, @NonNull String mode) in openOutputStream()
787 public final @Nullable ParcelFileDescriptor openFileDescriptor(@NonNull Uri uri, in openFileDescriptor()
832 public final @Nullable ParcelFileDescriptor openFileDescriptor(@NonNull Uri uri, in openFileDescriptor()
903 public final @Nullable AssetFileDescriptor openAssetFileDescriptor(@NonNull Uri uri, in openAssetFileDescriptor()
959 public final @Nullable AssetFileDescriptor openAssetFileDescriptor(@NonNull Uri uri, in openAssetFileDescriptor()
1087 public final @Nullable AssetFileDescriptor openTypedAssetFileDescriptor(@NonNull Uri uri, in openTypedAssetFileDescriptor()
[all …]
DEntity.java47 public void addSubValue(Uri uri, ContentValues values) { in addSubValue()
52 public final Uri uri; field in Entity.NamedContentValues
55 public NamedContentValues(Uri uri, ContentValues values) { in NamedContentValues()
DSearchRecentSuggestionsProvider.java225 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
249 public String getType(Uri uri) { in getType()
272 public Uri insert(Uri uri, ContentValues values) { in insert()
319 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
342 c.setNotificationUri(getContext().getContentResolver(), uri); in query() local
384 c.setNotificationUri(getContext().getContentResolver(), uri); in query() local
393 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/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/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/core/tests/coretests/apks/install_complete_package_info/src/com/android/frameworks/coretests/
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()
/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.aidl20 void addSubscriptionDeprecated(String uri, IMediaBrowserServiceCallbacks callbacks); in addSubscriptionDeprecated()
21 void removeSubscriptionDeprecated(String uri, IMediaBrowserServiceCallbacks callbacks); in removeSubscriptionDeprecated()
23 void getMediaItem(String uri, in ResultReceiver cb, IMediaBrowserServiceCallbacks callbacks); in getMediaItem()
24 void addSubscription(String uri, in IBinder token, in Bundle options, in addSubscription()
26 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()
DSearchIndexablesProvider.java106 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
154 public String getType(Uri uri) { in getType()
171 public final Uri insert(Uri uri, ContentValues values) { in insert()
179 public final int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
188 Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DSingleUserProvider.java35 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/core/tests/coretests/src/android/app/
DDownloadManagerFunctionalTest.java75 public void doErrorTest(Uri uri, int error) throws Exception { in doErrorTest()
159 Uri uri = getServerUri(DEFAULT_FILENAME); in testDownloadToExternal_fileExists() local
196 Uri uri = getServerUri(DEFAULT_FILENAME); in testDownloadToExternal() local
227 Uri uri = getServerUri(DEFAULT_FILENAME); in testDownloadToProhibitedDirectory() local
268 Uri uri = getServerUri(DEFAULT_FILENAME); in testErrorTooManyRedirects() local
284 Uri uri = getServerUri(DEFAULT_FILENAME); in testErrorUnhandledHttpCode() local
295 Uri uri = getServerUri(DEFAULT_FILENAME); in testRelativeRedirect() local
346 Uri uri = getServerUri(DEFAULT_FILENAME); in testSetTitle() local
375 Uri uri = getServerUri(DEFAULT_FILENAME); in testDownloadNoWifi() local
/frameworks/base/core/java/android/database/
DContentObserver.java129 public void onChange(boolean selfChange, Uri uri) { in onChange()
144 public void onChange(boolean selfChange, Uri uri, int userId) { in onChange()
177 public final void dispatchChange(boolean selfChange, Uri uri) { in dispatchChange()
194 private void dispatchChange(boolean selfChange, Uri uri, int userId) { in dispatchChange()
208 public NotificationRunnable(boolean selfChange, Uri uri, int userId) { in NotificationRunnable()
228 public void onChange(boolean selfChange, Uri uri, int userId) { in onChange()
/frameworks/ex/common/java/com/android/common/content/
DSQLiteContentProvider.java71 protected abstract Uri insertInTransaction(Uri uri, ContentValues values); in insertInTransaction()
76 protected abstract int updateInTransaction(Uri uri, ContentValues values, String selection, in updateInTransaction()
82 protected abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs); in deleteInTransaction()
95 public Uri insert(Uri uri, ContentValues values) { in insert()
122 public int bulkInsert(Uri uri, ContentValues[] values) { in bulkInsert()
148 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
176 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
/frameworks/base/media/java/android/media/
DIRingtonePlayer.aidl29 void play(IBinder token, in Uri uri, in AudioAttributes aa, float volume, boolean looping); in play()
35 void playAsync(in Uri uri, in UserHandle user, boolean looping, in AudioAttributes aa); in playAsync()
39 String getTitle(in Uri uri); in getTitle()
41 ParcelFileDescriptor openRingtone(in Uri uri); in openRingtone()
/frameworks/base/core/tests/coretests/src/android/content/
DMemoryFileProviderTest.java38 Uri uri = Uri.parse("content://android.content.MemoryFileProvider/data/1/blob"); in testRead() local
56 Uri uri = Uri.parse("content://android.content.MemoryFileProvider/huge"); in testClose() local
71 Uri uri = Uri.parse("content://android.content.MemoryFileProvider/file"); in testFile() local
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DTrackerProvider.java86 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
94 public String getType(Uri uri) { in getType()
99 public Uri insert(Uri uri, ContentValues values) { in insert()
111 public Cursor query(Uri uri, String[] projection, String selection, in query()
122 public int update(Uri uri, ContentValues values, String selection, in update()
/frameworks/opt/photoviewer/sample/src/com/example/photoviewersample/
DSampleProvider.java37 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
43 public String getType(Uri uri) { in getType()
49 public Uri insert(Uri uri, ContentValues values) { in insert()
61 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
145 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
151 public AssetFileDescriptor openAssetFile(Uri uri, String mode) throws FileNotFoundException { in openAssetFile()
/frameworks/base/sax/java/android/sax/
DElement.java32 final String uri; field in Element
46 Element(Element parent, String uri, String localName, int depth) { in Element()
64 public Element getChild(String uri, String localName) { in getChild()
92 public Element requireChild(String uri, String localName) { in requireChild()
169 static String toString(String uri, String localName) { in toString()

12345678910>>...14