Home
last modified time | relevance | path

Searched refs:inputFile (Results 1 – 10 of 10) sorted by relevance

/cts/hostsidetests/securitybulletin/securityPatch/CVE-2023-21118/
Dpoc.cpp31 ifstream inputFile("cve_2023_21118.bin", ios::binary); in fillParcel() local
32 FAIL_CHECK(inputFile.is_open()); in fillParcel()
35 inputFile.seekg(0, std::ios::end); in fillParcel()
36 std::streampos fileSize = inputFile.tellg(); in fillParcel()
37 inputFile.seekg(0, std::ios::beg); in fillParcel()
41 inputFile.read(reinterpret_cast<char *>(fileData.data()), fileSize); in fillParcel()
42 inputFile.close(); in fillParcel()
/cts/tools/vm-tests-tf/build/src/util/build/
DJarBuildStep.java38 public JarBuildStep(BuildFile inputFile, String outputJarEntryName, in JarBuildStep() argument
40 super(inputFile, outputJarFile); in JarBuildStep()
48 File tempFile = new File(inputFile.folder, outputJarEntryName); in build()
50 if (!inputFile.fileName.equals(tempFile)) { in build()
51 copyFile(inputFile.fileName, tempFile); in build()
71 Path absoluteInputPath = Paths.get(inputFile.folder.getAbsolutePath()) in build()
110 inputFile.fileName.delete(); in build()
120 return inputFile.hashCode() ^ outputFile.hashCode() in hashCode()
128 return inputFile.equals(other.inputFile) in equals()
DD8BuildStep.java33 D8BuildStep(BuildFile inputFile, BuildFile outputFile, boolean deleteInputFileAfterBuild) { in D8BuildStep() argument
34 super(inputFile, outputFile); in D8BuildStep()
50 Paths.get(inputFile.fileName.getAbsolutePath()), in build()
67 inputFile.fileName.delete(); in build()
76 return inputFile.hashCode() ^ outputFile.hashCode(); in hashCode()
84 return inputFile.equals(other.inputFile) && outputFile.equals(other.outputFile); in equals()
DBuildStep.java29 BuildFile inputFile; field in BuildStep
66 BuildStep(BuildFile inputFile, BuildFile outputFile) { in BuildStep() argument
67 if (inputFile == null) { in BuildStep()
73 this.inputFile = inputFile; in BuildStep()
/cts/tools/cts-api-coverage/src/com/android/cts/apimap/
DFileUtils.java35 public static Path getJarFile(String inputFile) { in getJarFile() argument
36 Path filePath = Paths.get(inputFile); in getJarFile()
37 if (inputFile.endsWith(".jar")) { in getJarFile()
42 } else if (inputFile.endsWith(".apk")) { in getJarFile()
48 String[] arrOsStr = inputFile.split("/"); in getJarFile()
72 public static List<Path> getJarFilesFromFile(String inputFile) throws IOException { in getJarFilesFromFile() argument
73 Path filePath = Paths.get(inputFile); in getJarFilesFromFile()
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DCVE_2023_21127.java47 String inputFile = "cve_2023_21127.ogg"; in testPocCVE_2023_21127() local
58 .args(inputFile) in testPocCVE_2023_21127()
59 .resources(inputFile) in testPocCVE_2023_21127()
DCVE_2023_21261.java50 String inputFile = "cve_2023_21261.ttf"; in testPocCVE_2023_21261() local
63 .args("CVE-2022-27406", inputFile) in testPocCVE_2023_21261()
64 .resources(inputFile) in testPocCVE_2023_21261()
DCVE_2023_21118.java42 String inputFile = "cve_2023_21118.bin"; in testPocCVE_2023_21118() local
56 .resources(inputFile) in testPocCVE_2023_21118()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCallComposerTest.java154 private UUID pictureUploadHelper(Path inputFile, InputStream inputStream, in pictureUploadHelper() argument
172 if (inputFile != null) { in pictureUploadHelper()
173 tm.uploadCallComposerPicture(inputFile, TEST_FILE_CONTENT_TYPE, in pictureUploadHelper()
213 if (inputFile != null) { in pictureUploadHelper()
215 Files.newOutputStream(inputFile, StandardOpenOption.WRITE, in pictureUploadHelper()
/cts/hostsidetests/packagemanager/parsing/processing/
DApkGenerator.py45 for inputFile in inputFiles:
46 text = open(inputFile, "r").read()