xref: /aosp_15_r20/external/leakcanary2/leakcanary-android-core/api/leakcanary-android-core.api (revision d9e8da70d8c9df9a41d7848ae506fb3115cae6e6)
1public final class com/squareup/leakcanary/core/BuildConfig {
2	public static final field BUILD_TYPE Ljava/lang/String;
3	public static final field DEBUG Z
4	public static final field GIT_SHA Ljava/lang/String;
5	public static final field LIBRARY_PACKAGE_NAME Ljava/lang/String;
6	public static final field LIBRARY_VERSION Ljava/lang/String;
7	public fun <init> ()V
8}
9
10public final class leakcanary/AndroidDebugHeapDumper : leakcanary/HeapDumper {
11	public static final field INSTANCE Lleakcanary/AndroidDebugHeapDumper;
12	public fun dumpHeap (Ljava/io/File;)V
13}
14
15public final class leakcanary/BackgroundThreadHeapAnalyzer : leakcanary/EventListener {
16	public static final field INSTANCE Lleakcanary/BackgroundThreadHeapAnalyzer;
17	public fun onEvent (Lleakcanary/EventListener$Event;)V
18}
19
20public final class leakcanary/DefaultOnHeapAnalyzedListener : leakcanary/OnHeapAnalyzedListener {
21	public static final field Companion Lleakcanary/DefaultOnHeapAnalyzedListener$Companion;
22	public fun <init> (Landroid/app/Application;)V
23	public fun onHeapAnalyzed (Lshark/HeapAnalysis;)V
24}
25
26public final class leakcanary/DefaultOnHeapAnalyzedListener$Companion {
27	public final fun create ()Lleakcanary/OnHeapAnalyzedListener;
28}
29
30public abstract interface class leakcanary/EventListener {
31	public abstract fun onEvent (Lleakcanary/EventListener$Event;)V
32}
33
34public abstract class leakcanary/EventListener$Event : java/io/Serializable {
35	public synthetic fun <init> (Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
36	public final fun getUniqueId ()Ljava/lang/String;
37}
38
39public final class leakcanary/EventListener$Event$DumpingHeap : leakcanary/EventListener$Event {
40	public fun <init> (Ljava/lang/String;)V
41}
42
43public abstract class leakcanary/EventListener$Event$HeapAnalysisDone : leakcanary/EventListener$Event {
44	public synthetic fun <init> (Ljava/lang/String;Lshark/HeapAnalysis;Landroid/content/Intent;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
45	public final fun getHeapAnalysis ()Lshark/HeapAnalysis;
46	public final fun getShowIntent ()Landroid/content/Intent;
47}
48
49public final class leakcanary/EventListener$Event$HeapAnalysisDone$HeapAnalysisFailed : leakcanary/EventListener$Event$HeapAnalysisDone {
50	public fun <init> (Ljava/lang/String;Lshark/HeapAnalysisFailure;Landroid/content/Intent;)V
51}
52
53public final class leakcanary/EventListener$Event$HeapAnalysisDone$HeapAnalysisSucceeded : leakcanary/EventListener$Event$HeapAnalysisDone {
54	public fun <init> (Ljava/lang/String;Lshark/HeapAnalysisSuccess;Ljava/util/Set;Landroid/content/Intent;)V
55	public final fun getUnreadLeakSignatures ()Ljava/util/Set;
56}
57
58public final class leakcanary/EventListener$Event$HeapAnalysisProgress : leakcanary/EventListener$Event {
59	public fun <init> (Ljava/lang/String;Lshark/OnAnalysisProgressListener$Step;D)V
60	public final fun getProgressPercent ()D
61	public final fun getStep ()Lshark/OnAnalysisProgressListener$Step;
62}
63
64public final class leakcanary/EventListener$Event$HeapDump : leakcanary/EventListener$Event {
65	public fun <init> (Ljava/lang/String;Ljava/io/File;JLjava/lang/String;)V
66	public final fun getDurationMillis ()J
67	public final fun getFile ()Ljava/io/File;
68	public final fun getReason ()Ljava/lang/String;
69}
70
71public final class leakcanary/EventListener$Event$HeapDumpFailed : leakcanary/EventListener$Event {
72	public fun <init> (Ljava/lang/String;Ljava/lang/Throwable;Z)V
73	public final fun getException ()Ljava/lang/Throwable;
74	public final fun getWillRetryLater ()Z
75}
76
77public abstract interface class leakcanary/HeapDumper {
78	public abstract fun dumpHeap (Ljava/io/File;)V
79}
80
81public final class leakcanary/LazyForwardingEventListener : leakcanary/EventListener {
82	public fun <init> (Lkotlin/jvm/functions/Function0;)V
83	public fun onEvent (Lleakcanary/EventListener$Event;)V
84}
85
86public final class leakcanary/LeakCanary {
87	public static final field INSTANCE Lleakcanary/LeakCanary;
88	public final fun dumpHeap ()V
89	public static final fun getConfig ()Lleakcanary/LeakCanary$Config;
90	public final fun newLeakDisplayActivityIntent ()Landroid/content/Intent;
91	public static final fun setConfig (Lleakcanary/LeakCanary$Config;)V
92	public final fun showLeakDisplayActivityLauncherIcon (Z)V
93}
94
95public final class leakcanary/LeakCanary$Config {
96	public fun <init> ()V
97	public fun <init> (ZZILjava/util/List;Ljava/util/List;Lleakcanary/OnHeapAnalyzedListener;Lshark/MetadataExtractor;ZIZLshark/LeakingObjectFinder;Lleakcanary/HeapDumper;Ljava/util/List;ZZ)V
98	public synthetic fun <init> (ZZILjava/util/List;Ljava/util/List;Lleakcanary/OnHeapAnalyzedListener;Lshark/MetadataExtractor;ZIZLshark/LeakingObjectFinder;Lleakcanary/HeapDumper;Ljava/util/List;ZZILkotlin/jvm/internal/DefaultConstructorMarker;)V
99	public final fun component1 ()Z
100	public final fun component10 ()Z
101	public final fun component11 ()Lshark/LeakingObjectFinder;
102	public final fun component12 ()Lleakcanary/HeapDumper;
103	public final fun component13 ()Ljava/util/List;
104	public final fun component14 ()Z
105	public final fun component15 ()Z
106	public final fun component2 ()Z
107	public final fun component3 ()I
108	public final fun component4 ()Ljava/util/List;
109	public final fun component5 ()Ljava/util/List;
110	public final fun component6 ()Lleakcanary/OnHeapAnalyzedListener;
111	public final fun component7 ()Lshark/MetadataExtractor;
112	public final fun component8 ()Z
113	public final fun component9 ()I
114	public final fun copy (ZZILjava/util/List;Ljava/util/List;Lleakcanary/OnHeapAnalyzedListener;Lshark/MetadataExtractor;ZIZLshark/LeakingObjectFinder;Lleakcanary/HeapDumper;Ljava/util/List;ZZ)Lleakcanary/LeakCanary$Config;
115	public static synthetic fun copy$default (Lleakcanary/LeakCanary$Config;ZZILjava/util/List;Ljava/util/List;Lleakcanary/OnHeapAnalyzedListener;Lshark/MetadataExtractor;ZIZLshark/LeakingObjectFinder;Lleakcanary/HeapDumper;Ljava/util/List;ZZILjava/lang/Object;)Lleakcanary/LeakCanary$Config;
116	public fun equals (Ljava/lang/Object;)Z
117	public final fun getComputeRetainedHeapSize ()Z
118	public final fun getDumpHeap ()Z
119	public final fun getDumpHeapWhenDebugging ()Z
120	public final fun getEventListeners ()Ljava/util/List;
121	public final fun getHeapDumper ()Lleakcanary/HeapDumper;
122	public final fun getLeakingObjectFinder ()Lshark/LeakingObjectFinder;
123	public final fun getMaxStoredHeapDumps ()I
124	public final fun getMetadataExtractor ()Lshark/MetadataExtractor;
125	public final fun getObjectInspectors ()Ljava/util/List;
126	public final fun getOnHeapAnalyzedListener ()Lleakcanary/OnHeapAnalyzedListener;
127	public final fun getReferenceMatchers ()Ljava/util/List;
128	public final fun getRequestWriteExternalStoragePermission ()Z
129	public final fun getRetainedVisibleThreshold ()I
130	public final fun getShowNotifications ()Z
131	public final fun getUseExperimentalLeakFinders ()Z
132	public fun hashCode ()I
133	public final fun newBuilder ()Lleakcanary/LeakCanary$Config$Builder;
134	public fun toString ()Ljava/lang/String;
135}
136
137public final class leakcanary/LeakCanary$Config$Builder {
138	public final fun build ()Lleakcanary/LeakCanary$Config;
139	public final fun computeRetainedHeapSize (Z)Lleakcanary/LeakCanary$Config$Builder;
140	public final fun dumpHeap (Z)Lleakcanary/LeakCanary$Config$Builder;
141	public final fun dumpHeapWhenDebugging (Z)Lleakcanary/LeakCanary$Config$Builder;
142	public final fun eventListeners (Ljava/util/List;)Lleakcanary/LeakCanary$Config$Builder;
143	public final fun heapDumper (Lleakcanary/HeapDumper;)Lleakcanary/LeakCanary$Config$Builder;
144	public final fun leakingObjectFinder (Lshark/LeakingObjectFinder;)Lleakcanary/LeakCanary$Config$Builder;
145	public final fun maxStoredHeapDumps (I)Lleakcanary/LeakCanary$Config$Builder;
146	public final fun metadataExtractor (Lshark/MetadataExtractor;)Lleakcanary/LeakCanary$Config$Builder;
147	public final fun objectInspectors (Ljava/util/List;)Lleakcanary/LeakCanary$Config$Builder;
148	public final fun onHeapAnalyzedListener (Lleakcanary/OnHeapAnalyzedListener;)Lleakcanary/LeakCanary$Config$Builder;
149	public final fun referenceMatchers (Ljava/util/List;)Lleakcanary/LeakCanary$Config$Builder;
150	public final fun requestWriteExternalStoragePermission (Z)Lleakcanary/LeakCanary$Config$Builder;
151	public final fun retainedVisibleThreshold (I)Lleakcanary/LeakCanary$Config$Builder;
152	public final fun showNotifications (Z)Lleakcanary/LeakCanary$Config$Builder;
153	public final fun useExperimentalLeakFinders (Z)Lleakcanary/LeakCanary$Config$Builder;
154}
155
156public final class leakcanary/LogcatEventListener : leakcanary/EventListener {
157	public static final field INSTANCE Lleakcanary/LogcatEventListener;
158	public fun onEvent (Lleakcanary/EventListener$Event;)V
159}
160
161public final class leakcanary/NotificationEventListener : leakcanary/EventListener {
162	public static final field INSTANCE Lleakcanary/NotificationEventListener;
163	public fun onEvent (Lleakcanary/EventListener$Event;)V
164}
165
166public abstract interface class leakcanary/OnHeapAnalyzedListener {
167	public static final field Companion Lleakcanary/OnHeapAnalyzedListener$Companion;
168	public abstract fun onHeapAnalyzed (Lshark/HeapAnalysis;)V
169}
170
171public final class leakcanary/OnHeapAnalyzedListener$Companion {
172	public final fun invoke (Lkotlin/jvm/functions/Function1;)Lleakcanary/OnHeapAnalyzedListener;
173}
174
175public final class leakcanary/RemoteWorkManagerHeapAnalyzer : leakcanary/EventListener {
176	public static final field INSTANCE Lleakcanary/RemoteWorkManagerHeapAnalyzer;
177	public fun onEvent (Lleakcanary/EventListener$Event;)V
178}
179
180public final class leakcanary/ToastEventListener : leakcanary/EventListener {
181	public static final field INSTANCE Lleakcanary/ToastEventListener;
182	public fun onEvent (Lleakcanary/EventListener$Event;)V
183}
184
185public final class leakcanary/TvEventListener : leakcanary/EventListener {
186	public static final field INSTANCE Lleakcanary/TvEventListener;
187	public fun onEvent (Lleakcanary/EventListener$Event;)V
188}
189
190public final class leakcanary/WorkManagerHeapAnalyzer : leakcanary/EventListener {
191	public static final field INSTANCE Lleakcanary/WorkManagerHeapAnalyzer;
192	public fun onEvent (Lleakcanary/EventListener$Event;)V
193}
194
195