Home
last modified time | relevance | path

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

123

/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DBugreportCollectorTest.java23 import com.android.tradefed.result.BugreportCollector.Predicate;
85 Predicate foo = new Predicate(Relation.AFTER, Freq.EACH, Noun.TESTCASE); in testCreatePredicate()
90 Predicate foo = new Predicate(Relation.AFTER, Freq.EACH, Noun.TESTCASE); in testPredicateEquals()
91 Predicate bar = new Predicate(Relation.AFTER, Freq.EACH, Noun.TESTCASE); in testPredicateEquals()
92 Predicate baz = new Predicate(Relation.AFTER, Freq.EACH, Noun.INVOCATION); in testPredicateEquals()
101 Predicate shortP = new Predicate(Relation.AFTER, Freq.EACH, Noun.INVOCATION); in testPredicatePartialMatch()
102 Predicate longP = new Predicate(Relation.AFTER, Freq.EACH, Noun.INVOCATION, in testPredicatePartialMatch()
109 Predicate shortP = new Predicate(Relation.AFTER, Freq.EACH, Noun.INVOCATION); in testPredicateFullMatch()
110 Predicate longP = new Predicate(Relation.AFTER, Freq.EACH, Noun.INVOCATION, in testPredicateFullMatch()
112 Predicate longP2 = new Predicate(Relation.AFTER, Freq.EACH, Noun.INVOCATION, in testPredicateFullMatch()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/result/
DBugreportCollector.java46 public static final Predicate AFTER_FAILED_TESTCASES =
49 public static final Predicate AT_START =
87 public static class Predicate { class in BugreportCollector
91 public Predicate(Relation rp, Freq fp, Noun n) throws IllegalArgumentException { in Predicate() method in BugreportCollector.Predicate
99 public Predicate(Relation rp, Freq fp, Noun fpN, Filter filterP, Noun filterPN) in Predicate() method in BugreportCollector.Predicate
140 public boolean partialMatch(Predicate otherP) { in partialMatch()
144 public boolean fullMatch(Predicate otherP) { in fullMatch()
172 if (other instanceof Predicate) { in equals()
173 Predicate otherP = (Predicate) other; in equals()
195 private List<Predicate> mPredicates = new LinkedList<Predicate>();
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/
DApiType.kt26 import java.util.function.Predicate in <lambda>()
36 override fun getEmitFilter(): Predicate<Item> { in <lambda>()
43 override fun getReferenceFilter(): Predicate<Item> { in <lambda>()
54 override fun getEmitFilter(): Predicate<Item> { in <lambda>()
61 override fun getReferenceFilter(): Predicate<Item> { in <lambda>()
72 override fun getEmitFilter(): Predicate<Item> { in <lambda>()
73 return Predicate { it.emit } in <lambda>()
76 override fun getReferenceFilter(): Predicate<Item> { in <lambda>()
77 return Predicate { true } in <lambda>()
84 abstract fun getEmitFilter(): Predicate<Item> in <lambda>()
[all …]
DApiAnalyzer.kt38 import java.util.function.Predicate in <lambda>()
66 fun addConstructors(filter: Predicate<Item>) { in <lambda>()
132 private fun addConstructors(cls: ClassItem, filter: Predicate<Item>) { in <lambda>()
253 fun generateInheritedStubs(filterEmit: Predicate<Item>, filterReference: Predicate<Item>) { in <lambda>()
266 …fun generateInheritedStubs(cls: ClassItem, filterEmit: Predicate<Item>, filterReference: Predicate in <lambda>()
284 filterReference: Predicate<Item> in <lambda>()
326 filterEmit: Predicate<Item>, in <lambda>()
327 filterReference: Predicate<Item> in <lambda>()
1058 filter: Predicate<Item>, in <lambda>()
1153 filter: Predicate<Item>, in <lambda>()
DPackageFilter.kt5 import java.util.function.Predicate
65 fun add(predicate: Predicate<String>, treatAsPositiveMatch: Boolean) { in add()
82 class StringPrefixPredicate(private val acceptedPrefix: String) : Predicate<String> {
88 class StringEqualsPredicate(val acceptedPackage: String) : Predicate<String> {
98 class PackageFilterComponent(val filter: Predicate<String>, val treatAsPositiveMatch: Boolean)
DComparisonVisitor.kt33 import java.util.function.Predicate in <lambda>()
89 …fun compare(visitor: ComparisonVisitor, old: Codebase, new: Codebase, filter: Predicate<Item>? = n… in compare()
406 private fun createTree(codebase: Codebase, filter: Predicate<Item>? = null): List<ItemTree> { in createTree()
412 val predicate = if (acceptAll) Predicate { true } else filter!! in createTree()
DDexApiWriter.kt25 import java.util.function.Predicate
29 filterEmit: Predicate<Item>,
30 filterReference: Predicate<Item>
DAnnotationsDiffer.kt28 import java.util.function.Predicate in <lambda>()
66 private val predicate = object : Predicate<Item> { in <lambda>()
108 Predicate<Item> { true } in <lambda>()
DConvertJarsToSignatureFiles.kt35 import java.util.function.Predicate in <lambda>()
236 val MATCH_ALL: Predicate<Item> = Predicate { true } in <lambda>()
DSignatureWriter.kt33 import java.util.function.Predicate in <lambda>()
37 filterEmit: Predicate<Item>, in <lambda>()
38 filterReference: Predicate<Item>, in <lambda>()
DJDiffXmlWriter.kt32 import java.util.function.Predicate in <lambda>()
45 filterEmit: Predicate<Item>, in <lambda>()
46 filterReference: Predicate<Item>, in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DCodebase.kt42 import java.util.function.Predicate in <lambda>()
103 fun compareWith(visitor: ComparisonVisitor, other: Codebase, filter: Predicate<Item>? = null) { in <lambda>()
175 fun findClassByOwner(owner: String, apiFilter: Predicate<Item>): ClassItem? { in <lambda>()
185 fun findClass(node: ClassNode, apiFilter: Predicate<Item>): ClassItem? { in <lambda>()
189 fun findMethod(node: MethodInsnNode, apiFilter: Predicate<Item>): MethodItem? { in <lambda>()
213 … fun findMethod(classNode: ClassNode, node: MethodNode, apiFilter: Predicate<Item>): MethodItem? { in <lambda>()
237 fun findField(classNode: ClassNode, node: FieldNode, apiFilter: Predicate<Item>): FieldItem? { in <lambda>()
247 fun findField(node: FieldInsnNode, apiFilter: Predicate<Item>): FieldItem? { in <lambda>()
DClassItem.kt30 import java.util.function.Predicate in <lambda>()
527 fun filteredSuperclass(predicate: Predicate<Item>): ClassItem? { in <lambda>()
536 fun filteredSuperClassType(predicate: Predicate<Item>): TypeItem? { in <lambda>()
565 fun filteredMethods(predicate: Predicate<Item>): Collection<MethodItem> { in <lambda>()
579 fun filteredConstructors(predicate: Predicate<Item>): Sequence<ConstructorItem> { in <lambda>()
587 fun filteredFields(predicate: Predicate<Item>, showUnannotated: Boolean): List<FieldItem> { in <lambda>()
638 fun filteredInterfaceTypes(predicate: Predicate<Item>): Collection<TypeItem> { in <lambda>()
650 fun allInterfaceTypes(predicate: Predicate<Item>): Collection<TypeItem> { in <lambda>()
663 predicate: Predicate<Item>, in <lambda>()
DMethodItem.kt24 import java.util.function.Predicate in <lambda>()
104 fun filteredThrowsTypes(predicate: Predicate<Item>): Collection<ClassItem> { in <lambda>()
112 predicate: Predicate<Item>, in <lambda>()
156 fun findPredicateSuperMethod(predicate: Predicate<Item>): MethodItem? { in <lambda>()
475 fun hasHiddenType(filterReference: Predicate<Item>): Boolean { in <lambda>()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/sl4a/
DSl4aEventDispatcherTest.java30 import java.util.function.Predicate;
159 Predicate<EventSl4aObject> testPredicate = new Predicate<EventSl4aObject>() { in testWaitForEvent()
184 Predicate<EventSl4aObject> testPredicate = new Predicate<EventSl4aObject>() { in testWaitForEvent_notMatching()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zfile/
DApkZFileCreator.java31 import java.util.function.Predicate;
66 private final Predicate<String> noCompressPredicate;
110 @Nullable Predicate<String> isIgnored) throws IOException { in writeZip()
118 Predicate<String> ignorePredicate; in writeZip()
128 Predicate<String> noMergePredicate = ignorePredicate.or(noCompressPredicate); in writeZip()
DApkCreatorFactory.java25 import java.util.function.Predicate;
104 private final Predicate<String> noCompressPredicate;
136 @Nonnull Predicate<String> noCompressPredicate) { in CreationData()
242 public Predicate<String> getNoCompressPredicate() { in getNoCompressPredicate()
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/
DElidingPredicate.kt6 import java.util.function.Predicate in <lambda>()
14 class ElidingPredicate(private val wrapped: Predicate<Item>) : Predicate<Item> { in <lambda>()
20 val differentSuper = method.findPredicateSuperMethod(Predicate { test -> in <lambda>()
DFilterPredicate.kt21 import java.util.function.Predicate
25 class FilterPredicate(private val wrapped: Predicate<Item>) : Predicate<Item> {
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/
DPsiTypePrinterTest.kt45 import java.util.function.Predicate in <lambda>()
310 filter = Predicate { false } in <lambda>()
347 filter = Predicate { true } in <lambda>()
781 filter: Predicate<Item>? = null, in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypeItem.kt55 import java.util.function.Predicate
78 filter: Predicate<Item>? in toTypeString()
403 filter: Predicate<Item>? in toTypeString()
448 filter: Predicate<Item>? in getCanonicalText()
DPsiCompilationUnit.kt41 import java.util.function.Predicate
91 override fun getImportStatements(predicate: Predicate<Item>): Collection<Item> { in getImportStatements()
212 private fun classes(predicate: Predicate<Item>): List<ClassItem> { in classes()
/tools/metalava/src/main/java/com/android/tools/metalava/model/visitors/
DApiVisitor.kt27 import java.util.function.Predicate
55 val filterEmit: Predicate<Item>,
58 val filterReference: Predicate<Item>,
/tools/metalava/src/main/java/com/android/tools/metalava/stub/
DKotlinStubWriter.kt32 import java.util.function.Predicate in <lambda>()
36 private val filterEmit: Predicate<Item>, in <lambda>()
37 private val filterReference: Predicate<Item>, in <lambda>()
DJavaStubWriter.kt34 import java.util.function.Predicate in <lambda>()
38 private val filterEmit: Predicate<Item>, in <lambda>()
39 private val filterReference: Predicate<Item>, in <lambda>()

123