A C D E H I L M O R S V W 

A

AbstractAnalysisResultService - Class in com.squareup.leakcanary
 
AbstractAnalysisResultService() - Constructor for class com.squareup.leakcanary.AbstractAnalysisResultService
 
ActivityRefWatcher - Class in com.squareup.leakcanary
 
ActivityRefWatcher(Application, RefWatcher) - Constructor for class com.squareup.leakcanary.ActivityRefWatcher
Constructs an ActivityRefWatcher that will make sure the activities are not leaking after they have been destroyed.
afterDefaultHandling(HeapDump, AnalysisResult, String) - Method in class com.squareup.leakcanary.DisplayLeakService
You can override this method and do a blocking call to a server to upload the leak trace and the heap dump.
analyze(HeapDump) - Method in class com.squareup.leakcanary.ServiceHeapDumpListener
 
AndroidDebuggerControl - Class in com.squareup.leakcanary
 
AndroidDebuggerControl() - Constructor for class com.squareup.leakcanary.AndroidDebuggerControl
 
AndroidExcludedRefs - Class in com.squareup.leakcanary
This class is a work in progress.
AndroidHeapDumper - Class in com.squareup.leakcanary
 
AndroidHeapDumper(Context) - Constructor for class com.squareup.leakcanary.AndroidHeapDumper
 
androidWatcher(Application, HeapDump.Listener) - Static method in class com.squareup.leakcanary.LeakCanary
Creates a RefWatcher with a default configuration suitable for Android.
AndroidWatchExecutor - Class in com.squareup.leakcanary
Executor suitable for watching Android reference leaks.
AndroidWatchExecutor() - Constructor for class com.squareup.leakcanary.AndroidWatchExecutor
 

C

cleanup() - Method in class com.squareup.leakcanary.AndroidHeapDumper
Call this on app startup to clean up all heap dump files that had not been handled yet when the app process was killed.
com.squareup.leakcanary - package com.squareup.leakcanary
 
com.squareup.leakcanary.internal - package com.squareup.leakcanary.internal
 
createAndroidDefaults() - Static method in class com.squareup.leakcanary.AndroidExcludedRefs
This returns the references in the leak path that should be ignored by all on Android.
createAppDefaults() - Static method in class com.squareup.leakcanary.AndroidExcludedRefs
This returns the references in the leak path that can be ignored for app developers.
createPendingIntent(Context, String) - Static method in class com.squareup.leakcanary.internal.DisplayLeakActivity
 

D

DisplayLeakActivity - Class in com.squareup.leakcanary.internal
 
DisplayLeakActivity() - Constructor for class com.squareup.leakcanary.internal.DisplayLeakActivity
 
DisplayLeakConnectorView - Class in com.squareup.leakcanary.internal
 
DisplayLeakConnectorView(Context, AttributeSet) - Constructor for class com.squareup.leakcanary.internal.DisplayLeakConnectorView
 
DisplayLeakConnectorView.Type - Enum in com.squareup.leakcanary.internal
 
DisplayLeakService - Class in com.squareup.leakcanary
Logs leak analysis results, and then shows a notification which will start DisplayLeakActivity.
DisplayLeakService() - Constructor for class com.squareup.leakcanary.DisplayLeakService
 
dumpHeap() - Method in class com.squareup.leakcanary.AndroidHeapDumper
 

E

enableDisplayLeakActivity(Context) - Static method in class com.squareup.leakcanary.LeakCanary
 
execute(Runnable) - Method in class com.squareup.leakcanary.AndroidWatchExecutor
 

H

HeapAnalyzerService - Class in com.squareup.leakcanary.internal
This service runs in a separate process to avoid slowing down the app process or making it run out of memory.
HeapAnalyzerService() - Constructor for class com.squareup.leakcanary.internal.HeapAnalyzerService
 

I

install(Application) - Static method in class com.squareup.leakcanary.LeakCanary
Creates a RefWatcher that works out of the box, and starts watching activity references (on ICS+).
install(Application, Class<? extends AbstractAnalysisResultService>) - Static method in class com.squareup.leakcanary.LeakCanary
Creates a RefWatcher that reports results to the provided service, and starts watching activity references (on ICS+).
installOnIcsPlus(Application, RefWatcher) - Static method in class com.squareup.leakcanary.ActivityRefWatcher
 
