Home
last modified time | relevance | path

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

/system/linkerconfig/modules/tests/
Dapex_test.cc103 auto apexes = ScanActiveApexes(root); in TEST_F() local
104 ASSERT_EQ(2U, apexes.size()); in TEST_F()
106 ASSERT_THAT(apexes["foo"].require_libs, Contains("bar.so")); in TEST_F()
107 ASSERT_TRUE(apexes["foo"].has_bin); in TEST_F()
108 ASSERT_FALSE(apexes["foo"].has_lib); in TEST_F()
110 ASSERT_THAT(apexes["bar"].provide_libs, Contains("bar.so")); in TEST_F()
111 ASSERT_FALSE(apexes["bar"].has_bin); in TEST_F()
112 ASSERT_TRUE(apexes["bar"].has_lib); in TEST_F()
/system/apex/apexd/
Dapexd_prepostinstall.cpp66 Result<void> StageFnInstall(const std::vector<ApexFile>& apexes, Fn fn, in StageFnInstall() argument
70 for (size_t i = 0; i < apexes.size(); i++) { in StageFnInstall()
71 if (!(apexes[i].GetManifest().*fn)().empty()) { in StageFnInstall()
79 LOG(VERBOSE) << name << " for " << apexes[hook_idx].GetPath(); in StageFnInstall()
100 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.cpp585 Result<void> PrePostinstallPackages(const std::vector<ApexFile>& apexes, in PrePostinstallPackages() argument
587 if (apexes.empty()) { in PrePostinstallPackages()
593 for (const ApexFile& apex_file : apexes) { in PrePostinstallPackages()
602 Result<void> install_status = (*call)(apexes); in PrePostinstallPackages()
611 Result<void> PreinstallPackages(const std::vector<ApexFile>& apexes) { in PreinstallPackages() argument
612 return PrePostinstallPackages(apexes, &ApexManifest::preinstallhook, in PreinstallPackages()
616 Result<void> PostinstallPackages(const std::vector<ApexFile>& apexes) { in PostinstallPackages() argument
617 return PrePostinstallPackages(apexes, &ApexManifest::postinstallhook, in PostinstallPackages()
696 auto verify_fn = [&](std::vector<ApexFile>& apexes) { in verifyPackages() argument
697 for (const ApexFile& apex_file : apexes) { in verifyPackages()
[all …]
Dapex_file.cpp363 const auto& apexes = FindApexFilesByName(path); in FindApexes() local
364 if (!apexes.ok()) { in FindApexes()
365 return apexes; in FindApexes()
368 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
50 apexes.emplace(manifest.name(), std::move(info)); in ScanActiveApexes()
52 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
42 Generated apexes will be located in the following folders.
49 ## 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.te97 # Allow apexd to reboot device. Required for rollbacks of apexes that are
/system/sepolicy/prebuilts/api/30.0/private/
Dapexd.te97 # Allow apexd to reboot device. Required for rollbacks of apexes that are
/system/apex/shim/build/
DAndroid.bp15 // Build rules to build shim apexes.