/**@class android.os.BatteryStats.Uid.Proc @extends java.lang.Object The statistics associated with a particular process. */ var Proc = { /**Returns true if this process is still active in the battery stats. */ isActive : function( ) {}, /**Returns the total time (in milliseconds) spent executing in user code. @param {Number} which one of STATS_SINCE_CHARGED, STATS_SINCE_UNPLUGGED, or STATS_CURRENT. */ getUserTime : function( ) {}, /**Returns the total time (in milliseconds) spent executing in system code. @param {Number} which one of STATS_SINCE_CHARGED, STATS_SINCE_UNPLUGGED, or STATS_CURRENT. */ getSystemTime : function( ) {}, /**Returns the number of times the process has been started. @param {Number} which one of STATS_SINCE_CHARGED, STATS_SINCE_UNPLUGGED, or STATS_CURRENT. */ getStarts : function( ) {}, /**Returns the number of times the process has crashed. @param {Number} which one of STATS_SINCE_CHARGED, STATS_SINCE_UNPLUGGED, or STATS_CURRENT. */ getNumCrashes : function( ) {}, /**Returns the number of times the process has ANRed. @param {Number} which one of STATS_SINCE_CHARGED, STATS_SINCE_UNPLUGGED, or STATS_CURRENT. */ getNumAnrs : function( ) {}, /**Returns the cpu time (milliseconds) spent while the process was in the foreground. @param {Number} which one of STATS_SINCE_CHARGED, STATS_SINCE_UNPLUGGED, or STATS_CURRENT. @return {Number} foreground cpu time in microseconds */ getForegroundTime : function( ) {}, /** */ countExcessivePowers : function( ) {}, /** */ getExcessivePower : function( ) {}, };