Home | History | Annotate | Download | only in os

Lines Matching refs:mHistoryCur

304     final HistoryItem mHistoryCur = new HistoryItem();
2973 mHistoryCur.states |= HistoryItem.STATE_CPU_RUNNING_FLAG;
2976 addHistoryRecordInnerLocked(elapsedRealtimeMs, uptimeMs, mHistoryCur);
3043 mHistoryCur.eventCode = code;
3044 mHistoryCur.eventTag = mHistoryCur.localEventTag;
3045 mHistoryCur.eventTag.string = name;
3046 mHistoryCur.eventTag.uid = uid;
3378 mHistoryCur.states |= HistoryItem.STATE_WAKE_LOCK_FLAG;
3380 + Integer.toHexString(mHistoryCur.states));
3381 mHistoryCur.wakelockTag = mHistoryCur.localWakelockTag;
3382 mHistoryCur.wakelockTag.string = mInitialAcquireWakeName = historyName;
3383 mHistoryCur.wakelockTag.uid = mInitialAcquireWakeUid = uid;
3391 mHistoryCur.wakelockTag = mHistoryCur.localWakelockTag;
3392 mHistoryCur.wakelockTag.string = mInitialAcquireWakeName = historyName;
3393 mHistoryCur.wakelockTag.uid = mInitialAcquireWakeUid = uid;
3429 mHistoryCur.states &= ~HistoryItem.STATE_WAKE_LOCK_FLAG;
3431 + Integer.toHexString(mHistoryCur.states));
3531 + Integer.toHexString(mHistoryCur.states));
3533 mHistoryCur.wakeReasonTag = mHistoryCur.localWakeReasonTag;
3534 mHistoryCur.wakeReasonTag.string = reason;
3535 mHistoryCur.wakeReasonTag.uid = 0;
3606 mHistoryCur.states |= HistoryItem.STATE_SENSOR_ON_FLAG;
3608 + Integer.toHexString(mHistoryCur.states));
3621 mHistoryCur.states &= ~HistoryItem.STATE_SENSOR_ON_FLAG;
3623 + Integer.toHexString(mHistoryCur.states));
3636 mHistoryCur.states |= HistoryItem.STATE_GPS_ON_FLAG;
3638 + Integer.toHexString(mHistoryCur.states));
3651 mHistoryCur.states &= ~HistoryItem.STATE_GPS_ON_FLAG;
3653 + Integer.toHexString(mHistoryCur.states));
3681 mHistoryCur.states |= HistoryItem.STATE_SCREEN_ON_FLAG;
3683 + Integer.toHexString(mHistoryCur.states));
3706 mHistoryCur
3708 + Integer.toHexString(mHistoryCur.states));
3737 mHistoryCur.states = (mHistoryCur.states&~HistoryItem.STATE_BRIGHTNESS_MASK)
3740 + Integer.toHexString(mHistoryCur.states));
3809 mHistoryCur.states |= HistoryItem.STATE_MOBILE_RADIO_ACTIVE_FLAG;
3821 mHistoryCur.states &= ~HistoryItem.STATE_MOBILE_RADIO_ACTIVE_FLAG;
3824 + Integer.toHexString(mHistoryCur.states));
3847 mHistoryCur.states2 |= HistoryItem.STATE2_POWER_SAVE_FLAG;
3849 + Integer.toHexString(mHistoryCur.states2));
3852 mHistoryCur.states2 &= ~HistoryItem.STATE2_POWER_SAVE_FLAG;
3854 + Integer.toHexString(mHistoryCur.states2));
3900 mHistoryCur.states2 = (mHistoryCur.states2 & ~HistoryItem.STATE2_DEVICE_IDLE_MASK)
3903 + Integer.toHexString(mHistoryCur.states2));
3961 mHistoryCur.states2 |= HistoryItem.STATE2_PHONE_IN_CALL_FLAG;
3963 + Integer.toHexString(mHistoryCur.states));
3974 mHistoryCur.states2 &= ~HistoryItem.STATE2_PHONE_IN_CALL_FLAG;
3976 + Integer.toHexString(mHistoryCur.states));
4042 mHistoryCur.states |= HistoryItem.STATE_PHONE_SCANNING_FLAG;
4045 + Integer.toHexString(mHistoryCur.states));
4053 mHistoryCur.states &= ~HistoryItem.STATE_PHONE_SCANNING_FLAG;
4055 mHistoryCur.states));
4062 mHistoryCur.states = (mHistoryCur.states&~HistoryItem.STATE_PHONE_STATE_MASK)
4065 + Integer.toHexString(mHistoryCur.states));
4079 mHistoryCur.states = (mHistoryCur.states&~HistoryItem.STATE_PHONE_SIGNAL_STRENGTH_MASK)
4082 + Integer.toHexString(mHistoryCur.states));
4167 mHistoryCur.states = (mHistoryCur.states&~HistoryItem.STATE_DATA_CONNECTION_MASK)
4170 + Integer.toHexString(mHistoryCur.states));
4185 mHistoryCur.states2 |= HistoryItem.STATE2_WIFI_ON_FLAG;
4187 + Integer.toHexString(mHistoryCur.states));
4199 mHistoryCur.states2 &= ~HistoryItem.STATE2_WIFI_ON_FLAG;
4201 + Integer.toHexString(mHistoryCur.states));
4214 mHistoryCur.states |= HistoryItem.STATE_AUDIO_ON_FLAG;
4216 + Integer.toHexString(mHistoryCur.states));
4232 mHistoryCur.states &= ~HistoryItem.STATE_AUDIO_ON_FLAG;
4234 + Integer.toHexString(mHistoryCur.states));
4246 mHistoryCur.states2 |= HistoryItem.STATE2_VIDEO_ON_FLAG;
4248 + Integer.toHexString(mHistoryCur.states));
4264 mHistoryCur.states2 &= ~HistoryItem.STATE2_VIDEO_ON_FLAG;
4266 + Integer.toHexString(mHistoryCur.states));
4278 mHistoryCur.states &= ~HistoryItem.STATE_AUDIO_ON_FLAG;
4280 + Integer.toHexString(mHistoryCur.states));
4295 mHistoryCur.states2 &= ~HistoryItem.STATE2_VIDEO_ON_FLAG;
4297 + Integer.toHexString(mHistoryCur.states));
4332 mHistoryCur.states2 |= HistoryItem.STATE2_FLASHLIGHT_FLAG;
4334 + Integer.toHexString(mHistoryCur.states2));
4349 mHistoryCur.states2 &= ~HistoryItem.STATE2_FLASHLIGHT_FLAG;
4351 + Integer.toHexString(mHistoryCur.states2));
4363 mHistoryCur.states2 |= HistoryItem.STATE2_CAMERA_FLAG;
4365 + Integer.toHexString(mHistoryCur.states2));
4380 mHistoryCur.states2 &= ~HistoryItem.STATE2_CAMERA_FLAG;
4382 + Integer.toHexString(mHistoryCur.states2));
4394 mHistoryCur.states2 &= ~HistoryItem.STATE2_CAMERA_FLAG;
4396 + Integer.toHexString(mHistoryCur.states2));
4411 mHistoryCur.states2 &= ~HistoryItem.STATE2_FLASHLIGHT_FLAG;
4413 + Integer.toHexString(mHistoryCur.states2));
4428 mHistoryCur.states2 |= HistoryItem.STATE2_BLUETOOTH_SCAN_FLAG;
4430 + Integer.toHexString(mHistoryCur
4451 mHistoryCur.states2 &= ~HistoryItem.STATE2_BLUETOOTH_SCAN_FLAG;
4453 + Integer.toHexString(mHistoryCur.states2));
4472 mHistoryCur.states2 &= ~HistoryItem.STATE2_BLUETOOTH_SCAN_FLAG;
4474 + Integer.toHexString(mHistoryCur.states2));
4503 mHistoryCur.states |= HistoryItem.STATE_WIFI_RADIO_ACTIVE_FLAG;
4505 mHistoryCur.states &= ~HistoryItem.STATE_WIFI_RADIO_ACTIVE_FLAG;
4508 + Integer.toHexString(mHistoryCur.states));
4518 mHistoryCur.states2 |= HistoryItem.STATE2_WIFI_RUNNING_FLAG;
4520 + Integer.toHexString(mHistoryCur.states));
4557 mHistoryCur.states2 &= ~HistoryItem.STATE2_WIFI_RUNNING_FLAG;
4559 + Integer.toHexString(mHistoryCur.states));
4597 mHistoryCur.states2 =
4598 (mHistoryCur.states2&~HistoryItem.STATE2_WIFI_SUPPL_STATE_MASK)
4601 + Integer.toHexString(mHistoryCur.states2));
4632 mHistoryCur.states2 =
4633 (mHistoryCur.states2&~HistoryItem.STATE2_WIFI_SIGNAL_STRENGTH_MASK)
4636 + Integer.toHexString(mHistoryCur.states2));
4652 mHistoryCur.states |= HistoryItem.STATE_WIFI_FULL_LOCK_FLAG;
4654 + Integer.toHexString(mHistoryCur.states));
4667 mHistoryCur.states &= ~HistoryItem.STATE_WIFI_FULL_LOCK_FLAG;
4669 + Integer.toHexString(mHistoryCur.states));
4682 mHistoryCur.states |= HistoryItem.STATE_WIFI_SCAN_FLAG;
4684 + Integer.toHexString(mHistoryCur.states));
4697 mHistoryCur.states &= ~HistoryItem.STATE_WIFI_SCAN_FLAG;
4699 + Integer.toHexString(mHistoryCur.states));
4724 mHistoryCur.states |= HistoryItem.STATE_WIFI_MULTICAST_ON_FLAG;
4726 + Integer.toHexString(mHistoryCur.states));
4739 mHistoryCur.states &= ~HistoryItem.STATE_WIFI_MULTICAST_ON_FLAG;
4741 + Integer.toHexString(mHistoryCur.states));
8523 mDischargeStartLevel = mHistoryCur.batteryLevel;
8527 = mCurrentBatteryLevel = mHistoryCur.batteryLevel;
8530 if ((mHistoryCur.states&HistoryItem.STATE_BATTERY_PLUGGED_FLAG) == 0) {
8532 mDischargeScreenOnUnplugLevel = mHistoryCur.batteryLevel;
8536 mDischargeScreenOffUnplugLevel = mHistoryCur.batteryLevel;
9532 mHistoryCur.states2 |= HistoryItem.STATE2_CHARGING_FLAG;
9534 mHistoryCur.states2 &= ~HistoryItem.STATE2_CHARGING_FLAG;
9617 mHistoryCur.batteryLevel = (byte)level;
9618 mHistoryCur.states &= ~HistoryItem.STATE_BATTERY_PLUGGED_FLAG;
9620 + Integer.toHexString(mHistoryCur.states));
9641 mHistoryCur.batteryLevel = (byte)level;
9642 mHistoryCur.states |= HistoryItem.STATE_BATTERY_PLUGGED_FLAG;
9644 + Integer.toHexString(mHistoryCur.states));
9669 mHistoryCur.currentTime = System.currentTimeMillis();
9672 mHistoryCur);
9673 mHistoryCur.currentTime = 0;
9682 mHistoryCur.currentTime = currentTime;
9684 mHistoryCur);
9685 mHistoryCur.currentTime = 0;
9691 mHistoryCur.currentTime = System.currentTimeMillis();
9693 mHistoryCur);
9694 mHistoryCur.currentTime = 0;
9720 mHistoryCur.states &= ~HistoryItem.STATE_BATTERY_PLUGGED_FLAG;
9722 mHistoryCur.states |= HistoryItem.STATE_BATTERY_PLUGGED_FLAG;
9726 mHistoryCur.states2 |= HistoryItem.STATE2_CHARGING_FLAG;
9727 mHistoryCur.batteryStatus = (byte)status;
9728 mHistoryCur.batteryLevel = (byte)level;
9729 mHistoryCur.batteryChargeUAh = chargeUAh;
9736 int oldStatus = mHistoryCur.batteryStatus;
9755 mHistoryCur.batteryLevel = (byte)level;
9756 mHistoryCur.batteryStatus = (byte)status;
9757 mHistoryCur.batteryHealth = (byte)health;
9758 mHistoryCur.batteryPlugType = (byte)plugType;
9759 mHistoryCur.batteryTemperature = (short)temp;
9760 mHistoryCur.batteryVoltage = (char)volt;
9761 if (chargeUAh < mHistoryCur.batteryChargeUAh) {
9763 final long chargeDiff = mHistoryCur.batteryChargeUAh - chargeUAh;
9767 mHistoryCur.batteryChargeUAh = chargeUAh;
9771 if (mHistoryCur.batteryLevel != level) {
9772 mHistoryCur.batteryLevel = (byte)level;
9779 if (mHistoryCur.batteryStatus != status) {
9780 mHistoryCur.batteryStatus = (byte)status;
9783 if (mHistoryCur.batteryHealth != health) {
9784 mHistoryCur.batteryHealth = (byte)health;
9787 if (mHistoryCur.batteryPlugType != plugType) {
9788 mHistoryCur.batteryPlugType = (byte)plugType;
9791 if (temp >= (mHistoryCur.batteryTemperature+10)
9792 || temp <= (mHistoryCur.batteryTemperature-10)) {
9793 mHistoryCur.batteryTemperature = (short)temp;
9796 if (volt > (mHistoryCur.batteryVoltage+20)
9797 || volt < (mHistoryCur.batteryVoltage-20)) {
9798 mHistoryCur.batteryVoltage = (char)volt;
9801 if (chargeUAh >= (mHistoryCur.batteryChargeUAh+10)
9802 || chargeUAh <= (mHistoryCur.batteryChargeUAh-10)) {
9803 if (chargeUAh < mHistoryCur.batteryChargeUAh) {
9805 final long chargeDiff = mHistoryCur.batteryChargeUAh - chargeUAh;
9809 mHistoryCur.batteryChargeUAh = chargeUAh;
10316 addHistoryRecordLocked(elapsedRealtime, uptime, HistoryItem.CMD_START, mHistoryCur);
10318 addHistoryBufferLocked(elapsedRealtime, uptime, HistoryItem.CMD_START, mHistoryCur);