Home
last modified time | relevance | path

Searched refs:out_path (Results 1 – 16 of 16) sorted by relevance

/aosp12/frameworks/base/tools/aapt2/io/
H A DUtil.cpp33 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()
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()
69 if (writer->StartEntry(out_path, compression_flags)) { in CopyProtoToArchive()
75 context->GetDiagnostics()->Error(DiagMessage() << "failed to write " << out_path in CopyProtoToArchive()
[all …]
H A DUtil.h33 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,
/aosp12/bionic/tests/
H A Dgtest_globals.cpp31 std::string out_path; in GetTestlibRoot() local
32 if (!android::base::Realpath(path.c_str(), &out_path)) { in GetTestlibRoot()
37 out_path += "/bionic-loader-test-libs"; in GetTestlibRoot()
40 if (!android::base::Realpath(out_path, &real_path)) { in GetTestlibRoot()
41 printf("\"%s\": does not exists\n", out_path.c_str()); in GetTestlibRoot()
/aosp12/frameworks/layoutlib/rename_font/
H A Dtest.py30 out_path = os.path.join(destdir, font_name)
31 ttx.main([out_path])
32 ttx_path = out_path[:-1] + "x"
/aosp12/system/update_engine/cros/
H A Dconnection_manager.cc143 bool ConnectionManager::GetDefaultServicePath(dbus::ObjectPath* out_path) { in GetDefaultServicePath() argument
156 *out_path = prop_default_service->second.TryGet<dbus::ObjectPath>(); in GetDefaultServicePath()
157 return out_path->IsValid(); in GetDefaultServicePath()
H A Dconnection_manager.h51 bool GetDefaultServicePath(dbus::ObjectPath* out_path);
/aosp12/frameworks/rs/tests/java_api/RSUnitTests/
H A DRSUnitTests.py321 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:
/aosp12/frameworks/base/tools/aapt2/cmd/
H A DLink.cpp1102 std::string out_path; local
1105 out_path = options_.generate_java_class_path.value();
1107 if (!file::mkdirs(out_path)) {
1113 file::AppendPath(&out_path, "R.java");
1115 fout = util::make_unique<io::FileOutputStream>(out_path);
1257 file::AppendPath(&out_path, file::PackageToPath(package_utf8)); in WriteManifestJavaFile()
1259 if (!file::mkdirs(out_path)) { in WriteManifestJavaFile()
1265 file::AppendPath(&out_path, "Manifest.java"); in WriteManifestJavaFile()
1267 io::FileOutputStream fout(out_path); in WriteManifestJavaFile()
1292 const std::string& out_path = out.value(); in WriteProguardFile() local
[all …]
H A DUtil.h41 bool ParseSplitParameter(const android::StringPiece& arg, IDiagnostics* diag, std::string* out_path,
H A DUtil.cpp57 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()
H A DCompile.cpp709 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()
/aosp12/frameworks/base/tools/aapt2/util/
H A DFiles.cpp204 std::string out_path; in PackageToPath() local
206 AppendPath(&out_path, part); in PackageToPath()
208 return out_path; in PackageToPath()
/aosp12/system/update_engine/payload_generator/
H A Ddeflate_utils.cc50 const string& out_path, in CopyExtentsToFile() argument
56 utils::WriteFile(out_path.c_str(), data.data(), data.size())); in CopyExtentsToFile()
/aosp12/frameworks/native/cmds/installd/tests/
H A Dinstalld_dexopt_test.cpp358 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()
/aosp12/frameworks/native/cmds/installd/
H A Ddexopt.cpp2267 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()
/aosp12/frameworks/native/cmds/dumpstate/tests/
H A Ddumpstate_test.cpp1037 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()