/**@class android.os.BatteryStats.Uid
@extends java.lang.Object

 The statistics associated with a particular uid.
*/
var Uid = {

/** Time this uid has any processes in the top state.
*/
PROCESS_STATE_TOP : "0",
/** Time this uid has any process with a started foreground service, but
 none in the "top" state.
*/
PROCESS_STATE_FOREGROUND_SERVICE : "1",
/** Time this uid has any process in an active foreground state, but none in the
 "foreground service" or better state. Persistent and other foreground states go here.
*/
PROCESS_STATE_FOREGROUND : "2",
/** Time this uid has any process in an active background state, but none in the
 "foreground" or better state.
*/
PROCESS_STATE_BACKGROUND : "3",
/** Time this uid has any process that is top while the device is sleeping, but not
 active for any other reason.  We kind-of consider it a kind of cached process
 for execution restrictions.
*/
PROCESS_STATE_TOP_SLEEPING : "4",
/** Time this uid has any process that is in the background but it has an activity
 marked as "can't save state".  This is essentially a cached process, though the
 system will try much harder than normal to avoid killing it.
*/
PROCESS_STATE_HEAVY_WEIGHT : "5",
/** Time this uid has any processes that are sitting around cached, not in one of the
 other active states.
*/
PROCESS_STATE_CACHED : "6",
/** Total number of process states we track.
*/
NUM_PROCESS_STATE : "7",
/***/
UID_PROCESS_TYPES : "null",
/** When the process exits one of these states, we need to make sure cpu time in this state
 is not attributed to any non-critical process states.
*/
CRITICAL_PROC_STATES : "null",
/***/
NUM_WIFI_BATCHED_SCAN_BINS : "5",
/***/
NUM_USER_ACTIVITY_TYPES : "null",
/**Returns a mapping containing wakelock statistics.
@return {Object {android.util.ArrayMap}} a Map from Strings to Uid.Wakelock objects.
*/
getWakelockStats : function(  ) {},

/**Returns the WiFi Multicast Wakelock statistics.
@return {Object {android.os.BatteryStats.Timer}} a Timer Object for the per uid Multicast statistics.
*/
getMulticastWakelockStats : function(  ) {},

/**Returns a mapping containing sync statistics.
@return {Object {android.util.ArrayMap}} a Map from Strings to Timer objects.
*/
getSyncStats : function(  ) {},

/**Returns a mapping containing scheduled job statistics.
@return {Object {android.util.ArrayMap}} a Map from Strings to Timer objects.
*/
getJobStats : function(  ) {},

/**Returns statistics about how jobs have completed.
@return {Object {android.util.ArrayMap}} A Map of String job names to completion type -> count mapping.
*/
getJobCompletionStats : function(  ) {},

/**The cumulative time the uid spent holding any partial wakelocks. This will generally
 differ from summing over the Wakelocks in getWakelockStats since the latter may have
 wakelocks that overlap in time (and therefore over-counts).
*/
getAggregatedPartialWakelockTimer : function(  ) {},

/**Returns a mapping containing sensor statistics.
@return {Object {android.util.SparseArray}} a Map from Integer sensor ids to Uid.Sensor objects.
*/
getSensorStats : function(  ) {},

/**Returns a mapping containing active process data.
*/
getPidStats : function(  ) {},

/**Returns a mapping containing process statistics.
@return {Object {android.util.ArrayMap}} a Map from Strings to Uid.Proc objects.
*/
getProcessStats : function(  ) {},

/**Returns a mapping containing package statistics.
@return {Object {android.util.ArrayMap}} a Map from Strings to Uid.Pkg objects.
*/
getPackageStats : function(  ) {},

/**
*/
getWifiControllerActivity : function(  ) {},

/**
*/
getBluetoothControllerActivity : function(  ) {},

/**
*/
getModemControllerActivity : function(  ) {},

/**{@hide}
*/
getUid : function(  ) {},

/**
*/
noteWifiRunningLocked : function(  ) {},

/**
*/
noteWifiStoppedLocked : function(  ) {},

/**
*/
noteFullWifiLockAcquiredLocked : function(  ) {},

/**
*/
noteFullWifiLockReleasedLocked : function(  ) {},

/**
*/
noteWifiScanStartedLocked : function(  ) {},

/**
*/
noteWifiScanStoppedLocked : function(  ) {},

/**
*/
noteWifiBatchedScanStartedLocked : function(  ) {},

/**
*/
noteWifiBatchedScanStoppedLocked : function(  ) {},

/**
*/
noteWifiMulticastEnabledLocked : function(  ) {},

/**
*/
noteWifiMulticastDisabledLocked : function(  ) {},

/**
*/
noteActivityResumedLocked : function(  ) {},

/**
*/
noteActivityPausedLocked : function(  ) {},

/**
*/
getWifiRunningTime : function(  ) {},

/**
*/
getFullWifiLockTime : function(  ) {},

/**
*/
getWifiScanTime : function(  ) {},

/**
*/
getWifiScanCount : function(  ) {},

/**Returns the timer keeping track of wifi scans.
*/
getWifiScanTimer : function(  ) {},

/**
*/
getWifiScanBackgroundCount : function(  ) {},

/**
*/
getWifiScanActualTime : function(  ) {},

/**
*/
getWifiScanBackgroundTime : function(  ) {},

/**Returns the timer keeping track of background wifi scans.
*/
getWifiScanBackgroundTimer : function(  ) {},

/**
*/
getWifiBatchedScanTime : function(  ) {},

/**
*/
getWifiBatchedScanCount : function(  ) {},

/**
*/
getWifiMulticastTime : function(  ) {},

/**
*/
getAudioTurnedOnTimer : function(  ) {},

/**
*/
getVideoTurnedOnTimer : function(  ) {},

/**
*/
getFlashlightTurnedOnTimer : function(  ) {},

/**
*/
getCameraTurnedOnTimer : function(  ) {},

/**
*/
getForegroundActivityTimer : function(  ) {},

/**Returns the timer keeping track of Foreground Service time
*/
getForegroundServiceTimer : function(  ) {},

/**
*/
getBluetoothScanTimer : function(  ) {},

/**
*/
getBluetoothScanBackgroundTimer : function(  ) {},

/**
*/
getBluetoothUnoptimizedScanTimer : function(  ) {},

/**
*/
getBluetoothUnoptimizedScanBackgroundTimer : function(  ) {},

/**
*/
getBluetoothScanResultCounter : function(  ) {},

/**
*/
getBluetoothScanResultBgCounter : function(  ) {},

/**
*/
getCpuFreqTimes : function(  ) {},

/**
*/
getScreenOffCpuFreqTimes : function(  ) {},

/**Returns cpu active time of an uid.
*/
getCpuActiveTime : function(  ) {},

/**Returns cpu times of an uid on each cluster
*/
getCpuClusterTimes : function(  ) {},

/**Returns cpu times of an uid at a particular process state.
*/
getCpuFreqTimes : function(  ) {},

/**Returns cpu times of an uid while the screen if off at a particular process state.
*/
getScreenOffCpuFreqTimes : function(  ) {},

/**
*/
getProcessStateTime : function(  ) {},

/**
*/
getProcessStateTimer : function(  ) {},

/**
*/
getVibratorOnTimer : function(  ) {},

/**
*/
noteUserActivityLocked : function(  ) {},

/**
*/
hasUserActivity : function(  ) {},

/**
*/
getUserActivityCount : function(  ) {},

/**
*/
hasNetworkActivity : function(  ) {},

/**
*/
getNetworkActivityBytes : function(  ) {},

/**
*/
getNetworkActivityPackets : function(  ) {},

/**
*/
getMobileRadioActiveTime : function(  ) {},

/**
*/
getMobileRadioActiveCount : function(  ) {},

/**Get the total cpu time (in microseconds) this UID had processes executing in userspace.
*/
getUserCpuTimeUs : function(  ) {},

/**Get the total cpu time (in microseconds) this UID had processes executing kernel syscalls.
*/
getSystemCpuTimeUs : function(  ) {},

/**Returns the approximate cpu time (in microseconds) spent at a certain CPU speed for a
 given CPU cluster.
@param {Number} cluster the index of the CPU cluster.
@param {Number} step the index of the CPU speed. This is not the actual speed of the CPU.
@param {Number} which one of STATS_SINCE_CHARGED, STATS_SINCE_UNPLUGGED, or STATS_CURRENT.
@see com.android.internal.os.PowerProfile#getNumCpuClusters()
@see com.android.internal.os.PowerProfile#getNumSpeedStepsInCpuCluster(int)
*/
getTimeAtCpuSpeed : function(  ) {},

/**Returns the number of times this UID woke up the Application Processor to
 process a mobile radio packet.
@param {Number} which one of STATS_SINCE_CHARGED, STATS_SINCE_UNPLUGGED, or STATS_CURRENT.
*/
getMobileRadioApWakeupCount : function(  ) {},

/**Returns the number of times this UID woke up the Application Processor to
 process a WiFi packet.
@param {Number} which one of STATS_SINCE_CHARGED, STATS_SINCE_UNPLUGGED, or STATS_CURRENT.
*/
getWifiRadioApWakeupCount : function(  ) {},

/**Appends the deferred jobs data to the StringBuilder passed in, in checkin format
@param {Object {StringBuilder}} sb StringBuilder that can be overwritten with the deferred jobs data
@param {Number} which one of STATS_*
*/
getDeferredJobsCheckinLineLocked : function(  ) {},

/**Appends the deferred jobs data to the StringBuilder passed in
@param {Object {StringBuilder}} sb StringBuilder that can be overwritten with the deferred jobs data
@param {Number} which one of STATS_*
*/
getDeferredJobsLineLocked : function(  ) {},


};