HomeSort by relevance Sort by last modified time
    Searched refs:afd (Results 26 - 44 of 44) sorted by null

12

  /cts/tests/tests/content/src/android/content/cts/
ContentResolverTest.java 523 AssetFileDescriptor afd = mContentResolver.openAssetFileDescriptor(uri, "r"); local
524 assertNotNull(afd);
525 afd.close();
543 private String consumeAssetFileDescriptor(AssetFileDescriptor afd)
547 stream = afd.createInputStream();
571 AssetFileDescriptor afd = null; local
574 afd = mContentResolver.openAssetFileDescriptor(REMOTE_CRASH_URI, "rw");
577 assertNotNull(afd);
578 String str = consumeAssetFileDescriptor(afd);
579 afd = null
603 AssetFileDescriptor afd = null; local
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
BinaryDictionaryFileDumper.java 251 AssetFileDescriptor afd = null; local
255 afd = openAssetFileDescriptor(providerClient, wordListUri);
257 if (null == afd) return;
258 originalSourceStream = afd.createInputStream();
323 if (null != afd) afd.close();
  /packages/apps/Email/tests/src/com/android/email/provider/
AttachmentProviderTests.java 357 AssetFileDescriptor afd; local
359 afd = mMockResolver.openAssetFileDescriptor(file1Uri, "r");
373 afd = mMockResolver.openAssetFileDescriptor(file1Uri, "r");
392 afd = mMockResolver.openAssetFileDescriptor(file2Uri, "r");
393 assertNotNull(afd);
395 afd.close();
425 AssetFileDescriptor afd = mMockResolver.openAssetFileDescriptor(thumb1Uri, "r"); local
426 assertNull(afd);
435 afd = mMockResolver.openAssetFileDescriptor(thumb1Uri, "r");
436 assertNull(afd);
    [all...]
  /external/jmonkeyengine/engine/src/android/com/jme3/audio/android/
AndroidAudioRenderer.java 389 AssetFileDescriptor afd = assetManager.openFd(key.getName()); // assetKey.getName() local
390 mp.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(),
391 afd.getLength());
  /cts/tests/tests/media/src/android/media/cts/
AudioEffectTest.java 255 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(R.raw.testmp3); local
256 mp.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength());
257 afd.close();
278 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(R.raw.testmp3); local
279 mMediaPlayer.setDataSource(afd.getFileDescriptor(),
280 afd.getStartOffset(),
281 afd.getLength());
282 afd.close()
    [all...]
  /development/samples/training/ContactsList/src/com/example/android/contactslist/ui/
ContactsListFragment.java 578 AssetFileDescriptor afd = null; local
599 afd = getActivity().getContentResolver().openAssetFileDescriptor(thumbUri, "r");
603 FileDescriptor fileDescriptor = afd.getFileDescriptor();
621 if (afd != null) {
623 afd.close();
    [all...]
  /frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
ScoAudioTest.java 360 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(mFileResId); local
361 mMediaPlayer.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength());
362 afd.close();
  /frameworks/base/media/java/android/media/
MediaPlayer.java 829 AssetFileDescriptor afd = context.getResources().openRawResourceFd(resid); local
    [all...]
  /frameworks/base/core/java/android/content/
ContentResolver.java 575 AssetFileDescriptor afd = openAssetFileDescriptor(uri, mode); local
576 if (afd == null) {
580 if (afd.getDeclaredLength() < 0) {
582 return afd.getParcelFileDescriptor();
588 afd.close();
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DictionaryProvider.java 314 final AssetFileDescriptor afd = getContext().getResources().openRawResourceFd( local
316 return afd;
  /cts/tests/tests/mediastress/src/android/mediastress/cts/
CodecTest.java 545 public static boolean resourcesPlayback(AssetFileDescriptor afd, int expectedDuration) {
549 mp.setDataSource(afd.getFileDescriptor(),afd.getStartOffset(), afd.getLength());
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
CodecTest.java 570 public static boolean resourcesPlayback(AssetFileDescriptor afd, int expectedDuration){
574 mp.setDataSource(afd.getFileDescriptor(),afd.getStartOffset(), afd.getLength());
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/15/
android.jar 
  /prebuilts/sdk/18/
android.jar 
  /prebuilts/sdk/4/
android.jar 
  /prebuilts/sdk/5/
android.jar 
  /prebuilts/sdk/6/
android.jar 
  /prebuilts/sdk/8/
android.jar 

Completed in 510 milliseconds

12