Home
last modified time | relevance | path

Searched defs:uri (Results 1 – 25 of 207) 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.java185 public Cursor query(Uri uri, String[] projection, in query()
194 public String getType(Uri uri) { in getType()
199 public Uri insert(Uri uri, ContentValues initialValues) { in insert()
205 public int bulkInsert(Uri uri, ContentValues[] initialValues) { in bulkInsert()
226 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
232 public int update(Uri uri, ContentValues values, String selection, in update()
239 public ParcelFileDescriptor openFile(Uri uri, String mode) in openFile()
247 public AssetFileDescriptor openAssetFile(Uri uri, String mode) in openAssetFile()
260 public String[] getStreamTypes(Uri uri, String mimeTypeFilter) { in getStreamTypes()
265 public AssetFileDescriptor openTypedAssetFile(Uri uri, String mimeType, Bundle opts) in openTypedAssetFile()
[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()
DContentResolver.java313 public final Cursor query(Uri uri, String[] projection, in query()
353 public final Cursor query(final Uri uri, String[] projection, in query()
431 public final InputStream openInputStream(Uri uri) in openInputStream()
463 public final OutputStream openOutputStream(Uri uri) in openOutputStream()
487 public final OutputStream openOutputStream(Uri uri, String mode) in openOutputStream()
525 public final ParcelFileDescriptor openFileDescriptor(Uri uri, in openFileDescriptor()
595 public final AssetFileDescriptor openAssetFileDescriptor(Uri uri, in openAssetFileDescriptor()
706 public final AssetFileDescriptor openTypedAssetFileDescriptor(Uri uri, in openTypedAssetFileDescriptor()
783 public OpenResourceIdResult getResourceId(Uri uri) throws FileNotFoundException { in getResourceId()
822 static public int modeToMode(Uri uri, String mode) throws FileNotFoundException { in modeToMode()
[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/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/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/
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/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/ex/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/opt/mms/src/java/com/google/android/mms/util/
DSqliteWrapper.java68 public static Cursor query(Context context, ContentResolver resolver, Uri uri, in query()
88 public static int update(Context context, ContentResolver resolver, Uri uri, in update()
99 public static int delete(Context context, ContentResolver resolver, Uri uri, in delete()
111 Uri uri, ContentValues values) { in insert()

123456789