/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/tools/release-parser/src/com/android/cts/releaseparser/ |
D | DepPrinter.java | 212 String filePath = dep; in printDep() local 218 filePath = "VENDOR/lib/egl/" + dep.substring(0, idx); in printDep() 220 filePath = "VENDOR/lib64/egl/" + dep.substring(0, idx); in printDep() 222 depEntry = mTreeEntryMap.tailMap(filePath, false).firstEntry().getValue(); in printDep() 248 filePath = String.format("SYSTEM/lib/%s", dep); in printDep() 250 filePath = String.format("SYSTEM/lib64/%s", dep); in printDep() 253 depEntry = mRelContent.getEntries().get(filePath); in printDep() 258 filePath = String.format("VENDOR/lib/%s", dep); in printDep() 260 filePath = String.format("VENDOR/lib64/%s", dep); in printDep() 262 depEntry = mRelContent.getEntries().get(filePath); in printDep() [all …]
|
D | DepCsvPrinter.java | 223 String filePath = dep; in printDep() local 229 filePath = "VENDOR/lib/egl/" + dep.substring(0, idx); in printDep() 231 filePath = "VENDOR/lib64/egl/" + dep.substring(0, idx); in printDep() 233 depEntry = mTreeEntryMap.tailMap(filePath, false).firstEntry().getValue(); in printDep() 258 filePath = String.format("SYSTEM/lib/%s", dep); in printDep() 260 filePath = String.format("SYSTEM/lib64/%s", dep); in printDep() 263 depEntry = mRelContent.getEntries().get(filePath); in printDep() 268 filePath = String.format("VENDOR/lib/%s", dep); in printDep() 270 filePath = String.format("VENDOR/lib64/%s", dep); in printDep() 272 depEntry = mRelContent.getEntries().get(filePath); in printDep() [all …]
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | NativeImageReaderTest.java | 61 private static native boolean testJpegNative(String filePath); in testJpegNative() argument 62 private static native boolean testY8Native(String filePath); in testY8Native() argument 63 private static native boolean testHeicNative(String filePath); in testHeicNative() argument 64 private static native boolean testDepthJpegNative(String filePath); in testDepthJpegNative() argument
|
D | NativeStillCaptureTest.java | 51 String filePath, Surface previewSurface); in testStillCaptureNative() argument
|
D | DngCreatorTest.java | 275 String filePath = mDebugFileNameBase + "/camera_thumb_" + deviceId + "_" + in testSingleImageThumbnail() local 278 fileStream = new FileOutputStream(filePath); in testSingleImageThumbnail() 283 Log.v(TAG, "Test DNG file for camera " + deviceId + " saved to " + filePath); in testSingleImageThumbnail() 289 ExifInterface exifInterface = new ExifInterface(filePath); in testSingleImageThumbnail() 331 File dngFile = new File(filePath); in testSingleImageThumbnail()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | ParcelableExceptionTest.java | 38 String filePath = "/data/system/" + System.currentTimeMillis(); in test_CVE_2017_0871() local 39 File file = new File(filePath); in test_CVE_2017_0871() 40 Bundle bundle = createBundle("java.io.FileOutputStream", filePath); in test_CVE_2017_0871()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | NetworkWatchlistTest.java | 120 private void saveResourceToFile(String res, String filePath) throws IOException { in saveResourceToFile() argument 122 ParcelFileDescriptor stdin = pipeFromStdin(filePath); in saveResourceToFile() 127 private ParcelFileDescriptor pipeFromStdin(String filePath) { in pipeFromStdin() argument 130 return runRwCommand("cp /proc/self/fd/0 " + filePath)[1]; in pipeFromStdin()
|
/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/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 1554 String filePath) { in validateImage() argument 1572 validateJpegData(data, width, height, filePath); in validateImage() 1576 validateYuvData(data, width, height, format, image.getTimestamp(), filePath); in validateImage() 1579 validateRaw16Data(data, width, height, format, image.getTimestamp(), filePath); in validateImage() 1582 validateDepth16Data(data, width, height, format, image.getTimestamp(), filePath); in validateImage() 1585 … validateDepthPointCloudData(data, width, height, format, image.getTimestamp(), filePath); in validateImage() 1588 validateRawPrivateData(data, width, height, image.getTimestamp(), filePath); in validateImage() 1591 validateY8Data(data, width, height, format, image.getTimestamp(), filePath); in validateImage() 1594 validateHeicData(data, width, height, filePath); in validateImage() 1653 private static void validateJpegData(byte[] jpegData, int width, int height, String filePath) { in validateJpegData() argument [all …]
|
/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/tests/graphics/src/android/graphics/drawable/cts/ |
D | IconTest.java | 157 String filePath = file.toURI().getPath(); in testFileIcon_getType() local 161 assertEquals(filePath, icon.getUri().getPath()); in testFileIcon_getType() 165 assertEquals(filePath, icon.getUri().getPath()); in testFileIcon_getType() 169 assertEquals(filePath, icon.getUri().getPath()); in testFileIcon_getType()
|
/cts/hostsidetests/edi/src/android/edi/cts/ |
D | LibraryDeviceInfo.java | 78 private String getSha1(String filePath) { in getSha1() argument 81 String out = mDevice.executeShellCommand("sha1sum " + filePath); in getSha1()
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | LightBarTestBase.java | 77 Path filePath = DUMP_PATH.resolve(name + ".png"); in dumpBitmap() local 78 Log.e(TAG, "Dumping failed bitmap to " + filePath); in dumpBitmap() 81 fileStream = new FileOutputStream(filePath.toFile()); in dumpBitmap()
|
/cts/hostsidetests/security/src/android/security/cts/ |
D | KernelConfigTest.java | 211 private boolean doesFileExist(String filePath) throws Exception { in doesFileExist() argument 212 String lsGrep = mDevice.executeShellCommand(String.format("ls \"%s\"", filePath)); in doesFileExist() 213 return lsGrep.trim().equals(filePath); in doesFileExist()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | CurrentApiHelper.java | 125 private static Document parseXmlFile(String filePath) throws Exception { in parseXmlFile() argument 126 File apiFile = new File(filePath); in parseXmlFile()
|
/cts/tests/app/src/android/app/cts/ |
D | DownloadManagerTestBase.java | 227 protected static String readFromRawFile(String filePath) throws Exception { in readFromRawFile() argument 228 Log.d(TAG, "Reading form file: " + filePath); in readFromRawFile() 230 ParcelFileDescriptor.open(new File(filePath), ParcelFileDescriptor.MODE_READ_ONLY)); in readFromRawFile()
|
/cts/tests/tests/graphics/jni/ |
D | VulkanPreTransformTestHelpers.h | 85 VkTestResult loadShaderFromFile(const char* filePath, VkShaderModule* const outShader);
|
D | VulkanPreTransformTestHelpers.cpp | 540 VkTestResult Renderer::loadShaderFromFile(const char* filePath, VkShaderModule* const outShader) { in loadShaderFromFile() argument 541 ASSERT(filePath); in loadShaderFromFile() 543 AAsset* file = AAssetManager_open(mAssetManager, filePath, AASSET_MODE_BUFFER); in loadShaderFromFile()
|
/cts/tests/tests/speech/src/android/speech/tts/cts/ |
D | TextToSpeechWrapper.java | 368 public static boolean isSoundFile(String filePath) { in isSoundFile() argument 374 mp.setDataSource(filePath); in isSoundFile()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ImageReaderDecoderTest.java | 607 Image image, int width, int height, int format, String filePath) { in validateImage() argument 610 Log.v(TAG, "Image " + filePath + " Info:"); in validateImage() 627 if (VERBOSE && filePath != null) { in validateImage() 628 dumpFile(filePath, data); in validateImage()
|
D | MediaRecorderTest.java | 1116 for (String filePath : recordFileList) { in testRecordExceedFileSizeLimit() 1117 checkOutputFileSize(filePath, fileSize, tolerance); in testRecordExceedFileSizeLimit()
|
/cts/tools/utils/ |
D | buildCts.py | 34 def ReadFileLines(filePath): argument 36 f = open(filePath, 'r');
|