/tools/tradefederation/core/javatests/com/android/tradefed/build/ |
D | BootstrapBuildProviderTest.java | 69 when(mMockDevice.getBuildFlavor()).thenReturn("flavor"); in testGetBuild() 90 when(mMockDevice.getBuildFlavor()).thenReturn("flavor"); in testGetBuild_add_extra_file() 118 when(mMockDevice.getBuildFlavor()).thenReturn("flavor"); in testGetBuild_stubDevice() 141 when(mMockDevice.getBuildFlavor()).thenReturn("flavor"); in testCleanup_withExistingTestsDir() 164 when(mMockDevice.getBuildFlavor()).thenReturn("flavor"); in testCleanup_withTestsDirIsNull() 183 when(mMockDevice.getBuildFlavor()).thenReturn("flavor"); in testCleanup_withTestsDirIsNotDir()
|
D | DeviceBuildInfoTest.java | 155 assertEquals("build-flavor", mBuildInfo.getBuildFlavor()); in testDeviceBuildFlavor() 158 assertEquals("build-flavor", mBuildInfo.getBuildFlavor()); in testDeviceBuildFlavor()
|
D | BuildInfoTest.java | 214 assertNull(deserialized.getBuildFlavor()); in testProtoSerialization()
|
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/ |
D | DeviceFlashPreparerTest.java | 136 doSetupExpectations(mMockBuildInfo.getBuildFlavor()); in testSetup() 174 when(mMockDevice.getBuildFlavor()).thenReturn(flavor); in doSetupExpectations() 221 when(mMockDevice.getBuildFlavor()).thenReturn(mMockBuildInfo.getBuildFlavor()); in testSetup_buildError() 306 doSetupExpectations(mMockBuildInfo.getBuildFlavor()); in testSetup_flashSkipped() 326 doSetupExpectations(mMockBuildInfo.getBuildFlavor()); in testSetup_flashRamdisk() 345 doSetupExpectations(mMockBuildInfo.getBuildFlavor()); in testSetup_flashRamdiskWithRamdiskPartition()
|
D | FastbootDeviceFlasherTest.java | 91 when(mMockDevice.getBuildFlavor()).thenReturn("test-debug"); in setUp() 583 when(mockBuild.getBuildFlavor()).thenReturn(buildFlavor); in testCheckAndFlashSystem_noFlashing() 731 when(mockBuild.getBuildFlavor()).thenReturn(buildFlavor); in testSkipFlashingSystemWithRamdisk()
|
/tools/tradefederation/core/src/com/android/tradefed/build/ |
D | OtaDeviceBuildInfo.java | 95 public String getBuildFlavor() { in getBuildFlavor() method in OtaDeviceBuildInfo 97 return mOtaBuild.getBuildFlavor(); in getBuildFlavor() 99 return super.getBuildFlavor(); in getBuildFlavor()
|
D | BuildInfo.java | 219 setBuildFlavor(build.getBuildFlavor()); in addAllBuildAttributes() 505 public String getBuildFlavor() { in getBuildFlavor() method in BuildInfo 597 if (getBuildFlavor() != null) { in toProto() 598 protoBuilder.setBuildFlavor(getBuildFlavor()); in toProto() 679 if (!protoBuild.getBuildFlavor().isEmpty()) { in fromProto() 680 buildInfo.setBuildFlavor(protoBuild.getBuildFlavor()); in fromProto()
|
D | DeviceBuildInfo.java | 62 return mDeviceBuildFlavor == null ? getBuildFlavor() : mDeviceBuildFlavor; in getDeviceBuildFlavor()
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/cloud/ |
D | GceManagerTest.java | 170 when(mockBuildInfo.getBuildFlavor()).thenReturn("FLAVOR"); in testBuildGceCommand() 211 when(mMockBuildInfo.getBuildFlavor()).thenReturn("FLAVOR"); in testBuildGceCommand_withServiceAccountJsonKeyFile() 251 when(mMockBuildInfo.getBuildFlavor()).thenReturn("FLAVOR"); in testBuildGceCommandWithIpDevice() 299 when(mMockBuildInfo.getBuildFlavor()).thenReturn("TARGET"); in testBuildGceCommandWithEmulatorBuild() 348 when(mMockBuildInfo.getBuildFlavor()).thenReturn("TARGET"); in testBuildGceCommandWithSpecifiedImages() 402 when(mMockBuildInfo.getBuildFlavor()).thenReturn("FLAVOR"); in testBuildGceCommand_withPreconfiguredVirtualDevice() 452 when(mMockBuildInfo.getBuildFlavor()).thenReturn("FLAVOR"); in testBuildGceCommandWithGceDriverParam() 493 when(mMockBuildInfo.getBuildFlavor()).thenReturn("TARGET"); in testBuildGceCommandWithExtraFiles() 597 when(mMockBuildInfo.getBuildFlavor()).thenReturn("FLAVOR"); in testBuildGceCommandWithKernelBuild()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | BuildInfoUtil.java | 83 buildFlavor = device.getBuildFlavor(); in bootstrapDeviceBuildAttributes()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | TfTestLauncher.java | 164 } else if (mBuildInfo.getBuildFlavor() != null) { in preRun() 165 mCmdArgs.add(mBuildInfo.getBuildFlavor()); in preRun()
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/build/ |
D | IBuildInfo.java | 91 public String getBuildFlavor(); in getBuildFlavor() method
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/ |
D | TfTestLauncherTest.java | 137 when(mMockBuildInfo.getBuildFlavor()).thenReturn(BUILD_FLAVOR); in testRun() 149 verify(mMockBuildInfo, times(2)).getBuildFlavor(); in testRun()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/params/ |
D | MainlineModuleHandler.java | 90 String buildFlavor = buildInfo.getBuildFlavor(); in buildDynamicBaseLink()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | CdmaDeviceFlasher.java | 81 String systemBuildFlavor = device.getBuildFlavor(); in flash()
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/params/ |
D | MainlineModuleHandlerTest.java | 60 when(mMockBuildInfo.getBuildFlavor()).thenReturn("flavor"); in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/ |
D | OxygenClient.java | 250 oxygenClientArgs.add(b.getBuildFlavor()); in leaseDevice() 312 buildTargets.add(b.getBuildFlavor()); in leaseMultipleDevices()
|
D | GceSshTunnelMonitor.java | 101 buildInfo.getBuildFlavor(), in GceSshTunnelMonitor()
|
/tools/tradefederation/core/src/com/android/tradefed/util/image/ |
D | IncrementalImageUtil.java | 134 if (!tracker.flavor.equals(build.getBuildFlavor())) { in initialize() 138 tracker.flavor, build.getBuildFlavor()); in initialize() 549 testInfo.getBuildInfo().getBuildFlavor()); in teardownDevice()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | DeviceFlashPreparer.java | 432 reportFlashMetrics(buildInfo.getBuildBranch(), buildInfo.getBuildFlavor(), in setUp() 531 deviceBuild.getBuildFlavor()); in moveBaseline()
|
D | FastbootDeviceFlasher.java | 193 setSystemBuildInfo(device.getBuildId(), device.getBuildFlavor()); in preFlashOperations() 738 && tracker.flavor.equals(deviceBuild.getBuildFlavor())) { in shouldFlashSystem() 746 if (systemBuildFlavor.equalsIgnoreCase(deviceBuild.getBuildFlavor())) { in shouldFlashSystem()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | JsonHttpTestResultReporter.java | 251 String buildFlavor = buildInfo.getBuildFlavor(); in convertMetricsToJson()
|
/tools/tradefederation/core/javatests/com/android/tradefed/config/ |
D | ConfigurationFactoryTest.java | 1032 .getBuildProvider().getBuild().getBuildFlavor()); in testCreateConfigurationFromArgs_multidevice() 1109 .getBuildProvider().getBuild().getBuildFlavor()); in testCreateConfigurationFromArgs_multidevice_applyCommandLine() 1211 .getBuildProvider().getBuild().getBuildFlavor()); in testCreateConfigurationFromArgs_multidevice_applyCommandLineGlobal() 1899 assertEquals("test", info.getBuildFlavor()); in testCreateConfigurationFromArgs_yaml()
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/ |
D | INativeDevice.java | 244 public String getBuildFlavor() throws DeviceNotAvailableException; in getBuildFlavor() method
|
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/multi/ |
D | MixImageZipPreparerTest.java | 439 Assert.assertEquals(SYSTEM_BUILD_FLAVOR, addedBuildInfo.getBuildFlavor()); in runPreparerTest()
|