/system/update_engine/aosp/ |
D | apex_handler_android_unittest.cc | 32 ApexInfo CreateApexInfo(const std::string& package_name, in CreateApexInfo() 36 ApexInfo result; in CreateApexInfo() 46 std::vector<ApexInfo> apex_infos; in TEST() 47 ApexInfo compressed_apex_1 = CreateApexInfo("sample1", 1, true, 1); in TEST() 48 ApexInfo compressed_apex_2 = CreateApexInfo("sample2", 2, true, 2); in TEST() 49 ApexInfo uncompressed_apex = CreateApexInfo("uncompressed", 1, false, 4); in TEST() 60 std::vector<ApexInfo> apex_infos; in TEST() 61 ApexInfo compressed_apex_1 = CreateApexInfo("sample1", 1, true, 1); in TEST() 62 ApexInfo compressed_apex_2 = CreateApexInfo("sample2", 2, true, 2); in TEST() 63 ApexInfo uncompressed_apex = CreateApexInfo("uncompressed", 1, false, 4); in TEST() [all …]
|
D | apex_handler_android.h | 37 const std::vector<ApexInfo>& apex_infos) const; 38 bool AllocateSpace(const std::vector<ApexInfo>& apex_infos) const; 47 const std::vector<ApexInfo>& apex_infos) const; 48 bool AllocateSpace(const std::vector<ApexInfo>& apex_infos) const;
|
D | apex_handler_android.cc | 32 const std::vector<ApexInfo>& apex_infos) { in CreateCompressedApexInfoList() 59 const std::vector<ApexInfo>& apex_infos) const { in CalculateSize() 79 const std::vector<ApexInfo>& apex_infos) const { in AllocateSpace() 101 const std::vector<ApexInfo>& apex_infos) const { in CalculateSize() 106 const std::vector<ApexInfo>& apex_infos) const { in AllocateSpace()
|
D | apex_handler_interface.h | 32 const std::vector<ApexInfo>& apex_infos) const = 0; 33 virtual bool AllocateSpace(const std::vector<ApexInfo>& apex_infos) const = 0;
|
/system/apex/tests/src/com/android/tests/apex/ |
D | ApexRollbackTests.java | 30 import com.android.tradefed.device.ITestDevice.ApexInfo; 130 ApexInfo ctsShimV1 = new ApexInfo("com.android.apex.cts.shim", 1L); in testAutomaticBootLoopRecovery() 131 ApexInfo ctsShimV2 = new ApexInfo("com.android.apex.cts.shim", 2L); in testAutomaticBootLoopRecovery() 132 Set<ApexInfo> activatedApexes = device.getActiveApexes(); in testAutomaticBootLoopRecovery() 170 ApexInfo ctsShimV1 = new ApexInfo("com.android.apex.cts.shim", 1L); in testSessionNotRevertedWithCheckpointingDisabled() 171 ApexInfo ctsShimV2 = new ApexInfo("com.android.apex.cts.shim", 2L); in testSessionNotRevertedWithCheckpointingDisabled() 175 Set<ApexInfo> activatedApexes = device.getActiveApexes(); in testSessionNotRevertedWithCheckpointingDisabled() 208 ApexInfo ctsShimV1 = new ApexInfo("com.android.apex.cts.shim", 1L); in testCheckpointingRevertsSession() 209 ApexInfo ctsShimV2 = new ApexInfo("com.android.apex.cts.shim", 2L); in testCheckpointingRevertsSession() 213 Set<ApexInfo> activatedApexes = device.getActiveApexes(); in testCheckpointingRevertsSession() [all …]
|
D | ApexdHostTest.java | 26 import com.android.apex.ApexInfo; 88 final Set<ITestDevice.ApexInfo> activeApexes = getDevice().getActiveApexes(); in testOrphanedApexIsNotActivated() 89 ITestDevice.ApexInfo testApex = new ITestDevice.ApexInfo( in testOrphanedApexIsNotActivated() 109 final Set<ITestDevice.ApexInfo> activeApexes = getDevice().getActiveApexes(); in testApexWithoutPbIsNotActivated() 110 ITestDevice.ApexInfo testApex = new ITestDevice.ApexInfo( in testApexWithoutPbIsNotActivated() 140 final Set<ITestDevice.ApexInfo> activeApexes = getDevice().getActiveApexes(); in testRemountApex() 141 ITestDevice.ApexInfo testApex = new ITestDevice.ApexInfo( in testRemountApex() 172 final Set<ITestDevice.ApexInfo> activeApexes = getDevice().getActiveApexes(); in testApexWithoutPbIsNotActivated_ProductPartitionHasOlderVersion() 173 assertThat(activeApexes).contains(new ITestDevice.ApexInfo( in testApexWithoutPbIsNotActivated_ProductPartitionHasOlderVersion() 175 assertThat(activeApexes).doesNotContain(new ITestDevice.ApexInfo( in testApexWithoutPbIsNotActivated_ProductPartitionHasOlderVersion() [all …]
|
D | ApexE2EBaseHostTest.java | 30 import com.android.tradefed.device.ITestDevice.ApexInfo; 100 ApexInfo apex = installApex(mApexFileName); in stageActivateUninstallApexPackage() 103 Set<ApexInfo> activatedApexes = getDevice().getActiveApexes(); in stageActivateUninstallApexPackage() 111 ApexInfo apex = mHostUtils.getApexInfo(mHostUtils.getTestFile(filename)); in uninstallAllApexes() 116 protected final ApexInfo installApex(String filename) throws Exception { in installApex() 123 ApexInfo testApexInfo = mHostUtils.getApexInfo(testAppFile); in installApex()
|
/system/linkerconfig/modules/include/linkerconfig/ |
D | basecontext.h | 35 void AddApexModule(ApexInfo apex_module); 36 const std::vector<ApexInfo>& GetApexModules() const; 41 virtual Namespace BuildApexNamespace(const ApexInfo& apex_info, 52 std::vector<ApexInfo> apex_modules_;
|
D | apex.h | 28 struct ApexInfo { struct 43 ApexInfo() = default; // for std::map::operator[] argument 44 ApexInfo(std::string name, std::string path, in ApexInfo() argument 70 android::base::Result<std::map<std::string, ApexInfo>> ScanActiveApexes(
|
/system/apex/apexd/ |
D | apexd_test_utils.h | 99 AllOf(Field("moduleName", &ApexInfo::moduleName, Eq(other.moduleName)), 100 Field("modulePath", &ApexInfo::modulePath, Eq(other.modulePath)), 101 Field("preinstalledModulePath", &ApexInfo::preinstalledModulePath, 103 Field("versionCode", &ApexInfo::versionCode, Eq(other.versionCode)), 104 Field("isFactory", &ApexInfo::isFactory, Eq(other.isFactory)), 105 Field("isActive", &ApexInfo::isActive, Eq(other.isActive))), 157 inline void PrintTo(const ApexInfo& apex, std::ostream* os) { in PrintTo() 324 Property("moduleName", &ApexInfo::getModuleName, 326 Property("modulePath", &ApexInfo::getModulePath, 329 &ApexInfo::getPreinstalledModulePath, [all …]
|
/system/apex/apexd/aidl/android/apex/ |
D | IApexService.aidl | 19 import android.apex.ApexInfo; 32 ApexInfo[] getActivePackages(); in getActivePackages() 33 ApexInfo[] getAllPackages(); in getAllPackages() 72 ApexInfo getActivePackage(in @utf8InCpp String package_name); in getActivePackage() 161 ApexInfo installAndActivatePackage(in @utf8InCpp String packagePath); in installAndActivatePackage()
|
D | ApexInfoList.aidl | 19 import android.apex.ApexInfo; 22 ApexInfo[] apexInfos;
|
/system/linkerconfig/modules/ |
D | basecontext.cc | 25 void BaseContext::AddApexModule(ApexInfo apex_module) { in AddApexModule() 29 const std::vector<ApexInfo>& BaseContext::GetApexModules() const { in GetApexModules() 41 Namespace BaseContext::BuildApexNamespace(const ApexInfo& apex_info, in BuildApexNamespace()
|
D | apex.cc | 139 Result<std::map<std::string, ApexInfo>> ScanActiveApexes(const std::string& root) { in ScanActiveApexes() 140 std::map<std::string, ApexInfo> apexes; in ScanActiveApexes() 172 ApexInfo info(manifest.name(), in ScanActiveApexes() 222 bool ApexInfo::InSystem() const { in InSystem() 229 bool ApexInfo::InProduct() const { in InProduct() 234 bool ApexInfo::InVendor() const { in InVendor()
|
/system/linkerconfig/contents/include/linkerconfig/ |
D | context.h | 52 const modules::ApexInfo& GetCurrentApex() const; 61 void SetCurrentApex(const modules::ApexInfo* apex); 74 const modules::ApexInfo* current_apex_;
|
D | namespacebuilder.h | 50 const modules::ApexInfo& apex_info); 52 const Context& ctx, const modules::ApexInfo& apex_info);
|
/system/linkerconfig/contents/tests/configuration/ |
D | apexconfig_test.cc | 29 using android::linkerconfig::modules::ApexInfo; 37 ApexInfo PrepareApex(const std::string& apex_name, in PrepareApex() 40 return ApexInfo(apex_name, in PrepareApex()
|
D | baseconfig_test.cc | 24 using android::linkerconfig::modules::ApexInfo; 67 ctx.AddApexModule(ApexInfo( in TEST()
|
/system/apex/apexd/apex-info-list-api/ |
D | current.txt | 4 public class ApexInfo { 5 ctor public ApexInfo(); 26 method public java.util.List<com.android.apex.ApexInfo> getApexInfo(); 31 …method public static com.android.apex.ApexInfo readApexInfo(java.io.InputStream) throws javax.xml.… 41 …method public static void write(com.android.apex.XmlWriter, com.android.apex.ApexInfo) throws java…
|
D | last_current.txt | 4 public class ApexInfo { 5 ctor public ApexInfo(); 26 method public java.util.List<com.android.apex.ApexInfo> getApexInfo(); 31 …method public static com.android.apex.ApexInfo readApexInfo(java.io.InputStream) throws javax.xml.… 41 …method public static void write(com.android.apex.XmlWriter, com.android.apex.ApexInfo) throws java…
|
/system/linkerconfig/contents/namespace/ |
D | apexemptydefault.cc | 22 using android::linkerconfig::modules::ApexInfo; 29 const ApexInfo& apex_info) { in BuildApexEmptyDefaultNamespace()
|
D | apexdefault.cc | 24 using android::linkerconfig::modules::ApexInfo; 32 const ApexInfo& apex_info) { in BuildApexDefaultNamespace()
|
/system/linkerconfig/modules/tests/ |
D | apex_test.cc | 34 using ::android::linkerconfig::modules::ApexInfo; 47 ApexInfo("com.android.foo", in TEST() 76 ApexInfo("com.android.foo", in TEST() 87 ApexInfo("com.android.bar", in TEST() 114 ApexInfo("com.android.foo", in TEST()
|
/system/linkerconfig/contents/context/ |
D | context.cc | 27 using android::linkerconfig::modules::ApexInfo; 66 const ApexInfo& Context::GetCurrentApex() const { in GetCurrentApex() 83 void Context::SetCurrentApex(const ApexInfo* apex) { in SetCurrentApex()
|
/system/linkerconfig/contents/configuration/ |
D | apexconfig.cc | 21 using android::linkerconfig::modules::ApexInfo; 29 Context& ctx, const ApexInfo& apex_info) { in CreateApexConfiguration()
|