/frameworks/base/tools/aapt/ |
D | Package.cpp | 52 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 …]
|
D | Main.h | 44 const android::String8& outputFile,
|
D | Command.cpp | 2845 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/ |
D | Utils.java | 46 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/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/ |
D | BandwidthEnforcementTestService.java | 58 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/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
D | BitmapUtils.java | 40 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/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/ |
D | Stats.java | 103 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/ |
D | dist-library-instrumentation-tests.gradle | 25 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/ |
D | LicenseHtmlGeneratorFromXml.java | 112 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/ |
D | DownloadManagerTestApp.java | 129 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/libstagefright/tests/writer/ |
D | WriterTest.cpp | 323 string outputFile = OUTPUT_FILE_NAME; in TEST_P() local 325 open(outputFile.c_str(), O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in TEST_P() 338 string outputFile = OUTPUT_FILE_NAME; in TEST_P() local 340 open(outputFile.c_str(), O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in TEST_P() 399 string outputFile = OUTPUT_FILE_NAME; in TEST_P() local 401 open(outputFile.c_str(), O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in TEST_P() 459 string outputFile = OUTPUT_FILE_NAME; in TEST_P() local 461 open(outputFile.c_str(), O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in TEST_P() 543 string outputFile = OUTPUT_FILE_NAME; in TEST_P() local 545 open(outputFile.c_str(), O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in TEST_P() [all …]
|
/frameworks/av/services/audiopolicy/engineconfigurable/tools/ |
D | buildCommonTypesStructureFile.py | 63 def generateXmlStructureFile(componentTypeDict, structureTypesFile, outputFile): argument 94 outputFile.write(prettyXmlStr)
|
D | buildPolicyCriterionTypes.py | 83 def generateXmlCriterionTypesFile(criterionTypes, addressCriteria, criterionTypesFile, outputFile): argument 123 outputFile.write(prettyXmlStr)
|
/frameworks/compile/mclinker/lib/Core/ |
D | LinkerScript.cpp | 46 const std::string& LinkerScript::outputFile() const { in outputFile() function in mcld::LinkerScript
|
/frameworks/compile/mclinker/include/mcld/ |
D | LinkerScript.h | 91 const std::string& outputFile() const;
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
D | AutomaticActivity.java | 223 File outputFile = new File(Environment.getExternalStorageDirectory(), in finishTest() local 225 FileOutputStream outputStream = new FileOutputStream(outputFile); in finishTest()
|
/frameworks/base/media/mca/samples/CameraEffectsRecordingSample/res/raw/ |
D | cameraeffectsrecordingsample.graph | 44 outputFile = $outputFileName;
|
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/ |
D | AppLaunch.java | 839 File outputFile = File.createTempFile("exec_shell_command", ".sh"); in executeShellCommandWithTempFile() local 842 outputFile.setWritable(true); in executeShellCommandWithTempFile() 843 outputFile.setExecutable(true, /*ownersOnly*/false); in executeShellCommandWithTempFile() 845 String scriptPath = outputFile.toString(); in executeShellCommandWithTempFile() 865 outputFile.delete(); in executeShellCommandWithTempFile()
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothTestUtils.java | 429 public BluetoothTestUtils(Context context, String tag, String outputFile) { in BluetoothTestUtils() argument 432 mOutputFile = outputFile; in BluetoothTestUtils()
|