/cts/tests/tests/provider/src/android/provider/cts/ |
D | SearchIndexableResourceTest.java | 38 SearchIndexableResource resource = new SearchIndexableResource(RANK, XML_RES_ID, CLASS_NAME, in testConstructor() local 41 assertEquals(RANK, resource.rank); in testConstructor() 42 assertEquals(XML_RES_ID, resource.xmlResId); in testConstructor() 43 assertEquals(CLASS_NAME, resource.className); in testConstructor() 44 assertEquals(ICON_RES_ID, resource.iconResId); in testConstructor()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | ConscryptIntermediateVerificationTest.java | 37 private X509Certificate[] loadCertificates(int resource) throws Exception { in loadCertificates() argument 43 is = getContext().getResources().openRawResource(resource); in loadCertificates()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 470 private static boolean hasCodecsForResourceCombo(final String resource, int track, in hasCodecsForResourceCombo() argument 477 ex.setDataSource(resource); in hasCodecsForResourceCombo() 540 public static boolean hasCodecsForResource(final String resource) { in hasCodecsForResource() argument 541 return hasCodecsForResourceCombo(resource, ALL_AV_TRACKS, null /* mimePrefix */); in hasCodecsForResource() 544 public static boolean checkCodecsForResource(final String resource) { in checkCodecsForResource() argument 545 return check(hasCodecsForResource(resource), "no decoder found"); in checkCodecsForResource() 559 public static boolean hasCodecForResource(final String resource, int track) { in hasCodecForResource() argument 560 return hasCodecsForResourceCombo(resource, track, null /* mimePrefix */); in hasCodecForResource() 563 public static boolean checkCodecForResource(final String resource, int track) { in checkCodecForResource() argument 564 return check(hasCodecForResource(resource, track), "no decoder found"); in checkCodecForResource() [all …]
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/ |
D | Packages.java | 458 public Package install(UserReference user, AndroidResource resource) { in install() argument 460 resource.mName, /* defType= */ null, /* defPackage= */ null); in install() 466 throw new NeneException("Error reading resource " + resource, e); in install() 480 public Package install(UserReference user, JavaResource resource) { in install() argument 482 Packages.class.getClassLoader().getResourceAsStream(resource.mName)) { in install() 485 throw new NeneException("Error reading java resource " + resource, e); in install()
|
/cts/hostsidetests/appsecurity/test-apps/IsolatedSplitApp/feature_a/ |
D | Android.bp | 38 // Although feature splits use unique resource package names, they must all 65 // Although feature splits use unique resource package names, they must all
|
/cts/tools/vm-tests-tf/build/src/util/build/ |
D | BuildUtilBase.java | 83 URL resource = getClass().getClassLoader().getResource(searchPath); in parseTestMethod() local 84 if (resource == null) { in parseTestMethod() 87 content = readURL(resource); in parseTestMethod()
|
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/presenter/ |
D | CardPresenter.java | 26 import com.bumptech.glide.load.resource.drawable.GlideDrawable;
|
/cts/tests/tests/os/src/android/os/storage/cts/ |
D | StorageManagerTest.java | 951 private String mountObb(final int resource, final File file, int expectedState) { in mountObb() argument 952 copyRawToFile(resource, file); in mountObb() 970 private ObbObserver mountObbWithoutWait(final int resource, final File file) { in mountObbWithoutWait() argument 971 copyRawToFile(resource, file); in mountObbWithoutWait()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ListViewTest.java | 919 public MockAdapter(Context context, int resource, List<T> objects) { in MockAdapter() argument 920 super(context, resource, objects); in MockAdapter() 1491 public StableArrayAdapter(Context context, int resource, List<T> objects) { in StableArrayAdapter() argument 1492 super(context, resource, objects); in StableArrayAdapter() 1556 public PositionArrayAdapter(Context context, int resource, List<T> objects) { in PositionArrayAdapter() argument 1557 super(context, resource, objects); in PositionArrayAdapter()
|
D | AbsListViewTest.java | 892 public PositionArrayAdapter(Context context, int resource, List<T> objects) { in PositionArrayAdapter() argument 893 super(context, resource, objects); in PositionArrayAdapter()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | VideoDecoderPerfTest.java | 90 private void decode(String name, final String resource, MediaFormat format) throws Exception { in decode() argument 109 measuredFps[i] = doDecode(name, resource, width, height, s, i, maxTimeMs); in decode()
|
D | ImageReaderDecoderTest.java | 122 public MediaAsset(String resource, int width, int height) { in MediaAsset() argument 123 mResource = resource; in MediaAsset()
|
D | MediaCodecBlockModelTest.java | 970 private MediaExtractor getMediaExtractorForMimeType(final String resource, in getMediaExtractorForMimeType() argument 973 try (AssetFileDescriptor afd = getAssetFileDescriptorFor(resource)) { in getMediaExtractorForMimeType()
|
D | VideoCodecTestBase.java | 750 private InputStream OpenFileOrResource(String filename, final String resource) in OpenFileOrResource() argument 756 Preconditions.assertTestFileExists(mInpPrefix + resource); in OpenFileOrResource() 757 return new FileInputStream(mInpPrefix + resource); in OpenFileOrResource()
|
D | MediaCodecTest.java | 1909 private MediaExtractor getMediaExtractorForMimeType(final String resource, in getMediaExtractorForMimeType() argument 1911 Preconditions.assertTestFileExists(mInpPrefix + resource); in getMediaExtractorForMimeType() 1913 File inpFile = new File(mInpPrefix + resource); in getMediaExtractorForMimeType()
|
D | MediaPlayerTest.java | 2144 String resource, int numInternalTracks, String[] subtitleResources, in testTimedText() argument 2146 if (!checkLoadResource(resource)) { in testTimedText()
|