Searched refs:uri (Results 1 - 19 of 19) sorted by path

/system/media/mca/tests/src/android/camera/mediaeffects/tests/functional/
H A DEffectsVideoCapture.java73 Uri uri = Uri.fromFile(file);
74 verify(getActivity(), uri);
78 private void verify(CameraEffectsRecordingSample activity, Uri uri) throws Exception { argument
79 assertNotNull(uri);
82 retriever.setDataSource(activity, uri);
/system/media/wilhelm/src/android/
H A DAudioPlayer_to_android.cpp38 // bufferqueue and uri/fd playback are moved under the GenericPlayer C++ object
1430 const char *uri = (const char *)pAudioPlayer->mDataSource.mLocator.mURI.URI; local
1431 if (!isDistantProtocol(uri)) {
1432 // don't touch the original uri, we may need it later
1433 const char *pathname = uri;
1454 pAudioPlayer->mAPlayer->setDataSource(uri);
H A Dandroid_GenericMediaPlayer.cpp36 bool isDistantProtocol(const char *uri) argument
39 if (!strncasecmp(uri, kDistantProtocolPrefix[i], strlen(kDistantProtocolPrefix[i]))) {
H A Dandroid_GenericMediaPlayer.h143 bool isDistantProtocol(const char *uri);
H A Dandroid_GenericPlayer.cpp88 void GenericPlayer::setDataSource(const char *uri) { argument
89 SL_LOGV("GenericPlayer::setDataSource(uri=%s)", uri);
92 mDataLocator.uriRef = uri;
H A Dandroid_GenericPlayer.h65 void setDataSource(const char *uri);
H A Dandroid_defs.h187 kDataLocatorUri = 'uri',
200 char* uri; member in union:android::DataLocator
/system/media/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;
/system/media/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;
/system/media/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;
/system/media/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;
/system/media/wilhelm/tests/sandbox/
H A Dxaplay.c240 fprintf(stderr, "usage: %s [-a] [-d#] [-l] uri\n", prog);
243 const char *uri = argv[i]; local
248 fd = open(uri, O_RDONLY);
250 perror(uri);
257 perror(uri);
261 fprintf(stderr, "%s: not an ordinary file\n", uri);
267 perror(uri);
272 fprintf(stderr, "%s: warning file length %zu is not a multiple of %d\n", uri, filelen,
277 printf("%s has %zu packets\n", uri, numPackets);
308 locUri.URI = (XAchar *) uri;
[all...]

Completed in 1220 milliseconds