Home
last modified time | relevance | path

Searched refs:apex_name (Results 1 – 25 of 27) sorted by relevance

12

/aosp12/hardware/google/camera/common/apex_update_listener/
H A Dapex_update_listener.cc27 ApexUpdateListener::Sigil, const std::string& apex_name, in ApexUpdateListener() argument
30 : apex_name_(apex_name), in ApexUpdateListener()
52 const std::string& apex_name, CallbackFunction callback, in Make() argument
73 auto last_info = TrySlurpInfo(apex_name, apex_info_list_file_name); in Make()
77 std::string(apex_name).c_str()); in Make()
85 Sigil{}, apex_name, apex_info_list_file_name, callback, file_descriptor, in Make()
90 ApexUpdateListener::TrySlurpInfo(const std::string& apex_name, in TrySlurpInfo() argument
109 if (apex_info->Attribute("moduleName", apex_name.c_str())) { in TrySlurpInfo()
110 Info info{.module_name = apex_name.c_str()}; in TrySlurpInfo()
142 ALOGE("XML did not contain any apex-info about %s", apex_name.c_str()); in TrySlurpInfo()
H A Dapex_update_listener.h66 ApexUpdateListener(Sigil, const std::string& apex_name,
72 const std::string& apex_name, CallbackFunction callback,
91 const std::string& apex_name, const std::string& apex_info_list_file_name);
/aosp12/packages/modules/Gki/
H A Dbuild_gki_apex_manifest.cpp54 int WriteApexManifest(const std::string& apex_name, Json::UInt64 apex_version, in WriteApexManifest() argument
57 root["name"] = apex_name; in WriteApexManifest()
122 std::string apex_name = GetApexName(*kmi_version); in main() local
128 int res = WriteApexManifest(apex_name, apex_version, FLAGS_apex_manifest); in main()
/aosp12/system/linkerconfig/contents/tests/configuration/
H A Dapexconfig_test.cc37 ApexInfo PrepareApex(const std::string& apex_name, in PrepareApex()
40 return ApexInfo(apex_name, in PrepareApex()
41 "/apex/" + apex_name, in PrepareApex()
/aosp12/system/linkerconfig/modules/tests/
H A Dapex_testbase.h34 void PrepareApex(const std::string& apex_name, in PrepareApex()
39 manifest.set_name(apex_name); in PrepareApex()
49 WriteFile("/apex/" + apex_name + "/apex_manifest.pb", in PrepareApex()
/aosp12/packages/modules/Virtualization/microdroid/signature/
H A Dmk_payload.cc177 auto get_apex_path = [&](const std::string& apex_name) -> std::optional<std::string> { in LoadSystemApexes() argument
179 if (apex_info.getIsActive() && apex_info.getModuleName() == apex_name) { in LoadSystemApexes()
185 for (const auto& apex_name : config.system_apexes) { in LoadSystemApexes() local
186 const auto& apex_path = get_apex_path(apex_name); in LoadSystemApexes()
188 return Error() << "Can't find the system apex: " << apex_name; in LoadSystemApexes()
191 .name = apex_name, in LoadSystemApexes()
/aosp12/system/apex/libs/libapexutil/
H A Dapexutil_test.cpp41 ApexManifest CreateApexManifest(std::string apex_name, int version) { in CreateApexManifest() argument
43 manifest.set_name(apex_name); in CreateApexManifest()
/aosp12/system/apex/apexd/aidl/android/apex/
H A DIApexService.aidl42 void snapshotCeData(int user_id, int rollback_id, in @utf8InCpp String apex_name); in snapshotCeData() argument
48 void restoreCeData(int user_id, int rollback_id, in @utf8InCpp String apex_name); in restoreCeData() argument
/aosp12/system/linkerconfig/modules/include/linkerconfig/
H A Dnamespace.h67 void SetApexSource(std::string apex_name) { in SetApexSource() argument
68 source_apex_name_ = apex_name; in SetApexSource()
/aosp12/system/linkerconfig/modules/
H A Dnamespace.cc31 auto apex_name = ns.GetApexSource(); in VerifyIfApexNamespaceContainsAllSharedLink() local
33 if (apex_name == "") { in VerifyIfApexNamespaceContainsAllSharedLink()
/aosp12/packages/modules/ArtPrebuilt/
H A Dupdate-art-module-prebuilts.py63 def install_apex_entries(apex_name): argument
67 os.path.join(arch, apex_name + ".apex"),
68 os.path.join(PACKAGE_PATH, apex_name + "-" + arch + ".apex"),
/aosp12/system/apex/apexd/
H A Dapexd.h110 const std::string& apex_name);
113 const std::string& apex_name);
H A Dapex_file_repository_test.cpp88 auto test_fn = [&](const std::string& apex_name) { in TEST() argument
89 auto apex = ApexFile::Open(GetTestFile(apex_name)); in TEST()
101 ASSERT_EQ(StringPrintf("%s/%s", built_in_dir.path, apex_name.c_str()), in TEST()
108 ASSERT_EQ(StringPrintf("%s/%s", data_dir.path, apex_name.c_str()), *ret); in TEST()
H A Dapexd.cpp1723 const std::string& apex_name, in SnapshotDataDirectory() argument
1734 apex_name.c_str()); in SnapshotDataDirectory()
1748 const std::string& apex_name, in RestoreDataDirectory() argument
1752 pre_restore ? kPreRestoreSuffix : "", apex_name.c_str()); in RestoreDataDirectory()
1754 apex_name.c_str()); in RestoreDataDirectory()
1773 for (const auto& apex_name : session.GetApexNames()) { in SnapshotOrRestoreDeIfNeeded() local
1782 for (const auto& apex_name : session.GetApexNames()) { in SnapshotOrRestoreDeIfNeeded() local
1826 const std::string& apex_name) { in SnapshotCeData() argument
1832 const std::string& apex_name) { in RestoreCeData() argument
1834 return RestoreDataDirectory(base_dir, rollback_id, apex_name); in RestoreCeData()
[all …]
H A Dapexd_session.cpp233 void ApexSession::AddApexName(const std::string& apex_name) { in AddApexName() argument
234 state_.add_apex_names(apex_name); in AddApexName()
H A Dapexservice.cpp96 const std::string& apex_name) override;
98 const std::string& apex_name) override;
552 const std::string& apex_name) { in snapshotCeData() argument
555 ::android::apex::SnapshotCeData(user_id, rollback_id, apex_name); in snapshotCeData()
565 const std::string& apex_name) { in restoreCeData() argument
568 ::android::apex::RestoreCeData(user_id, rollback_id, apex_name); in restoreCeData()
H A Dapexd_session.h71 void AddApexName(const std::string& apex_name);
H A Dapexd_test.cpp145 std::string AddPreInstalledApex(const std::string& apex_name) { in AddPreInstalledApex() argument
146 fs::copy(GetTestFile(apex_name), built_in_dir_); in AddPreInstalledApex()
147 return StringPrintf("%s/%s", built_in_dir_.c_str(), apex_name.c_str()); in AddPreInstalledApex()
150 std::string AddDataApex(const std::string& apex_name) { in AddDataApex() argument
151 fs::copy(GetTestFile(apex_name), data_dir_); in AddDataApex()
152 return StringPrintf("%s/%s", data_dir_.c_str(), apex_name.c_str()); in AddDataApex()
155 std::string AddDataApex(const std::string& apex_name, in AddDataApex() argument
157 fs::copy(GetTestFile(apex_name), data_dir_ + "/" + target_name); in AddDataApex()
179 Result<ApexSession> CreateStagedSession(const std::string& apex_name, in CreateStagedSession() argument
182 fs::copy(GetTestFile(apex_name), GetStagedDir(session_id)); in CreateStagedSession()
/aosp12/art/libnativeloader/
H A Dpublic_libraries.h41 const std::string& apex_jni_libraries(const std::string& apex_name);
/aosp12/system/apex/apexer/
H A Dapexer_test.py368 def _run_build_test(self, apex_name): argument
369 apex_file_path = os.path.join(get_current_dir(), apex_name + ".apex")
/aosp12/system/apex/docs/
H A Dhowto.md359 After the reboot, the apex will be mounted at `/apex/<apex_name>@<version>`
362 `/apex/<apex_name>`.
369 2. Files in it are accessed via the `/apex/<apex_name>/`path.
H A DREADME.md434 After reboot, the APEX is mounted at the `/apex/<apex_name>@<version>`
437 bind-mounted at `/apex/<apex_name>`.
445 1. Files in the APEX are accessed via the `/apex/<apex_name>/` path.
/aosp12/build/make/tools/releasetools/
H A Dsign_target_files_apks1210 apex_name, key = a.split("=")
1211 OPTIONS.extra_apex_payload_keys[apex_name] = key
H A Dsign_target_files_apks.py1210 apex_name, key = a.split("=")
1211 OPTIONS.extra_apex_payload_keys[apex_name] = key
/aosp12/art/build/apex/
H A Dart_apex_test.py62 _, apex_name = os.path.split(apex_path)
63 extract_path = os.path.join(tmpdir, apex_name)

12