Searched refs:uri (Results 1 - 25 of 247) sorted by relevance

12345678910

/frameworks/av/media/libstagefright/chromium_http/
H A Dchromium_http_stub.cpp29 DataSource *createDataUriSource(const char *uri) { argument
30 return new DataUriSource(uri);
/frameworks/av/media/libmediaplayerservice/
H A DActivityManager.h27 extern int openContentProviderFile(const String16& uri);
H A DActivityManager.cpp31 int openContentProviderFile(const String16& uri) argument
40 data.writeString16(uri);
53 String8(uri).string(), exceptionCode);
/frameworks/base/core/java/android/content/
H A DContentProviderResult.java25 * to have exactly one of {@link #uri} or {@link #count} set.
28 public final Uri uri; field in class:ContentProviderResult
31 public ContentProviderResult(Uri uri) { argument
32 if (uri == null) throw new IllegalArgumentException("uri must not be null");
33 this.uri = uri;
39 this.uri = null;
46 uri = null;
49 uri
[all...]
H A DContentProvider.java185 public Cursor query(Uri uri, String[] projection, argument
188 enforceReadPermission(uri);
189 return ContentProvider.this.query(uri, projection, selection, selectionArgs, sortOrder,
194 public String getType(Uri uri) { argument
195 return ContentProvider.this.getType(uri);
199 public Uri insert(Uri uri, ContentValues initialValues) { argument
200 enforceWritePermission(uri);
201 return ContentProvider.this.insert(uri, initialValues);
205 public int bulkInsert(Uri uri, ContentValues[] initialValues) { argument
206 enforceWritePermission(uri);
226 delete(Uri uri, String selection, String[] selectionArgs) argument
232 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
239 openFile(Uri uri, String mode) argument
247 openAssetFile(Uri uri, String mode) argument
260 getStreamTypes(Uri uri, String mimeTypeFilter) argument
265 openTypedAssetFile(Uri uri, String mimeType, Bundle opts) argument
276 enforceReadPermission(Uri uri) argument
337 enforceWritePermission(Uri uri) argument
583 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
649 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) argument
673 getType(Uri uri) argument
686 insert(Uri uri, ContentValues values) argument
702 bulkInsert(Uri uri, ContentValues[] values) argument
730 delete(Uri uri, String selection, String[] selectionArgs) argument
749 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
783 openFile(Uri uri, String mode) argument
827 openAssetFile(Uri uri, String mode) argument
847 openFileHelper(Uri uri, String mode) argument
894 getStreamTypes(Uri uri, String mimeTypeFilter) argument
933 openTypedAssetFile(Uri uri, String mimeTypeFilter, Bundle opts) argument
966 writeDataToPipe(ParcelFileDescriptor output, Uri uri, String mimeType, Bundle opts, T args) argument
987 openPipeHelper(final Uri uri, final String mimeType, final Bundle opts, final T args, final PipeDataWriter<T> func) argument
[all...]
H A DEntity.java31 * corresponds to that RawContact. The uri refers to the Data table uri for each row.
50 public void addSubValue(Uri uri, ContentValues values) { argument
51 mSubValues.add(new Entity.NamedContentValues(uri, values));
55 public final Uri uri; field in class:Entity.NamedContentValues
58 public NamedContentValues(Uri uri, ContentValues values) { argument
59 this.uri = uri;
68 sb.append("\n ").append(namedValue.uri);
H A DContentResolver.java297 * @param uri The URI, using the content:// scheme, for the content to
313 public final Cursor query(Uri uri, String[] projection, argument
315 return query(uri, projection, selection, selectionArgs, sortOrder, null);
334 * @param uri The URI, using the content:// scheme, for the content to
353 public final Cursor query(final Uri uri, String[] projection, argument
356 IContentProvider unstableProvider = acquireUnstableProvider(uri);
372 qCursor = unstableProvider.query(uri, projection,
379 stableProvider = acquireProvider(uri);
383 qCursor = stableProvider.query(uri, projection,
392 maybeLogQueryToEventLog(durationMillis, uri, projectio
431 openInputStream(Uri uri) argument
463 openOutputStream(Uri uri) argument
487 openOutputStream(Uri uri, String mode) argument
525 openFileDescriptor(Uri uri, String mode) argument
595 openAssetFileDescriptor(Uri uri, String mode) argument
706 openTypedAssetFileDescriptor(Uri uri, String mimeType, Bundle opts) argument
783 getResourceId(Uri uri) argument
822 modeToMode(Uri uri, String mode) argument
984 update(Uri uri, ContentValues values, String where, String[] selectionArgs) argument
1019 call(Uri uri, String method, String arg, Bundle extras) argument
1048 acquireProvider(Uri uri) argument
1067 acquireExistingProvider(Uri uri) argument
1095 acquireUnstableProvider(Uri uri) argument
1127 acquireContentProviderClient(Uri uri) argument
1172 acquireUnstableContentProviderClient(Uri uri) argument
1219 registerContentObserver(Uri uri, boolean notifyForDescendents, ContentObserver observer) argument
1226 registerContentObserver(Uri uri, boolean notifyForDescendents, ContentObserver observer, int userHandle) argument
1265 notifyChange(Uri uri, ContentObserver observer) argument
1285 notifyChange(Uri uri, ContentObserver observer, boolean syncToNetwork) argument
1294 notifyChange(Uri uri, ContentObserver observer, boolean syncToNetwork, int userHandle) argument
1324 startSync(Uri uri, Bundle extras) argument
1405 cancelSync(Uri uri) argument
1784 maybeLogQueryToEventLog(long durationMillis, Uri uri, String[] projection, String selection, String sortOrder) argument
1824 maybeLogUpdateToEventLog( long durationMillis, Uri uri, String operation, String selection) argument
[all...]
H A DSearchRecentSuggestionsProvider.java225 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
228 final int length = uri.getPathSegments().size();
233 final String base = uri.getPathSegments().get(0);
240 getContext().getContentResolver().notifyChange(uri, null);
249 public String getType(Uri uri) { argument
250 if (mUriMatcher.match(uri) == URI_MATCH_SUGGEST) {
253 int length = uri.getPathSegments().size();
255 String base = uri.getPathSegments().get(0);
272 public Uri insert(Uri uri, ContentValues values) { argument
275 int length = uri
319 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
393 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/net/
H A DUriTest.java37 Uri uri = builder.build();
38 assertEquals("//foo", uri.toString());
167 Uri uri = Uri.parse("http://localhost:42");
168 assertEquals("localhost", uri.getHost());
169 assertEquals(42, uri.getPort());
171 uri = Uri.parse("http://bob@localhost:42");
172 assertEquals("bob", uri.getUserInfo());
173 assertEquals("localhost", uri.getHost());
174 assertEquals(42, uri.getPort());
176 uri
368 testOpaqueUri(Uri uri) argument
493 compareHierarchical(String uriString, String ssp, Uri uri, String scheme, String authority, String path, String query, String fragment) argument
[all...]
/frameworks/base/sax/java/android/sax/
H A DChildren.java30 Element getOrCreate(Element parent, String uri, String localName) { argument
31 int hash = uri.hashCode() * 31 + localName.hashCode();
37 current = new Child(parent, uri, localName, parent.depth + 1, hash);
45 && current.uri.compareTo(uri) == 0
56 current = new Child(parent, uri, localName, parent.depth + 1, hash);
65 Element get(String uri, String localName) { argument
66 int hash = uri.hashCode() * 31 + localName.hashCode();
75 && current.uri.compareTo(uri)
91 Child(Element parent, String uri, String localName, int depth, int hash) argument
[all...]
H A DElement.java34 final String uri; field in class:Element
48 Element(Element parent, String uri, String localName, int depth) { argument
50 this.uri = uri;
66 public Element getChild(String uri, String localName) { argument
76 return children.getOrCreate(this, uri, localName);
94 public Element requireChild(String uri, String localName) { argument
95 Element child = getChild(uri, localName);
168 return toString(uri, localName);
171 static String toString(String uri, Strin argument
[all...]
H A DRootElement.java73 * @param uri the namespace
76 public RootElement(String uri, String localName) { argument
77 super(null, uri, localName, 0);
110 public void startElement(String uri, String localName, String qName, argument
116 startRoot(uri, localName, attributes);
132 Element child = children.get(uri, localName);
140 void startRoot(String uri, String localName, Attributes attributes) argument
143 if (root.uri.compareTo(uri) != 0
147 + Element.toString(uri, localNam
178 endElement(String uri, String localName, String qName) argument
[all...]
/frameworks/base/core/java/android/database/
H A DContentObserver.java119 * public void onChange(boolean selfChange, Uri uri) {
126 * @param uri The Uri of the changed content, or null if unknown.
128 public void onChange(boolean selfChange, Uri uri) { argument
159 * @param uri The Uri of the changed content, or null if unknown.
161 public final void dispatchChange(boolean selfChange, Uri uri) { argument
163 onChange(selfChange, uri);
165 mHandler.post(new NotificationRunnable(selfChange, uri));
173 public NotificationRunnable(boolean selfChange, Uri uri) { argument
175 mUri = uri;
192 public void onChange(boolean selfChange, Uri uri) { argument
[all...]
H A DIContentObserver.aidl32 oneway void onChange(boolean selfUpdate, in Uri uri);
/frameworks/base/media/java/android/media/
H A DIMediaScannerListener.aidl29 * @param uri the Uri for the file if the scanning operation succeeded
32 void scanCompleted(String path, in Uri uri);
H A DIRingtonePlayer.aidl27 void play(IBinder token, in Uri uri, int streamType);
32 void playAsync(in Uri uri, in UserHandle user, boolean looping, int streamType);
/frameworks/base/core/tests/coretests/EnabledTestApp/src/com/android/frameworks/coretests/enabled_app/
H A DDisabledProvider.java34 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
39 public String getType(Uri uri) { argument
43 public Uri insert(Uri uri, ContentValues values) { argument
47 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
51 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
H A DEnabledProvider.java34 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
39 public String getType(Uri uri) { argument
43 public Uri insert(Uri uri, ContentValues values) { argument
47 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
51 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/base/core/tests/coretests/apks/install_complete_package_info/src/com/android/frameworks/coretests/
H A DTestProvider.java33 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
39 public String getType(Uri uri) { argument
44 public Uri insert(Uri uri, ContentValues values) { argument
49 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
54 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
H A DTestReceiver.java33 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
39 public String getType(Uri uri) { argument
44 public Uri insert(Uri uri, ContentValues values) { argument
49 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
54 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/base/core/tests/coretests/apks/version/src/com/android/frameworks/coretests/version_test/
H A DNullProvider.java15 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
21 public Uri insert(Uri uri, ContentValues values) { argument
26 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
31 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
36 public String getType(Uri uri) { argument
/frameworks/av/media/libstagefright/include/
H A Dchromium_http_stub.h26 DataSource *createDataUriSource(const char *uri);
/frameworks/base/core/java/android/provider/
H A DSyncStateContract.java67 * @param uri the uri of the sync state
73 public static byte[] get(ContentProviderClient provider, Uri uri, argument
75 Cursor c = provider.query(uri, DATA_PROJECTION, SELECT_BY_ACCOUNT,
97 * @param uri the uri of the sync state
103 public static void set(ContentProviderClient provider, Uri uri, argument
109 provider.insert(uri, values);
112 public static Uri insert(ContentProviderClient provider, Uri uri, argument
118 return provider.insert(uri, value
121 update(ContentProviderClient provider, Uri uri, byte[] data) argument
128 getWithUri(ContentProviderClient provider, Uri uri, Account account) argument
158 newSetOperation(Uri uri, Account account, byte[] data) argument
178 newUpdateOperation(Uri uri, byte[] data) argument
[all...]
/frameworks/av/media/libstagefright/wifi-display/
H A Dwfd.cpp38 " -u uri \tconnect to an rtsp uri\n",
51 AString uri; local
80 uri = optarg;
92 if (connectToPort < 0 && uri.empty()) {
94 "You need to select either source host or uri.\n");
99 if (connectToPort >= 0 && !uri.empty()) {
117 sink->start(uri.c_str());
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DSingleUserProvider.java35 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
41 public String getType(Uri uri) { argument
46 public Uri insert(Uri uri, ContentValues values) { argument
51 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
56 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument

Completed in 257 milliseconds

12345678910