/system/apex/tests/src/com/android/tests/apex/ |
D | ApexRollbackTests.java | 27 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 …]
|
D | ApexdHostTest.java | 24 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 …]
|
D | ApexE2EBaseHostTest.java | 29 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/ |
D | basecontext.h | 33 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_;
|
D | apex.h | 26 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/ |
D | apexd_test_utils.h | 78 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()
|
D | apexservice.cpp | 84 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/ |
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 | 36 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/ |
D | IApexService.aidl | 19 import android.apex.ApexInfo; 31 ApexInfo[] getActivePackages(); in getActivePackages() 32 ApexInfo[] getAllPackages(); in getAllPackages() 66 ApexInfo getActivePackage(in @utf8InCpp String package_name); in getActivePackage()
|
D | ApexInfoList.aidl | 19 import android.apex.ApexInfo; 22 ApexInfo[] apexInfos;
|
D | ApexInfo.aidl | 19 parcelable ApexInfo {
|
/system/linkerconfig/modules/tests/ |
D | apex_test.cc | 33 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/ |
D | current.txt | 4 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/ |
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("foo", "", {}, {}, {"libjni.so"}, false, true)); in TEST()
|
/system/linkerconfig/contents/namespace/ |
D | apexdefault.cc | 22 using android::linkerconfig::modules::ApexInfo; 29 const ApexInfo& apex_info) { in BuildApexDefaultNamespace()
|
D | art.cc | 22 using android::linkerconfig::modules::ApexInfo; 30 [[maybe_unused]] const ApexInfo& apex) { in BuildArtNamespace()
|
/system/linkerconfig/contents/section/ |
D | apexart.cc | 25 using android::linkerconfig::modules::ApexInfo; 32 Section BuildApexArtSection(Context& ctx, const ApexInfo& apex_info) { in BuildApexArtSection()
|
D | apexdefault.cc | 28 using android::linkerconfig::modules::ApexInfo; 45 Section BuildApexDefaultSection(Context& ctx, const ApexInfo& apex_info) { in BuildApexDefaultSection()
|
/system/linkerconfig/contents/configuration/ |
D | apexconfig.cc | 21 using android::linkerconfig::modules::ApexInfo; 29 Context& ctx, const ApexInfo& apex_info) { in CreateApexConfiguration()
|
/system/linkerconfig/contents/include/linkerconfig/ |
D | namespacebuilder.h | 49 const modules::ApexInfo& apex_info); 53 const modules::ApexInfo& apex_info);
|
D | context.h | 31 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/ |
D | ModuleTestUtils.java | 25 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/ |
D | context.cc | 27 using android::linkerconfig::modules::ApexInfo; 92 Namespace Context::BuildApexNamespace(const ApexInfo& apex_info, in BuildApexNamespace()
|