Home
last modified time | relevance | path

Searched refs:getBuildBranch (Results 1 – 24 of 24) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/params/
DMainlineModuleHandlerTest.java68 when(mMockBuildInfo.getBuildBranch()).thenReturn("branch"); in testApplySetup()
83 when(mMockBuildInfo.getBuildBranch()).thenReturn("branch"); in testApplySetup_MultipleMainlineModules()
103 when(mMockBuildInfo.getBuildBranch()).thenReturn(null); in testBuildDynamicBaseLink_BranchIsNotSet()
122 when(mMockBuildInfo.getBuildBranch()).thenReturn("branch"); in testApplySetup_CompleteMainlineModulePath_inCI()
144 when(mMockBuildInfo.getBuildBranch()).thenReturn("branch"); in testApplySetup_CompleteMainLineModulePath_inLocal()
/tools/tradefederation/core/src/com/android/tradefed/build/
DOtaDeviceBuildInfo.java106 public String getBuildBranch() { in getBuildBranch() method in OtaDeviceBuildInfo
108 return mOtaBuild.getBuildBranch(); in getBuildBranch()
110 return super.getBuildBranch(); in getBuildBranch()
DBuildInfo.java220 setBuildBranch(build.getBuildBranch()); in addAllBuildAttributes()
521 public String getBuildBranch() { in getBuildBranch() method in BuildInfo
600 if (getBuildBranch() != null) { in toProto()
601 protoBuilder.setBranch(getBuildBranch()); in toProto()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DTfTestLauncherTest.java136 when(mMockBuildInfo.getBuildBranch()).thenReturn(BUILD_BRANCH); in testRun()
148 verify(mMockBuildInfo, times(3)).getBuildBranch(); in testRun()
210 when(mMockBuildInfo.getBuildBranch()).thenReturn(BUILD_BRANCH); in testTestTmpDirClean_failExtraFile()
216 verify(mMockBuildInfo, times(1)).getBuildBranch(); in testTestTmpDirClean_failExtraFile()
235 when(mMockBuildInfo.getBuildBranch()).thenReturn(BUILD_BRANCH); in testTestTmpDirClean_failMultipleFiles()
241 verify(mMockBuildInfo, times(1)).getBuildBranch(); in testTestTmpDirClean_failMultipleFiles()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DTfTestLauncher.java156 } else if (mBuildInfo.getBuildBranch() != null) { in preRun()
157 mCmdArgs.add(mBuildInfo.getBuildBranch()); in preRun()
243 patterns.add(mBuildInfo.getBuildBranch()); in testTmpDirClean()
/tools/tradefederation/core/javatests/com/android/tradefed/device/cloud/
DGceManagerTest.java171 when(mockBuildInfo.getBuildBranch()).thenReturn("BRANCH"); in testBuildGceCommand()
212 when(mMockBuildInfo.getBuildBranch()).thenReturn("BRANCH"); in testBuildGceCommand_withServiceAccountJsonKeyFile()
252 when(mMockBuildInfo.getBuildBranch()).thenReturn("BRANCH"); in testBuildGceCommandWithIpDevice()
300 when(mMockBuildInfo.getBuildBranch()).thenReturn("BRANCH"); in testBuildGceCommandWithEmulatorBuild()
349 when(mMockBuildInfo.getBuildBranch()).thenReturn("BRANCH"); in testBuildGceCommandWithSpecifiedImages()
403 when(mMockBuildInfo.getBuildBranch()).thenReturn("BRANCH"); in testBuildGceCommand_withPreconfiguredVirtualDevice()
453 when(mMockBuildInfo.getBuildBranch()).thenReturn("BRANCH"); in testBuildGceCommandWithGceDriverParam()
494 when(mMockBuildInfo.getBuildBranch()).thenReturn("BRANCH"); in testBuildGceCommandWithExtraFiles()
598 when(mMockBuildInfo.getBuildBranch()).thenReturn("BRANCH"); in testBuildGceCommandWithKernelBuild()
/tools/tradefederation/core/javatests/com/android/tradefed/result/
DLogFileSaverTest.java72 when(mockBuild.getBuildBranch()).thenReturn(branch); in testGetFileDir()
106 when(mockBuild.getBuildBranch()).thenReturn(null); in testGetFileDir_nobranch()
130 when(mockBuild.getBuildBranch()).thenReturn(branch); in testGetFileDir_retention()
DFileSystemLogSaverTest.java75 when(mMockBuild.getBuildBranch()).thenReturn(BRANCH); in setUp()
126 when(mockBuild.getBuildBranch()).thenReturn(null); in testGetFileDir_nobranch()
/tools/tradefederation/core/src/com/android/tradefed/result/
DFileSystemLogSaver.java208 if (buildInfo.getBuildBranch() != null) { in createBuildDir()
209 pathSegments.add(buildInfo.getBuildBranch()); in createBuildDir()
DLogFileSaver.java178 if (buildInfo.getBuildBranch() != null) { in generateTestArtifactPath()
179 pathSegments.add(buildInfo.getBuildBranch()); in generateTestArtifactPath()
DJsonHttpTestResultReporter.java250 String buildBranch = buildInfo.getBuildBranch(); in convertMetricsToJson()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/build/
DIBuildInfo.java112 public String getBuildBranch(); in getBuildBranch() method
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/params/
DMainlineModuleHandler.java89 String buildBranch = buildInfo.getBuildBranch(); in buildDynamicBaseLink()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DOxygenClient.java253 oxygenClientArgs.add(b.getBuildBranch()); in leaseDevice()
314 buildBranches.add(b.getBuildBranch()); in leaseMultipleDevices()
DGceSshTunnelMonitor.java100 buildInfo.getBuildBranch(), in GceSshTunnelMonitor()
DGceManager.java594 gceArgs.add(b.getBuildBranch()); in buildGceCmd()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceFlashPreparer.java432 reportFlashMetrics(buildInfo.getBuildBranch(), buildInfo.getBuildFlavor(), in setUp()
530 deviceBuild.getBuildBranch(), in moveBaseline()
/tools/tradefederation/core/javatests/com/android/tradefed/config/
DSandboxConfigurationFactoryTest.java178 assertEquals("test-branch", config.getBuildProvider().getBuild().getBuildBranch()); in testCreateConfiguration_runConfig()
DConfigurationFactoryTest.java1900 assertEquals("main", info.getBuildBranch()); in testCreateConfigurationFromArgs_yaml()
/tools/tradefederation/core/javatests/com/android/tradefed/build/
DBootstrapBuildProviderTest.java127 assertEquals("stub", res.getBuildBranch()); in testGetBuild_stubDevice()
/tools/tradefederation/core/src/com/android/tradefed/util/image/
DIncrementalImageUtil.java129 if (!tracker.branch.equals(build.getBuildBranch())) { in initialize()
548 testInfo.getBuildInfo().getBuildBranch(), in teardownDevice()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/
DTestMappingSuiteRunnerTest.java916 when(mockBuildInfo.getBuildBranch()).thenReturn("branch"); in testLoadTests_moduleDifferentoptions()
964 when(mockBuildInfo.getBuildBranch()).thenReturn("branch"); in testLoadTestsForMainline()
DSuiteModuleLoaderTest.java144 when(mMockBuildInfo.getBuildBranch()).thenReturn("branch"); in setUp()
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/
DTestInvocationTest.java263 lenient().when(mMockBuildInfo.getBuildBranch()).thenReturn("branch"); in setUp()