Home
last modified time | relevance | path

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

/system/linkerconfig/contents/tests/configuration/
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()
/system/linkerconfig/modules/tests/
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()
/system/apex/libs/libapexutil/
Dapexutil_test.cpp41 ApexManifest CreateApexManifest(std::string apex_name, int version) { in CreateApexManifest() argument
43 manifest.set_name(apex_name); in CreateApexManifest()
/system/apex/apexd/aidl/android/apex/
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
/system/linkerconfig/modules/include/linkerconfig/
Dnamespace.h67 void SetApexSource(std::string apex_name) { in SetApexSource() argument
68 source_apex_name_ = apex_name; in SetApexSource()
/system/linkerconfig/modules/
Dnamespace.cc31 auto apex_name = ns.GetApexSource(); in VerifyIfApexNamespaceContainsAllSharedLink() local
33 if (apex_name == "") { in VerifyIfApexNamespaceContainsAllSharedLink()
/system/apex/apexd/
Dapexd.h110 const std::string& apex_name);
113 const std::string& apex_name);
Dapexd_session.h71 void AddApexName(const std::string& apex_name);
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()
Dapexd_session.cpp233 void ApexSession::AddApexName(const std::string& apex_name) { in AddApexName() argument
234 state_.add_apex_names(apex_name); in AddApexName()
Dapexd.cpp1708 const std::string& apex_name, in SnapshotDataDirectory() argument
1719 apex_name.c_str()); in SnapshotDataDirectory()
1721 StringPrintf("%s/%s", rollback_path.c_str(), apex_name.c_str()); in SnapshotDataDirectory()
1733 const std::string& apex_name, in RestoreDataDirectory() argument
1737 pre_restore ? kPreRestoreSuffix : "", apex_name.c_str()); in RestoreDataDirectory()
1739 apex_name.c_str()); in RestoreDataDirectory()
1758 for (const auto& apex_name : session.GetApexNames()) { in SnapshotOrRestoreDeIfNeeded() local
1760 SnapshotDataDirectory(base_dir, session.GetRollbackId(), apex_name); in SnapshotOrRestoreDeIfNeeded()
1762 LOG(ERROR) << "Snapshot failed for " << apex_name << ": " in SnapshotOrRestoreDeIfNeeded()
1767 for (const auto& apex_name : session.GetApexNames()) { in SnapshotOrRestoreDeIfNeeded() local
[all …]
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()
Dapexd_test.cpp143 std::string AddPreInstalledApex(const std::string& apex_name) { in AddPreInstalledApex() argument
144 fs::copy(GetTestFile(apex_name), built_in_dir_); in AddPreInstalledApex()
145 return StringPrintf("%s/%s", built_in_dir_.c_str(), apex_name.c_str()); in AddPreInstalledApex()
148 std::string AddDataApex(const std::string& apex_name) { in AddDataApex() argument
149 fs::copy(GetTestFile(apex_name), data_dir_); in AddDataApex()
150 return StringPrintf("%s/%s", data_dir_.c_str(), apex_name.c_str()); in AddDataApex()
153 std::string AddDataApex(const std::string& apex_name, in AddDataApex() argument
155 fs::copy(GetTestFile(apex_name), data_dir_ + "/" + target_name); in AddDataApex()
177 Result<ApexSession> CreateStagedSession(const std::string& apex_name, in CreateStagedSession() argument
180 fs::copy(GetTestFile(apex_name), GetStagedDir(session_id)); in CreateStagedSession()
Dapexservice_test.cpp1654 for (const std::string& apex_name : apex_names) { in RunPrePost() local
1656 new PrepareTestApexForInstall(GetTestFile(apex_name))); in RunPrePost()
2679 for (const auto& apex_name : kEarlyApexes) { in TEST() local
2680 ASSERT_NE(mountpoints.end(), mountpoints.find(apex_name)); in TEST()
/system/apex/apexer/
Dapexer_test.py368 def _run_build_test(self, apex_name): argument
369 apex_file_path = os.path.join(get_current_dir(), apex_name + ".apex")
/system/apex/docs/
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.
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.