Home
last modified time | relevance | path

Searched refs:IBuildInfo (Results 1 – 25 of 171) sorted by relevance

1234567

/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/
DIInvocationContext.java18 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/
DBuildRetrievalError.java25 private IBuildInfo mBuildInfo = new BuildInfo();
76 public BuildRetrievalError(String reason, Throwable cause, IBuildInfo build) { in BuildRetrievalError()
90 String reason, Throwable cause, ErrorIdentifier errorId, IBuildInfo build) { in BuildRetrievalError()
105 public IBuildInfo getBuildInfo() { in getBuildInfo()
114 public void setBuildInfo(IBuildInfo build) { in setBuildInfo()
DIBuildProvider.java30 public IBuildInfo getBuild() throws BuildRetrievalError; in getBuild()
42 public default void buildNotTested(IBuildInfo info) { in buildNotTested()
49 public void cleanUp(IBuildInfo info); in cleanUp()
DBootstrapBuildProvider.java20 import com.android.tradefed.build.IBuildInfo.BuildInfoProperties;
84 public IBuildInfo getBuild() throws BuildRetrievalError { in getBuild()
89 public void cleanUp(IBuildInfo info) { in cleanUp()
93 public IBuildInfo getBuild(ITestDevice device) throws BuildRetrievalError, in getBuild()
95 IBuildInfo info = new DeviceBuildInfo(mBuildId, mBuildTargetName); in getBuild()
DLocalFolderBuildProvider.java42 public IBuildInfo getBuild() throws BuildRetrievalError { in getBuild()
54 IBuildInfo parentBuild = super.getBuild(); in getBuild()
64 public void cleanUp(IBuildInfo info) { in cleanUp()
DLocalAppBuildProvider.java41 public IBuildInfo getBuild() throws BuildRetrievalError { in getBuild()
44 IBuildInfo parentBuild = super.getBuild(); in getBuild()
60 public void cleanUp(IBuildInfo info) { in cleanUp()
DDeviceBuildDescriptor.java37 private final IBuildInfo mBuild;
39 public DeviceBuildDescriptor(IBuildInfo build) { in DeviceBuildDescriptor()
49 public static boolean describesDeviceBuild(IBuildInfo build) { in describesDeviceBuild()
99 public static void injectDeviceAttributes(ITestDevice device, IBuildInfo b) in injectDeviceAttributes()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/multi/
DHelloWorldMultiTargetPreparer.java18 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/tests/src/com/android/tradefed/invoker/
DShardMainResultForwarderTest.java23 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 …]
DInvocationContextTest.java25 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()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterBuildProvider.java20 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/src/com/android/tradefed/invoker/
DInvocationContext.java20 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 …]
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DITargetPreparer.java18 import com.android.tradefed.build.IBuildInfo;
47 public default void setUp(ITestDevice device, IBuildInfo buildInfo) in setUp()
81 public default void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) in tearDown()
DIHostCleaner.java3 import com.android.tradefed.build.IBuildInfo;
15 public void cleanUp(IBuildInfo buildInfo, Throwable e); in cleanUp()
/tools/tradefederation/core/test_framework/com/android/tradefed/util/clockwork/
DClockworkUtils.java19 import com.android.tradefed.build.IBuildInfo;
36 Map<ITestDevice, IBuildInfo> deviceInfos, List<ITestDevice> deviceList) { in setUpMultiDevice()
42 for (Map.Entry<ITestDevice, IBuildInfo> entry : deviceInfos.entrySet()) { in setUpMultiDevice()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DRestartSystemServerTargetPreparer.java18 import com.android.tradefed.build.IBuildInfo;
44 public void setUp(ITestDevice device, IBuildInfo buildInfo) in setUp()
53 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) in tearDown()
DPerfettoPreparer.java18 import com.android.tradefed.build.IBuildInfo;
50 public void setUp(ITestDevice device, IBuildInfo buildInfo) in setUp()
83 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) in tearDown()
DSwitchUserTargetPreparer.java19 import com.android.tradefed.build.IBuildInfo;
46 public void setUp(ITestDevice device, IBuildInfo buildInfo) in setUp()
83 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) in tearDown()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/companion/
DCompanionAllocator.java19 import com.android.tradefed.build.IBuildInfo;
41 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, in setUp()
57 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) in tearDown()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DPythonVirtualenvPreparerTest.java27 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/src/com/android/tradefed/testtype/
DIBuildReceiver.java18 import com.android.tradefed.build.IBuildInfo;
29 public void setBuild(IBuildInfo buildInfo); in setBuild()
DIMultiDeviceTest.java18 import com.android.tradefed.build.IBuildInfo;
37 public void setDeviceInfos(Map<ITestDevice, IBuildInfo> deviceInfos); in setDeviceInfos()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/
DRemoteAndroidVirtualDeviceTest.java29 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 …]
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DATestFileSystemLogSaverTest.java20 import com.android.tradefed.build.IBuildInfo;
40 private IBuildInfo mMockBuild;
46 mMockBuild = Mockito.mock(IBuildInfo.class); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/dependency/
DTestDependencyResolver.java19 import com.android.tradefed.build.IBuildInfo;
37 File dependency, IBuildInfo build, IInvocationContext context) in resolveDependencyFromContext()

1234567