Home
last modified time | relevance | path

Searched refs:obtainPath (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/
DYuvImageTest.java259 String hdrInput = Utils.obtainPath(R.raw.raw_p010_image, 0); in testCompressYuvToJpegRWithBadInputs()
260 String sdrInput = Utils.obtainPath(R.raw.raw_yuv420_image, 0); in testCompressYuvToJpegRWithBadInputs()
378 String hdrInput = Utils.obtainPath(R.raw.raw_p010_image, 0); in testCompressYuvToJpegR()
379 String sdrInput = Utils.obtainPath(R.raw.raw_yuv420_image, 0); in testCompressYuvToJpegR()
411 String hdrInput = Utils.obtainPath(R.raw.raw_p010_image, 0); in testCompressYuvToJpegRWithExif()
412 String sdrInput = Utils.obtainPath(R.raw.raw_yuv420_image, 0); in testCompressYuvToJpegRWithExif()
413 String exifInput = Utils.obtainPath(R.raw.sample_exif, 0); in testCompressYuvToJpegRWithExif()
457 String hdrInput = Utils.obtainPath(R.raw.raw_p010_image, 0); in testCompressYuvToJpegRWithStrides()
458 String sdrInput = Utils.obtainPath(R.raw.raw_yuv420_image, 0); in testCompressYuvToJpegRWithStrides()
DTypefaceTest.java169 Typeface typefaceFromFile = Typeface.createFromFile(obtainPath()); in testGetSystemFontFamilyName()
247 File file = new File(obtainPath()); in testCreateFromFileByFileReference()
272 Typeface typeface = Typeface.createFromFile(obtainPath()); in testCreateFromFileByFileName()
276 private String obtainPath() throws IOException { in obtainPath() method in TypefaceTest
448 File file = new File(obtainPath()); in testTypefaceBuilder_FileSource()
449 Typeface typeface1 = new Typeface.Builder(obtainPath()).build(); in testTypefaceBuilder_FileSource()
470 final File validFile = new File(obtainPath()); in testTypefaceBuilder_fallback()
558 try (FileInputStream fis = new FileInputStream(obtainPath())) { in testTypefaceBuilder_FileSourceFD()
DUtils.java60 static String obtainPath(int resId, long offset) { in obtainPath() method in Utils
DBitmapFactoryTest.java334 ParcelFileDescriptor pfd = obtainParcelDescriptor(obtainPath()); in testDecodeFileDescriptor1()
348 ParcelFileDescriptor pfd = obtainParcelDescriptor(obtainPath()); in testDecodeFileDescriptor2()
374 String path = Utils.obtainPath(testImage.id, actualOffset); in testDecodeFileDescriptor3()
405 Bitmap b = BitmapFactory.decodeFile(obtainPath(), mOpt1); in testDecodeFile1()
411 assertNull(BitmapFactory.decodeFile(obtainPath(), mOpt2)); in testDecodeFile1()
416 Bitmap b = BitmapFactory.decodeFile(obtainPath()); in testDecodeFile2()
1181 private String obtainPath() throws IOException { in obtainPath() method in BitmapFactoryTest
1182 return Utils.obtainPath(R.drawable.start, 0); in obtainPath()
DBitmapRegionDecoderTest.java188 String filepath = obtainPath(i); in testNewInstanceStringAndFileDescriptor()
299 String filepath = obtainPath(i); in testDecodeRegionStringAndFileDescriptor()
868 private String obtainPath(int idx) throws IOException { in obtainPath() method in BitmapRegionDecoderTest