Searched refs:obtainPath (Results 1 – 3 of 3) sorted by relevance
203 File file = new File(obtainPath()); in testCreateFromFileByFileReference()228 Typeface typeface = Typeface.createFromFile(obtainPath()); in testCreateFromFileByFileName()232 private String obtainPath() throws IOException { in obtainPath() method in TypefaceTest404 File file = new File(obtainPath()); in testTypefaceBuilder_FileSource()405 Typeface typeface1 = new Typeface.Builder(obtainPath()).build(); in testTypefaceBuilder_FileSource()426 final File validFile = new File(obtainPath()); in testTypefaceBuilder_fallback()514 try (FileInputStream fis = new FileInputStream(obtainPath())) { in testTypefaceBuilder_FileSourceFD()
295 ParcelFileDescriptor pfd = obtainParcelDescriptor(obtainPath()); in testDecodeFileDescriptor1()309 ParcelFileDescriptor pfd = obtainParcelDescriptor(obtainPath()); in testDecodeFileDescriptor2()333 String path = obtainPath(RES_ID, actualOffset); in testDecodeFileDescriptor3()365 Bitmap b = BitmapFactory.decodeFile(obtainPath(), mOpt1); in testDecodeFile1()371 assertNull(BitmapFactory.decodeFile(obtainPath(), mOpt2)); in testDecodeFile1()376 Bitmap b = BitmapFactory.decodeFile(obtainPath()); in testDecodeFile2()991 private String obtainPath() throws IOException { in obtainPath() method in BitmapFactoryTest992 return obtainPath(R.drawable.start, 0); in obtainPath()1002 private String obtainPath(int resId, long offset) throws IOException { in obtainPath() method in BitmapFactoryTest
186 String filepath = obtainPath(i); in testNewInstanceStringAndFileDescriptor()298 String filepath = obtainPath(i); in testDecodeRegionStringAndFileDescriptor()725 private String obtainPath(int idx) throws IOException { in obtainPath() method in BitmapRegionDecoderTest