Home
last modified time | relevance | path

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

/system/linkerconfig/modules/tests/
Dapex_test.cc109 auto apexes = ScanActiveApexes(root); in TEST_F() local
110 ASSERT_EQ(3U, apexes.size()); in TEST_F()
112 ASSERT_THAT(apexes["foo"].require_libs, Contains("bar.so")); in TEST_F()
113 ASSERT_TRUE(apexes["foo"].has_bin); in TEST_F()
114 ASSERT_FALSE(apexes["foo"].has_lib); in TEST_F()
116 ASSERT_THAT(apexes["bar"].provide_libs, Contains("bar.so")); in TEST_F()
117 ASSERT_FALSE(apexes["bar"].has_bin); in TEST_F()
118 ASSERT_TRUE(apexes["bar"].has_lib); in TEST_F()
120 ASSERT_THAT(apexes["baz"].jni_libs, Contains("baz.so")); in TEST_F()
121 ASSERT_FALSE(apexes["baz"].has_bin); in TEST_F()
[all …]
/system/apex/apexd/
Dapexd_prepostinstall.cpp66 Result<void> StageFnInstall(const std::vector<ApexFile>& apexes, Fn fn, in StageFnInstall() argument
71 for (size_t i = 0; i < apexes.size(); i++) { in StageFnInstall()
72 if (!(apexes[i].GetManifest().*fn)().empty()) { in StageFnInstall()
80 LOG(VERBOSE) << name << " for " << apexes[hook_idx].GetPath(); in StageFnInstall()
101 for (const ApexFile& apex : apexes) { in StageFnInstall()
236 Result<void> StagePreInstall(const std::vector<ApexFile>& apexes) { in StagePreInstall() argument
237 return StageFnInstall(apexes, &ApexManifest::preinstallhook, "--pre-install", in StagePreInstall()
245 Result<void> StagePostInstall(const std::vector<ApexFile>& apexes) { in StagePostInstall() argument
246 return StageFnInstall(apexes, &ApexManifest::postinstallhook, in StagePostInstall()
Dapexd_prepostinstall.h33 const std::vector<ApexFile>& apexes);
39 const std::vector<ApexFile>& apexes);
Dapexd.cpp591 Result<void> PrePostinstallPackages(const std::vector<ApexFile>& apexes, in PrePostinstallPackages() argument
593 if (apexes.empty()) { in PrePostinstallPackages()
599 for (const ApexFile& apex_file : apexes) { in PrePostinstallPackages()
608 Result<void> install_status = (*call)(apexes); in PrePostinstallPackages()
617 Result<void> PreinstallPackages(const std::vector<ApexFile>& apexes) { in PreinstallPackages() argument
618 return PrePostinstallPackages(apexes, &ApexManifest::preinstallhook, in PreinstallPackages()
622 Result<void> PostinstallPackages(const std::vector<ApexFile>& apexes) { in PostinstallPackages() argument
623 return PrePostinstallPackages(apexes, &ApexManifest::postinstallhook, in PostinstallPackages()
1229 Result<void> ActivateApexPackages(const std::vector<ApexFile>& apexes) { in ActivateApexPackages() argument
1234 for (const auto& apex : apexes) { in ActivateApexPackages()
[all …]
Dapex_file.cpp383 const auto& apexes = FindApexFilesByName(path); in FindApexes() local
384 if (!apexes.ok()) { in FindApexes()
385 return apexes; in FindApexes()
388 result.insert(result.end(), apexes->begin(), apexes->end()); in FindApexes()
Dapex_preinstalled_data.cpp80 const std::vector<ApexPreinstalledData>& apexes) { in updatePreinstalledData() argument
81 for (const ApexPreinstalledData& apex : apexes) { in updatePreinstalledData()
/system/linkerconfig/modules/
Dapex.cc37 std::map<std::string, ApexInfo> apexes; in ScanActiveApexes() local
51 apexes.emplace(manifest.name(), std::move(info)); in ScanActiveApexes()
53 return apexes; in ScanActiveApexes()
/system/apex/libs/libapexutil/
Dapexutil.cpp61 std::map<std::string, ApexManifest> apexes; in GetActivePackages() local
73 apexes.emplace(std::move(apex_path), std::move(*manifest)); in GetActivePackages()
78 return apexes; in GetActivePackages()
Dapexutil_test.cpp97 auto apexes = GetActivePackages(td.path); in TEST() local
98 ASSERT_EQ(2U, apexes.size()); in TEST()
100 ASSERT_THAT(apexes, UnorderedElementsAre(Pair(foo_path, foo_manifest), in TEST()
/system/apex/shim/
DREADME.md21 ## Building shim apexes
23 Modules to build shim apexes are defined in the
26 To build shim apexes simply run
41 Generated apexes will be located in the following folders.
48 ## Updating shim apexes
/system/apex/proto/
Dapex_manifest.proto46 // List of native libs which can be used by other apexes or system.
49 // List of native libs which this apex uses from other apexes or system.
Dsession_state.proto58 // The names of the apexes within this session. Only populated for sessions
/system/bpf/bpfloader/
Dbpfloader.rc61 # we're not really updatable, but want to be able to load bpf programs shipped in apexes
/system/sepolicy/prebuilts/api/29.0/private/
Dapexd.te75 # Allow apexd to reboot device. Required for rollbacks of apexes that are
/system/sepolicy/private/
Dapexd.te99 # Allow apexd to reboot device. Required for rollbacks of apexes that are
/system/sepolicy/prebuilts/api/30.0/private/
Dapexd.te96 # Allow apexd to reboot device. Required for rollbacks of apexes that are
/system/apex/shim/build/
DAndroid.bp15 // Build rules to build shim apexes.