Home
last modified time | relevance | path

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

12

/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 …]
DPackageFilter.kt5 import java.util.function.Predicate
65 fun add(predicate: Predicate<String>, treatAsPositiveMatch: Boolean) { in add()
82 class StringPrefixPredicate(val acceptedPrefix: String) : Predicate<String> {
88 class StringEqualsPredicate(val acceptedPackage: String) : Predicate<String> {
98 class PackageFilterComponent(val filter: Predicate<String>, val treatAsPositiveMatch: Boolean)
DApiAnalyzer.kt39 import java.util.function.Predicate in <lambda>()
67 fun addConstructors(filter: Predicate<Item>) { in <lambda>()
133 private fun addConstructors(cls: ClassItem, filter: Predicate<Item>) { in <lambda>()
254 fun generateInheritedStubs(filterEmit: Predicate<Item>, filterReference: Predicate<Item>) { in <lambda>()
267 …fun generateInheritedStubs(cls: ClassItem, filterEmit: Predicate<Item>, filterReference: Predicate in <lambda>()
285 filterReference: Predicate<Item> in <lambda>()
327 filterEmit: Predicate<Item>, in <lambda>()
328 filterReference: Predicate<Item> in <lambda>()
1037 filter: Predicate<Item>, in <lambda>()
1133 filter: Predicate<Item>, in <lambda>()
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.kt29 import java.util.function.Predicate
33 filterEmit: Predicate<Item>,
34 filterReference: Predicate<Item>
DConvertJarsToSignatureFiles.kt35 import java.util.function.Predicate in <lambda>()
236 val MATCH_ALL: Predicate<Item> = Predicate { true } in <lambda>()
DComparisonVisitor.kt34 import java.util.function.Predicate in <lambda>()
90 …fun compare(visitor: ComparisonVisitor, old: Codebase, new: Codebase, filter: Predicate<Item>? = n… in compare()
407 private fun createTree(codebase: Codebase, filter: Predicate<Item>? = null): List<ItemTree> { in createTree()
413 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/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/model/
DCodebase.kt43 import java.util.function.Predicate in <lambda>()
104 fun compareWith(visitor: ComparisonVisitor, other: Codebase, filter: Predicate<Item>? = null) { in <lambda>()
176 fun findClassByOwner(owner: String, apiFilter: Predicate<Item>): ClassItem? { in <lambda>()
186 fun findClass(node: ClassNode, apiFilter: Predicate<Item>): ClassItem? { in <lambda>()
190 fun findMethod(node: MethodInsnNode, apiFilter: Predicate<Item>): MethodItem? { in <lambda>()
214 … fun findMethod(classNode: ClassNode, node: MethodNode, apiFilter: Predicate<Item>): MethodItem? { in <lambda>()
238 fun findField(classNode: ClassNode, node: FieldNode, apiFilter: Predicate<Item>): FieldItem? { in <lambda>()
248 fun findField(node: FieldInsnNode, apiFilter: Predicate<Item>): FieldItem? { in <lambda>()
DClassItem.kt30 import java.util.function.Predicate in <lambda>()
530 fun filteredSuperclass(predicate: Predicate<Item>): ClassItem? { in <lambda>()
539 fun filteredSuperClassType(predicate: Predicate<Item>): TypeItem? { in <lambda>()
568 fun filteredMethods(predicate: Predicate<Item>): Collection<MethodItem> { in <lambda>()
582 fun filteredConstructors(predicate: Predicate<Item>): Sequence<ConstructorItem> { in <lambda>()
590 fun filteredFields(predicate: Predicate<Item>, showUnannotated: Boolean): List<FieldItem> { in <lambda>()
641 fun filteredInterfaceTypes(predicate: Predicate<Item>): Collection<TypeItem> { in <lambda>()
653 fun allInterfaceTypes(predicate: Predicate<Item>): Collection<TypeItem> { in <lambda>()
666 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>()
473 fun hasHiddenType(filterReference: 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.kt26 import java.util.function.Predicate
54 val filterEmit: Predicate<Item>,
57 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()
190 private fun classes(predicate: Predicate<Item>): List<ClassItem> { in classes()

12