/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 | 2923 std::string inputFile, outputFile; in runInDaemonMode() local 2925 std::getline(std::cin, outputFile); in runInDaemonMode() 2927 bundle->setSingleCrunchOutputFile(outputFile.c_str()); in runInDaemonMode()
|
/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/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/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/core/tests/coretests/src/android/os/ |
D | FileBridgeTest.java | 38 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/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/base/packages/BackupEncryption/src/com/android/server/backup/encryption/chunking/ |
D | DecryptedChunkFileOutput.java | 46 public DecryptedChunkFileOutput(File outputFile) { in DecryptedChunkFileOutput() argument 47 mOutputFile = outputFile; in DecryptedChunkFileOutput()
|
/frameworks/av/media/libeffects/lvm/tests/ |
D | reverb_test.cpp | 220 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/SettingsLib/src/com/android/settingslib/license/ |
D | LicenseHtmlGeneratorFromXml.java | 121 public static boolean generateHtml(List<File> xmlFiles, File outputFile, in generateHtml() argument 124 return genertor.generateHtml(outputFile, noticeHeader); in generateHtml() 127 private boolean generateHtml(File outputFile, String noticeHeader) { in generateHtml() argument 138 writer = new PrintWriter(outputFile); in generateHtml() 147 Log.e(TAG, "Failed to generate " + outputFile, e); in generateHtml()
|
/frameworks/av/media/libeffects/preprocessing/tests/ |
D | PreProcessingTest.cpp | 208 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/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ImageExporter.java | 124 final File outputFile) { in exportToRawFile() argument 128 try (FileOutputStream stream = new FileOutputStream(outputFile)) { in exportToRawFile() 130 completer.set(outputFile); in exportToRawFile() 132 if (outputFile.exists()) { in exportToRawFile() 134 outputFile.delete(); in exportToRawFile()
|
/frameworks/av/media/libstagefright/tests/writer/ |
D | WriterTest.cpp | 473 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/ |
D | LinkerScript.cpp | 46 const std::string& LinkerScript::outputFile() const { in outputFile() function in mcld::LinkerScript
|
/frameworks/av/services/audiopolicy/engineconfigurable/tools/ |
D | buildCommonTypesStructureFile.py | 69 def generateXmlStructureFile(componentTypeDict, structureTypesFile, outputFile): argument 102 outputFile.write(prettyXmlStr)
|
D | buildPolicyCriterionTypes.py | 91 def generateXmlCriterionTypesFile(criterionTypes, addressCriteria, criterionTypesFile, outputFile): argument 136 outputFile.write(prettyXmlStr)
|
/frameworks/compile/mclinker/include/mcld/ |
D | LinkerScript.h | 91 const std::string& outputFile() const;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TransitionTracer.java | 178 public void stopTrace(@Nullable PrintWriter pw, File outputFile) { in stopTrace() argument 193 writeTraceToFileLocked(pw, outputFile); in stopTrace()
|
/frameworks/base/media/mca/samples/CameraEffectsRecordingSample/res/raw/ |
D | cameraeffectsrecordingsample.graph | 44 outputFile = $outputFileName;
|
/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/tests/AppLaunch/src/com/android/tests/applaunch/ |
D | AppLaunch.java | 841 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()
|