Home
last modified time | relevance | path

Searched refs:split (Results 1 – 25 of 129) sorted by relevance

123456

/platform_testing/libraries/flicker/utils/src/android/tools/scripts/
DProtoDefToKotlinVals.kt50 splitByNewLine.addAll(arg.split("\n")) // to work with multi-line proto properties in main()
55 val removedNumber = editedS.split("=")[0].trim() // bool views_created in main()
56 val splitBySpace = removedNumber.split(" ") // [bool, views_created] in main()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/wm/
DWindowContainerImpl.kt73 val split = name.split('/') in removeRedundancyInName() constant
74 val pkg = split[0] in removeRedundancyInName()
75 var clazz = split.slice(1..split.lastIndex).joinToString("/") in removeRedundancyInName()
/platform_testing/libraries/collectors-helper/system/src/com/android/helpers/
DTimingHelper.java95 String[] split = log.trim().split("\\s"); in parseTimingInfo() local
96 String[] info = split[split.length - 1].split(":"); in parseTimingInfo()
/platform_testing/libraries/flicker/utils/src/android/tools/parsers/events/
DEventLogParser.kt36 .split("\n") in <lambda>()
47 val (metaData, eventData) = log.split(":", limit = 2).map { it.trim() } in <lambda>()
49 metaData.split(" ").filter { it.isNotEmpty() } in <lambda>()
90 return data.drop(1).dropLast(1).split(",") in <lambda>()
105 val (metaData, _) = entry.split(":", limit = 2).map { it.trim() } in <lambda>()
106 val (rawTimestamp, _, _, _, _, _) = metaData.split(" ").filter { it.isNotEmpty() } in <lambda>()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DDumpsysMeminfoListener.java70 mDumpsysMeminfoHelper.setProcessNames(processesString.split(PROCESS_SEPARATOR)); in setupAdditionalArgs()
76 String[] processDetails = processObjectString.split(PROCESS_SEPARATOR); in setupAdditionalArgs()
78 String[] processObjDetail = processDetail.split(PROCESS_OBJECT_SEPARATOR); in setupAdditionalArgs()
79 String[] objNames = processObjDetail[1].split(OBJECT_SEPARATOR); in setupAdditionalArgs()
DLyricMemProfilerCollector.java58 pidNameList = argString.split(","); in setupAdditionalArgs()
62 metricNameList = argString.split(","); in setupAdditionalArgs()
DHeapDumpListener.java90 procs = procsString.split(PROCESS_SEPARATOR); in setupAdditionalArgs()
105 String[] iterationArray = iterations.split(ITERATION_SEPARATOR); in setupAdditionalArgs()
165 String[] className = description.getClassName().split("\\$"); in getTestFileName()
/platform_testing/libraries/collectors-helper/statsd/test/src/com/android/helpers/
DAppStartupHelperTest.java134 assertEquals(1, appLaunchMetrics.get(coldLaunchMetricKey).toString().split(",").length); in testSingleColdLaunchMetric()
145 appLaunchMetrics.get(coldLaunchTransitionMetricKey).toString().split(",").length); in testSingleColdLaunchMetric()
154 appLaunchMetrics.get(coldLaunchProcessMetricKey).toString().split(",").length); in testSingleColdLaunchMetric()
168 appLaunchMetrics.get(sourceEventDelayMetricKey).toString().split(",").length); in testSingleColdLaunchMetric()
191 assertEquals(2, appLaunchMetrics.get(coldLaunchMetricKey).toString().split(",").length); in testMultipleColdLaunchMetric()
203 appLaunchMetrics.get(coldLaunchProcessMetricKey).toString().split(",").length); in testMultipleColdLaunchMetric()
250 appLaunchMetrics.get(coldLaunchCalculatorMetricKey).toString().split(",").length); in testDifferentAppColdLaunchMetric()
252 appLaunchMetrics.get(coldLaunchClockCountPkgKey).toString().split(",").length); in testDifferentAppColdLaunchMetric()
270 appLaunchMetrics.get(coldLaunchTransCalMetricKey).toString().split(",").length); in testDifferentAppColdLaunchMetric()
272 appLaunchMetrics.get(coldLaunchTransSetMetricKey).toString().split(",").length); in testDifferentAppColdLaunchMetric()
[all …]
/platform_testing/libraries/health/utils/src/android/platform/test/util/
DTestFilter.java43 for (String testFilter : testFilters.split(",")) { in isFilteredOrUnspecified()
44 String[] filterComponents = testFilter.split("#"); in isFilteredOrUnspecified()
/platform_testing/tests/automotive/mobly_tests/utilities/
Dmain_utils.py58 test_args = {test_arg.split("=")[0]: test_arg.split("=")[1] for test_arg in test_args_list}
Dvideo_utils_service.py53 m = f'{self._device}'.split('|')[1]
54 device = m.split('>')[0]
/platform_testing/tests/automotive/mobly_tests/dialer/
Ddialer_test_sort_contacts_by_last_name.py44 name_line = line.split(':')
46 name_last_and_first = name_line[1].split(';')
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DCompilationFilterRule.java65 String normalizedClassName = description.getClassName().split("\\$")[0]; in finished()
66 String normalizedMethodName = description.getMethodName().split("\\$")[0]; in finished()
90 mApplications = getArguments().getString(COMPILE_PACKAGE_NAMES_OPTION).split(","); in finished()
DPresubmitRule.java44 return Arrays.stream(nonAnnotationArgument.split(",")) in runningInPresubmit()
73 final boolean match = Arrays.asList(annotation.value().split(",")).contains(flavor); in apply()
DPlatinumRule.java51 if (!Arrays.stream(nonAnnotationArgument.split(",")) in apply()
68 final boolean match = Arrays.asList(annotation.devices().split(",")).contains(flavor); in apply()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/events/
DCujEvent.kt115 data.replace("[", "").replace("]", "").split(",") in getDataEntries()
129 data.replace("[", "").replace("]", "").split(",") in getDataEntries()
141 return data.slice(1..data.length - 2).split(",") in getDataEntries()
/platform_testing/libraries/collectors-helper/generic/src/com/android/helpers/
DGenericExecutableCollectorHelper.java140 String[] lines = output.split(System.lineSeparator()); in execAndGetResults()
141 String[] headers = lines[0].split(CSV_SEPARATOR); in execAndGetResults()
143 String[] l = lines[row].split(CSV_SEPARATOR); in execAndGetResults()
/platform_testing/tests/health/scenarios/src/android/platform/test/scenario/generic/
DOpenApps.java52 String[] names = mNamesOption.get().split(","); in testOpen()
53 String[] pkgs = mPkgsOption.get().split(","); in testOpen()
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/util/
DTombstoneParser.java171 String[] potentialTombstones = splitPattern(TOMBSTONE_HEADER_PATTERN).split(logcat); in parseLogcat()
195 String[] split = line.split("DEBUG :(?: )?", 2); in parseLogcat()
196 return split.length == 2 ? split[1] : "<empty>"; in parseLogcat()
241 String[] threadBlobs = THREAD_SEPARATOR_PATTERN.split(tombstoneBlob); in parseTombstone()
387 String[] causeBlobs = splitPattern(CAUSE_PATTERN).split(headerAndMainThreadBlob); in parseMainThread()
537 String[] memoryMapBlobs = splitPattern(MEMORY_MAP_HEADER_PATTERN).split(tailBlob); in parseMainThread()
612 Arrays.asList(m.group("cmd").split(" "))); in parseThreadHeader()
721 String[] memoryDumpBlobs = splitPattern(MEMORY_NEAR_PATTERN).split(blob); in parseThreadMemoryDump()
768 String[] logBlobs = LOG_PATTERN.split(blob); in parseLogs()
819 return Arrays.asList(s.split("\\R")); in lines()
/platform_testing/tests/perf/PerfTransitionTest/src/com/android/apptransition/tests/
DAppTransitionTests.java135 mAppListArray = appsList.split(DELIMITER); in setUp()
148 String[] traceCategoriesSplit = traceCategoriesStr.split(DELIMITER); in setUp()
196 mLauncherStrategy.launch(appName, mComponentName.split("\\/")[0]); in testColdLaunchFromLauncher()
243 mLauncherStrategy.launch(appName, mComponentName.split("\\/")[0]); in testHotLaunchFromLauncher()
273 mPreAppsListArray = mPreAppsList.split(DELIMITER); in testAppToRecents()
280 mLauncherStrategy.launch(appName, mPreAppsComponentName.get(appName).split( in testAppToRecents()
317 mPreAppsListArray = mPreAppsList.split(DELIMITER); in testHotLaunchFromRecents()
323 mLauncherStrategy.launch(appName, mPreAppsComponentName.get(appName).split( in testHotLaunchFromRecents()
545 String launchSplit[] = line.split(":"); in parseLaunchTime()
551 String activitySplit[] = line.split(":"); in parseLaunchTime()
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DShowmapSnapshotHelper.java273 String[] lines = childrenCmdOutput.split("\\R"); in getChildrenPids()
353 String[] pids = pidofOutput.split("\\s+"); in getPids()
401 String[] lines = countOutput.split("\n"); in execCountThreads()
436 String summarySplit[] = showmapOutput.substring(pos).trim().split("\\s+"); in parseAndUpdateMemoryInfo()
492 String metricDetails[] = metricNameIndexStr.split(","); in setMetricNameIndex()
495 String metricDetailsSplit[] = metricDetail.split(":"); in setMetricNameIndex()
548 String[] childProcessStrSplit = childProcessesStr.split("\\n"); in updateChildProcessesDetails()
552 String[] childProcessSplit = line.trim().split("\\s+"); in updateChildProcessesDetails()
610 String allProcesses[] = psOutput.split("\\n"); in getAllProcessNames()
615 String processSplit[] = invidualProcessDetails.split("\\s+"); in getAllProcessNames()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DAbiUtils.java50 return id.split(" "); in parseId()
/platform_testing/tests/bettertogether/betocq/
Diperf_utils.py95 float(result[:last_mbits_sec_index].strip().split(' ')[-1])
158 return get_ifconfig_aware(ad).split()[0].strip()
176 return get_ifconfig_p2p(ad).split()[0].strip()
259 .split()[-1]
/platform_testing/tests/automotive/mobly_tests/sms/
Dbt_sms_time_sync_test.py27 time_zone_split = time_zone_device.split()
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/
DGoldenPathManagerTest.kt37 assertThat(localGoldenFullImagePath.split("/").size).isEqualTo(2) in goldenImageIdentifierResolver_appendsPng()
48 subject.goldenIdentifierResolver(testName = "test1", extension = "png").split("/") in goldenIdentifierResolver_includesPathConfig()

123456