Android APIs
package

com.android.internal.os

Interfaces

BatteryStatsImpl.BatteryCallback  
BatteryStatsImpl.ExternalStatsSync  
BatteryStatsImpl.TimeBaseObs  
HandlerCaller.Callback  
KernelUidCpuTimeReader.Callback Callback interface for processing each line of the proc file. 

Classes

AtomicFile Helper class for performing atomic operations on a file, by creating a backup file until a write has successfully completed. 
BackgroundThread Shared singleton background thread for each process. 
BatterySipper Contains power usage of an application, system service, or hardware type. 
BatteryStatsHelper A helper class for retrieving the power usage information for all applications and services. 
BatteryStatsImpl All information we are collecting about things that can happen that impact battery life. 
BatteryStatsImpl.BatchTimer A timer that increments in batches. 
BatteryStatsImpl.Counter State for keeping track of counting information. 
BatteryStatsImpl.LongSamplingCounter  
BatteryStatsImpl.OverflowArrayMap<T>  
BatteryStatsImpl.SamplingTimer  
BatteryStatsImpl.StopwatchTimer State for keeping track of timing information. 
BatteryStatsImpl.Timer State for keeping track of timing information. 
BatteryStatsImpl.Uid The statistics associated with a particular uid. 
BatteryStatsImpl.Uid.Pkg The statistics associated with a particular package. 
BatteryStatsImpl.Uid.Pkg.Serv The statistics associated with a particular service. 
BatteryStatsImpl.Uid.Proc The statistics associated with a particular process. 
BatteryStatsImpl.Uid.Sensor  
BatteryStatsImpl.Uid.Wakelock The statistics associated with a particular wake lock. 
BinderInternal Private and debugging Binder APIs. 
HandlerCaller  
KernelCpuSpeedReader Reads CPU time spent at various frequencies and provides a delta from the last call to readDelta()
KernelUidCpuTimeReader Reads /proc/uid_cputime/show_uid_stat which has the line format: uid: user_time_micro_seconds system_time_micro_seconds power_in_milli-amp-micro_seconds This provides the time a UID's processes spent executing in user-space and kernel-space. 
KernelWakelockReader Reads and parses wakelock stats from the kernel (/proc/wakelocks). 
KernelWakelockStats Kernel wakelock stats object. 
KernelWakelockStats.Entry  
MobileRadioPowerCalculator  
PowerCalculator Calculates power use of a device subsystem for an app. 
PowerProfile Reports power consumption values for various device activities. 
SamplingProfilerIntegration Integrates the framework with Dalvik's sampling profiler. 
SomeArgs Helper class for passing more arguments though a message and avoiding allocation of a custom class for wrapping the arguments. 
TransferPipe Helper for transferring data through a pipe from a client app. 

Enums

BatterySipper.DrainType