Lines Matching refs:is

11  * distributed under the License is distributed on an "AS IS" BASIS,
102 // No, really, THIS is the maximum number of items we will record in the history.
106 // per uid; once the limit is reached, we batch the remaining wakelocks
162 // A set of pools of currently active timers. When a timer is queried, we will divide the
184 // is unplugged from power.
188 // is unplugged from power *and* the screen is off.
327 * These provide time bases that discount the time the device is plugged
427 * Used as a buffer for reading in data from /proc/wakelocks before it is processed and added
937 * Clear state of this timer. Returns true if the timer is inactive
1228 * The last time at which we updated the timer. This is in elapsed realtime microseconds.
1233 * The last duration that we added to the timer. This is in microseconds.
1363 * The last time at which we updated the timer. If mNesting is > 0,
1601 // There is no currently active overflow, so we should no longer have
1610 // There is currently active overflow, so we should still have an overflow entry.
1716 FileInputStream is;
1723 is = new FileInputStream("/proc/wakelocks");
1726 is = new FileInputStream("/d/wakeup_sources");
1733 len = is.read(buffer);
1734 is.close();
1774 endIndex++; // endIndex is an exclusive upper bound.
1783 // Stomp out any bad characters since this is from a circular buffer
1784 // A corruption is seen sometimes that results in the vm crashing
1915 static final int DELTA_TIME_LONG = 0x7ffff; // The delta is a following long
1916 static final int DELTA_TIME_INT = 0x7fffe; // The delta is a following int
1917 static final int DELTA_TIME_ABS = 0x7fffd; // Following is an entire abs update.
2218 // We can merge this new change in with the last one. Merging is
2279 // The history is currently empty; we need it to start with a time stamp.
2304 + " size is now " + mHistoryBuffer.dataSize());
2341 // If the current time is basically the same as the last time,
2349 // If the current is the same as the one before, then we no
2513 // Has the time changed sufficiently that it is really worth recording?
2777 // appeared. This is okay because tracking of wake locks allows nesting.
2804 timer.addCurrentReportedTotalTime(deltaUptime * 1000); // time is in microseconds
3054 // as the screen is on.
3156 + " is before start time " + lastUpdateTimeMs);
3273 // If the phone is powered off, stop all timers.
3277 // If we are in service, make sure the correct signal string timer is running.
4730 * Clear all stats for this uid. Returns true if the uid is completely
4812 for (int is=syncStats.size()-1; is>=0; is--) {
4813 StopwatchTimer timer = syncStats.valueAt(is);
4815 syncStats.removeAt(is);
4939 for (int is=0; is<NS; is++) {
4940 out.writeString(syncStats.keyAt(is));
4941 StopwatchTimer timer = syncStats.valueAt(is);
5231 * Reads a possibly null Timer from a Parcel. The timer is associated with the
5904 * If service has been started and not yet stopped, this is
5925 * If service has been launched and not yet exited, this is
6180 // is not as important as what we are now setting.
6185 // is the same importance as the old setting.
6581 // Each entry is a fixed 12 bytes: 4 for index, 4 for uid, 4 for string size
6582 // Each string character is 2 bytes.
6828 // battery was last full, or the level is at 100, or
7002 // We start out assuming that the device is plugged in (not
7003 // on battery). If our first report is now that we are indeed
7204 // Whoops, there is some radio time we can't blame on an app!
8085 for (int is = 0; is < NS; is++) {
8105 for (int is = 0; is < NP; is++) {
8158 for (int is = 0; is < NS; is++) {
8397 for (int is=0; is<NS; is++) {
8398 out.writeString(syncStats.keyAt(is));
8399 syncStats.valueAt(is).writeSummaryFromParcelLocked(out, NOWREAL_SYS);