/**@class android.os.BatteryStats.Uid @extends java.lang.Object The statistics associated with a particular uid. */ var Uid = { /***/ PROCESS_STATE_FOREGROUND : "0", /***/ PROCESS_STATE_ACTIVE : "1", /***/ PROCESS_STATE_RUNNING : "2", /***/ NUM_PROCESS_STATE : "3", /***/ NUM_WIFI_BATCHED_SCAN_BINS : "5", /***/ NUM_USER_ACTIVITY_TYPES : "3", /**Returns a mapping containing wakelock statistics. @return {Object {android.util.ArrayMap}} a Map from Strings to Uid.Wakelock objects. */ getWakelockStats : 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 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( ) {}, /**Returns the time in milliseconds that this app kept the WiFi controller in the specified state <code>type</code>. @param {Number} type one of {@link #CONTROLLER_IDLE_TIME}, {@link #CONTROLLER_RX_TIME}, or {@link #CONTROLLER_TX_TIME}. @param {Number} which one of {@link #STATS_CURRENT}, {@link #STATS_SINCE_CHARGED}, or {@link #STATS_SINCE_UNPLUGGED}. */ getWifiControllerActivity : 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( ) {}, /** */ getWifiBatchedScanTime : function( ) {}, /** */ getWifiBatchedScanCount : function( ) {}, /** */ getWifiMulticastTime : function( ) {}, /** */ getAudioTurnedOnTimer : function( ) {}, /** */ getVideoTurnedOnTimer : function( ) {}, /** */ getFlashlightTurnedOnTimer : function( ) {}, /** */ getCameraTurnedOnTimer : function( ) {}, /** */ getForegroundActivityTimer : function( ) {}, /** */ getProcessStateTime : 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( ) {}, /**Get the total cpu power consumed (in milli-ampere-microseconds). */ getCpuPowerMaUs : function( ) {}, /**Returns the approximate cpu time (in milliseconds) spent at a certain CPU speed. @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 BatteryStats#getCpuSpeedSteps() */ getTimeAtCpuSpeed : function( ) {}, };