/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | CodecTest.java | 80 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/ |
D | ImageCaptureActivity.java | 90 Uri filePath = clipData.getItemAt(0).getUri(); in getFileFromIntent() local 91 if (filePath == null) { in getFileFromIntent() 97 return new File(filePath.getPath()); in getFileFromIntent()
|
D | ReadableFileReceiverActivity.java | 92 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/ |
D | DeviceInfoTest.java | 49 private String readFile(String filePath) throws IOException { in readFile() argument 51 new FileInputStream(filePath), "UTF-8"); in readFile()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 1396 String filePath) { in validateImage() argument 1411 validateJpegData(data, width, height, filePath); in validateImage() 1415 validateYuvData(data, width, height, format, image.getTimestamp(), filePath); in validateImage() 1418 validateRaw16Data(data, width, height, format, image.getTimestamp(), filePath); in validateImage() 1421 validateDepth16Data(data, width, height, format, image.getTimestamp(), filePath); in validateImage() 1424 … validateDepthPointCloudData(data, width, height, format, image.getTimestamp(), filePath); in validateImage() 1427 validateRawPrivateData(data, width, height, image.getTimestamp(), filePath); in validateImage() 1472 private static void validateJpegData(byte[] jpegData, int width, int height, String filePath) { in validateJpegData() argument 1485 if (DEBUG && filePath != null) { in validateJpegData() 1487 filePath + "/" + width + "x" + height + ".jpeg"; in validateJpegData() [all …]
|
D | NativeImageReaderTest.java | 41 private static native boolean testJpegNative(String filePath); in testJpegNative() argument
|
D | NativeStillCaptureTest.java | 46 String filePath, Surface previewSurface); in testStillCaptureNative() argument
|
D | DngCreatorTest.java | 265 String filePath = DEBUG_FILE_NAME_BASE + "/camera_thumb_" + deviceId + "_" + in testSingleImageThumbnail() local 268 fileStream = new FileOutputStream(filePath); in testSingleImageThumbnail() 273 Log.v(TAG, "Test DNG file for camera " + deviceId + " saved to " + filePath); in testSingleImageThumbnail() 279 ExifInterface exifInterface = new ExifInterface(filePath); in testSingleImageThumbnail() 297 File dngFile = new File(filePath); in testSingleImageThumbnail()
|
/cts/tests/tests/speech/src/android/speech/tts/cts/ |
D | TextToSpeechWrapper.java | 313 public static boolean isSoundFile(String filePath) { in isSoundFile() argument 319 mp.setDataSource(filePath); in isSoundFile()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ImageReaderDecoderTest.java | 604 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()
|
/cts/tools/utils/ |
D | buildCts.py | 34 def ReadFileLines(filePath): argument 36 f = open(filePath, 'r');
|