Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DInstallApexModuleTargetPreparerTest.java28 import com.android.tradefed.device.ITestDevice.ApexInfo;
183 protected ApexInfo retrieveApexInfo( in setUp()
185 ApexInfo apexInfo; in setUp()
187 apexInfo = new ApexInfo(SPLIT_APEX_PACKAGE_NAME, APEX_VERSION); in setUp()
189 apexInfo = new ApexInfo(APEX_PACKAGE_NAME, APEX_VERSION); in setUp()
234 Set<ApexInfo> activatedApex = new HashSet<ApexInfo>(); in testSetupSuccess_removeExistingStagedApexSuccess()
236 new ApexInfo( in testSetupSuccess_removeExistingStagedApexSuccess()
259 Set<ApexInfo> activatedApex = new HashSet<ApexInfo>(); in testSetupSuccess_noDataUnderApexDataDirs()
261 new ApexInfo( in testSetupSuccess_noDataUnderApexDataDirs()
291 Set<ApexInfo> activatedApex = new HashSet<ApexInfo>(); in testSetupSuccess_getActivatedPackageSuccess()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DInstallApexModuleTargetPreparer.java24 import com.android.tradefed.device.ITestDevice.ApexInfo;
67 private List<ApexInfo> mTestApexInfoList = new ArrayList<>();
104 Set<ApexInfo> activatedApexes = device.getActiveApexes(); in setUp()
107 for (ApexInfo info : activatedApexes) { in setUp()
149 for (ApexInfo info : activatedApexes) { in setUp()
154 List<ApexInfo> failToActivateApex = getModulesFailToActivate(activatedApexes); in setUp()
267 Set<ApexInfo> installedApexes = new HashSet<>(device.getActiveApexes()); in getModulesToInstall()
268 for (ApexInfo installedApex : installedApexes) { in getModulesToInstall()
483 ApexInfo apexInfo = retrieveApexInfo(moduleFile, device.getDeviceDescriptor()); in installMultipleModuleUsingBundletool()
520 protected ApexInfo retrieveApexInfo(File testApexFile, DeviceDescriptor deviceDescriptor) in retrieveApexInfo()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/module/
DMainlineTestModuleControllerTest.java26 import com.android.tradefed.device.ITestDevice.ApexInfo;
47 private ApexInfo mFakeApexInfo;
48 private Set<ApexInfo> mFakeApexes;
59 mFakeApexes = new HashSet<ITestDevice.ApexInfo>(); in setUp()
68 mFakeApexInfo = new ApexInfo("com.google.android.fakeapex", 1, "fakeDir"); in testModuleExistsRun()
84 ApexInfo fakeApexInfo = new ApexInfo("com.google.android.fake1apex", 1, "fakeDir"); in testModuleNotInstalledTestRun()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DITestDevice.java90 public static class ApexInfo { class
95 public ApexInfo(String name, long versionCode, String sourceDir) { in ApexInfo() method in ITestDevice.ApexInfo
101 public ApexInfo(String name, long versionCode) { in ApexInfo() method in ITestDevice.ApexInfo
107 if (other != null && other instanceof ApexInfo) { in equals()
108 ApexInfo ai = (ApexInfo) other; in equals()
611 public Set<ApexInfo> getActiveApexes() throws DeviceNotAvailableException; in getActiveApexes()
/tools/tradefederation/core/src/com/android/tradefed/device/
DTestDevice.java1011 public Set<ApexInfo> getActiveApexes() throws DeviceNotAvailableException { in getActiveApexes()
1015 Set<ApexInfo> ret = parseApexesFromOutput(output, true /* withPath */); in getActiveApexes()
1022 private Set<ApexInfo> parseApexesFromOutput(final String output, boolean withPath) { in parseApexesFromOutput()
1023 Set<ApexInfo> ret = new HashSet<>(); in parseApexesFromOutput()
1033 ret.add(new ApexInfo(name, version, sourceDir)); in parseApexesFromOutput()
1037 ret.add(new ApexInfo(name, version)); in parseApexesFromOutput()
DNativeDevice.java3894 public Set<ApexInfo> getActiveApexes() throws DeviceNotAvailableException { in getActiveApexes()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/module/
DMainlineTestModuleController.java18 import com.android.tradefed.device.ITestDevice.ApexInfo;
47 private Set<ApexInfo> mActiveApexes;
68 for (ITestDevice.ApexInfo ap : mActiveApexes) { in shouldRun()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceTest.java37 import com.android.tradefed.device.ITestDevice.ApexInfo;
2252 Set<ApexInfo> actual = mTestDevice.getActiveApexes(); in testGetActiveApexesPlatformSupportsPath()
2254 ApexInfo foo = in testGetActiveApexesPlatformSupportsPath()
2259 ApexInfo bar = in testGetActiveApexesPlatformSupportsPath()
2277 Set<ApexInfo> actual = mTestDevice.getActiveApexes(); in testGetActiveApexesPlatformDoesNotSupportPath()
2279 ApexInfo foo = in testGetActiveApexesPlatformDoesNotSupportPath()
2284 ApexInfo bar = in testGetActiveApexesPlatformDoesNotSupportPath()
2304 Set<ApexInfo> actual = mTestDevice.getActiveApexes(); in testGetActiveApexesForBadOutput()