Companion

object Companion

Functions

Link copied to clipboard
fun buildKnownReferences(referenceMatchers: Set<AndroidReferenceMatchers>): List<ReferenceMatcher>

Builds a list of ReferenceMatcher from the referenceMatchers set of AndroidReferenceMatchers.

Link copied to clipboard
fun ignoredInstanceField(className: String, fieldName: String): IgnoredReferenceMatcher

Creates a IgnoredReferenceMatcher that matches a InstanceFieldPattern.

Link copied to clipboard
fun ignoredJavaLocal(threadName: String): IgnoredReferenceMatcher

Creates a IgnoredReferenceMatcher that matches a JavaLocalPattern.

Link copied to clipboard
fun instanceFieldLeak(    className: String,     fieldName: String,     description: String = "",     patternApplies: AndroidBuildMirror.() -> Boolean = ALWAYS): LibraryLeakReferenceMatcher

Creates a LibraryLeakReferenceMatcher that matches a InstanceFieldPattern. description should convey what we know about this library leak.

Link copied to clipboard
fun nativeGlobalVariableLeak(    className: String,     description: String = "",     patternApplies: AndroidBuildMirror.() -> Boolean = ALWAYS): LibraryLeakReferenceMatcher
Link copied to clipboard
fun staticFieldLeak(    className: String,     fieldName: String,     description: String = "",     patternApplies: AndroidBuildMirror.() -> Boolean = ALWAYS): LibraryLeakReferenceMatcher

Creates a LibraryLeakReferenceMatcher that matches a StaticFieldPattern. description should convey what we know about this library leak.

Properties

Link copied to clipboard
val appDefaults: List<ReferenceMatcher>
Link copied to clipboard
const val HMD_GLOBAL: String
Link copied to clipboard
const val HUAWEI: String
Link copied to clipboard
val ignoredReferencesOnly: List<ReferenceMatcher>

Returns a list of ReferenceMatcher that only contains IgnoredReferenceMatcher and no LibraryLeakReferenceMatcher.

Link copied to clipboard
const val INFINIX: String
Link copied to clipboard
const val LENOVO: String
Link copied to clipboard
const val LG: String
Link copied to clipboard
const val MEIZU: String
Link copied to clipboard
const val MOTOROLA: String
Link copied to clipboard
const val NVIDIA: String
Link copied to clipboard
const val ONE_PLUS: String
Link copied to clipboard
const val RAZER: String
Link copied to clipboard
const val REALME: String
Link copied to clipboard
const val SAMSUNG: String
Link copied to clipboard
const val SHARP: String
Link copied to clipboard
const val TES: String
Link copied to clipboard
const val VIVO: String
Link copied to clipboard
const val XIAOMI: String