/system/linkerconfig/modules/tests/ |
D | apex_test.cc | 103 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/ |
D | apexd_prepostinstall.cpp | 66 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()
|
D | apexd_prepostinstall.h | 33 const std::vector<ApexFile>& apexes); 39 const std::vector<ApexFile>& apexes);
|
D | apexd.cpp | 585 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 …]
|
D | apex_file.cpp | 363 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()
|
D | apex_preinstalled_data.cpp | 80 const std::vector<ApexPreinstalledData>& apexes) { in updatePreinstalledData() argument 81 for (const ApexPreinstalledData& apex : apexes) { in updatePreinstalledData()
|
/system/linkerconfig/modules/ |
D | apex.cc | 37 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/ |
D | apexutil.cpp | 61 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()
|
D | apexutil_test.cpp | 97 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/ |
D | README.md | 21 ## 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/ |
D | apex_manifest.proto | 46 // 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.
|
D | session_state.proto | 58 // The names of the apexes within this session. Only populated for sessions
|
/system/bpf/bpfloader/ |
D | bpfloader.rc | 61 # we're not really updatable, but want to be able to load bpf programs shipped in apexes
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | apexd.te | 75 # Allow apexd to reboot device. Required for rollbacks of apexes that are
|
/system/sepolicy/private/ |
D | apexd.te | 97 # Allow apexd to reboot device. Required for rollbacks of apexes that are
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | apexd.te | 97 # Allow apexd to reboot device. Required for rollbacks of apexes that are
|
/system/apex/shim/build/ |
D | Android.bp | 15 // Build rules to build shim apexes.
|