Home
last modified time | relevance | path

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

12

/system/linkerconfig/modules/tests/
Dapex_test.cc184 auto apexes = ScanActiveApexes(root); in TEST_F() local
185 ASSERT_TRUE(apexes.ok()) << "Failed to scan active APEXes : " in TEST_F()
186 << apexes.error(); in TEST_F()
187 ASSERT_EQ(3U, apexes->size()); in TEST_F()
189 ASSERT_THAT((*apexes)["foo"].require_libs, Contains("bar.so")); in TEST_F()
190 ASSERT_TRUE((*apexes)["foo"].has_bin); in TEST_F()
191 ASSERT_FALSE((*apexes)["foo"].has_lib); in TEST_F()
193 ASSERT_THAT((*apexes)["bar"].provide_libs, Contains("bar.so")); in TEST_F()
194 ASSERT_FALSE((*apexes)["bar"].has_bin); in TEST_F()
195 ASSERT_TRUE((*apexes)["bar"].has_lib); in TEST_F()
[all …]
/system/apex/libs/libapexutil/
Dapexutil.cpp62 std::map<std::string, ApexManifest> apexes; in GetActivePackages() local
76 apexes.emplace(std::move(apex_path), std::move(*manifest)); in GetActivePackages()
81 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/linkerconfig/modules/
Dapex.cc140 std::map<std::string, ApexInfo> apexes; in ScanActiveApexes() local
192 apexes.emplace(manifest.name(), std::move(info)); in ScanActiveApexes()
200 if (!apexes.empty()) { in ScanActiveApexes()
233 apexes[info.getModuleName()].original_path = std::move(path); in ScanActiveApexes()
249 for (auto& [name, apex] : apexes) { in ScanActiveApexes()
259 return apexes; in ScanActiveApexes()
/system/apex/proto/
Dapex_manifest.proto48 // List of native libs which can be used by other apexes or system.
51 // List of native libs which this apex uses from other apexes or system.
87 // VNDK version for apexes depending on a specific version of VNDK libs.
Dsession_state.proto58 // The names of the apexes within this session. Only populated for sessions
/system/apex/docs/
DREADME.md536 ## Compressed apexes {#compressed-apex}
549 * Bootstrap apexes that are required to be mounted very early in the boot
550 sequence. List of bootstrap apexes is configured in `kBootstrapApexes`
552 * Non-updatable apexes. Compression is only beneficial in case an updated
554 Full list of updatable apexes is available at
556 * Dynamic shared libs apexes. Since `apexd` will always activate both versions
557 of such apexes (pre-installed and upgraded), compressing them doesn't provide
611 compressed. Such property is required due to the fact that not all apexes are
617 image built from source should contain compressed apexes or not.
619 For local experimentation you can force a build to compress apexes by setting
/system/apex/apexd/
Dapexd.cpp1781 Result<void> ActivateApexPackages(const std::vector<ApexFileRef>& apexes, in ActivateApexPackages() argument
1787 for (const ApexFile& apex : apexes) { in ActivateApexPackages()
1886 Result<void> ActivateMissingApexes(const std::vector<ApexFileRef>& apexes, in ActivateMissingApexes() argument
1892 for (const auto& apex_ref : apexes) { in ActivateMissingApexes()
2248 std::vector<std::string> apexes; in ScanStagedSessionsDirAndStage() local
2280 apexes.push_back(std::move((*scan)[0])); in ScanStagedSessionsDirAndStage()
2288 for (const auto& apex : apexes) { in ScanStagedSessionsDirAndStage()
2298 const Result<void> result = StagePackages(apexes); in ScanStagedSessionsDirAndStage()
2301 "Activation failed for packages %s : %s", Join(apexes, ',').c_str(), in ScanStagedSessionsDirAndStage()
3386 std::vector<std::string> apexes; in RemountPackages() local
[all …]
Dapex_file_repository.cpp239 const auto& apex_config = metadata->apexes(i); in AddBlockApex()
/system/sepolicy/prebuilts/api/29.0/private/
Dapexd.te75 # Allow apexd to reboot device. Required for rollbacks of apexes that are
/system/bpf/bpfloader/
Dbpfloader.rc84 # we're not really updatable, but want to be able to load bpf programs shipped in apexes
/system/sepolicy/prebuilts/api/30.0/private/
Dapexd.te96 # Allow apexd to reboot device. Required for rollbacks of apexes that are
/system/sepolicy/prebuilts/api/32.0/private/
Dshell.te125 # Allow shell to read /apex/apex-info-list.xml and the vendor apexes
Dapexd.te124 # Allow apexd to reboot device. Required for rollbacks of apexes that are
/system/sepolicy/prebuilts/api/31.0/private/
Dshell.te117 # Allow shell to read /apex/apex-info-list.xml and the vendor apexes
Dapexd.te123 # Allow apexd to reboot device. Required for rollbacks of apexes that are
/system/sepolicy/prebuilts/api/33.0/private/
Dshell.te129 # Allow shell to read /apex/apex-info-list.xml and the vendor apexes
Dapexd.te125 # Allow apexd to reboot device. Required for rollbacks of apexes that are
Dsystem_server.te1318 # block apexes.
/system/sepolicy/prebuilts/api/34.0/private/
Dapexd.te127 # Allow apexd to reboot device. Required for rollbacks of apexes that are
Dshell.te135 # Allow shell to read /apex/apex-info-list.xml and the vendor apexes
/system/sepolicy/private/
Dapexd.te127 # Allow apexd to reboot device. Required for rollbacks of apexes that are
Dshell.te135 # Allow shell to read /apex/apex-info-list.xml and the vendor apexes
/system/apex/shim/build/
DAndroid.bp15 // Build rules to build shim apexes.
594 // Apex shim with upgraded apk-in-apexes

12