/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 | 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 …]
|
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 …]
|
/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 | 118 private void saveResourceToFile(String res, String filePath) throws IOException { in saveResourceToFile() argument 120 ParcelFileDescriptor stdin = pipeFromStdin(filePath); in saveResourceToFile() 125 private ParcelFileDescriptor pipeFromStdin(String filePath) { in pipeFromStdin() argument 128 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/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/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/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/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/security/src/android/cts/security/ |
D | KernelConfigTest.java | 197 private boolean doesFileExist(String filePath) throws Exception { in doesFileExist() argument 198 String lsGrep = mDevice.executeShellCommand(String.format("ls \"%s\"", filePath)); in doesFileExist() 199 return lsGrep.trim().equals(filePath); in doesFileExist()
|
/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/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/tests/graphics/jni/ |
D | VulkanPreTransformTestHelpers.h | 85 VkTestResult loadShaderFromFile(const char* filePath, VkShaderModule* const outShader);
|
D | VulkanPreTransformTestHelpers.cpp | 538 VkTestResult Renderer::loadShaderFromFile(const char* filePath, VkShaderModule* const outShader) { in loadShaderFromFile() argument 539 ASSERT(filePath); in loadShaderFromFile() 541 AAsset* file = AAssetManager_open(mAssetManager, filePath, AASSET_MODE_BUFFER); in loadShaderFromFile()
|
/cts/tests/app/src/android/app/cts/ |
D | DownloadManagerTestBase.java | 155 protected static String readFromRawFile(String filePath) throws Exception { in readFromRawFile() argument 156 Log.d(TAG, "Reading form file: " + filePath); in readFromRawFile() 157 return runShellCommand("cat " + filePath); in readFromRawFile()
|
/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 | 1114 for (String filePath : recordFileList) { in testRecordExceedFileSizeLimit() 1115 checkOutputFileSize(filePath, fileSize, tolerance); in testRecordExceedFileSizeLimit()
|
/cts/tools/utils/ |
D | buildCts.py | 34 def ReadFileLines(filePath): argument 36 f = open(filePath, 'r');
|