FileDocCategorySizeDatePackage
UsageStatsManagerInternal.javaAPI DocAndroid 5.1 API1636Thu Mar 12 22:22:10 GMT 2015android.app.usage

UsageStatsManagerInternal

public abstract class UsageStatsManagerInternal extends Object
UsageStatsManager local system service interface. {@hide} Only for use within the system server.

Fields Summary
Constructors Summary
Methods Summary
public abstract voidprepareShutdown()
Prepares the UsageStatsService for shutdown.

public abstract voidreportConfigurationChange(android.content.res.Configuration config, int userId)
Reports a configuration change to the UsageStatsManager.

param
config The new device configuration.

public abstract voidreportEvent(android.content.ComponentName component, int userId, int eventType)
Reports an event to the UsageStatsManager.

param
component The component for which this event occurred.
param
userId The user id to which the component belongs to.
param
eventType The event that occurred. Valid values can be found at {@link UsageEvents}