Home
last modified time | relevance | path

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

123456789

/frameworks/base/core/tests/coretests/src/android/net/
DUriTest.java37 Uri uri = builder.build(); in testToStringWithPathOnly() local
167 Uri uri = Uri.parse("http://localhost:42"); in testAuthorityParsing() local
214 Uri uri = Uri.parse("foo://bar/a%20a/b%20b"); in testPathSegmentDecoding() local
261 Uri uri = Uri.fromFile(f); in testFile() local
268 Uri uri = Uri.parse("content://user"); in testQueryParameters() local
289 Uri uri = Uri.parse("http://google.com./b/c/g"); in testHostWithTrailingDot() local
296 Uri uri = Uri.parse("empty:"); in testSchemeOnly() local
304 Uri uri = Uri.parse("content://user"); in testEmptyPath() local
310 Uri uri = Uri.parse("content://user/a/b"); in testPathOperations() local
346 Uri uri = Uri.parse("mailto:nobody"); in testOpaqueUri() local
[all …]
/frameworks/base/core/java/android/content/
DContentProvider.java192 public Cursor query(String callingPkg, Uri uri, String[] projection, in query()
204 public String getType(Uri uri) { in getType()
209 public Uri insert(String callingPkg, Uri uri, ContentValues initialValues) { in insert()
217 public int bulkInsert(String callingPkg, Uri uri, ContentValues[] initialValues) { in bulkInsert()
247 public int delete(String callingPkg, Uri uri, String selection, String[] selectionArgs) { in delete()
255 public int update(String callingPkg, Uri uri, ContentValues values, String selection, in update()
264 public ParcelFileDescriptor openFile(String callingPkg, Uri uri, String mode) in openFile()
271 public AssetFileDescriptor openAssetFile(String callingPkg, Uri uri, String mode) in openAssetFile()
283 public String[] getStreamTypes(Uri uri, String mimeTypeFilter) { in getStreamTypes()
288 public AssetFileDescriptor openTypedAssetFile(String callingPkg, Uri uri, String mimeType, in openTypedAssetFile()
[all …]
DContentResolver.java355 public final Cursor query(Uri uri, String[] projection, in query()
395 public final Cursor query(final Uri uri, String[] projection, in query()
479 public final InputStream openInputStream(Uri uri) in openInputStream()
511 public final OutputStream openOutputStream(Uri uri) in openOutputStream()
535 public final OutputStream openOutputStream(Uri uri, String mode) in openOutputStream()
573 public final ParcelFileDescriptor openFileDescriptor(Uri uri, in openFileDescriptor()
643 public final AssetFileDescriptor openAssetFileDescriptor(Uri uri, in openAssetFileDescriptor()
754 public final AssetFileDescriptor openTypedAssetFileDescriptor(Uri uri, in openTypedAssetFileDescriptor()
831 public OpenResourceIdResult getResourceId(Uri uri) throws FileNotFoundException { in getResourceId()
870 static public int modeToMode(Uri uri, String mode) throws FileNotFoundException { in modeToMode()
[all …]
DEntity.java50 public void addSubValue(Uri uri, ContentValues values) { in addSubValue()
55 public final Uri uri; field in Entity.NamedContentValues
58 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/
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()
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()
/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/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()
/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()
157 Uri uri = getServerUri(DEFAULT_FILENAME); in testDownloadToExternal_fileExists() local
195 Uri uri = getServerUri(DEFAULT_FILENAME); in testDownloadToExternal() local
226 Uri uri = getServerUri(DEFAULT_FILENAME); in testDownloadToProhibitedDirectory() local
267 Uri uri = getServerUri(DEFAULT_FILENAME); in testErrorTooManyRedirects() local
283 Uri uri = getServerUri(DEFAULT_FILENAME); in testErrorUnhandledHttpCode() local
294 Uri uri = getServerUri(DEFAULT_FILENAME); in testErrorHttpDataError_invalidRedirect() local
335 Uri uri = getServerUri(DEFAULT_FILENAME); in testSetTitle() local
364 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/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/support/tests/java/android/support/v4/content/
DFileProviderTest.java171 final Uri uri = stageFileAndGetUri(file, TEST_DATA); in testQueryProjectionNull() local
187 final Uri uri = stageFileAndGetUri(file, TEST_DATA); in testQueryProjectionOrder() local
215 final Uri uri = stageFileAndGetUri(file, TEST_DATA); in testQueryExtraColumn() local
232 final Uri uri = stageFileAndGetUri(file, TEST_DATA); in testReadFile() local
239 final Uri uri = stageFileAndGetUri(file, TEST_DATA); in testWriteFile() local
255 final Uri uri = stageFileAndGetUri(file, null); in testWriteMissingFile() local
275 final Uri uri = stageFileAndGetUri(file, TEST_DATA); in testDelete() 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.java34 final String uri; field in Element
48 Element(Element parent, String uri, String localName, int depth) { in Element()
66 public Element getChild(String uri, String localName) { in getChild()
94 public Element requireChild(String uri, String localName) { in requireChild()
171 static String toString(String uri, String localName) { in toString()
DChildren.java30 Element getOrCreate(Element parent, String uri, String localName) { in getOrCreate()
65 Element get(String uri, String localName) { in get()
91 Child(Element parent, String uri, String localName, int depth, in Child()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContentResolver.java84 public void registerContentObserver(Uri uri, boolean notifyForDescendents, in registerContentObserver()
101 public void notifyChange(Uri uri, ContentObserver observer, boolean syncToNetwork) { in notifyChange()
109 public void startSync(Uri uri, Bundle extras) { in startSync()
117 public void cancelSync(Uri uri) { in cancelSync()
/frameworks/base/core/java/android/database/
DContentObserver.java128 public void onChange(boolean selfChange, Uri uri) { in onChange()
161 public final void dispatchChange(boolean selfChange, Uri uri) { in dispatchChange()
173 public NotificationRunnable(boolean selfChange, Uri uri) { in NotificationRunnable()
192 public void onChange(boolean selfChange, Uri uri) { in onChange()
/frameworks/base/media/mca/tests/src/android/camera/mediaeffects/tests/functional/
DEffectsVideoCapture.java73 Uri uri = Uri.fromFile(file); in testBackEffectsVideoCapture() local
74 verify(getActivity(), uri); in testBackEffectsVideoCapture() local
78 private void verify(CameraEffectsRecordingSample activity, Uri uri) throws Exception { in verify()
/frameworks/base/core/java/android/database/sqlite/
DSqliteWrapper.java56 public static Cursor query(Context context, ContentResolver resolver, Uri uri, in query()
76 public static int update(Context context, ContentResolver resolver, Uri uri, in update()
87 public static int delete(Context context, ContentResolver resolver, Uri uri, in delete()
99 Uri uri, ContentValues values) { in insert()
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java168 Uri uri = null; in parseInsertCommand() local
194 Uri uri = null; in parseDeleteCommand() local
216 Uri uri = null; in parseUpdateCommand() local
248 Uri uri = null; in parseCallCommand() local
277 Uri uri = null; in parseQueryCommand() local
363 public Command(Uri uri, int userId) { in Command()
399 public InsertCommand(Uri uri, int userId, ContentValues contentValues) { in InsertCommand()
413 public DeleteCommand(Uri uri, int userId, String where) { in DeleteCommand()
428 public CallCommand(Uri uri, int userId, String method, String arg, ContentValues values) { in CallCommand()
466 Uri uri, int userId, String[] projection, String where, String sortOrder) { in QueryCommand()
[all …]

123456789