isDebuggerAttached() - Method in class com.squareup.leakcanary.AndroidDebuggerControl
 
isInAnalyzerProcess(Context) - Static method in class com.squareup.leakcanary.LeakCanary
Whether the current process is the process running the HeapAnalyzerService, which is a different process than the normal app process.

L

LeakCanary - Class in com.squareup.leakcanary
 
leakDirectory(Context) - Static method in class com.squareup.leakcanary.internal.DisplayLeakActivity
 
leakInfo(Context, HeapDump, AnalysisResult) - Static method in class com.squareup.leakcanary.LeakCanary
Returns a string representation of the result of a heap analysis.
leakResultFile(File) - Static method in class com.squareup.leakcanary.internal.DisplayLeakActivity
 

M

MoreDetailsView - Class in com.squareup.leakcanary.internal
 
MoreDetailsView(Context, AttributeSet) - Constructor for class com.squareup.leakcanary.internal.MoreDetailsView
 

O

onBackPressed() - Method in class com.squareup.leakcanary.internal.DisplayLeakActivity
 
onCreate(Bundle) - Method in class com.squareup.leakcanary.internal.DisplayLeakActivity
 
onCreateOptionsMenu(Menu) - Method in class com.squareup.leakcanary.internal.DisplayLeakActivity
 
onDestroy() - Method in class com.squareup.leakcanary.internal.DisplayLeakActivity
 
onDraw(Canvas) - Method in class com.squareup.leakcanary.internal.DisplayLeakConnectorView
 
onDraw(Canvas) - Method in class com.squareup.leakcanary.internal.MoreDetailsView
 
onHandleIntent(Intent) - Method in class com.squareup.leakcanary.AbstractAnalysisResultService
 
onHandleIntent(Intent) - Method in class com.squareup.leakcanary.internal.HeapAnalyzerService
 
onHeapAnalyzed(HeapDump, AnalysisResult) - Method in class com.squareup.leakcanary.AbstractAnalysisResultService
Called after a heap dump is analyzed, whether or not a leak was found.
onHeapAnalyzed(HeapDump, AnalysisResult) - Method in class com.squareup.leakcanary.DisplayLeakService
 
onOptionsItemSelected(MenuItem) - Method in class com.squareup.leakcanary.internal.DisplayLeakActivity
 
onResume() - Method in class com.squareup.leakcanary.internal.DisplayLeakActivity
 
onRetainNonConfigurationInstance() - Method in class com.squareup.leakcanary.internal.DisplayLeakActivity
 
onSaveInstanceState(Bundle) - Method in class com.squareup.leakcanary.internal.DisplayLeakActivity
 

R

runAnalysis(Context, HeapDump, Class<? extends AbstractAnalysisResultService>) - Static method in class com.squareup.leakcanary.internal.HeapAnalyzerService
 

S

sendResultToListener(Context, String, HeapDump, AnalysisResult) - Static method in class com.squareup.leakcanary.AbstractAnalysisResultService
 
ServiceHeapDumpListener - Class in com.squareup.leakcanary
 
ServiceHeapDumpListener(Context, Class<? extends AbstractAnalysisResultService>) - Constructor for class com.squareup.leakcanary.ServiceHeapDumpListener
 
setOpened(boolean) - Method in class com.squareup.leakcanary.internal.MoreDetailsView
 
setType(DisplayLeakConnectorView.Type) - Method in class com.squareup.leakcanary.internal.DisplayLeakConnectorView
 
stopWatchingActivities() - Method in class com.squareup.leakcanary.ActivityRefWatcher
 

V

valueOf(String) - Static method in enum com.squareup.leakcanary.internal.DisplayLeakConnectorView.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.squareup.leakcanary.internal.DisplayLeakConnectorView.Type
Returns an array containing the constants of this enum type, in the order they are declared.

W

watchActivities() - Method in class com.squareup.leakcanary.ActivityRefWatcher
 
A C D E H I L M O R S V W