Home
last modified time | relevance | path

Searched refs:outputFile (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/tools/aapt/
DPackage.cpp52 status_t writeAPK(Bundle* bundle, const String8& outputFile, const sp<OutputSet>& outputSet) in writeAPK() argument
72 FileType fileType = getFileType(outputFile.string()); in writeAPK()
79 if (unlink(outputFile.string()) != 0) { in writeAPK()
80 fprintf(stderr, "ERROR: unable to remove '%s': %s\n", outputFile.string(), in writeAPK()
86 outputFile.string()); in writeAPK()
90 fprintf(stderr, "ERROR: '%s' exists and is not a regular file\n", outputFile.string()); in writeAPK()
96 outputFile.string()); in writeAPK()
101 status = zip->open(outputFile.string(), ZipFile::kOpenReadWrite | ZipFile::kOpenCreate); in writeAPK()
104 outputFile.string()); in writeAPK()
115 outputFile.string()); in writeAPK()
[all …]
DMain.h44 const android::String8& outputFile,
DCommand.cpp2902 std::string inputFile, outputFile; in runInDaemonMode() local
2904 std::getline(std::cin, outputFile); in runInDaemonMode()
2906 bundle->setSingleCrunchOutputFile(outputFile.c_str()); in runInDaemonMode()
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DBitmapUtils.java40 File outputFile = new File(externalFilesDir, fileTitle + "_generated.png"); in saveBitmapIntoPNG() local
41 if (!outputFile.exists()) { in saveBitmapIntoPNG()
42 outputFile.createNewFile(); in saveBitmapIntoPNG()
45 out = new FileOutputStream(outputFile, false); in saveBitmapIntoPNG()
50 Log.v(TAG, "Write test No." + outputFile.getAbsolutePath() + " to file successfully."); in saveBitmapIntoPNG()
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/
DBandwidthEnforcementTestService.java58 String outputFile = intent.getStringExtra(OUTPUT_FILE); in onHandleIntent() local
59 dumpResult("testUrlConnection", testUrlConnection(), outputFile); in onHandleIntent()
60 dumpResult("testUrlConnectionv6", testUrlConnectionv6(), outputFile); in onHandleIntent()
61 dumpResult("testSntp", testSntp(getApplicationContext()), outputFile); in onHandleIntent()
62 dumpResult("testDns", testDns(), outputFile); in onHandleIntent()
65 public static void dumpResult(String tag, boolean result, String outputFile) { in dumpResult() argument
66 Log.d(TAG, "Test output file: " + outputFile); in dumpResult()
68 if (outputFile != null){ in dumpResult()
70 File outFile = new File(extStorage, outputFile); in dumpResult()
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/
DStats.java103 File outputFile = new File(statsFile); in writeStatsHeader() local
104 FileOutputStream out = new FileOutputStream(outputFile, true); in writeStatsHeader()
105 if (!outputFile.exists()) in writeStatsHeader()
172 File outputFile = new File(statsFile); in dumpStatistics() local
173 FileOutputStream out = new FileOutputStream(outputFile, true); in dumpStatistics()
174 assert outputFile.exists() : "Failed to open the stats file for writing!"; in dumpStatistics()
/frameworks/opt/setupwizard/tools/gradle/
Ddist-library-instrumentation-tests.gradle25 dist.file output.outputFile.canonicalPath, output.outputFile.name
31 dist.file output.outputFile.canonicalPath, output.outputFile.name
/frameworks/base/core/tests/coretests/src/android/os/
DFileBridgeTest.java38 private ParcelFileDescriptor outputFile; field in FileBridgeTest
49 outputFile = ParcelFileDescriptor.open(file, MODE_CREATE | MODE_READ_WRITE); in setUp()
52 bridge.setTargetFile(outputFile); in setUp()
59 outputFile.close(); in tearDown()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/license/
DLicenseHtmlGeneratorFromXml.java112 public static boolean generateHtml(List<File> xmlFiles, File outputFile, in generateHtml() argument
115 return genertor.generateHtml(outputFile, noticeHeader); in generateHtml()
118 private boolean generateHtml(File outputFile, String noticeHeader) { in generateHtml() argument
129 writer = new PrintWriter(outputFile); in generateHtml()
138 Log.e(TAG, "Failed to generate " + outputFile, e); in generateHtml()
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DDownloadManagerTestApp.java129 DataOutputStream outputFile = null; in initiateDownload() local
146 outputFile = new DataOutputStream(fileOutput); in initiateDownload()
147 outputFile.writeLong(dlRequest); in initiateDownload()
149 if (outputFile != null) { in initiateDownload()
150 outputFile.flush(); in initiateDownload()
151 outputFile.close(); in initiateDownload()
/frameworks/av/media/libeffects/lvm/tests/
Dreverb_test.cpp220 const char* outputFile = nullptr; in main() local
249 outputFile = (char*)optarg; in main()
298 if (outputFile == nullptr) { in main()
303 std::unique_ptr<FILE, decltype(&fclose)> outputFp(fopen(outputFile, "wb"), &fclose); in main()
306 ALOGE("Cannot open output file %s\n", outputFile); in main()
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/chunking/
DDecryptedChunkFileOutput.java46 public DecryptedChunkFileOutput(File outputFile) { in DecryptedChunkFileOutput() argument
47 mOutputFile = outputFile; in DecryptedChunkFileOutput()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DImageExporter.java117 final File outputFile) { in exportToRawFile() argument
121 try (FileOutputStream stream = new FileOutputStream(outputFile)) { in exportToRawFile()
123 completer.set(outputFile); in exportToRawFile()
125 if (outputFile.exists()) { in exportToRawFile()
127 outputFile.delete(); in exportToRawFile()
/frameworks/av/media/libeffects/preprocessing/tests/
DPreProcessingTest.cpp208 const char* outputFile = nullptr; in main() local
250 outputFile = (char*)optarg; in main()
325 std::unique_ptr<FILE, decltype(&fclose)> outputFp(fopen(outputFile, "wb"), &fclose); in main()
343 if (outputFile != nullptr && outputFp == nullptr) { in main()
344 ALOGE("Cannot open output file %s\n", outputFile); in main()
/frameworks/av/media/libstagefright/tests/writer/
DWriterTest.cpp473 string outputFile = OUTPUT_FILE_NAME; in TEST_P() local
475 open(outputFile.c_str(), O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in TEST_P()
488 string outputFile = OUTPUT_FILE_NAME; in TEST_P() local
490 open(outputFile.c_str(), O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in TEST_P()
560 ASSERT_NO_FATAL_FAILURE(setupExtractor(extractor, outputFile, trackCount)); in TEST_P()
600 string outputFile = OUTPUT_FILE_NAME; in TEST_P() local
602 open(outputFile.c_str(), O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in TEST_P()
660 string outputFile = OUTPUT_FILE_NAME; in TEST_P() local
662 open(outputFile.c_str(), O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in TEST_P()
914 string outputFile = OUTPUT_FILE_NAME; in TEST_P() local
[all …]
/frameworks/compile/mclinker/lib/Core/
DLinkerScript.cpp46 const std::string& LinkerScript::outputFile() const { in outputFile() function in mcld::LinkerScript
/frameworks/av/services/audiopolicy/engineconfigurable/tools/
DbuildCommonTypesStructureFile.py69 def generateXmlStructureFile(componentTypeDict, structureTypesFile, outputFile): argument
102 outputFile.write(prettyXmlStr)
DbuildPolicyCriterionTypes.py88 def generateXmlCriterionTypesFile(criterionTypes, addressCriteria, criterionTypesFile, outputFile): argument
128 outputFile.write(prettyXmlStr)
/frameworks/compile/mclinker/include/mcld/
DLinkerScript.h91 const std::string& outputFile() const;
/frameworks/base/media/mca/samples/CameraEffectsRecordingSample/res/raw/
Dcameraeffectsrecordingsample.graph44 outputFile = $outputFileName;
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DAutomaticActivity.java223 File outputFile = new File(Environment.getExternalStorageDirectory(), in finishTest() local
225 FileOutputStream outputStream = new FileOutputStream(outputFile); in finishTest()
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
DAppLaunch.java841 File outputFile = File.createTempFile("exec_shell_command", ".sh"); in executeShellCommandWithTempFile() local
844 outputFile.setWritable(true); in executeShellCommandWithTempFile()
845 outputFile.setExecutable(true, /*ownersOnly*/false); in executeShellCommandWithTempFile()
847 String scriptPath = outputFile.toString(); in executeShellCommandWithTempFile()
867 outputFile.delete(); in executeShellCommandWithTempFile()
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java429 public BluetoothTestUtils(Context context, String tag, String outputFile) { in BluetoothTestUtils() argument
432 mOutputFile = outputFile; in BluetoothTestUtils()