/system/linkerconfig/modules/tests/ |
D | apex_test.cc | 109 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/ |
D | apexd_prepostinstall.cpp | 66 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()
|
D | apexd_prepostinstall.h | 33 const std::vector<ApexFile>& apexes); 39 const std::vector<ApexFile>& apexes);
|
D | apexd.cpp | 591 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 …]
|
D | apex_file.cpp | 383 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()
|
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 51 apexes.emplace(manifest.name(), std::move(info)); in ScanActiveApexes() 53 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 41 Generated apexes will be located in the following folders. 48 ## 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 | 99 # Allow apexd to reboot device. Required for rollbacks of apexes that are
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | apexd.te | 96 # 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.
|