/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | SerializationUtilTest.java | 22 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/tests/src/com/android/tradefed/invoker/ |
D | ShardMainResultForwarderTest.java | 22 import com.android.tradefed.build.BuildInfo; 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 | SandboxedInvocationExecutionTest.java | 26 import com.android.tradefed.build.BuildInfo; 131 mContext.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, new BuildInfo()); in setUp() 224 doReturn(new BuildInfo()).when(mMockProvider).getBuild(); in testParentSandboxInvocation_sharding() 259 doReturn(new BuildInfo()).when(mMockProvider).getBuild(); in testParentSandboxInvocation() 317 doReturn(new BuildInfo()).when(mMockProvider).getBuild(); in testInvocation_sharding_notTests() 380 IBuildInfo info = new BuildInfo(); in testInvocation_preInvocationFailing() 403 IBuildInfo info = new BuildInfo(); in testBackFill()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/build/ |
D | BuildInfoTest.java | 47 private BuildInfo mBuildInfo; 52 mBuildInfo = new BuildInfo("1", "target"); in setUp() 68 BuildInfo copy = (BuildInfo) mBuildInfo.clone(); in testClone() 122 assertTrue(o instanceof BuildInfo); in testSerialization() 123 BuildInfo test = (BuildInfo) o; in testSerialization() 195 BuildInformation.BuildInfo proto = mBuildInfo.toProto(); in testProtoSerialization() 198 assertEquals(BuildInfo.class.getCanonicalName(), proto.getBuildInfoClass()); in testProtoSerialization() 203 IBuildInfo deserialized = BuildInfo.fromProto(proto); in testProtoSerialization()
|
D | DeviceBuildDescriptorFuncTest.java | 29 BuildInfo b = new BuildInfo(); in testDeviceBuildDescriptor()
|
D | DeviceBuildDescriptorTest.java | 31 BuildInfo b = new BuildInfo(); in testDeviceBuildDescriptor()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | PythonVirtualenvPreparerTest.java | 26 import com.android.tradefed.build.BuildInfo; 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() 104 BuildInfo buildInfo = new BuildInfo(); in testInstallDeps_noDeps()
|
D | PushFilePreparerTest.java | 24 import com.android.tradefed.build.BuildInfo; 85 mTestInfo.getContext().addDeviceBuildInfo("device", new BuildInfo()); in testLocalNoExist() 105 mTestInfo.getContext().addDeviceBuildInfo("device", new BuildInfo()); in testRemoteNoExist() 121 BuildInfo info = new BuildInfo(); in testPushFile_RemoteIsDir() 145 BuildInfo info = new BuildInfo(); in testPushFile_duplicateKey() 176 BuildInfo info = new BuildInfo(); in testPushDir_RemoteIsDir() 204 BuildInfo info = new BuildInfo(); in testPushDir_RemoteIsFile() 233 BuildInfo info = new BuildInfo(); in testRemotePush_override() 266 BuildInfo info = new BuildInfo(); in testPushFileAndPush_override() 307 mTestInfo.getContext().addDeviceBuildInfo("device", new BuildInfo()); in testWarnOnFailure()
|
D | TestFilePushSetupTest.java | 19 import com.android.tradefed.build.BuildInfo; 124 BuildInfo stubBuild = new BuildInfo("stub", "stub"); in testSetup_notDeviceBuildInfo()
|
/tools/acloud/public/actions/ |
D | create_goldfish_action_test.py | 111 android_build_client.BuildInfo( 113 android_build_client.BuildInfo( 116 android_build_client.BuildInfo( 177 android_build_client.BuildInfo( 179 android_build_client.BuildInfo( 182 android_build_client.BuildInfo( 221 android_build_client.BuildInfo( 223 android_build_client.BuildInfo( 226 android_build_client.BuildInfo( 295 android_build_client.BuildInfo( [all …]
|
D | create_cuttlefish_action_test.py | 112 android_build_client.BuildInfo( 114 android_build_client.BuildInfo( 117 android_build_client.BuildInfo(
|
/tools/tradefederation/core/src/com/android/tradefed/build/ |
D | BuildInfo.java | 52 public class BuildInfo implements IBuildInfo { class 81 public BuildInfo() { in BuildInfo() method in BuildInfo 92 public BuildInfo(String buildId, String buildTargetName) { in BuildInfo() method in BuildInfo 103 BuildInfo(BuildInfo buildToCopy) { in BuildInfo() method in BuildInfo 199 protected void addAllBuildAttributes(BuildInfo build) { in addAllBuildAttributes() 218 protected void addAllFiles(BuildInfo build) throws IOException { in addAllFiles() 443 BuildInfo copy = null; in clone() 535 BuildInfo other = (BuildInfo) obj; in equals() 563 public BuildInformation.BuildInfo toProto() { in toProto() 564 BuildInformation.BuildInfo.Builder protoBuilder = BuildInformation.BuildInfo.newBuilder(); in toProto() [all …]
|
D | AppBuildInfo.java | 22 public class AppBuildInfo extends BuildInfo implements IAppBuildInfo { 39 public AppBuildInfo(BuildInfo buildToCopy) { in AppBuildInfo()
|
D | AppDeviceBuildInfo.java | 38 copyAllFileFrom((BuildInfo) appBuild); in setAppBuild() 43 copyAllFileFrom((BuildInfo) deviceBuild); in setDeviceBuild()
|
D | FolderBuildInfo.java | 25 public class FolderBuildInfo extends BuildInfo implements IFolderBuildInfo { 44 FolderBuildInfo(BuildInfo buildToCopy) { in FolderBuildInfo()
|
D | DeviceFolderBuildInfo.java | 66 copyAllFileFrom((BuildInfo) folderBuild); in setFolderBuild() 71 copyAllFileFrom((BuildInfo) deviceBuild); in setDeviceBuild()
|
D | StubBuildProvider.java | 85 BuildInfo stubBuild = new BuildInfo(mBuildId, mBuildTargetName); in getBuild()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | MetricsXMLResultReporterTest.java | 22 import com.android.tradefed.build.BuildInfo; 61 context.addDeviceBuildInfo("fakeDevice", new BuildInfo("1", "test")); in testEmptyGeneration() 78 context.addDeviceBuildInfo("fakeDevice", new BuildInfo()); in testRunMetrics() 105 context.addDeviceBuildInfo("fakeDevice", new BuildInfo()); in testTestMetrics() 130 context.addDeviceBuildInfo("fakeDevice", new BuildInfo()); in testTestFailMetrics()
|
D | XmlResultReporterTest.java | 18 import com.android.tradefed.build.BuildInfo; 107 context.addDeviceBuildInfo("fakeDevice", new BuildInfo("1", "test")); in testEmptyGeneration() 121 context.addDeviceBuildInfo("fakeDevice", new BuildInfo()); in testSinglePass() 145 context.addDeviceBuildInfo("fakeDevice", new BuildInfo()); in testSingleFail()
|
D | DeviceUnavailEmailResultReporterTest.java | 20 import com.android.tradefed.build.BuildInfo; 53 context.addDeviceBuildInfo("fakeDevice", new BuildInfo("888", "mybuild")); in testGenerateEmailSubject()
|
D | LogFileSaverTest.java | 19 import com.android.tradefed.build.BuildInfo; 155 LogFileSaver saver = new LogFileSaver(new BuildInfo(), mRootDir); in testSaveLogData() 182 LogFileSaver saver = new LogFileSaver(new BuildInfo(), mRootDir); in testSaveAndGZipLogData() 206 LogFileSaver saver = new LogFileSaver(new BuildInfo(), mRootDir); in testSaveAndZipLogData() 236 LogFileSaver saver = new LogFileSaver(new BuildInfo(), mRootDir); in testCreateAndGZipLogData() 265 LogFileSaver saver = new LogFileSaver(new BuildInfo(), mRootDir); in testSaveLogDataRaw()
|
/tools/tradefederation/core/proto/ |
D | build_info.proto | 34 // 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/tests/src/com/android/tradefed/testtype/ |
D | JarHostTestTest.java | 22 import com.android.tradefed.build.BuildInfo; 156 ((HostTest) shard1).setBuild(new BuildInfo()); in testSplit_withJar() 163 ((HostTest) shard2).setBuild(new BuildInfo()); in testSplit_withJar() 170 ((HostTest) shard3).setBuild(new BuildInfo()); in testSplit_withJar() 177 ((HostTest) shard4).setBuild(new BuildInfo()); in testSplit_withJar() 184 ((HostTest) shard5).setBuild(new BuildInfo()); in testSplit_withJar() 191 ((HostTest) shard6).setBuild(new BuildInfo()); in testSplit_withJar() 198 ((HostTest) shard7).setBuild(new BuildInfo()); in testSplit_withJar() 205 ((HostTest) shard8).setBuild(new BuildInfo()); in testSplit_withJar() 267 mTest.setBuild(new BuildInfo()); in testCountTestFails()
|
/tools/tradefederation/contrib/tests/src/com/android/regression/tests/ |
D | MetricsXmlParserTest.java | 27 import com.android.tradefed.build.BuildInfo; 89 context.addDeviceBuildInfo("fakeDevice", new BuildInfo()); in testSimpleParse() 117 context.addDeviceBuildInfo("fakeDevice", new BuildInfo()); in testParse() 152 context.addDeviceBuildInfo("fakeDevice", new BuildInfo()); in testParseBlacklist()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/ |
D | SandboxedInvocationExecutionTest.java | 22 import com.android.tradefed.build.BuildInfo; 59 IBuildInfo info = new BuildInfo(); in testBuildInfo_testTag()
|