/frameworks/wilhelm/src/android/ |
H A D | AudioPlayer_to_android.cpp | 41 // 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 D | android_GenericMediaPlayer.cpp | 37 bool isDistantProtocol(const char *uri) argument 40 if (!strncasecmp(uri, kDistantProtocolPrefix[i], strlen(kDistantProtocolPrefix[i]))) {
|
H A D | android_GenericPlayer.cpp | 90 void GenericPlayer::setDataSource(const char *uri) { argument 91 SL_LOGV("GenericPlayer::setDataSource(uri=%s)", uri); 94 mDataLocator.uriRef = uri;
|
H A D | android_defs.h | 188 kDataLocatorUri = 'uri', 201 char* uri; member in union:android::DataLocator
|
/frameworks/wilhelm/src/desktop/ |
H A D | SndFile.c | 151 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 D | slesTest_playMuteSolo.cpp | 173 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 D | slesTestGetPositionUri.cpp | 137 SLDataLocator_URI uri; local 182 uri.locatorType = SL_DATALOCATOR_URI; 183 uri.URI = (SLchar*) path; 189 audioSource.pLocator = (void *)&uri;
|
H A D | slesTestLoopUri.cpp | 132 SLDataLocator_URI uri; local 169 uri.locatorType = SL_DATALOCATOR_URI; 170 uri.URI = (SLchar*) path; 176 audioSource.pLocator = (void *)&uri;
|
H A D | slesTestManyPlayers.cpp | 47 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 D | slesTestPlayStreamType.cpp | 58 SLDataLocator_URI uri; local 116 uri.locatorType = SL_DATALOCATOR_URI; 117 uri.URI = (SLchar*) path; 125 audioSource.pLocator = (void*)&uri;
|
H A D | slesTestPlayUri.cpp | 135 SLDataLocator_URI uri; local 175 uri.locatorType = SL_DATALOCATOR_URI; 176 uri.URI = (SLchar*) path; 182 audioSource.pLocator = (void *)&uri;
|
H A D | slesTestPlayUri2.cpp | 73 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 D | slesTestSlowDownUri.cpp | 188 SLDataLocator_URI uri; local 224 uri.locatorType = SL_DATALOCATOR_URI; 225 uri.URI = (SLchar*) path; 231 audioSource.pLocator = (void *)&uri;
|
H A D | slesTest_playStates.cpp | 58 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 D | mimeUri_test.cpp | 109 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 D | xaplay.c | 297 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 D | CursorLoader.java | 105 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 D | ExportTestProvider.java | 98 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 D | VCardVerifier.java | 328 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 D | VCardEntry.java | 2570 public static VCardEntry buildFromResolver(ContentResolver resolver, Uri uri) { argument
|
/frameworks/opt/photoviewer/sample/src/com/example/photoviewersample/ |
H A D | SampleProvider.java | 37 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 D | ImageUtils.java | 91 * @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 D | Telephony.java | 210 * @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 D | PduPart.java | 113 * 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 D | PduPersister.java | 78 * 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...] |