Home
last modified time | relevance | path

Searched refs:BuildInfo (Results 1 – 25 of 78) sorted by relevance

1234

/tools/tradefederation/core/javatests/com/android/tradefed/util/
DSerializationUtilTest.java22 import com.android.tradefed.build.BuildInfo;
65 BuildInfo b = new BuildInfo(); in testSerialize_Deserialize()
68 assertTrue(o instanceof BuildInfo); in testSerialize_Deserialize()
69 BuildInfo test = (BuildInfo) o; in testSerialize_Deserialize()
81 BuildInfo b = new BuildInfo(); in testSerialize_Deserialize_noDelete()
85 assertTrue(o instanceof BuildInfo); in testSerialize_Deserialize_noDelete()
86 BuildInfo test = (BuildInfo) o; in testSerialize_Deserialize_noDelete()
112 BuildInfo b = new BuildInfo(); in testSerialize_Deserialize_corrupted()
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/
DShardMainResultForwarderTest.java22 import com.android.tradefed.build.BuildInfo;
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 …]
DSandboxedInvocationExecutionTest.java31 import com.android.tradefed.build.BuildInfo;
132 mContext.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, new BuildInfo()); in setUp()
224 doReturn(new BuildInfo()).when(mMockProvider).getBuild(); in testParentSandboxInvocation_sharding()
260 doReturn(new BuildInfo()).when(mMockProvider).getBuild(); in testParentSandboxInvocation()
312 doReturn(new BuildInfo()).when(mMockProvider).getBuild(); in testInvocation_sharding_notTests()
369 IBuildInfo info = new BuildInfo(); in testInvocation_preInvocationFailing()
392 IBuildInfo info = new BuildInfo(); in testBackFill()
420 IBuildInfo info = new BuildInfo(); in testBuildInfo_testTag()
/tools/acloud/public/actions/
Dcreate_goldfish_action_test.py117 android_build_client.BuildInfo(
119 android_build_client.BuildInfo(
122 android_build_client.BuildInfo(
185 android_build_client.BuildInfo(
187 android_build_client.BuildInfo(
190 android_build_client.BuildInfo(
231 android_build_client.BuildInfo(
233 android_build_client.BuildInfo(
236 android_build_client.BuildInfo(
307 android_build_client.BuildInfo(
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/build/
DBuildInfoTest.java49 private BuildInfo mBuildInfo;
54 mBuildInfo = new BuildInfo("1", "target"); in setUp()
74 BuildInfo copy = (BuildInfo) mBuildInfo.clone(); in testClone()
130 assertTrue(o instanceof BuildInfo); in testSerialization()
131 BuildInfo test = (BuildInfo) o; in testSerialization()
203 BuildInformation.BuildInfo proto = mBuildInfo.toProto(); in testProtoSerialization()
206 assertEquals(BuildInfo.class.getCanonicalName(), proto.getBuildInfoClass()); in testProtoSerialization()
211 IBuildInfo deserialized = BuildInfo.fromProto(proto); in testProtoSerialization()
DDeviceBuildDescriptorFuncTest.java29 BuildInfo b = new BuildInfo(); in testDeviceBuildDescriptor()
DDeviceBuildDescriptorTest.java35 BuildInfo b = new BuildInfo(); in testDeviceBuildDescriptor()
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DPythonVirtualenvPreparerTest.java37 import com.android.tradefed.build.BuildInfo;
73 IBuildInfo buildInfo = new BuildInfo(); in testInstallDeps_reqFile_success()
84 IBuildInfo buildInfo = new BuildInfo(); in testInstallDeps_depModule_success()
96 IBuildInfo buildInfo = new BuildInfo(); in testInstallDeps_reqFile_failure()
111 IBuildInfo buildInfo = new BuildInfo(); in testInstallDeps_depModule_failure()
122 BuildInfo buildInfo = new BuildInfo(); in testInstallDeps_noDeps()
135 mPreparer.startVirtualenv(new BuildInfo(), mMockDevice); in testStartVirtualenv_throwTSE_whenVirtualenvNotFound()
155 mPreparer.startVirtualenv(new BuildInfo(), mMockDevice); in testStartVirtualenv_throwTSE_whenVirtualenvIsTooOld()
DPushFilePreparerTest.java26 import com.android.tradefed.build.BuildInfo;
91 mTestInfo.getContext().addDeviceBuildInfo("device", new BuildInfo()); in testLocalNoExist()
109 mTestInfo.getContext().addDeviceBuildInfo("device", new BuildInfo()); in testRemoteNoExist()
124 BuildInfo info = new BuildInfo(); in testPushFile_RemoteIsDir()
145 BuildInfo info = new BuildInfo(); in testPushFile_duplicateKey()
171 BuildInfo info = new BuildInfo(); in testPushDir_RemoteIsDir()
195 BuildInfo info = new BuildInfo(); in testPushDir_RemoteIsFile()
223 BuildInfo info = new BuildInfo(); in testRemotePush_override()
253 BuildInfo info = new BuildInfo(); in testPushFileAndPush_override()
290 mTestInfo.getContext().addDeviceBuildInfo("device", new BuildInfo()); in testWarnOnFailure()
DTestFilePushSetupTest.java28 import com.android.tradefed.build.BuildInfo;
140 BuildInfo stubBuild = new BuildInfo("stub", "stub"); in testSetup_notDeviceBuildInfo()
/tools/tradefederation/core/src/com/android/tradefed/build/
DBuildInfo.java60 public class BuildInfo implements IBuildInfo { class
91 public BuildInfo() { in BuildInfo() method in BuildInfo
102 public BuildInfo(String buildId, String buildTargetName) { in BuildInfo() method in BuildInfo
113 BuildInfo(BuildInfo buildToCopy) { in BuildInfo() method in BuildInfo
217 protected void addAllBuildAttributes(BuildInfo build) { in addAllBuildAttributes()
236 protected void addAllFiles(BuildInfo build) throws IOException { in addAllFiles()
472 BuildInfo copy = null; in clone()
564 BuildInfo other = (BuildInfo) obj; in equals()
592 public BuildInformation.BuildInfo toProto() { in toProto()
593 BuildInformation.BuildInfo.Builder protoBuilder = BuildInformation.BuildInfo.newBuilder(); in toProto()
[all …]
DDeviceFolderBuildInfo.java102 copyAllFileFrom((BuildInfo) folderBuild); in setFolderBuild()
107 copyAllFileFrom((BuildInfo) deviceBuild); in setDeviceBuild()
122 protected void addAllFiles(BuildInfo build) throws IOException { in addAllFiles()
DAppBuildInfo.java22 public class AppBuildInfo extends BuildInfo implements IAppBuildInfo {
39 public AppBuildInfo(BuildInfo buildToCopy) { in AppBuildInfo()
DAppDeviceBuildInfo.java38 copyAllFileFrom((BuildInfo) appBuild); in setAppBuild()
43 copyAllFileFrom((BuildInfo) deviceBuild); in setDeviceBuild()
DCommandLineBuildInfoBuilder.java28 private String mBuildId = BuildInfo.UNKNOWN_BUILD_ID;
41 new BuildInfo(mBuildId, String.format("%s-%s-%s", mBranch, mBuildOs, mBuildFlavor)); in createBuild()
DFolderBuildInfo.java26 public class FolderBuildInfo extends BuildInfo implements IFolderBuildInfo {
64 FolderBuildInfo(BuildInfo buildToCopy) { in FolderBuildInfo()
DStubBuildProvider.java85 BuildInfo stubBuild = new BuildInfo(mBuildId, mBuildTargetName); in getBuild()
/tools/tradefederation/core/javatests/com/android/tradefed/result/
DXmlResultReporterTest.java21 import com.android.tradefed.build.BuildInfo;
101 context.addDeviceBuildInfo("fakeDevice", new BuildInfo("1", "test")); in testEmptyGeneration()
116 context.addDeviceBuildInfo("fakeDevice", new BuildInfo()); in testSinglePass()
141 context.addDeviceBuildInfo("fakeDevice", new BuildInfo()); in testSingleFail()
168 context.addDeviceBuildInfo("fakeDevice", new BuildInfo()); in testSingleIgnored()
199 context.addDeviceBuildInfo("fakeDevice", new BuildInfo()); in testSingleAssumptionFailure()
DMetricsXMLResultReporterTest.java22 import com.android.tradefed.build.BuildInfo;
64 context.addDeviceBuildInfo("fakeDevice", new BuildInfo("1", "test")); in testEmptyGeneration()
81 context.addDeviceBuildInfo("fakeDevice", new BuildInfo()); in testRunMetrics()
108 context.addDeviceBuildInfo("fakeDevice", new BuildInfo()); in testTestMetrics()
133 context.addDeviceBuildInfo("fakeDevice", new BuildInfo()); in testTestFailMetrics()
DLogFileSaverTest.java24 import com.android.tradefed.build.BuildInfo;
155 LogFileSaver saver = new LogFileSaver(new BuildInfo(), mRootDir); in testSaveLogData()
181 LogFileSaver saver = new LogFileSaver(new BuildInfo(), mRootDir); in testSaveAndGZipLogData()
208 LogFileSaver saver = new LogFileSaver(new BuildInfo(), mRootDir); in testCreateAndGZipLogData()
242 LogFileSaver saver = new LogFileSaver(new BuildInfo(), mRootDir); in testSaveLogDataRaw()
266 LogFileSaver saver = new LogFileSaver(new BuildInfo(), mRootDir); in testSaveLogDataRaw_png()
/tools/tradefederation/core/proto/
Dbuild_info.proto34 // The Key indexing a list of BuildFile that are tracked by the BuildInfo.
36 // List of BuildFile that are tracked by the BuildInfo.
41 message BuildInfo { message
53 // For example: com.android.tradefed.build.BuildInfo
/tools/asuite/atest/tf_proto/
Dbuild_info.proto34 // The Key indexing a list of BuildFile that are tracked by the BuildInfo.
36 // List of BuildFile that are tracked by the BuildInfo.
41 message BuildInfo { message
53 // For example: com.android.tradefed.build.BuildInfo
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/
DResolvePartialDownloadTest.java21 import com.android.tradefed.build.BuildInfo;
57 doReturn(new BuildInfo()).when(mTestInformation).getBuildInfo(); in testRemotePaths()
75 doReturn(new BuildInfo()).when(mTestInformation).getBuildInfo(); in testRemotePaths_multi()
/tools/tradefederation/contrib/tests/src/com/android/regression/tests/
DMetricsXmlParserTest.java28 import com.android.tradefed.build.BuildInfo;
90 context.addDeviceBuildInfo("fakeDevice", new BuildInfo()); in testSimpleParse()
118 context.addDeviceBuildInfo("fakeDevice", new BuildInfo()); in testParse()
153 context.addDeviceBuildInfo("fakeDevice", new BuildInfo()); in testParseBlacklist()
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/adb/
DAdbStopServerPreparerTest.java23 import com.android.tradefed.build.BuildInfo;
87 mMockBuild = new BuildInfo(); in setUp()
170 context.addDeviceBuildInfo("device", new BuildInfo()); in testNoAdb()

1234