Home
last modified time | relevance | path

Searched refs:getBuildFlavor (Results 1 – 25 of 32) sorted by relevance

12

/tools/tradefederation/core/javatests/com/android/tradefed/build/
DBootstrapBuildProviderTest.java69 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()
DDeviceBuildInfoTest.java155 assertEquals("build-flavor", mBuildInfo.getBuildFlavor()); in testDeviceBuildFlavor()
158 assertEquals("build-flavor", mBuildInfo.getBuildFlavor()); in testDeviceBuildFlavor()
DBuildInfoTest.java214 assertNull(deserialized.getBuildFlavor()); in testProtoSerialization()
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DDeviceFlashPreparerTest.java136 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()
DFastbootDeviceFlasherTest.java91 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/
DOtaDeviceBuildInfo.java95 public String getBuildFlavor() { in getBuildFlavor() method in OtaDeviceBuildInfo
97 return mOtaBuild.getBuildFlavor(); in getBuildFlavor()
99 return super.getBuildFlavor(); in getBuildFlavor()
DBuildInfo.java219 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()
DDeviceBuildInfo.java62 return mDeviceBuildFlavor == null ? getBuildFlavor() : mDeviceBuildFlavor; in getDeviceBuildFlavor()
/tools/tradefederation/core/javatests/com/android/tradefed/device/cloud/
DGceManagerTest.java170 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/
DBuildInfoUtil.java83 buildFlavor = device.getBuildFlavor(); in bootstrapDeviceBuildAttributes()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DTfTestLauncher.java164 } else if (mBuildInfo.getBuildFlavor() != null) { in preRun()
165 mCmdArgs.add(mBuildInfo.getBuildFlavor()); in preRun()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/build/
DIBuildInfo.java91 public String getBuildFlavor(); in getBuildFlavor() method
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DTfTestLauncherTest.java137 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/
DMainlineModuleHandler.java90 String buildFlavor = buildInfo.getBuildFlavor(); in buildDynamicBaseLink()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DCdmaDeviceFlasher.java81 String systemBuildFlavor = device.getBuildFlavor(); in flash()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/params/
DMainlineModuleHandlerTest.java60 when(mMockBuildInfo.getBuildFlavor()).thenReturn("flavor"); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DOxygenClient.java250 oxygenClientArgs.add(b.getBuildFlavor()); in leaseDevice()
312 buildTargets.add(b.getBuildFlavor()); in leaseMultipleDevices()
DGceSshTunnelMonitor.java101 buildInfo.getBuildFlavor(), in GceSshTunnelMonitor()
/tools/tradefederation/core/src/com/android/tradefed/util/image/
DIncrementalImageUtil.java134 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/
DDeviceFlashPreparer.java432 reportFlashMetrics(buildInfo.getBuildBranch(), buildInfo.getBuildFlavor(), in setUp()
531 deviceBuild.getBuildFlavor()); in moveBaseline()
DFastbootDeviceFlasher.java193 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/
DJsonHttpTestResultReporter.java251 String buildFlavor = buildInfo.getBuildFlavor(); in convertMetricsToJson()
/tools/tradefederation/core/javatests/com/android/tradefed/config/
DConfigurationFactoryTest.java1032 .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/
DINativeDevice.java244 public String getBuildFlavor() throws DeviceNotAvailableException; in getBuildFlavor() method
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/multi/
DMixImageZipPreparerTest.java439 Assert.assertEquals(SYSTEM_BUILD_FLAVOR, addedBuildInfo.getBuildFlavor()); in runPreparerTest()

12