Home
last modified time | relevance | path

Searched refs:resource (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/provider/src/android/provider/cts/
DSearchIndexableResourceTest.java38 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/
DConscryptIntermediateVerificationTest.java38 private X509Certificate[] loadCertificates(int resource) throws Exception { in loadCertificates() argument
44 is = getContext().getResources().openRawResource(resource); in loadCertificates()
/cts/tools/vm-tests-tf/build/src/util/build/
DBuildUtilBase.java83 URL resource = getClass().getClassLoader().getResource(searchPath); in parseTestMethod() local
84 if (resource == null) { in parseTestMethod()
87 content = readURL(resource); in parseTestMethod()
/cts/hostsidetests/appsecurity/test-apps/IsolatedSplitApp/feature_a/
DAndroid.bp34 // Although feature splits use unique resource package names, they must all
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/presenter/
DCardPresenter.java26 import com.bumptech.glide.load.resource.drawable.GlideDrawable;
/cts/tests/tests/widget/src/android/widget/cts/
DListViewTest.java891 public MockAdapter(Context context, int resource, List<T> objects) { in MockAdapter() argument
892 super(context, resource, objects); in MockAdapter()
1151 public StableArrayAdapter(Context context, int resource, List<T> objects) { in StableArrayAdapter() argument
1152 super(context, resource, objects); in StableArrayAdapter()
1216 public PositionArrayAdapter(Context context, int resource, List<T> objects) { in PositionArrayAdapter() argument
1217 super(context, resource, objects); in PositionArrayAdapter()
DAbsListViewTest.java877 public PositionArrayAdapter(Context context, int resource, List<T> objects) { in PositionArrayAdapter() argument
878 super(context, resource, objects); in PositionArrayAdapter()
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageManagerTest.java833 private String mountObb(final int resource, final File file, int expectedState) { in mountObb() argument
834 copyRawToFile(resource, file); in mountObb()
852 private ObbObserver mountObbWithoutWait(final int resource, final File file) { in mountObbWithoutWait() argument
853 copyRawToFile(resource, file); in mountObbWithoutWait()
/cts/tests/tests/media/src/android/media/cts/
DImageReaderDecoderTest.java118 public MediaAsset(int resource, int width, int height) { in MediaAsset() argument
119 mResource = resource; in MediaAsset()
DMediaPlayerTest.java2115 int resource, int numInternalTracks, int[] subtitleResources, in testTimedText() argument
2117 if (!checkLoadResource(resource)) { in testTimedText()
DDecoderTest.java3115 private void testFlush(int resource) throws Exception {
3117 AssetFileDescriptor testFd = mResources.openRawResourceFd(resource);