Searched defs:uri (Results 1 - 25 of 168) sorted by last modified time

1234567

/frameworks/wilhelm/src/android/
H A DAudioPlayer_to_android.cpp41 // bufferqueue and uri/fd playback are moved under the GenericPlayer C++ object
1507 const char *uri = (const char *)pAudioPlayer->mDataSource.mLocator.mURI.URI; local
1508 if (!isDistantProtocol(uri)) {
1509 // don't touch the original uri, we may need it later
1510 const char *pathname = uri;
1531 pAudioPlayer->mAPlayer->setDataSource(uri);
H A Dandroid_GenericMediaPlayer.cpp37 bool isDistantProtocol(const char *uri) argument
40 if (!strncasecmp(uri, kDistantProtocolPrefix[i], strlen(kDistantProtocolPrefix[i]))) {
H A Dandroid_GenericPlayer.cpp90 void GenericPlayer::setDataSource(const char *uri) { argument
91 SL_LOGV("GenericPlayer::setDataSource(uri=%s)", uri);
94 mDataLocator.uriRef = uri;
H A Dandroid_defs.h188 kDataLocatorUri = 'uri',
201 char* uri; member in union:android::DataLocator
/frameworks/wilhelm/src/desktop/
H A DSndFile.c151 SLchar *uri = dl_uri->URI; local
152 if (NULL == uri) {
155 if (!strncmp((const char *) uri, "file:///", 8)) {
156 uri += 8;
170 thiz->mSndFile.mPathname = uri;
/frameworks/wilhelm/tests/listening/
H A DslesTest_playMuteSolo.cpp173 SLDataLocator_URI uri; local
226 uri.locatorType = SL_DATALOCATOR_URI;
227 uri.URI = (SLchar*) path;
235 audioSource.pLocator = (void*)&uri;
/frameworks/wilhelm/tests/mimeUri/
H A DslesTestGetPositionUri.cpp137 SLDataLocator_URI uri; local
182 uri.locatorType = SL_DATALOCATOR_URI;
183 uri.URI = (SLchar*) path;
189 audioSource.pLocator = (void *)&uri;
H A DslesTestLoopUri.cpp132 SLDataLocator_URI uri; local
169 uri.locatorType = SL_DATALOCATOR_URI;
170 uri.URI = (SLchar*) path;
176 audioSource.pLocator = (void *)&uri;
H A DslesTestManyPlayers.cpp47 SLDataLocator_URI uri; variable
160 //uri = { SL_DATALOCATOR_URI /*locatorType*/, (SLchar*) path /*URI*/ };
163 uri.locatorType = SL_DATALOCATOR_URI;
164 uri.URI = (SLchar*) path;
170 audioSource.pLocator = (void *)&uri;
H A DslesTestPlayStreamType.cpp58 SLDataLocator_URI uri; local
116 uri.locatorType = SL_DATALOCATOR_URI;
117 uri.URI = (SLchar*) path;
125 audioSource.pLocator = (void*)&uri;
H A DslesTestPlayUri.cpp135 SLDataLocator_URI uri; local
175 uri.locatorType = SL_DATALOCATOR_URI;
176 uri.URI = (SLchar*) path;
182 audioSource.pLocator = (void *)&uri;
H A DslesTestPlayUri2.cpp73 SLDataLocator_URI uri; local
125 uri.locatorType = SL_DATALOCATOR_URI;
126 uri.URI = (SLchar*) path;
134 audioSource.pLocator = (void *)&uri;
142 uri.URI = (SLchar*) path2;
143 audioSource.pLocator = (void *)&uri;
H A DslesTestSlowDownUri.cpp188 SLDataLocator_URI uri; local
224 uri.locatorType = SL_DATALOCATOR_URI;
225 uri.URI = (SLchar*) path;
231 audioSource.pLocator = (void *)&uri;
H A DslesTest_playStates.cpp58 SLDataLocator_URI uri; local
111 uri.locatorType = SL_DATALOCATOR_URI;
112 uri.URI = (SLchar*) path;
120 audioSource.pLocator = (void*)&uri;
/frameworks/wilhelm/tests/
H A DmimeUri_test.cpp109 SLDataLocator_URI uri; local
149 uri.locatorType = SL_DATALOCATOR_URI;
150 uri.URI = (SLchar*) path;
156 audioSource.pLocator = (void *)&uri;
/frameworks/wilhelm/tests/sandbox/
H A Dxaplay.c297 fprintf(stderr, "usage: %s [-a] [-c] [-d#] [-D#] [-f#] [-F#] [-l] [-n#] [-p#] [-s#] uri\n",
311 const char *uri = argv[i]; local
316 fd = open(uri, O_RDONLY);
318 perror(uri);
325 perror(uri);
329 fprintf(stderr, "%s: not an ordinary file\n", uri);
335 perror(uri);
340 fprintf(stderr, "%s: warning file length %zu is not a multiple of %d\n", uri, filelen,
345 printf("%s has %zu total packets\n", uri, totalPackets);
395 locUri.URI = (XAchar *) uri;
[all...]
/frameworks/support/v4/java/android/support/v4/content/
H A DCursorLoader.java105 public CursorLoader(Context context, Uri uri, String[] projection, String selection, argument
109 mUri = uri;
166 public void setUri(Uri uri) { argument
167 mUri = uri;
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DExportTestProvider.java98 public EntityIterator queryEntities(Uri uri, argument
100 TestCase.assertTrue(uri != null);
101 TestCase.assertTrue(ContentResolver.SCHEME_CONTENT.equals(uri.getScheme()));
102 final String authority = uri.getAuthority();
114 public Cursor query(Uri uri,String[] projection, argument
116 TestCase.assertTrue(VCardVerifier.CONTACTS_TEST_CONTENT_URI.equals(uri));
H A DVCardVerifier.java328 final Uri uri, final String selection,
332 uri, selection, selectionArgs, sortOrder);
326 mockGetEntityIteratorMethod( final ContentResolver resolver, final Uri uri, final String selection, final String[] selectionArgs, final String sortOrder) argument
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardEntry.java2570 public static VCardEntry buildFromResolver(ContentResolver resolver, Uri uri) { argument
/frameworks/opt/photoviewer/sample/src/com/example/photoviewersample/
H A DSampleProvider.java37 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
43 public String getType(Uri uri) { argument
49 public Uri insert(Uri uri, ContentValues values) { argument
61 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
69 switch (sUriMatcher.match(uri)) {
108 .add("content://" + PROVIDER_URI + "/photos/1") // uri
116 .add("content://" + PROVIDER_URI + "/photos/2") // uri
124 .add("content://" + PROVIDER_URI + "/photos/3") // uri
132 .add("content://" + PROVIDER_URI + "/photos/4") // uri
145 public int update(Uri uri, ContentValue argument
151 openAssetFile(Uri uri, String mode) argument
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DImageUtils.java91 * @param uri The local URI
96 public static Bitmap createLocalBitmap(ContentResolver resolver, Uri uri, int maxSize) { argument
101 final Point bounds = getImageBounds(resolver, uri);
102 inputStream = openInputStream(resolver, uri);
112 //return rotateBitmap(resolver, uri, decodedBitmap);
206 * @param uri The uri
210 private static Point getImageBounds(ContentResolver resolver, Uri uri) argument
214 String scheme = uri.getScheme();
217 inputStream = openInputStream(resolver, uri);
234 openInputStream(ContentResolver resolver, Uri uri) argument
[all...]
/frameworks/opt/telephony/src/java/android/provider/
H A DTelephony.java210 * @param uri the URI to add the message to
220 Uri uri, String address, String body, String subject,
222 return addMessageToUri(resolver, uri, address, body, subject,
230 * @param uri the URI to add the message to
241 Uri uri, String address, String body, String subject,
258 return resolver.insert(uri, values);
265 * @param uri the message to move
270 Uri uri, int folder, int error) {
271 if (uri == null) {
304 uri, value
219 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport) argument
240 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport, long threadId) argument
269 moveMessageToFolder(Context context, Uri uri, int folder, int error) argument
423 saveMessage(ContentResolver resolver, Uri uri, String body) argument
[all...]
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/
H A DPduPart.java113 * Data uri.
161 * Set data uri. The data are stored as Uri.
163 * @param uri the uri
165 public void setDataUri(Uri uri) { argument
166 mUri = uri;
H A DPduPersister.java78 * The uri of temporary drm objects.
521 * @param uri The Uri of the PDU to be loaded.
525 public GenericPdu load(Uri uri) throws MmsException { argument
532 if (PDU_CACHE_INSTANCE.isUpdating(uri)) {
534 Log.v(TAG, "load: " + uri + " blocked by isUpdating()");
541 cacheEntry = PDU_CACHE_INSTANCE.get(uri);
548 PDU_CACHE_INSTANCE.setUpdating(uri, true);
551 Cursor c = SqliteWrapper.query(mContext, mContentResolver, uri,
555 long msgId = ContentUris.parseId(uri);
559 throw new MmsException("Bad uri
780 persistData(PduPart part, Uri uri, String contentType, HashMap<Uri, InputStream> preOpenedFiles) argument
925 convertUriToPath(Context context, Uri uri) argument
980 updateHeaders(Uri uri, SendReq sendReq) argument
1085 updatePart(Uri uri, PduPart part, HashMap<Uri, InputStream> preOpenedFiles) argument
1147 updateParts(Uri uri, PduBody body, HashMap<Uri, InputStream> preOpenedFiles) argument
1234 persist(GenericPdu pdu, Uri uri, boolean createThreadId, boolean groupMmsEnabled, HashMap<Uri, InputStream> preOpenedFiles) argument
[all...]

Completed in 4275 milliseconds

1234567