Home
last modified time | relevance | path

Searched refs:outputFile (Results 1 – 16 of 16) 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.cpp2845 std::string inputFile, outputFile; in runInDaemonMode() local
2847 std::getline(std::cin, outputFile); in runInDaemonMode()
2849 bundle->setSingleCrunchOutputFile(outputFile.c_str()); in runInDaemonMode()
/frameworks/base/cmds/statsd/tools/localtools/src/com/android/statsd/shelltools/
DUtils.java46 public static void runCommand(File outputFile, Logger logger, String... commands) in runCommand() argument
49 if (outputFile != null && outputFile.exists() && outputFile.canWrite()) { in runCommand()
50 pb.redirectOutput(outputFile); in runCommand()
85 File outputFile = File.createTempFile("statsdret", ".bin"); in getReportList() local
86 outputFile.deleteOnExit(); in getReportList()
88 outputFile, in getReportList()
99 ConfigMetricsReportList.parseFrom(new FileInputStream(outputFile)); in getReportList()
/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/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/packages/SettingsLib/src/com/android/settingslib/license/
DLicenseHtmlGeneratorFromXml.java110 public static boolean generateHtml(List<File> xmlFiles, File outputFile, in generateHtml() argument
113 return genertor.generateHtml(outputFile, noticeHeader); in generateHtml()
116 private boolean generateHtml(File outputFile, String noticeHeader) { in generateHtml() argument
127 writer = new PrintWriter(outputFile); in generateHtml()
136 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/services/audiopolicy/engineconfigurable/tools/
DbuildStrategiesStructureFile.py72 def generateXmlStructureFile(strategies, strategyStructureInFile, outputFile): argument
89 outputFile.write(prettyXmlStr.encode('utf-8'))
DbuildPolicyCriterionTypes.py83 def generateXmlCriterionTypesFile(criterionTypes, addressCriteria, criterionTypesFile, outputFile): argument
123 outputFile.write(prettyXmlStr.encode('utf-8'))
/frameworks/compile/mclinker/lib/Core/
DLinkerScript.cpp46 const std::string& LinkerScript::outputFile() const { in outputFile() function in mcld::LinkerScript
/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/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java386 public BluetoothTestUtils(Context context, String tag, String outputFile) { in BluetoothTestUtils() argument
389 mOutputFile = outputFile; in BluetoothTestUtils()