Home
last modified time | relevance | path

Searched refs:ArrayUtil (Results 1 – 25 of 45) sorted by relevance

12

/tools/loganalysis/tests/src/com/android/loganalysis/parser/
DJavaCrashParserTest.java19 import com.android.loganalysis.util.ArrayUtil;
45 assertEquals(ArrayUtil.join("\n", lines), jc.getStack()); in testParse_no_message()
62 assertEquals(ArrayUtil.join("\n", lines), jc.getStack()); in testParse_message()
81 assertEquals(ArrayUtil.join("\n", lines), jc.getStack()); in testParse_multiline_message()
106 assertEquals(ArrayUtil.join("\n", lines), jc.getStack()); in testParse_caused_by()
125 assertEquals(ArrayUtil.join("\n", lines.subList(0, lines.size()-2)), jc.getStack()); in testParse_cutoff()
DTracesParserTest.java19 import com.android.loganalysis.util.ArrayUtil;
105 assertEquals(ArrayUtil.join("\n", expectedStack), traces.getStack()); in testTracesParser()
142 assertEquals(ArrayUtil.join("\n", expectedStack), traces.getStack()); in testTracesParser_cmdline()
165 assertEquals(ArrayUtil.join("\n", expectedStack), traces.getStack()); in testTracesParser_cmdline()
DProcrankParserTest.java19 import com.android.loganalysis.util.ArrayUtil;
61 assertEquals(ArrayUtil.join("\n", inputBlock), procrank.getText()); in testProcRankParserShortLine()
94 assertEquals(ArrayUtil.join("\n", inputBlock), procrank.getText()); in testProcRankParserLongLine()
DAnrParserTest.java19 import com.android.loganalysis.util.ArrayUtil;
61 assertEquals(ArrayUtil.join("\n", lines), anr.getStack()); in testParse_application_not_responding()
94 assertEquals(ArrayUtil.join("\n", lines), anr.getStack()); in testParse_anr_in_app()
127 assertEquals(ArrayUtil.join("\n", lines), anr.getStack()); in testParse_anr_in_app_class_package()
162 assertEquals(ArrayUtil.join("\n", lines), anr.getStack()); in testParse_anr_in_app_class_package_pid()
DMemInfoParserTest.java19 import com.android.loganalysis.util.ArrayUtil;
54 assertEquals(ArrayUtil.join("\n", inputBlock), item.getText()); in testMemInfoParser()
DTopParserTest.java19 import com.android.loganalysis.util.ArrayUtil;
52 assertEquals(ArrayUtil.join("\n", inputBlock), item.getText()); in testTopParser()
DNativeCrashParserTest.java19 import com.android.loganalysis.util.ArrayUtil;
147 assertEquals(ArrayUtil.join("\n", lines), nc.getStack()); in testParseage()
/tools/loganalysis/tests/src/com/android/loganalysis/util/
DArrayUtilTest.java32 String[] newArray = ArrayUtil.buildArray(new String[] {"1", "2"}, new String[] {"3"}, in testBuildArray_arrays()
46 String str = ArrayUtil.join(", ", list); in testJoinCollection()
56 String str = ArrayUtil.join(", ", (Object[]) ary); in testJoinArray()
65 String str = ArrayUtil.join(", ", "alpha", "beta", "gamma"); in testJoinNormal()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DArrayUtilTest.java32 String[] newArray = ArrayUtil.buildArray(new String[] {"1", "2"}, new String[] {"3"}, in testBuildArray_arrays()
46 String str = ArrayUtil.join(", ", list); in testJoinCollection()
56 String str = ArrayUtil.join(", ", (Object[]) ary); in testJoinArray()
65 String str = ArrayUtil.join(", ", "alpha", "beta", "gamma"); in testJoinNormal()
/tools/tradefederation/core/prod-tests/tests/src/com/android/monkey/
DMonkeyBaseTest.java20 import com.android.tradefed.util.ArrayUtil;
39 Collection<String> haystack = ArrayUtil.list("a", "b", "c"); in testSetSubtract_noExclude()
52 Collection<String> haystack = ArrayUtil.list("a", "b", "c"); in testSetSubtract()
53 Collection<String> needles = ArrayUtil.list("b"); in testSetSubtract()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DGlobalConfigurationTest.java21 import com.android.tradefed.util.ArrayUtil;
87 ArrayUtil.buildArray(new String[] {globalConfigPath}, args), nonGlobalArgs); in testCreateGlobalConfiguration_empty()
133 ArrayUtil.buildArray(new String[] {globalConfigPath}, args), nonGlobalArgs); in testCreateGlobalConfiguration_nonEmpty()
162 ArrayUtil.buildArray(new String[] {globalConfigPath}, args), nonGlobalArgs); in testCreateGlobalConfiguration_cloneConfigWithFilterByDefault()
171 ArrayUtil.buildArray(new String[] {tmpXml.toString()}, args), in testCreateGlobalConfiguration_cloneConfigWithFilterByDefault()
200 ArrayUtil.buildArray(new String[] {globalConfigPath}, args), nonGlobalArgs); in testCreateGlobalConfiguration_cloneConfigWithFilter()
209 ArrayUtil.buildArray(new String[] {tmpXml.toString()}, args), in testCreateGlobalConfiguration_cloneConfigWithFilter()
256 ArrayUtil.buildArray(new String[] {globalConfigServerConfigPath}, args), in testCreateGlobalConfiguration_configServer()
/tools/loganalysis/src/com/android/loganalysis/parser/
DSystemPropsParser.java19 import com.android.loganalysis.util.ArrayUtil;
39 final String text = ArrayUtil.join("\n", lines).trim(); in parse()
DMemInfoParser.java19 import com.android.loganalysis.util.ArrayUtil;
40 final String text = ArrayUtil.join("\n", lines).trim(); in parse()
DTopParser.java19 import com.android.loganalysis.util.ArrayUtil;
47 final String text = ArrayUtil.join("\n", lines).trim(); in parse()
DProcrankParser.java19 import com.android.loganalysis.util.ArrayUtil;
51 final String text = ArrayUtil.join("\n", lines).replaceAll("\\s+$", ""); in parse()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DAndroidJUnitTest.java28 import com.android.tradefed.util.ArrayUtil;
310 ArrayUtil.join(",", classArg)); in setRunnerArgs()
314 ArrayUtil.join(",", notClassArg)); in setRunnerArgs()
318 ArrayUtil.join(",", packageArg)); in setRunnerArgs()
322 ArrayUtil.join(",", notPackageArg)); in setRunnerArgs()
326 ArrayUtil.join(",", mIncludeAnnotation)); in setRunnerArgs()
330 ArrayUtil.join(",", mExcludeAnnotation)); in setRunnerArgs()
DPythonUnitTestRunner.java26 import com.android.tradefed.util.ArrayUtil;
194 cmd = ArrayUtil.buildArray(baseOpts, mUnitTestOpts.split(" "), testModule); in doRunTest()
196 cmd = ArrayUtil.buildArray(baseOpts, testModule); in doRunTest()
213 ArrayUtil.list(listener), pyModule); in doRunTest()
DUiAutomatorRunner.java27 import com.android.tradefed.util.ArrayUtil;
119 String jarArg = ArrayUtil.join(" ", (Object[])mJarPaths); in getRunCommand()
/tools/tradefederation/core/src/com/android/tradefed/util/
DArrayUtil.java27 public class ArrayUtil { class
29 private ArrayUtil() { in ArrayUtil() method in ArrayUtil
DCircularAtraceUtil.java66 tagsString = ArrayUtil.join(" ", tags); in startTrace()
/tools/loganalysis/src/com/android/loganalysis/util/
DLogTailUtil.java106 return ArrayUtil.join("\n", tail).trim(); in getLastTail()
136 return ArrayUtil.join("\n", tail).trim(); in getIdTail()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DTestFilePushSetup.java27 import com.android.tradefed.util.ArrayUtil;
201 return ArrayUtil.join(FileListingService.FILE_SEPARATOR, in getDevicePathFromUserData()
/tools/tradefederation/core/src/com/android/tradefed/command/remote/
DRemoteManager.java28 import com.android.tradefed.util.ArrayUtil;
391 CLog.logAndDisplay(LogLevel.INFO, "Adding command '%s'", ArrayUtil.join(" ", in processAdd()
406 ArrayUtil.join(" ", c.getExtraArgs())); in processAddCommandFile()
435 CLog.logAndDisplay(LogLevel.INFO, "Executing command '%s'", ArrayUtil.join(" ", in processExecCommand()
/tools/loganalysis/src/com/android/loganalysis/util/config/
DArgsOptionParser.java18 import com.android.loganalysis.util.ArrayUtil;
189 ArrayUtil.join(", ", missingOptions))); in validateMandatoryOptions()
/tools/tradefederation/core/src/com/android/tradefed/config/
DGlobalConfiguration.java33 import com.android.tradefed.util.ArrayUtil;
149 ArrayUtil.buildArray(new String[] {path}, args), nonGlobalArgs); in createGlobalConfiguration()
156 ArrayUtil.buildArray( in createGlobalConfiguration()
229 ArrayUtil.buildArray(new String[] {path}, args), nonConfigServerArgs); in createGlobalConfigServer()

12