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

1234567891011>>

/frameworks/wilhelm/src/android/
H A DAudioPlayer_to_android.cpp85 // bufferqueue and uri/fd playback are moved under the GenericPlayer C++ object
1759 const char *uri = (const char *)pAudioPlayer->mDataSource.mLocator.mURI.URI; local
1760 if (!isDistantProtocol(uri)) {
1761 // don't touch the original uri, we may need it later
1762 const char *pathname = uri;
1783 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.cpp91 void GenericPlayer::setDataSource(const char *uri) { argument
92 SL_LOGV("GenericPlayer::setDataSource(uri=%s)", uri);
95 mDataLocator.uriRef = uri;
H A Dandroid_defs.h203 char* uri; member in union:android::DataLocator
/frameworks/wilhelm/src/desktop/
H A DSndFile.cpp151 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.cpp134 SLDataLocator_URI uri; local
179 uri.locatorType = SL_DATALOCATOR_URI;
180 uri.URI = (SLchar*) path;
186 audioSource.pLocator = (void *)&uri;
H A DslesTestLoopUri.cpp129 SLDataLocator_URI uri; local
166 uri.locatorType = SL_DATALOCATOR_URI;
167 uri.URI = (SLchar*) path;
173 audioSource.pLocator = (void *)&uri;
H A DslesTestManyPlayers.cpp47 SLDataLocator_URI uri; variable
158 //uri = { SL_DATALOCATOR_URI /*locatorType*/, (SLchar*) path /*URI*/ };
161 uri.locatorType = SL_DATALOCATOR_URI;
162 uri.URI = (SLchar*) path;
168 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.cpp132 SLDataLocator_URI uri; local
172 uri.locatorType = SL_DATALOCATOR_URI;
173 uri.URI = (SLchar*) path;
179 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.cpp185 SLDataLocator_URI uri; local
221 uri.locatorType = SL_DATALOCATOR_URI;
222 uri.URI = (SLchar*) path;
228 audioSource.pLocator = (void *)&uri;
H A DslesTest_playStates.cpp57 SLDataLocator_URI uri; local
110 uri.locatorType = SL_DATALOCATOR_URI;
111 uri.URI = (SLchar*) path;
119 audioSource.pLocator = (void*)&uri;
/frameworks/wilhelm/tests/
H A DmimeUri_test.cpp106 SLDataLocator_URI uri; local
146 uri.locatorType = SL_DATALOCATOR_URI;
147 uri.URI = (SLchar*) path;
153 audioSource.pLocator = (void *)&uri;
/frameworks/wilhelm/tests/sandbox/
H A Dxaplay.c298 fprintf(stderr, "usage: %s [-a] [-c] [-d#] [-D#] [-f#] [-F#] [-l] [-n#] [-p#] [-s#] uri\n",
312 const char *uri = argv[i]; local
317 fd = open(uri, O_RDONLY);
319 perror(uri);
326 perror(uri);
330 fprintf(stderr, "%s: not an ordinary file\n", uri);
336 perror(uri);
341 fprintf(stderr, "%s: warning file length %zu is not a multiple of %d\n", uri, filelen,
346 printf("%s has %zu total packets\n", uri, totalPackets);
396 locUri.URI = (XAchar *) uri;
[all...]
/frameworks/support/frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/ui/
H A DVideoActivity.java58 private void playVideo(Uri uri) { argument
59 mVideoView.setVideoURI(uri);
65 Uri uri = intent.getData();
66 playVideo(uri);
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/
H A DMediaPlayerGlue.java291 * @return Returns <code>true</code> if uri represents a new media; <code>false</code>
294 public boolean setMediaSource(Uri uri) { argument
295 if (mMediaSourceUri != null && mMediaSourceUri.equals(uri)) {
298 mMediaSourceUri = uri;
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dpicasso-2.5.2.jar ... squareup.picasso.Request data android.net.Uri uri public com.squareup.picasso.RequestHandler$ ...
/frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/ui/
H A DVideoActivity.java58 private void playVideo(Uri uri) { argument
59 mVideoView.setVideoURI(uri);
65 Uri uri = intent.getData();
66 playVideo(uri);
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/
H A DMediaPlayerGlue.java291 * @return Returns <code>true</code> if uri represents a new media; <code>false</code>
294 public boolean setMediaSource(Uri uri) { argument
295 if (mMediaSourceUri != null && mMediaSourceUri.equals(uri)) {
298 mMediaSourceUri = uri;
/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dpicasso-2.5.2.jar ... squareup.picasso.Request data android.net.Uri uri public com.squareup.picasso.RequestHandler$ ...
/frameworks/support/tv-provider/src/android/support/media/tv/
H A DTvContractCompat.java504 private static boolean isTvUri(Uri uri) { argument
505 return uri != null && ContentResolver.SCHEME_CONTENT.equals(uri.getScheme())
506 && AUTHORITY.equals(uri.getAuthority());
509 private static boolean isTwoSegmentUriStartingWith(Uri uri, String pathSegment) { argument
510 List<String> pathSegments = uri.getPathSegments();
515 * Returns {@code true}, if {@code uri} is a channel URI.
517 public static boolean isChannelUri(Uri uri) { argument
519 return TvContract.isChannelUri(uri);
521 return isChannelUriForTunerInput(uri) || isChannelUriForPassthroughInpu
528 isChannelUriForTunerInput(Uri uri) argument
539 isChannelUriForPassthroughInput(Uri uri) argument
550 isProgramUri(Uri uri) argument
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/media/
H A DMediaPlayerAdapter.java329 * @return Returns <code>true</code> if uri represents a new media; <code>false</code>
333 public boolean setDataSource(Uri uri) { argument
334 if (mMediaSourceUri != null ? mMediaSourceUri.equals(uri) : uri == null) {
337 mMediaSourceUri = uri;
H A DMediaPlayerGlue.java389 * @return Returns <code>true</code> if uri represents a new media; <code>false</code>
393 public boolean setMediaSource(Uri uri) { argument
394 if (mMediaSourceUri != null ? mMediaSourceUri.equals(uri) : uri == null) {
397 mMediaSourceUri = uri;

Completed in 277 milliseconds

1234567891011>>