/**@class android.os.BatteryStats.Timer @extends java.lang.Object State for keeping track of timing information. */ var Timer = { /**Returns the count associated with this Timer for the selected type of statistics. @param {Number} which one of STATS_SINCE_CHARGED, STATS_SINCE_UNPLUGGED, or STATS_CURRENT */ getCountLocked : function( ) {}, /**Returns the total time in microseconds associated with this Timer for the selected type of statistics. @param {Number} elapsedRealtimeUs current elapsed realtime of system in microseconds @param {Number} which one of STATS_SINCE_CHARGED, STATS_SINCE_UNPLUGGED, or STATS_CURRENT @return {Number} a time in microseconds */ getTotalTimeLocked : function( ) {}, /**Returns the total time in microseconds associated with this Timer since the 'mark' was last set. @param {Number} elapsedRealtimeUs current elapsed realtime of system in microseconds @return {Number} a time in microseconds */ getTimeSinceMarkLocked : function( ) {}, /**Temporary for debugging. */ logState : function( ) {}, };