Class ApplicationEP
- java.lang.Object
-
- com.ibm.wala.dalvik.util.androidEntryPoints.ApplicationEP
-
public final class ApplicationEP extends Object
Hardcoded EntryPoint-specifications for an Android-Application. The specifications are read and handled by AndroidEntryPointLocator. see: http://developer.android.com/reference/android/app/Application.html- See Also:
AndroidEntryPointLocator
-
-
Field Summary
Fields Modifier and Type Field Description static AndroidEntryPointLocator.AndroidPossibleEntryPoint
onConfigurationChanged
Called by the system when the device configuration changes while your component is running.static AndroidEntryPointLocator.AndroidPossibleEntryPoint
onCreate
Called when the application is starting, before any activity, service, or receiver objects (excluding content providers) have been created.static AndroidEntryPointLocator.AndroidPossibleEntryPoint
onLowMemory
This is called when the overall system is running low on memory, and actively running processes should trim their memory usage.static AndroidEntryPointLocator.AndroidPossibleEntryPoint
onTrimMemory
Called when the operating system has determined that it is a good time for a process to trim unneeded memory from its process.
-
Constructor Summary
Constructors Constructor Description ApplicationEP()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
populate(List<? super AndroidEntryPointLocator.AndroidPossibleEntryPoint> possibleEntryPoints)
Add the EntryPoint specifications defined in this file to the given list.
-
-
-
Field Detail
-
onCreate
public static final AndroidEntryPointLocator.AndroidPossibleEntryPoint onCreate
Called when the application is starting, before any activity, service, or receiver objects (excluding content providers) have been created.
-
onConfigurationChanged
public static final AndroidEntryPointLocator.AndroidPossibleEntryPoint onConfigurationChanged
Called by the system when the device configuration changes while your component is running. Note that, unlike activities, other components are never restarted when a configuration changes: they must always deal with the results of the change, such as by re-retrieving resources.
-
onLowMemory
public static final AndroidEntryPointLocator.AndroidPossibleEntryPoint onLowMemory
This is called when the overall system is running low on memory, and actively running processes should trim their memory usage. While the exact point at which this will be called is not defined, generally it will happen when all background process have been killed. That is, before reaching the point of killing processes hosting service and foreground UI that we would like to avoid killing.
-
onTrimMemory
public static final AndroidEntryPointLocator.AndroidPossibleEntryPoint onTrimMemory
Called when the operating system has determined that it is a good time for a process to trim unneeded memory from its process.
-
-
Method Detail
-
populate
public static void populate(List<? super AndroidEntryPointLocator.AndroidPossibleEntryPoint> possibleEntryPoints)
Add the EntryPoint specifications defined in this file to the given list.- Parameters:
possibleEntryPoints
- the list to extend.
-
-