/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/ |
D | RemoteAndroidVirtualDeviceTest.java | 29 import com.android.tradefed.build.IBuildInfo; 82 private IBuildInfo mMockBuildInfo; 168 IBuildInfo buildInfo, in testExceptionFromParser() 180 File reportFile, IBuildInfo b, String ipDevice) { in testExceptionFromParser() 253 IBuildInfo mMockBuildInfo = EasyMock.createMock(IBuildInfo.class); in testPreInvocationSetup() 257 protected void launchGce(IBuildInfo buildInfo) throws TargetSetupError { in testPreInvocationSetup() 297 IBuildInfo mMockBuildInfo = EasyMock.createMock(IBuildInfo.class); in testPreInvocationSetup_fails() 301 protected void launchGce(IBuildInfo buildInfo) throws TargetSetupError { in testPreInvocationSetup_fails() 360 IBuildInfo buildInfo, in testLaunchGce_bootFail() 406 IBuildInfo buildInfo, in testLaunchGce_nullPort() [all …]
|
D | GceManagerTest.java | 26 import com.android.tradefed.build.IBuildInfo; 64 private IBuildInfo mMockBuildInfo; 161 IBuildInfo mMockBuildInfo = EasyMock.createMock(IBuildInfo.class); in testBuildGceCommand() 197 IBuildInfo mMockBuildInfo = EasyMock.createMock(IBuildInfo.class); in testBuildGceCommand_withServiceAccountJsonKeyFile() 237 IBuildInfo mMockBuildInfo = EasyMock.createMock(IBuildInfo.class); in testBuildGceCommandWithEmulatorBuild() 286 IBuildInfo mMockBuildInfo = EasyMock.createMock(IBuildInfo.class); in testBuildGceCommandWithGceDriverParam() 341 File reportFile, IBuildInfo b, String ipDevice) { in testStartGce_timeout() 373 IBuildInfo mMockBuildInfo = EasyMock.createMock(IBuildInfo.class); in testBuildGceCommandWithKernelBuild() 428 File reportFile, IBuildInfo b, String ipDevice) { in testStartGce() 485 File reportFile, IBuildInfo b, String ipDevice) { in testStartGce_failed() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | InvocationContext.java | 20 import com.android.tradefed.build.IBuildInfo; 51 private transient Map<ITestDevice, IBuildInfo> mAllocatedDeviceAndBuildMap; 54 private Map<String, IBuildInfo> mNameAndBuildinfoMap; 76 mAllocatedDeviceAndBuildMap = new LinkedHashMap<ITestDevice, IBuildInfo>(); in InvocationContext() 79 mNameAndBuildinfoMap = new LinkedHashMap<String, IBuildInfo>(); in InvocationContext() 128 public Map<ITestDevice, IBuildInfo> getDeviceBuildMap() { in getDeviceBuildMap() 144 public List<IBuildInfo> getBuildInfos() { in getBuildInfos() 145 return new ArrayList<IBuildInfo>(mNameAndBuildinfoMap.values()); in getBuildInfos() 182 public IBuildInfo getBuildInfo(String deviceName) { in getBuildInfo() 190 public void addDeviceBuildInfo(String deviceName, IBuildInfo buildinfo) { in addDeviceBuildInfo() [all …]
|
D | InvocationExecution.java | 23 import com.android.tradefed.build.IBuildInfo; 24 import com.android.tradefed.build.IBuildInfo.BuildInfoProperties; 117 IBuildInfo buildReplicat = null; in fetchBuild() 127 IBuildInfo info = null; in fetchBuild() 153 IBuildInfo notFoundStub = new BuildInfo(); in fetchBuild() 169 IBuildInfo errorBuild = e.getBuildInfo(); in fetchBuild() 176 IBuildInfo errorBuild = new BuildInfo(); in fetchBuild() 690 protected void setTestTag(IBuildInfo info, IConfiguration config) { in setTestTag() 706 void updateBuild(IBuildInfo info, IConfiguration config) { in updateBuild() 781 private void linkExternalDirs(IBuildInfo info, TestInformation testInfo) {
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | ShardMainResultForwarderTest.java | 23 import com.android.tradefed.build.IBuildInfo; 67 IBuildInfo mainBuild = new BuildInfo(); in testForwardBuildInfo() 73 IBuildInfo shardBuild1 = new BuildInfo(); in testForwardBuildInfo() 79 IBuildInfo shardBuild2 = new BuildInfo(); in testForwardBuildInfo() 101 IBuildInfo mainBuild1 = new BuildInfo(); in testForwardBuildInfo_multiDevice() 106 IBuildInfo mainBuild2 = new BuildInfo(); in testForwardBuildInfo_multiDevice() 112 IBuildInfo shardBuild1 = new BuildInfo(); in testForwardBuildInfo_multiDevice() 117 IBuildInfo shardBuild1_2 = new BuildInfo(); in testForwardBuildInfo_multiDevice() 123 IBuildInfo shardBuild2 = new BuildInfo(); in testForwardBuildInfo_multiDevice() 128 IBuildInfo shardBuild2_2 = new BuildInfo(); in testForwardBuildInfo_multiDevice() [all …]
|
D | InvocationContextTest.java | 25 import com.android.tradefed.build.IBuildInfo; 81 IBuildInfo build1 = EasyMock.createMock(IBuildInfo.class); in testGetBuildInfoName() 82 IBuildInfo build2 = EasyMock.createMock(IBuildInfo.class); in testGetBuildInfoName() 127 IBuildInfo info = new BuildInfo("1234", "test-target"); in testSerialize()
|
D | TestInvocationTest.java | 26 import com.android.tradefed.build.IBuildInfo; 27 import com.android.tradefed.build.IBuildInfo.BuildInfoProperties; 156 private IBuildInfo mMockBuildInfo; 200 mMockBuildInfo = EasyMock.createMock(IBuildInfo.class); in setUp() 240 mMockDevice.preInvocationSetup((IBuildInfo) EasyMock.anyObject()); in setUp() 463 Capture<IBuildInfo> captured = new Capture<>(); in testInvoke_buildFailed_runtimeException() 472 IBuildInfo stubBuild = captured.getValue(); in testInvoke_buildFailed_runtimeException() 497 Capture<IBuildInfo> captured = new Capture<>(); in testInvoke_noBuild() 506 IBuildInfo stubBuild = captured.getValue(); in testInvoke_noBuild() 537 Capture<IBuildInfo> captured = new Capture<>(); in testInvoke_noBuild_noHostLog() [all …]
|
D | TestInvocationMultiTest.java | 22 import com.android.tradefed.build.IBuildInfo; 192 IBuildInfo build1 = new BuildInfo(); in testRunBuildProvider_oneMiss() 199 Capture<IBuildInfo> captured = new Capture<>(); in testRunBuildProvider_oneMiss() 246 IBuildInfo stubBuild = captured.getValue(); in testRunBuildProvider_oneMiss() 390 IBuildInfo build1 = new BuildInfo(); in testRunBuildProvider_oneThrow() 480 IBuildInfo build1 = new BuildInfo(); in testRunBuildProvider_cleanUpThrow()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | InstallApexModuleTargetPreparerTest.java | 24 import com.android.tradefed.build.IBuildInfo; 58 private IBuildInfo mMockBuildInfo; 99 mMockBuildInfo = EasyMock.createMock(IBuildInfo.class); in setUp() 723 Mockito.any(IBuildInfo.class))) in testSetupAndTearDown_ApkAndApks() 769 Mockito.any(IBuildInfo.class)); in testSetupAndTearDown_ApkAndApks() 924 Mockito.any(IBuildInfo.class))) in testInstallUsingBundletool() 931 Mockito.any(IBuildInfo.class))) in testInstallUsingBundletool() 981 Mockito.any(IBuildInfo.class)); in testInstallUsingBundletool() 987 Mockito.any(IBuildInfo.class)); in testInstallUsingBundletool() 1050 Mockito.any(IBuildInfo.class))) in testInstallUsingBundletool_skipModuleNotPreloaded() [all …]
|
D | PythonVirtualenvPreparerTest.java | 27 import com.android.tradefed.build.IBuildInfo; 57 IBuildInfo buildInfo = new BuildInfo(); in testInstallDeps_reqFile_success() 68 IBuildInfo buildInfo = new BuildInfo(); in testInstallDeps_depModule_success() 79 IBuildInfo buildInfo = new BuildInfo(); in testInstallDeps_reqFile_failure() 94 IBuildInfo buildInfo = new BuildInfo(); in testInstallDeps_depModule_failure()
|
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/ |
D | IInvocationContext.java | 18 import com.android.tradefed.build.IBuildInfo; 74 public Map<ITestDevice, IBuildInfo> getDeviceBuildMap(); in getDeviceBuildMap() 84 public List<IBuildInfo> getBuildInfos(); in getBuildInfos() 117 public String getBuildInfoName(IBuildInfo info); in getBuildInfoName() 123 public IBuildInfo getBuildInfo(String deviceName); in getBuildInfo() 128 public IBuildInfo getBuildInfo(ITestDevice testDevice); in getBuildInfo() 136 public void addDeviceBuildInfo(String deviceName, IBuildInfo buildinfo); in addDeviceBuildInfo()
|
/tools/tradefederation/core/src/com/android/tradefed/build/ |
D | BuildInfo.java | 52 public class BuildInfo implements IBuildInfo { 250 VersionedFile origFileConsidered, IBuildInfo build, IBuildInfo receiver) { in applyBuildProperties() 442 public IBuildInfo clone() { in clone() 583 if (fileKey.startsWith(IBuildInfo.REMOTE_FILE_PREFIX)) { in toProto() 624 public static IBuildInfo fromProto(BuildInformation.BuildInfo protoBuild) { in fromProto() 625 IBuildInfo buildInfo; in fromProto() 676 if (fileKey.startsWith(IBuildInfo.REMOTE_FILE_PREFIX)) { in getRemoteFiles()
|
D | BootstrapBuildProvider.java | 20 import com.android.tradefed.build.IBuildInfo.BuildInfoProperties; 94 public IBuildInfo getBuild() throws BuildRetrievalError { in getBuild() 99 public void cleanUp(IBuildInfo info) { in cleanUp() 103 public IBuildInfo getBuild(ITestDevice device) throws BuildRetrievalError, in getBuild() 105 IBuildInfo info = new DeviceBuildInfo(mBuildId, mBuildTargetName); in getBuild() 161 private void addFiles(IBuildInfo buildInfo, Map<String, File> fileMaps) { in addFiles()
|
D | ExistingBuildProvider.java | 24 private final IBuildInfo mBuildInfo; 35 public ExistingBuildProvider(IBuildInfo buildInfo, IBuildProvider parentProvider) { in ExistingBuildProvider() 44 public IBuildInfo getBuild() throws BuildRetrievalError { in getBuild() 52 public void buildNotTested(IBuildInfo info) { in buildNotTested() 63 public void cleanUp(IBuildInfo info) { in cleanUp()
|
D | BuildRetrievalError.java | 27 private IBuildInfo mBuildInfo = new BuildInfo(); 78 public BuildRetrievalError(String reason, Throwable cause, IBuildInfo build) { in BuildRetrievalError() 92 String reason, Throwable cause, ErrorIdentifier errorId, IBuildInfo build) { in BuildRetrievalError() 110 public IBuildInfo getBuildInfo() { in getBuildInfo() 119 public void setBuildInfo(IBuildInfo build) { in setBuildInfo()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | DeviceSuiteTest.java | 20 import com.android.tradefed.build.IBuildInfo; 55 private IBuildInfo mMockBuildInfo; 63 mMockBuildInfo = EasyMock.createMock(IBuildInfo.class); in setUp() 81 public static IBuildInfo sBuildInfo; 117 public void setBuild(IBuildInfo buildInfo) { in setBuild() 137 private IBuildInfo mBuild; 147 public void setBuild(IBuildInfo buildInfo) { in setBuild()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | LogFileSaverTest.java | 20 import com.android.tradefed.build.IBuildInfo; 70 IBuildInfo mockBuild = EasyMock.createMock(IBuildInfo.class); in testGetFileDir() 105 IBuildInfo mockBuild = EasyMock.createMock(IBuildInfo.class); in testGetFileDir_nobranch() 130 IBuildInfo mockBuild = EasyMock.createMock(IBuildInfo.class); in testGetFileDir_retention()
|
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/ |
D | GceManager.java | 18 import com.android.tradefed.build.IBuildInfo; 73 private IBuildInfo mBuildInfo; 87 DeviceDescriptor deviceDesc, TestDeviceOptions deviceOptions, IBuildInfo buildInfo) { in GceManager() 119 IBuildInfo buildInfo, in GceManager() 120 List<IBuildInfo> testResourceBuildInfos) { in GceManager() 136 IBuildInfo buildInfo, in GceManager() 256 protected List<String> buildGceCmd(File reportFile, IBuildInfo b, String ipDevice) { in buildGceCmd() 714 public void logStableHostImageInfos(IBuildInfo build) { in logStableHostImageInfos()
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | ClusterBuildProvider.java | 20 import com.android.tradefed.build.IBuildInfo; 46 private String mBuildId = IBuildInfo.UNKNOWN_BUILD_ID; 52 public IBuildInfo getBuild() throws BuildRetrievalError { in getBuild() 55 final IBuildInfo buildInfo = new ClusterBuildInfo(mRootDir, mBuildId, mBuildTarget); in getBuild() 82 public void buildNotTested(IBuildInfo info) {} in buildNotTested() 85 public void cleanUp(IBuildInfo info) { in cleanUp()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/ |
D | ClusterCommandSchedulerTest.java | 28 import com.android.tradefed.build.IBuildInfo; 625 IBuildInfo mockBuildInfo = EasyMock.createMock(IBuildInfo.class); 697 IBuildInfo mockBuildInfo = EasyMock.createMock(IBuildInfo.class); 766 IBuildInfo mockBuildInfo = EasyMock.createMock(IBuildInfo.class); 814 IBuildInfo mockBuildInfo = EasyMock.createMock(IBuildInfo.class); 1273 public void setUp(ITestDevice device, IBuildInfo buildInfo)
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/multi/ |
D | HelloWorldMultiTargetPreparer.java | 18 import com.android.tradefed.build.IBuildInfo; 34 Map<ITestDevice, IBuildInfo> deviceBuildInfo = testInfo.getContext().getDeviceBuildMap(); in setUp() 42 for (Entry<ITestDevice, IBuildInfo> entry : deviceBuildInfo.entrySet()) { in setUp() 53 Map<ITestDevice, IBuildInfo> deviceBuildInfo = testInfo.getContext().getDeviceBuildMap(); in tearDown() 54 for (Entry<ITestDevice, IBuildInfo> entry : deviceBuildInfo.entrySet()) { in tearDown()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/multi/ |
D | MixImageZipPreparer.java | 18 import com.android.tradefed.build.IBuildInfo; 19 import com.android.tradefed.build.IBuildInfo.BuildInfoProperties; 197 IBuildInfo resourceBuildInfo = null; in setUp() 316 IBuildInfo mixedBuildInfo = in setUp() 421 IBuildInfo buildInfo, Collection<String> buildFileNames) throws IOException { in getBuildFiles() 564 private static IBuildInfo createBuildCopy( in createBuildCopy()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ModuleDefinitionMultiTest.java | 18 import com.android.tradefed.build.IBuildInfo; 58 private IBuildInfo mBuildInfo1; 59 private IBuildInfo mBuildInfo2; 77 mBuildInfo1 = EasyMock.createMock(IBuildInfo.class); in setUp() 78 mBuildInfo2 = EasyMock.createMock(IBuildInfo.class); in setUp()
|
D | ITestSuiteMultiTest.java | 18 import com.android.tradefed.build.IBuildInfo; 61 private IBuildInfo mMockBuildInfo1; 63 private IBuildInfo mMockBuildInfo2; 120 mMockBuildInfo1 = EasyMock.createMock(IBuildInfo.class); in setUp() 124 mMockBuildInfo2 = EasyMock.createMock(IBuildInfo.class); in setUp()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/ |
D | LongevityHostRunnerTest.java | 23 import com.android.tradefed.build.IBuildInfo; 64 private IBuildInfo mMockBuildInfo; 97 private IBuildInfo mBuildInfo; 130 public void setBuild(IBuildInfo buildInfo) { in setBuild() 171 mMockBuildInfo = mock(IBuildInfo.class); in setUpMocks()
|