Home
last modified time | relevance | path

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

12

/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/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>()
42 override fun getReferenceFilter(): Predicate<Item> { in <lambda>()
53 override fun getEmitFilter(): Predicate<Item> { in <lambda>()
59 override fun getReferenceFilter(): Predicate<Item> { in <lambda>()
70 override fun getEmitFilter(): Predicate<Item> { in <lambda>()
72 val memberIsNotCloned: Predicate<Item> = Predicate { !it.isCloned() } in <lambda>()
76 override fun getReferenceFilter(): Predicate<Item> { in <lambda>()
77 return Predicate { true } in <lambda>()
87 override fun getEmitFilter(): Predicate<Item> { in <lambda>()
[all …]
DApiAnalyzer.kt38 import java.util.function.Predicate in <lambda>()
66 fun addConstructors(filter: Predicate<Item>) { in <lambda>()
135 private fun addConstructors(cls: ClassItem, filter: Predicate<Item>, isLeaf: Boolean) { in <lambda>()
241 …private fun referencesExcludedType(constructor: ConstructorItem, filter: Predicate<Item>): Boolean… in <lambda>()
265 filter: Predicate<Item> in <lambda>()
303 fun generateInheritedStubs(filterEmit: Predicate<Item>, filterReference: Predicate<Item>) { in <lambda>()
316 …fun generateInheritedStubs(cls: ClassItem, filterEmit: Predicate<Item>, filterReference: Predicate in <lambda>()
334 filterReference: Predicate<Item> in <lambda>()
376 filterEmit: Predicate<Item>, in <lambda>()
377 filterReference: Predicate<Item> in <lambda>()
[all …]
DAnnotationsDiffer.kt28 import java.util.function.Predicate in <lambda>()
66 private val predicate = object : Predicate<Item> { in <lambda>()
108 Predicate<Item> { true } in <lambda>()
DDexApiWriter.kt25 import java.util.function.Predicate
29 filterEmit: Predicate<Item>,
30 filterReference: Predicate<Item>,
DProguardWriter.kt28 import java.util.function.Predicate
32 filterEmit: Predicate<Item>,
33 filterReference: Predicate<Item>
DConvertJarsToSignatureFiles.kt35 import java.util.function.Predicate in <lambda>()
236 val MATCH_ALL: Predicate<Item> = Predicate { true } in <lambda>()
DComparisonVisitor.kt33 import java.util.function.Predicate in <lambda>()
89 …fun compare(visitor: ComparisonVisitor, old: Codebase, new: Codebase, filter: Predicate<Item>? = n… in compare()
392 private fun createTree(codebase: Codebase, filter: Predicate<Item>? = null): List<ItemTree> { in createTree()
398 val predicate = if (acceptAll) Predicate { true } else filter!! in createTree()
DSignatureWriter.kt33 import java.util.function.Predicate in <lambda>()
37 filterEmit: Predicate<Item>, in <lambda>()
38 filterReference: Predicate<Item>, in <lambda>()
/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/model/
DCodebase.kt41 import java.util.function.Predicate in <lambda>()
102 fun compareWith(visitor: ComparisonVisitor, other: Codebase, filter: Predicate<Item>? = null) { in <lambda>()
172 fun findClassByOwner(owner: String, apiFilter: Predicate<Item>): ClassItem? { in <lambda>()
182 fun findClass(node: ClassNode, apiFilter: Predicate<Item>): ClassItem? { in <lambda>()
186 fun findMethod(node: MethodInsnNode, apiFilter: Predicate<Item>): MethodItem? { in <lambda>()
210 … fun findMethod(classNode: ClassNode, node: MethodNode, apiFilter: Predicate<Item>): MethodItem? { in <lambda>()
234 fun findField(classNode: ClassNode, node: FieldNode, apiFilter: Predicate<Item>): FieldItem? { in <lambda>()
244 fun findField(node: FieldInsnNode, apiFilter: Predicate<Item>): FieldItem? { in <lambda>()
DClassItem.kt30 import java.util.function.Predicate in <lambda>()
524 fun filteredSuperclass(predicate: Predicate<Item>): ClassItem? { in <lambda>()
533 fun filteredSuperClassType(predicate: Predicate<Item>): TypeItem? { in <lambda>()
562 fun filteredMethods(predicate: Predicate<Item>): Collection<MethodItem> { in <lambda>()
576 fun filteredConstructors(predicate: Predicate<Item>): Sequence<ConstructorItem> { in <lambda>()
584 fun filteredFields(predicate: Predicate<Item>, showUnannotated: Boolean): List<FieldItem> { in <lambda>()
635 fun filteredInterfaceTypes(predicate: Predicate<Item>): Collection<TypeItem> { in <lambda>()
647 fun allInterfaceTypes(predicate: Predicate<Item>): Collection<TypeItem> { in <lambda>()
660 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>()
467 fun hasHiddenType(filterReference: Predicate<Item>): Boolean { in <lambda>()
DTypeItem.kt24 import java.util.function.Predicate in <lambda>()
57 filter: Predicate<Item>? = null in <lambda>()
138 fun referencesExcludedType(filter: Predicate<Item>): Boolean { in <lambda>()
DCompilationUnit.kt21 import java.util.function.Predicate
34 open fun getImportStatements(predicate: Predicate<Item>): Collection<Item> = emptyList()
/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> {
DApiPredicate.kt9 import java.util.function.Predicate
53 ) : Predicate<Item> {
/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()
DApkCreator.java23 import java.util.function.Predicate;
48 @Nullable Predicate<String> isIgnored) in writeZip()
/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/metalava/src/main/java/com/android/tools/metalava/model/visitors/
DApiVisitor.kt25 import java.util.function.Predicate
53 val filterEmit: Predicate<Item>,
56 val filterReference: 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/
DPsiCompilationUnit.kt40 import java.util.function.Predicate
73 override fun getImportStatements(predicate: Predicate<Item>): Collection<Item> { in getImportStatements()
186 private fun classes(predicate: Predicate<Item>): List<ClassItem> { in classes()

12