/frameworks/base/tools/aapt2/io/ |
D | Util.cpp | 29 bool CopyInputStreamToArchive(IAaptContext* context, InputStream* in, const std::string& out_path, in CopyInputStreamToArchive() argument 33 context->GetDiagnostics()->Note(DiagMessage() << "writing " << out_path << " to archive"); in CopyInputStreamToArchive() 36 if (!writer->WriteFile(out_path, compression_flags, in)) { in CopyInputStreamToArchive() 37 context->GetDiagnostics()->Error(DiagMessage() << "failed to write " << out_path in CopyInputStreamToArchive() 44 bool CopyFileToArchive(IAaptContext* context, io::IFile* file, const std::string& out_path, in CopyFileToArchive() argument 52 return CopyInputStreamToArchive(context, data.get(), out_path, compression_flags, writer); in CopyFileToArchive() 56 const std::string& out_path, IArchiveWriter* writer) { in CopyFileToArchivePreserveCompression() argument 58 return CopyFileToArchive(context, file, out_path, compression_flags, writer); in CopyFileToArchivePreserveCompression() 62 const std::string& out_path, uint32_t compression_flags, in CopyProtoToArchive() argument 66 context->GetDiagnostics()->Note(DiagMessage() << "writing " << out_path << " to archive"); in CopyProtoToArchive() [all …]
|
D | Util.h | 33 bool CopyInputStreamToArchive(IAaptContext* context, InputStream* in, const std::string& out_path, 36 bool CopyFileToArchive(IAaptContext* context, IFile* file, const std::string& out_path, 40 const std::string& out_path, IArchiveWriter* writer); 43 const std::string& out_path, uint32_t compression_flags,
|
/frameworks/layoutlib/rename_font/ |
D | test.py | 30 out_path = os.path.join(destdir, font_name) 31 ttx.main([out_path]) 32 ttx_path = out_path[:-1] + "x"
|
/frameworks/rs/tests/java_api/RSUnitTests/ |
D | RSUnitTests.py | 321 out_path = os.path.join(SupportLibGenTestDir(), java_file_name) 322 with open(in_path, 'r') as in_file, open(out_path, 'w') as out_file: 337 out_path = os.path.join(SupportLibGenTestDir(), rs_file_name) 338 with open(out_path, 'w') as out_file:
|
/frameworks/base/tools/aapt2/cmd/ |
D | Link.cpp | 1102 std::string out_path; local 1105 out_path = options_.generate_java_class_path.value(); 1106 file::AppendPath(&out_path, file::PackageToPath(out_package)); 1107 if (!file::mkdirs(out_path)) { 1109 << "failed to create directory '" << out_path << "'"); 1113 file::AppendPath(&out_path, "R.java"); 1115 fout = util::make_unique<io::FileOutputStream>(out_path); 1117 context_->GetDiagnostics()->Error(DiagMessage() << "failed writing to '" << out_path 1136 context_->GetDiagnostics()->Error(DiagMessage(out_path) << generator.GetError()); 1256 std::string out_path = options_.generate_java_class_path.value(); in WriteManifestJavaFile() local [all …]
|
D | Util.h | 41 bool ParseSplitParameter(const android::StringPiece& arg, IDiagnostics* diag, std::string* out_path,
|
D | Util.cpp | 57 bool ParseSplitParameter(const StringPiece& arg, IDiagnostics* diag, std::string* out_path, in ParseSplitParameter() argument 60 CHECK(out_path != nullptr); in ParseSplitParameter() 77 *out_path = parts[0]; in ParseSplitParameter()
|
D | Compile.cpp | 709 const std::string out_path = BuildIntermediateContainerFilename(path_data); in Compile() local 710 if (!compile_func(context, options, path_data, file, output_writer, out_path)) { in Compile()
|
/frameworks/base/tools/aapt2/util/ |
D | Files.cpp | 204 std::string out_path; in PackageToPath() local 206 AppendPath(&out_path, part); in PackageToPath() 208 return out_path; in PackageToPath()
|
/frameworks/native/cmds/installd/tests/ |
D | installd_dexopt_test.cpp | 358 std::optional<std::string> out_path; // does not matter in CompileSecondaryDex() local 372 out_path, in CompileSecondaryDex() 481 …std::optional<std::string> out_path = oat_dir ? std::make_optional<std::string>(oat_dir) : std::nu… in CompilePrimaryDex() local 499 out_path, in CompilePrimaryDex()
|
/frameworks/native/cmds/installd/ |
D | dexopt.cpp | 2267 char out_path[PKG_PATH_MAX]; in delete_odex() local 2269 /*is_secondary_dex*/false, out_path)) { in delete_odex() 2295 int64_t return_value_oat = unlink_and_check(out_path); in delete_odex() 2298 int64_t return_value_art = unlink_and_check(create_image_filename(out_path).c_str()); in delete_odex() 2301 int64_t return_value_vdex = unlink_and_check(create_vdex_filename(out_path).c_str()); in delete_odex()
|
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_test.cpp | 1037 std::string out_path = kTestDataPath + "StreamLimitedOnlyReportOut.zip"; in TEST_F() local 1039 CreateFd(out_path, &out_fd); in TEST_F() 1045 OpenArchive(out_path.c_str(), &handle_); in TEST_F()
|