Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/src/com/android/tradefed/build/
DBuildInfo.java201 setBuildFlavor(build.getBuildFlavor()); in addAllBuildAttributes()
476 public String getBuildFlavor() { in getBuildFlavor() method in BuildInfo
568 if (getBuildFlavor() != null) { in toProto()
569 protoBuilder.setBuildFlavor(getBuildFlavor()); in toProto()
648 if (!protoBuild.getBuildFlavor().isEmpty()) { in fromProto()
649 buildInfo.setBuildFlavor(protoBuild.getBuildFlavor()); in fromProto()
DOtaDeviceBuildInfo.java106 public String getBuildFlavor() { in getBuildFlavor() method in OtaDeviceBuildInfo
107 return getReportedBuild().getBuildFlavor(); in getBuildFlavor()
DDeviceBuildInfo.java62 return mDeviceBuildFlavor == null ? getBuildFlavor() : mDeviceBuildFlavor; in getDeviceBuildFlavor()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DDeviceFlashPreparerTest.java150 EasyMock.expect(mMockDevice.getBuildFlavor()).andReturn(mMockBuildInfo.getBuildFlavor()); in doSetupExpectations()
205 EasyMock.expect(mMockDevice.getBuildFlavor()).andReturn(mMockBuildInfo.getBuildFlavor()); in testSetup_buildError()
DFastbootDeviceFlasherTest.java66 EasyMock.expect(mMockDevice.getBuildFlavor()).andStubReturn("test-debug"); in setUp()
561 EasyMock.expect(mockBuild.getBuildFlavor()).andReturn(buildFlavor); in testCheckAndFlashSystem_noFlashing()
658 EasyMock.expect(mockBuild.getBuildFlavor()).andReturn(buildFlavor); in testSkipFlashingSystemWithRamdisk()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/
DGceManagerTest.java164 EasyMock.expect(mMockBuildInfo.getBuildFlavor()).andReturn("FLAVOR"); in testBuildGceCommand()
200 EasyMock.expect(mMockBuildInfo.getBuildFlavor()).andReturn("FLAVOR"); in testBuildGceCommand_withServiceAccountJsonKeyFile()
240 EasyMock.expect(mMockBuildInfo.getBuildFlavor()).andReturn("TARGET"); in testBuildGceCommandWithEmulatorBuild()
289 EasyMock.expect(mMockBuildInfo.getBuildFlavor()).andReturn("FLAVOR"); in testBuildGceCommandWithGceDriverParam()
376 EasyMock.expect(mMockBuildInfo.getBuildFlavor()).andReturn("FLAVOR"); in testBuildGceCommandWithKernelBuild()
DRemoteAndroidVirtualDeviceTest.java486 EasyMock.expect(mMockBuildInfo.getBuildFlavor()).andStubReturn("flavor"); in testDeviceNotStoreShutdownState()
589 EasyMock.expect(mMockBuildInfo.getBuildFlavor()).andStubReturn("flavor"); in testDevice_skipTearDown()
676 EasyMock.expect(mMockBuildInfo.getBuildFlavor()).andStubReturn("flavor"); in testDeviceBoot_offline()
/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DBootstrapBuildProviderTest.java63 EasyMock.expect(mMockDevice.getBuildFlavor()).andStubReturn("flavor"); in testGetBuild()
85 EasyMock.expect(mMockDevice.getBuildFlavor()).andStubReturn("flavor"); in testGetBuild_add_extra_file()
114 EasyMock.expect(mMockDevice.getBuildFlavor()).andStubReturn("flavor"); in testGetBuild_stubDevice()
DDeviceBuildInfoTest.java155 assertEquals("build-flavor", mBuildInfo.getBuildFlavor()); in testDeviceBuildFlavor()
158 assertEquals("build-flavor", mBuildInfo.getBuildFlavor()); in testDeviceBuildFlavor()
DBuildInfoTest.java206 assertNull(deserialized.getBuildFlavor()); in testProtoSerialization()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationFactoryTest.java1013 .getBuildProvider().getBuild().getBuildFlavor()); in testCreateConfigurationFromArgs_multidevice()
1088 .getBuildProvider().getBuild().getBuildFlavor()); in testCreateConfigurationFromArgs_multidevice_applyCommandLine()
1188 .getBuildProvider().getBuild().getBuildFlavor()); in testCreateConfigurationFromArgs_multidevice_applyCommandLineGlobal()
1823 assertEquals("test", info.getBuildFlavor()); in testCreateConfigurationFromArgs_yaml()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceFlashPreparer.java238 reportFlashMetrics(buildInfo.getBuildBranch(), buildInfo.getBuildFlavor(), in setUp()
308 checkBuildAttribute(deviceBuild.getDeviceBuildFlavor(), device.getBuildFlavor(), in checkBuild()
DFastbootDeviceFlasher.java150 String systemBuildFlavor = device.getBuildFlavor(); in flash()
660 systemBuildFlavor.equalsIgnoreCase(deviceBuild.getBuildFlavor())) { in shouldFlashSystem()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DTfTestLauncherTest.java139 EasyMock.expect(mMockBuildInfo.getBuildFlavor()).andReturn(BUILD_FLAVOR).times(2); in testRun()
246 EasyMock.expect(mMockBuildInfo.getBuildFlavor()).andReturn(BUILD_FLAVOR).times(2); in testRunCoverage()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DTfTestLauncher.java176 } else if (mBuildInfo.getBuildFlavor() != null) { in preRun()
177 mCmdArgs.add(mBuildInfo.getBuildFlavor()); in preRun()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DNativeDeviceTest.java1540 assertEquals(flavor, mTestDevice.getBuildFlavor()); in testGetBuildFlavor()
1563 assertEquals(expected, mTestDevice.getBuildFlavor()); in testGetBuildFlavor_null_flavor()
1585 assertNull(mTestDevice.getBuildFlavor()); in testGetBuildFlavor_null()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DTestMappingSuiteRunnerTest.java857 EasyMock.expect(mockBuildInfo.getBuildFlavor()).andReturn("flavor").anyTimes(); in testLoadTests_moduleDifferentoptions()
908 EasyMock.expect(mockBuildInfo.getBuildFlavor()).andReturn("flavor").anyTimes(); in testLoadTestsForMainline()
/tools/tradefederation/core/src/com/android/tradefed/util/
DBuildInfoUtil.java80 buildFlavor = device.getBuildFlavor(); in bootstrapDeviceBuildAttributes()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/params/
DMainlineModuleHandler.java56 String buildFlavor = buildInfo.getBuildFlavor(); in buildDynamicBaseLink()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/build/
DIBuildInfo.java91 public String getBuildFlavor(); in getBuildFlavor() method
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/params/
DMainlineModuleHandlerTest.java55 EasyMock.expect(mMockBuildInfo.getBuildFlavor()).andStubReturn("flavor"); in setUp()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DCdmaDeviceFlasher.java81 String systemBuildFlavor = device.getBuildFlavor(); in flash()
/tools/tradefederation/core/src/com/android/tradefed/result/
DJsonHttpTestResultReporter.java256 result.put(KEY_BUILD_FLAVOR, buildInfo.getBuildFlavor()); in convertMetricsToJson()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DGceSshTunnelMonitor.java101 buildInfo.getBuildFlavor(), in GceSshTunnelMonitor()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DINativeDevice.java241 public String getBuildFlavor() throws DeviceNotAvailableException; in getBuildFlavor() method

12