Home
last modified time | relevance | path

Searched refs:filePath (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/mediastress/src/android/mediastress/cts/
DCodecTest.java80 public static int getDuration(String filePath) { in getDuration() argument
81 Log.v(TAG, "getDuration - " + filePath); in getDuration()
84 mp.setDataSource(filePath); in getDuration()
96 public static boolean getCurrentPosition(String filePath) { in getCurrentPosition() argument
97 Log.v(TAG, "GetCurrentPosition - " + filePath); in getCurrentPosition()
103 mp.setDataSource(filePath); in getCurrentPosition()
126 public static boolean seekTo(String filePath) { in seekTo() argument
127 Log.v(TAG, "seekTo " + filePath); in seekTo()
131 mp.setDataSource(filePath); in seekTo()
150 public static boolean setLooping(String filePath) { in setLooping() argument
[all …]
/cts/tests/tests/content/src/android/content/cts/
DImageCaptureActivity.java90 Uri filePath = clipData.getItemAt(0).getUri(); in getFileFromIntent() local
91 if (filePath == null) { in getFileFromIntent()
97 return new File(filePath.getPath()); in getFileFromIntent()
DReadableFileReceiverActivity.java92 Uri filePath = clipData.getItemAt(i).getUri(); in getFilesFromIntent() local
93 if (filePath == null) { in getFilesFromIntent()
98 result.add(new File(filePath.getPath())); in getFilesFromIntent()
/cts/common/device-side/device-info/tests/src/com/android/compatibility/common/deviceinfo/
DDeviceInfoActivityTest.java65 private String readFile(String filePath) throws IOException { in readFile() argument
67 new FileInputStream(filePath), "UTF-8"); in readFile()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DCameraTestUtils.java1293 String filePath) { in validateImage() argument
1308 validateJpegData(data, width, height, filePath); in validateImage()
1312 validateYuvData(data, width, height, format, image.getTimestamp(), filePath); in validateImage()
1315 validateRaw16Data(data, width, height, format, image.getTimestamp(), filePath); in validateImage()
1318 validateDepth16Data(data, width, height, format, image.getTimestamp(), filePath); in validateImage()
1321 … validateDepthPointCloudData(data, width, height, format, image.getTimestamp(), filePath); in validateImage()
1366 private static void validateJpegData(byte[] jpegData, int width, int height, String filePath) { in validateJpegData() argument
1379 if (DEBUG && filePath != null) { in validateJpegData()
1381 filePath + "/" + width + "x" + height + ".jpeg"; in validateJpegData()
1387 long ts, String filePath) { in validateYuvData() argument
[all …]
DDngCreatorTest.java235 String filePath = DEBUG_FILE_NAME_BASE + "/camera_thumb_" + deviceId + "_" + in testSingleImageThumbnail() local
238 fileStream = new FileOutputStream(filePath); in testSingleImageThumbnail()
242 Log.v(TAG, "Test DNG file for camera " + deviceId + " saved to " + filePath); in testSingleImageThumbnail()
/cts/tests/tests/speech/src/android/speech/tts/cts/
DTextToSpeechWrapper.java247 public static boolean isSoundFile(String filePath) { in isSoundFile() argument
253 mp.setDataSource(filePath); in isSoundFile()
/cts/tools/utils/
DbuildCts.py33 def ReadFileLines(filePath): argument
35 f = open(filePath, 'r');
/cts/tests/tests/media/src/android/media/cts/
DImageReaderDecoderTest.java604 Image image, int width, int height, int format, String filePath) { in validateImage() argument
607 Log.v(TAG, "Image " + filePath + " Info:"); in validateImage()
624 if (VERBOSE && filePath != null) { in validateImage()
625 dumpFile(filePath, data); in validateImage()