Searched refs:uri (Results 1 - 25 of 247) sorted by last modified time

12345678910

/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_GenericMediaPlayer.h144 bool isDistantProtocol(const char *uri);
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_GenericPlayer.h66 void setDataSource(const char *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 DImportTestProvider.java68 Uri uri = Uri.withAppendedPath(RawContacts.CONTENT_URI, String.valueOf(i));
69 fakeResultArray[i] = new ContentProviderResult(uri);
81 final Uri uri = operation.getUri();
82 if (uri.equals(RawContacts.CONTENT_URI)) {
85 } else if (uri.equals(Data.CONTENT_URI)) {
148 TestCase.fail("Unexpected Uri has come: " + 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 DVCardComposer.java502 final Uri uri = mContentUriForRawContactsEntity;
509 mContentResolver, uri, selection, selectionArgs, null);
522 uri, null, selection, selectionArgs, null));
H A DVCardEntry.java2570 public static VCardEntry buildFromResolver(ContentResolver resolver, Uri uri) { argument
H A DVCardEntryCommitter.java86 // the first result is always the raw_contact. return it's uri so
90 ? null : results[0].uri);

Completed in 1588 milliseconds

12345678910