/tools/tradefederation/core/javatests/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/javatests/com/android/tradefed/invoker/ |
D | ShardMainResultForwarderTest.java | 22 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 …]
|
D | SandboxedInvocationExecutionTest.java | 31 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/ |
D | create_goldfish_action_test.py | 117 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/ |
D | BuildInfoTest.java | 49 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()
|
D | DeviceBuildDescriptorFuncTest.java | 29 BuildInfo b = new BuildInfo(); in testDeviceBuildDescriptor()
|
D | DeviceBuildDescriptorTest.java | 35 BuildInfo b = new BuildInfo(); in testDeviceBuildDescriptor()
|
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/ |
D | PythonVirtualenvPreparerTest.java | 37 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()
|
D | PushFilePreparerTest.java | 26 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()
|
D | TestFilePushSetupTest.java | 28 import com.android.tradefed.build.BuildInfo; 140 BuildInfo stubBuild = new BuildInfo("stub", "stub"); in testSetup_notDeviceBuildInfo()
|
/tools/tradefederation/core/src/com/android/tradefed/build/ |
D | BuildInfo.java | 60 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 …]
|
D | DeviceFolderBuildInfo.java | 102 copyAllFileFrom((BuildInfo) folderBuild); in setFolderBuild() 107 copyAllFileFrom((BuildInfo) deviceBuild); in setDeviceBuild() 122 protected void addAllFiles(BuildInfo build) throws IOException { in addAllFiles()
|
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 | CommandLineBuildInfoBuilder.java | 28 private String mBuildId = BuildInfo.UNKNOWN_BUILD_ID; 41 new BuildInfo(mBuildId, String.format("%s-%s-%s", mBranch, mBuildOs, mBuildFlavor)); in createBuild()
|
D | FolderBuildInfo.java | 26 public class FolderBuildInfo extends BuildInfo implements IFolderBuildInfo { 64 FolderBuildInfo(BuildInfo buildToCopy) { in FolderBuildInfo()
|
D | StubBuildProvider.java | 85 BuildInfo stubBuild = new BuildInfo(mBuildId, mBuildTargetName); in getBuild()
|
/tools/tradefederation/core/javatests/com/android/tradefed/result/ |
D | XmlResultReporterTest.java | 21 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()
|
D | MetricsXMLResultReporterTest.java | 22 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()
|
D | LogFileSaverTest.java | 24 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/ |
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/asuite/atest/tf_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/javatests/com/android/tradefed/testtype/suite/ |
D | ResolvePartialDownloadTest.java | 21 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/ |
D | MetricsXmlParserTest.java | 28 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/ |
D | AdbStopServerPreparerTest.java | 23 import com.android.tradefed.build.BuildInfo; 87 mMockBuild = new BuildInfo(); in setUp() 170 context.addDeviceBuildInfo("device", new BuildInfo()); in testNoAdb()
|