Home
last modified time | relevance | path

Searched refs:startCollectingFromConfigFile (Results 1 – 2 of 2) sorted by relevance

/platform_testing/libraries/collectors-helper/perfetto/test/src/com/android/helpers/tests/
DPerfettoHelperTest.java108 doReturn(true).when(helper).startCollectingFromConfigFile(anyString(), anyBoolean()); in testChoosesFileOverConfig()
113 verify(helper, times(0)).startCollectingFromConfigFile(anyString(), anyBoolean()); in testChoosesFileOverConfig()
122 assertFalse(mPerfettoHelper.startCollectingFromConfigFile(null, false)); in testNullConfigName()
130 assertFalse(mPerfettoHelper.startCollectingFromConfigFile("", false)); in testEmptyConfigName()
142 assertFalse(mPerfettoHelper.startCollectingFromConfigFile("trace_config.textproto", false)); in testNullRootDirName()
149 assertFalse(mPerfettoHelper.startCollectingFromConfigFile("trace_config.textproto", false)); in testEmptyRootDirName()
155 assertFalse(mPerfettoHelper.startCollectingFromConfigFile("no_config.pb", false)); in testNoConfigFile()
163 assertTrue(mPerfettoHelper.startCollectingFromConfigFile("trace_config.textproto", true)); in testPerfettoStartSuccess()
171 assertTrue(mPerfettoHelper.startCollectingFromConfigFile("trace_config.textproto", true)); in testTrackPerfettoProcIdInFileFromConfigFile()
183 assertTrue(mPerfettoHelper.startCollectingFromConfigFile("trace_config.textproto", true)); in testNoTrackPerfettoProcIdInFileFromConfigFile()
[all …]
/platform_testing/libraries/collectors-helper/perfetto/src/com/android/helpers/
DPerfettoHelper.java128 return startCollectingFromConfigFile(mConfigFileName, mIsTextProtoConfig); in startCollecting()
212 public boolean startCollectingFromConfigFile(String configFileName, boolean isTextProtoConfig) { in startCollectingFromConfigFile() method in PerfettoHelper