Home
last modified time | relevance | path

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

12345678

/tools/tradefederation/core/src/com/android/tradefed/build/
DExistingBuildProvider.java24 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()
DBuildRetrievalError.java27 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()
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;
103 public void cleanUp(IBuildInfo info) { in cleanUp()
111 public IBuildInfo getBuild() throws BuildRetrievalError { in getBuild()
116 public IBuildInfo getBuild(ITestDevice device) throws BuildRetrievalError, in getBuild()
118 IBuildInfo info = new DeviceBuildInfo(mBuildId, mBuildTargetName); in getBuild()
186 private void addFiles(IBuildInfo buildInfo, Map<String, File> fileMaps) { in addFiles()
DDeviceBuildDescriptor.java38 private final IBuildInfo mBuild;
40 public DeviceBuildDescriptor(IBuildInfo build) { in DeviceBuildDescriptor()
50 public static boolean describesDeviceBuild(IBuildInfo build) { in describesDeviceBuild()
107 public static void injectDeviceAttributes(ITestDevice device, IBuildInfo b) in injectDeviceAttributes()
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()
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/
DShardMainResultForwarderTest.java23 import com.android.tradefed.build.IBuildInfo;
77 IBuildInfo mainBuild = new BuildInfo(); in testForwardBuildInfo()
83 IBuildInfo shardBuild1 = new BuildInfo(); in testForwardBuildInfo()
89 IBuildInfo shardBuild2 = new BuildInfo(); in testForwardBuildInfo()
111 IBuildInfo mainBuild1 = new BuildInfo(); in testForwardBuildInfo_multiDevice()
116 IBuildInfo mainBuild2 = new BuildInfo(); in testForwardBuildInfo_multiDevice()
122 IBuildInfo shardBuild1 = new BuildInfo(); in testForwardBuildInfo_multiDevice()
127 IBuildInfo shardBuild1_2 = new BuildInfo(); in testForwardBuildInfo_multiDevice()
133 IBuildInfo shardBuild2 = new BuildInfo(); in testForwardBuildInfo_multiDevice()
138 IBuildInfo shardBuild2_2 = new BuildInfo(); in testForwardBuildInfo_multiDevice()
[all …]
DInvocationContextTest.java26 import com.android.tradefed.build.IBuildInfo;
81 IBuildInfo build1 = mock(IBuildInfo.class); in testGetBuildInfoName()
82 IBuildInfo build2 = mock(IBuildInfo.class); in testGetBuildInfoName()
127 IBuildInfo info = new BuildInfo("1234", "test-target"); in testSerialize()
/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/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/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 IBuildInfo getBuildInfo(ITestDevice testDevice) { in getBuildInfo()
[all …]
/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/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/javatests/com/android/tradefed/device/cloud/
DGceManagerTest.java28 import com.android.tradefed.build.IBuildInfo;
69 private IBuildInfo mMockBuildInfo;
168 IBuildInfo mockBuildInfo = mock(IBuildInfo.class); in testBuildGceCommand()
208 IBuildInfo mMockBuildInfo = mock(IBuildInfo.class); in testBuildGceCommand_withServiceAccountJsonKeyFile()
248 IBuildInfo mMockBuildInfo = mock(IBuildInfo.class); in testBuildGceCommandWithIpDevice()
296 IBuildInfo mMockBuildInfo = mock(IBuildInfo.class); in testBuildGceCommandWithEmulatorBuild()
345 IBuildInfo mMockBuildInfo = mock(IBuildInfo.class); in testBuildGceCommandWithSpecifiedImages()
399 IBuildInfo mMockBuildInfo = mock(IBuildInfo.class); in testBuildGceCommand_withPreconfiguredVirtualDevice()
449 IBuildInfo mMockBuildInfo = mock(IBuildInfo.class); in testBuildGceCommandWithGceDriverParam()
490 IBuildInfo mMockBuildInfo = mock(IBuildInfo.class); in testBuildGceCommandWithExtraFiles()
[all …]
/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/src/com/android/tradefed/device/connection/
DDefaultConnection.java19 import com.android.tradefed.build.IBuildInfo;
42 private final IBuildInfo mBuildInfo;
97 IBuildInfo buildInfo;
104 IRunUtil runUtil, ITestDevice device, IBuildInfo buildInfo, ITestLogger logger) { in ConnectionBuilder()
157 public final IBuildInfo getBuildInfo() { in getBuildInfo()
/tools/tradefederation/core/javatests/com/android/tradefed/result/
DATestFileSystemLogSaverTest.java20 import com.android.tradefed.build.IBuildInfo;
40 private IBuildInfo mMockBuild;
46 mMockBuild = Mockito.mock(IBuildInfo.class); in setUp()
DLogFileSaverTest.java25 import com.android.tradefed.build.IBuildInfo;
71 IBuildInfo mockBuild = mock(IBuildInfo.class); in testGetFileDir()
105 IBuildInfo mockBuild = mock(IBuildInfo.class); in testGetFileDir_nobranch()
129 IBuildInfo mockBuild = mock(IBuildInfo.class); in testGetFileDir_retention()
/tools/tradefederation/contrib/src/com/android/aetest/tradefed/targetprep/
DAeTestManagedProfileCreator.java21 import com.android.tradefed.build.IBuildInfo;
100 public void setUp(ITestDevice device, IBuildInfo buildInfo) in setUp()
155 public void tearDown(ITestDevice testDevice, IBuildInfo buildInfo, Throwable throwable) in tearDown()
161 private void installTestApks(ITestDevice device, IBuildInfo buildInfo) in installTestApks()
187 private File getApk(ITestDevice device, IBuildInfo buildInfo, String fileName) in getApk()
/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/src/com/android/tradefed/invoker/shard/
DShardBuildCloner.java20 import com.android.tradefed.build.IBuildInfo;
47 IBuildInfo primaryClone = null; in cloneBuildInfos()
49 IBuildInfo toBuild = context.getBuildInfo(deviceName).clone(); in cloneBuildInfos()
72 IBuildInfo primaryBuild = context.getBuildInfos().get(0); in cloneBuildInfos()
/tools/tradefederation/core/javatests/com/android/tradefed/build/
DBootstrapBuildProviderTest.java72 IBuildInfo res = mProvider.getBuild(mMockDevice); in testGetBuild()
97 IBuildInfo res = mProvider.getBuild(mMockDevice); in testGetBuild_add_extra_file()
121 IBuildInfo res = mProvider.getBuild(mMockDevice); in testGetBuild_stubDevice()
147 IBuildInfo res = mProvider.getBuild(mMockDevice); in testCleanup_withExistingTestsDir()
166 IBuildInfo res = mProvider.getBuild(mMockDevice); in testCleanup_withTestsDirIsNull()
189 IBuildInfo res = mProvider.getBuild(mMockDevice); in testCleanup_withTestsDirIsNotDir()

12345678