Home
last modified time | relevance | path

Searched refs:ApexInfo (Results 1 – 25 of 39) sorted by relevance

12

/system/apex/tests/src/com/android/tests/apex/
DApexRollbackTests.java27 import com.android.tradefed.device.ITestDevice.ApexInfo;
119 ApexInfo ctsShimV1 = new ApexInfo("com.android.apex.cts.shim", 1L); in testAutomaticBootLoopRecovery()
120 ApexInfo ctsShimV2 = new ApexInfo("com.android.apex.cts.shim", 2L); in testAutomaticBootLoopRecovery()
121 Set<ApexInfo> activatedApexes = device.getActiveApexes(); in testAutomaticBootLoopRecovery()
159 ApexInfo ctsShimV1 = new ApexInfo("com.android.apex.cts.shim", 1L); in testSessionNotRevertedWithCheckpointingDisabled()
160 ApexInfo ctsShimV2 = new ApexInfo("com.android.apex.cts.shim", 2L); in testSessionNotRevertedWithCheckpointingDisabled()
168 Set<ApexInfo> activatedApexes = device.getActiveApexes(); in testSessionNotRevertedWithCheckpointingDisabled()
201 ApexInfo ctsShimV1 = new ApexInfo("com.android.apex.cts.shim", 1L); in testCheckpointingRevertsSession()
202 ApexInfo ctsShimV2 = new ApexInfo("com.android.apex.cts.shim", 2L); in testCheckpointingRevertsSession()
210 Set<ApexInfo> activatedApexes = device.getActiveApexes(); in testCheckpointingRevertsSession()
[all …]
DApexdHostTest.java24 import com.android.apex.ApexInfo;
73 final Set<ITestDevice.ApexInfo> activeApexes = getDevice().getActiveApexes(); in testOrphanedApexIsNotActivated()
74 ITestDevice.ApexInfo testApex = new ITestDevice.ApexInfo( in testOrphanedApexIsNotActivated()
94 final Set<ITestDevice.ApexInfo> activeApexes = getDevice().getActiveApexes(); in testApexWithoutPbIsNotActivated()
95 ITestDevice.ApexInfo testApex = new ITestDevice.ApexInfo( in testApexWithoutPbIsNotActivated()
125 final Set<ITestDevice.ApexInfo> activeApexes = getDevice().getActiveApexes(); in testRemountApex()
126 ITestDevice.ApexInfo testApex = new ITestDevice.ApexInfo( in testRemountApex()
157 final Set<ITestDevice.ApexInfo> activeApexes = getDevice().getActiveApexes(); in testApexWithoutPbIsNotActivated_ProductPartitionHasOlderVersion()
158 assertThat(activeApexes).contains(new ITestDevice.ApexInfo( in testApexWithoutPbIsNotActivated_ProductPartitionHasOlderVersion()
160 assertThat(activeApexes).doesNotContain(new ITestDevice.ApexInfo( in testApexWithoutPbIsNotActivated_ProductPartitionHasOlderVersion()
[all …]
DApexE2EBaseHostTest.java29 import com.android.tradefed.device.ITestDevice.ApexInfo;
97 ApexInfo apex = installApex(mApexFileName); in stageActivateUninstallApexPackage()
100 Set<ApexInfo> activatedApexes = getDevice().getActiveApexes(); in stageActivateUninstallApexPackage()
108 ApexInfo apex = mUtils.getApexInfo(mUtils.getTestFile(filename)); in uninstallAllApexes()
113 protected final ApexInfo installApex(String filename) throws Exception { in installApex()
120 ApexInfo testApexInfo = mUtils.getApexInfo(testAppFile); in installApex()
/system/linkerconfig/modules/include/linkerconfig/
Dbasecontext.h33 void AddApexModule(ApexInfo apex_module);
34 const std::vector<ApexInfo>& GetApexModules() const;
39 virtual Namespace BuildApexNamespace(const ApexInfo& apex_info,
46 std::vector<ApexInfo> apex_modules_;
Dapex.h26 struct ApexInfo { struct
36 ApexInfo() = default; // for std::map::operator[] argument
37 ApexInfo(std::string name, std::string path, in ApexInfo() function
54 std::map<std::string, ApexInfo> ScanActiveApexes(const std::string& root);
/system/apex/apexd/
Dapexd_test_utils.h78 AllOf(Field("moduleName", &ApexInfo::moduleName, Eq(other.moduleName)),
79 Field("modulePath", &ApexInfo::modulePath, Eq(other.modulePath)),
80 Field("preinstalledModulePath", &ApexInfo::preinstalledModulePath,
82 Field("versionCode", &ApexInfo::versionCode, Eq(other.versionCode)),
83 Field("isFactory", &ApexInfo::isFactory, Eq(other.isFactory)),
84 Field("isActive", &ApexInfo::isActive, Eq(other.isActive))),
120 inline void PrintTo(const ApexInfo& apex, std::ostream* os) { in PrintTo()
Dapexservice.cpp84 BinderStatus getActivePackages(std::vector<ApexInfo>* aidl_return) override;
86 ApexInfo* aidl_return) override;
87 BinderStatus getAllPackages(std::vector<ApexInfo>* aidl_return) override;
178 ApexInfo out; in submitStagedSession()
269 static ApexInfo getApexInfo(const ApexFile& package) { in getApexInfo()
270 ApexInfo out; in getApexInfo()
285 static std::string toString(const ApexInfo& package) { in toString()
369 std::vector<ApexInfo>* aidl_return) { in getActivePackages()
372 ApexInfo apexInfo = getApexInfo(package); in getActivePackages()
381 ApexInfo* aidl_return) { in getActivePackage()
[all …]
/system/linkerconfig/modules/
Dbasecontext.cc25 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()
Dapex.cc36 std::map<std::string, ApexInfo> ScanActiveApexes(const std::string& root) { in ScanActiveApexes()
37 std::map<std::string, ApexInfo> apexes; in ScanActiveApexes()
42 ApexInfo info(manifest.name(), in ScanActiveApexes()
/system/apex/apexd/aidl/android/apex/
DIApexService.aidl19 import android.apex.ApexInfo;
31 ApexInfo[] getActivePackages(); in getActivePackages()
32 ApexInfo[] getAllPackages(); in getAllPackages()
66 ApexInfo getActivePackage(in @utf8InCpp String package_name); in getActivePackage()
DApexInfoList.aidl19 import android.apex.ApexInfo;
22 ApexInfo[] apexInfos;
DApexInfo.aidl19 parcelable ApexInfo {
/system/linkerconfig/modules/tests/
Dapex_test.cc33 using ::android::linkerconfig::modules::ApexInfo;
46 ApexInfo("com.android.foo", in TEST()
72 ApexInfo("com.android.foo", in TEST()
80 ApexInfo("com.android.bar", in TEST()
/system/apex/apexd/apex-info-list-api/
Dcurrent.txt4 public class ApexInfo {
5 ctor public ApexInfo();
24 method public java.util.List<com.android.apex.ApexInfo> getApexInfo();
29 …method public static com.android.apex.ApexInfo readApexInfo(java.io.InputStream) throws javax.xml.…
39 …method public static void write(com.android.apex.XmlWriter, com.android.apex.ApexInfo) throws java…
/system/linkerconfig/contents/tests/configuration/
Dapexconfig_test.cc29 using android::linkerconfig::modules::ApexInfo;
37 ApexInfo PrepareApex(const std::string& apex_name, in PrepareApex()
40 return ApexInfo(apex_name, in PrepareApex()
Dbaseconfig_test.cc24 using android::linkerconfig::modules::ApexInfo;
67 ctx.AddApexModule(ApexInfo("foo", "", {}, {}, {"libjni.so"}, false, true)); in TEST()
/system/linkerconfig/contents/namespace/
Dapexdefault.cc22 using android::linkerconfig::modules::ApexInfo;
29 const ApexInfo& apex_info) { in BuildApexDefaultNamespace()
Dart.cc22 using android::linkerconfig::modules::ApexInfo;
30 [[maybe_unused]] const ApexInfo& apex) { in BuildArtNamespace()
/system/linkerconfig/contents/section/
Dapexart.cc25 using android::linkerconfig::modules::ApexInfo;
32 Section BuildApexArtSection(Context& ctx, const ApexInfo& apex_info) { in BuildApexArtSection()
Dapexdefault.cc28 using android::linkerconfig::modules::ApexInfo;
45 Section BuildApexDefaultSection(Context& ctx, const ApexInfo& apex_info) { in BuildApexDefaultSection()
/system/linkerconfig/contents/configuration/
Dapexconfig.cc21 using android::linkerconfig::modules::ApexInfo;
29 Context& ctx, const ApexInfo& apex_info) { in CreateApexConfiguration()
/system/linkerconfig/contents/include/linkerconfig/
Dnamespacebuilder.h49 const modules::ApexInfo& apex_info);
53 const modules::ApexInfo& apex_info);
Dcontext.h31 std::function<modules::Namespace(const Context&, const modules::ApexInfo&)>;
73 modules::Namespace BuildApexNamespace(const modules::ApexInfo& apex_info,
/system/apex/tests/util/com/android/tests/util/
DModuleTestUtils.java25 import com.android.tradefed.device.ITestDevice.ApexInfo;
75 public ApexInfo getApexInfo(File apex) { in getApexInfo()
83 ApexInfo apexInfo = new ApexInfo(m.group(1), Long.parseLong(m.group(2))); in getApexInfo()
199 final ITestDevice.ApexInfo shim = getShimApex(); in uninstallShimApexIfNecessary()
214 private ITestDevice.ApexInfo getShimApex() throws DeviceNotAvailableException { in getShimApex()
/system/linkerconfig/contents/context/
Dcontext.cc27 using android::linkerconfig::modules::ApexInfo;
92 Namespace Context::BuildApexNamespace(const ApexInfo& apex_info, in BuildApexNamespace()

12