Home
last modified time | relevance | path

Searched refs:startsWith (Results 1 – 25 of 51) sorted by relevance

123

/platform_testing/libraries/motion/tests/src/platform/test/motion/truth/
DTimeSeriesSubjectTest.kt63 factKeys().comparingElementsUsing(startsWith).doesNotContain("TimeSeries.features") in <lambda>()
79 factKeys().comparingElementsUsing(startsWith).doesNotContain("TimeSeries.features") in <lambda>()
95 factKeys().comparingElementsUsing(startsWith).doesNotContain("TimeSeries.features") in <lambda>()
189 val startsWith: Correspondence<String, String> = in <lambda>() constant
191 { actual, expected -> checkNotNull(actual).startsWith(checkNotNull(expected)) }, in <lambda>()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/
DScenarioInstanceTest.kt107 .startsWith(errorMessage) in willReportFlickerAssertions()
113 .startsWith(errorMessage) in willReportFlickerAssertions()
116 .startsWith(errorMessage) in willReportFlickerAssertions()
176 .startsWith(errorMessage) in willReportMainBlockAssertions()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DSkipOnAospRule.java31 if (!Build.PRODUCT.startsWith("aosp_")) return base; in apply()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DKeyValueArgsParser.java35 if (!s.startsWith("-")) { in parse()
/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/
DReadElfTest.java150 if (line.startsWith("Dynamic section")) { in getDynamicDependencies()
187 if (line.startsWith("Symbol table '.dynsym'")) { in chkDynSymbol()
220 symName.startsWith(name)); in chkDynSymbol()
247 if (line.startsWith("String dump of section '.rodata':")) { in getRoStrings()
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/
DFridaUtils.java223 if (abi.startsWith("arm64")) { in getFridaAbiFor()
225 } else if (abi.startsWith("armeabi")) { in getFridaAbiFor()
227 } else if (abi.startsWith("x86_64")) { in getFridaAbiFor()
229 } else if (abi.startsWith("x86")) { in getFridaAbiFor()
/platform_testing/libraries/collectors-helper/statsd/test/src/com/android/helpers/
DCpuUsageHelperTest.java105 if (cpuUsageEntry.getKey().startsWith(CPU_USAGE_PKG_UID_PREFIX)) { in testCpuUsageMetricsKey()
156 assertTrue(cpuUsageEntry.getKey().startsWith(CPU_USAGE_PKG_UID_PREFIX)); in testCpuUsageOnlyPerPkg()
DThermalHelperTest.java189 if (!key.startsWith("temperature")) { in testParseTemperature()
224 if (!key.startsWith("temperature")) { in testParseTemperatureMock()
/platform_testing/libraries/flicker/utils/test/src/android/tools/io/
DResultArtifactDescriptorTest.kt63 subject.startsWith(tag) in createDescriptorAndValidateFileNameWithTag()
/platform_testing/libraries/collectors-helper/memory/test/src/com/android/helpers/tests/
DShowmapSnapshotHelperTest.java319 .filter(s -> s.startsWith(ShowmapSnapshotHelper.CHILD_PROCESS_COUNT_PREFIX)) in testGetMetrics_verify_child_processes_metrics()
353 .filter(s -> s.startsWith(ShowmapSnapshotHelper.PARENT_PROCESS_STRING)) in testGetMetrics_parent_process_child_processes_metrics()
368 || key.startsWith(ShowmapSnapshotHelper.CHILD_PROCESS_COUNT_PREFIX) in verifyDefaultMetrics()
369 || key.startsWith(ShowmapSnapshotHelper.PARENT_PROCESS_STRING))) { in verifyDefaultMetrics()
DGarbageCollectionHelperTest.java54 if (cmd.startsWith("pidof package")) { in setUp()
DPinnerHelperTest.java117 .startsWith(PinnerHelper.TOTAL_FILE_COUNT_KEY))) in testValidateTotalFileSizeCount()
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DCpuUsageHelper.java136 if (key.startsWith(CPU_USAGE_PKG_UID) in getMetrics()
150 if (key.startsWith(CPU_USAGE_PKG_UID) in getMetrics()
DThermalHelper.java160 } else if (line.trim().startsWith("Current") || line.trim().startsWith("Cached")) { in updateTemperatureMetrics()
/platform_testing/libraries/sts-common-util/host-side/tests/src/com/android/sts/common/
DNativePocTest.java26 import static org.mockito.Mockito.startsWith;
116 when(device.executeShellV2Command(startsWith("chmod "))).thenReturn(SUCCESS_RESULT); in setup()
117 when(device.executeShellV2Command(startsWith("test "))).thenReturn(SUCCESS_RESULT); in setup()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/wm/
DWindowManagerStateBuilder.kt361 identifierName.startsWith(PlatformConsts.STARTING_WINDOW_PREFIX) -> in <lambda>()
364 identifierName.startsWith(PlatformConsts.DEBUGGER_WINDOW_PREFIX) -> in <lambda>()
388 identifierName.startsWith( in <lambda>()
394 identifierName.startsWith( in <lambda>()
587 title.startsWith(PlatformConsts.STARTING_WINDOW_PREFIX) -> in <lambda>()
589 title.startsWith(PlatformConsts.DEBUGGER_WINDOW_PREFIX) -> in <lambda>()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/component/
DComponentName.kt96 if (className.startsWith(packageName)) { in appendShortClassName()
/platform_testing/tests/automotive/functional/settings/src/android/platform/tests/
DSystemSettingTest.java94 mSystemSettingsHelper.get().getKernelVersion().startsWith(kernelVersion)); in testKernelVersion()
/platform_testing/tests/perf/PerformanceAppTest/src/com/android/performanceapp/tests/
DAppLaunchTests.java154 if (activityName.startsWith(URL_PREFIX)) { in testAppLaunchPerformance()
208 if (!activityName.startsWith(URL_PREFIX)) { in testAppLaunchPerformance()
230 if (!activityName.startsWith(URL_PREFIX)) { in testAppLaunchPerformance()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/wm/
DWindowContainerImpl.kt77 if (clazz.startsWith("$pkg.")) { in removeRedundancyInName()
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/
DGoldenPathManagerTest.kt85 assertThat(pcResolvedRelativePath2).startsWith("cuttlefish") in pathNoContextExtractor1()
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/ide/common/resources/deprecated/
DIdResourceParser.java102 if (value.startsWith("@+")) { //$NON-NLS-1$ in parse()
/platform_testing/tests/perf/PerfTransitionTest/src/com/android/apptransition/tests/
DAppTransitionTests.java532 if (line.startsWith(SUCCESS_MESSAGE)) { in parseLaunchTime()
539 if (line.startsWith(HOT_LAUNCH_MESSAGE) && (!maybeHotLaunch)){ in parseLaunchTime()
544 if (line.startsWith(TOTAL_TIME_MESSAGE)) { in parseLaunchTime()
550 if (maybeHotLaunch && line.startsWith(ACTIVITY)) { in parseLaunchTime()
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/setup/
DLayoutPullParser.java59 if (layoutPath.startsWith("/")) { in createFromPath()
/platform_testing/tests/automotive/health/boottime/src/android/boottime/postprocessor/
DDmesgPostProcessor.java78 .filter(key -> key.startsWith(BootTimeTest.getBootTimePropKey())) in processTestMetricsAndLogs()
206 if (actionInfoItem.getActionName().startsWith(BOOT_COMPLETE_ACTION) in analyzeDmesgActionInfo()

123