Home
last modified time | relevance | path

Searched refs:allMatch (Results 1 – 8 of 8) sorted by relevance

/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DPushFilePreparer.java287 Set<File> allMatch = FileUtil.findFilesObject(searchDir, fileName); in resolveRelativeFilePath() local
288 if (allMatch.size() > 1) { in resolveRelativeFilePath()
292 for (File f : allMatch) { in resolveRelativeFilePath()
298 } else if (allMatch.size() == 1) { in resolveRelativeFilePath()
299 return allMatch.iterator().next(); in resolveRelativeFilePath()
DFeatureFlagTargetPreparer.java131 if (targetFlags.values().stream().allMatch(Map::isEmpty)) { in setUp()
151 || mFlagsToRestore.values().stream().allMatch(Map::isEmpty)) { in tearDown()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DBaseDeviceMetricCollector.java757 Set<File> allMatch = FileUtil.findFilesObject(searchDir, fileName); in resolveRelativeFilePath() local
758 if (allMatch.size() > 1) { in resolveRelativeFilePath()
762 for (File f : allMatch) { in resolveRelativeFilePath()
767 } else if (allMatch.size() == 1) { in resolveRelativeFilePath()
768 return allMatch.iterator().next(); in resolveRelativeFilePath()
/tools/tradefederation/core/javatests/com/android/tradefed/postprocessor/
DStatsdGenericPostProcessorTest.java657 keyComponents.stream().allMatch(c -> e.getKey().contains(c)) in assertMetricsContain()
675 .noneMatch(k -> keyComponents.stream().allMatch(c -> k.contains(c)))); in assertMetricsDoNotContain()
DBasePostProcessorTest.java799 assertTrue(metricCollectorFileCounts.values().stream().allMatch(v -> v == 1)); in testNoDoubleLoggingFilesFromOutsideLogSaverForwarder()
846 assertTrue(outerPostProcessorFileCounts.values().stream().allMatch(v -> v == 1)); in testNoDoubleLoggingFilesToSubsequentPostProcessors()
DStatsdBeforeAfterGaugeMetricPostProcessorTest.java860 return Stream.of(substrings).allMatch(s -> string.contains(s)); in matches()
/tools/tradefederation/core/src/com/android/tradefed/util/
DMetricUtility.java244 .allMatch( in isAllDoubleValues()
/tools/carrier_settings/java/
DCarrierConfigConverterV2.java454 if (!carrierAttribute.getAllFields().keySet().stream().allMatch(supportedFields::contains)) { in carrierAttributeToCarrierId()