Home
last modified time | relevance | path

Searched defs:uri (Results 1 – 25 of 344) 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 …]
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/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/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/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/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/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/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/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/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/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/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/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/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/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()
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java186 Uri uri = null; in parseInsertCommand() local
212 Uri uri = null; in parseDeleteCommand() local
234 Uri uri = null; in parseUpdateCommand() local
266 Uri uri = null; in parseCallCommand() local
295 Uri uri = null; in parseReadCommand() local
314 Uri uri = null; in parseQueryCommand() local
400 public Command(Uri uri, int userId) { in Command()
452 public InsertCommand(Uri uri, int userId, ContentValues contentValues) { in InsertCommand()
466 public DeleteCommand(Uri uri, int userId, String where) { in DeleteCommand()
481 public CallCommand(Uri uri, int userId, String method, String arg, ContentValues values) { in CallCommand()
[all …]

12345678910>>...14