/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | PackageFilterTest.kt | 25 val filter = PackageFilter(mutableListOf("foo.bar", "bar.baz")) in test() constant 26 assertThat(filter.matches("foo.bar")).isTrue() in test() 27 assertThat(filter.matches("bar.baz")).isTrue() in test() 28 assertThat(filter.matches("foo.bar.baz")).isTrue() in test() 29 assertThat(filter.matches("foo.barf")).isFalse() in test() 30 assertThat(filter.matches("foo")).isFalse() in test()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | ClassPathScanner.java | 113 public Set<String> getEntriesFromJar(File plainFile, IClassPathFilter filter) in getEntriesFromJar() argument 119 if (filter.accept(entryName)) { in getEntriesFromJar() 120 entryNames.add(filter.transform(entryName)); in getEntriesFromJar() 133 public Set<String> getEntriesFromDir(File classPathDir, IClassPathFilter filter) in getEntriesFromDir() argument 136 getEntriesFromDir(classPathDir, entryNames, new LinkedList<String>(), filter); in getEntriesFromDir() 151 IClassPathFilter filter) throws IOException { in getEntriesFromDir() argument 161 getEntriesFromDir(childFile, entries, rootPath, filter); in getEntriesFromDir() 167 if (filter.accept(classPathEntryName)) { in getEntriesFromDir() 168 entries.add(filter.transform(classPathEntryName)); in getEntriesFromDir() 196 public Set<String> getClassPathEntries(IClassPathFilter filter) { in getClassPathEntries() argument [all …]
|
D | TestFilterHelper.java | 61 public void addIncludeFilter(String filter) { in addIncludeFilter() argument 62 mIncludeFilters.add(filter); in addIncludeFilter() 75 public void addExcludeFilter(String filter) { in addExcludeFilter() argument 76 mExcludeFilters.add(filter); in addExcludeFilter()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | AtestRunner.java | 97 for (String filter : moduleFilters) { in loadTests() 98 addFilter(testConfig, filter); in loadTests() 110 for (String filter : mIncludeFilters) { in getIncludeFilters() 111 int moduleSep = filter.indexOf(":"); in getIncludeFilters() 115 String moduleName = canonicalizeConfigName(filter.substring(0, moduleSep)); in getIncludeFilters() 116 String moduleFilter = filter.substring(moduleSep + 1); in getIncludeFilters() 145 private void addFilter(IConfiguration testConfig, String filter) { in addFilter() argument 151 testConfig.getName(), test.getClass().getSimpleName(), filter); in addFilter() 152 ((ITestFilterReceiver) test).addIncludeFilter(filter); in addFilter() 158 test.getClass().getSimpleName(), filter); in addFilter()
|
D | SuiteModuleLoader.java | 266 SuiteTestFilter filter = SuiteTestFilter.createFrom(filterString); in addFilters() local 267 String abi = filter.getAbi(); in addFilters() 270 addFilter(a.getName(), filter, filters); in addFilters() local 273 addFilter(abi, filter, filters); in addFilters() 279 String abi, SuiteTestFilter filter, Map<String, List<SuiteTestFilter>> filters) { in addFilter() argument 280 getFilterList(filters, AbiUtils.createId(abi, filter.getName())).add(filter); in addFilter() 336 for (SuiteTestFilter filter : filters) { in createFilterFile() 337 String filterTest = filter.getTest(); in createFilterFile()
|
D | BaseTestSuite.java | 299 for (String filter : filters) { in checkFilters() 300 if (moduleName.equals(SuiteTestFilter.createFrom(filter).getName())) { in checkFilters() 301 cleanedFilters.add(filter); // Module name matches, filter passes in checkFilters()
|
D | GranularRetriableTestWrapper.java | 262 String filter = testCase.toString(); in addRetriedTestsToIncludeFilters() local 263 ((ITestFilterReceiver) mTest).addIncludeFilter(filter); in addRetriedTestsToIncludeFilters()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | GTest.java | 288 public void addIncludeFilter(String filter) { in addIncludeFilter() argument 289 mIncludeFilters.add(cleanFilter(filter)); in addIncludeFilter() 297 for (String filter : filters) { in addAllIncludeFilters() 298 mIncludeFilters.add(cleanFilter(filter)); in addAllIncludeFilters() 306 public void addExcludeFilter(String filter) { in addExcludeFilter() argument 307 mExcludeFilters.add(cleanFilter(filter)); in addExcludeFilter() 315 for (String filter : filters) { in addAllExcludeFilters() 316 mExcludeFilters.add(cleanFilter(filter)); in addAllExcludeFilters() 324 private String cleanFilter(String filter) { in cleanFilter() argument 325 return filter.replace('#', '.'); in cleanFilter() [all …]
|
D | ITestFilterReceiver.java | 36 void addIncludeFilter(String filter); in addIncludeFilter() argument 46 void addExcludeFilter(String filter); in addExcludeFilter() argument
|
D | DeviceTestCase.java | 195 public void addIncludeFilter(String filter) { in addIncludeFilter() argument 196 mIncludeFilters.add(filter); in addIncludeFilter() 197 mFilterHelper.addIncludeFilter(filter); in addIncludeFilter() 213 public void addExcludeFilter(String filter) { in addExcludeFilter() argument 214 mExcludeFilters.add(filter); in addExcludeFilter() 215 mFilterHelper.addExcludeFilter(filter); in addExcludeFilter()
|
D | AndroidJUnitTest.java | 163 public void addIncludeFilter(String filter) { in addIncludeFilter() argument 164 mIncludeFilters.add(filter); in addIncludeFilter() 179 public void addExcludeFilter(String filter) { in addExcludeFilter() argument 180 mExcludeFilters.add(filter); in addExcludeFilter() 392 public boolean isClassOrMethod(String filter) { in isClassOrMethod() argument 393 if (filter.contains("#")) { in isClassOrMethod() 396 String[] parts = filter.split("\\."); in isClassOrMethod()
|
D | UiAutomatorTest.java | 500 public void addIncludeFilter(String filter) { in addIncludeFilter() argument 501 mClasses.add(filter); in addIncludeFilter() 511 public void addExcludeFilter(String filter) { in addExcludeFilter() argument
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | Codebase.kt | 90 fun compareWith(visitor: ComparisonVisitor, other: Codebase, filter: Predicate<Item>? = null) { in <lambda>() 91 CodebaseComparator().compare(visitor, other, this, filter) in <lambda>() 137 fun filter(filterEmit: Predicate<Item>, filterReference: Predicate<Item>): Codebase in <lambda>() method
|
D | TypeItem.kt | 119 fun referencesExcludedType(filter: Predicate<Item>): Boolean { in <lambda>() 125 if (!filter.test(item)) { in <lambda>()
|
/tools/tradefederation/core/tests/res/testtype/ |
D | gtest_output3.txt | 3 Note: Google Test filter = None
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | TestSuiteStub.java | 211 public void addIncludeFilter(String filter) {} in addIncludeFilter() argument 217 public void addExcludeFilter(String filter) {} in addExcludeFilter() argument
|
D | GranularRetriableTestWrapperTest.java | 103 public void addIncludeFilter(String filter) { in addIncludeFilter() argument 104 String[] descriptionStr = filter.split("#"); in addIncludeFilter()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiTypeParameterItem.kt | 52 … refs.mapNotNull { PsiTypeItem.create(codebase, it).asClass() }.filter { !it.isJavaLangObject() } in bounds()
|
D | PsiPackageItem.kt | 40 …override fun topLevelClasses(): Sequence<ClassItem> = classes.asSequence().filter { it.isTopLevelC… in <lambda>()
|
/tools/metalava/src/test/java/com/android/tools/metalava/model/ |
D | TextBackedAnnotationItemTest.kt | 36 …override fun filter(filterEmit: Predicate<Item>, filterReference: Predicate<Item>): Codebase = uns… in supportsDocumentation() method in com.android.tools.metalava.model.TextBackedAnnotationItemTest
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | AnnotationsDiffer.kt | 123 val cleanedUp = stringWriter.toString().filter { in <lambda>()
|
/tools/tradefederation/core/tests/res/config/suite/ |
D | suite.md | 78 --test-zip-file-filter .*device-tests.zip 81 "test-zip-file-filter" option tells TradeFed to download and extract all device
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | CameraPerformanceTest.java | 282 protected Map<String, String> filter(List<CtsMetric> metrics, String testMethod) { in filter() method in CameraPerformanceTest.CtsResultParserBase 345 return filter(getDetails(), testMethod); in parse() 446 return filter(getDetails(), testMethod); in parse()
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | ConfigurationXmlParser.java | 386 .filter(value -> (value == false)) in checkValidMultiConfiguration() 391 .filter(value -> (value == true)) in checkValidMultiConfiguration()
|
/tools/acloud/internal/lib/ |
D | gcompute_client_test.py | 302 project=self.PROJECT, filter=None, pageToken=None), mock.call( 303 project=self.PROJECT, filter=None, pageToken=fake_token) 341 filter=None, 346 filter=None,
|