Lines Matching refs:states

1245                 && ((mHistoryLastWritten.states^mHistoryCur.states)&mChangedBufferStates) == 0) {
1260 mChangedBufferStates |= mHistoryLastWritten.states^mHistoryCur.states;
1275 // record changes to the battery level and the most interesting states.
1280 || ((mHistoryLastWritten.states^mHistoryCur.states)
1322 // and no states have since the last recorded entry changed and
1327 && ((mHistoryEnd.states^mHistoryCur.states)&mChangedStates) == 0) {
1339 mChangedStates |= mHistoryEnd.states^mHistoryCur.states;
1354 // record changes to the battery level and the most interesting states.
1360 || ((mHistoryEnd.states^mHistoryCur.states)
1499 mHistoryCur.states |= HistoryItem.STATE_WAKE_LOCK_FLAG;
1501 + Integer.toHexString(mHistoryCur.states));
1519 mHistoryCur.states &= ~HistoryItem.STATE_WAKE_LOCK_FLAG;
1521 + Integer.toHexString(mHistoryCur.states));
1682 mHistoryCur.states |= HistoryItem.STATE_SENSOR_ON_FLAG;
1684 + Integer.toHexString(mHistoryCur.states));
1694 mHistoryCur.states &= ~HistoryItem.STATE_SENSOR_ON_FLAG;
1696 + Integer.toHexString(mHistoryCur.states));
1706 mHistoryCur.states |= HistoryItem.STATE_GPS_ON_FLAG;
1708 + Integer.toHexString(mHistoryCur.states));
1718 mHistoryCur.states &= ~HistoryItem.STATE_GPS_ON_FLAG;
1720 + Integer.toHexString(mHistoryCur.states));
1728 mHistoryCur.states |= HistoryItem.STATE_SCREEN_ON_FLAG;
1730 + Integer.toHexString(mHistoryCur.states));
1751 mHistoryCur.states &= ~HistoryItem.STATE_SCREEN_ON_FLAG;
1753 + Integer.toHexString(mHistoryCur.states));
1776 mHistoryCur.states = (mHistoryCur.states&~HistoryItem.STATE_BRIGHTNESS_MASK)
1779 + Integer.toHexString(mHistoryCur.states));
1801 mHistoryCur.states |= HistoryItem.STATE_PHONE_IN_CALL_FLAG;
1803 + Integer.toHexString(mHistoryCur.states));
1812 mHistoryCur.states &= ~HistoryItem.STATE_PHONE_IN_CALL_FLAG;
1814 + Integer.toHexString(mHistoryCur.states));
1876 mHistoryCur.states |= HistoryItem.STATE_PHONE_SCANNING_FLAG;
1879 + Integer.toHexString(mHistoryCur.states));
1887 mHistoryCur.states &= ~HistoryItem.STATE_PHONE_SCANNING_FLAG;
1889 + Integer.toHexString(mHistoryCur.states));
1896 mHistoryCur.states = (mHistoryCur.states&~HistoryItem.STATE_PHONE_STATE_MASK)
1899 + Integer.toHexString(mHistoryCur.states));
1912 mHistoryCur.states = (mHistoryCur.states&~HistoryItem.STATE_SIGNAL_STRENGTH_MASK)
1915 + Integer.toHexString(mHistoryCur.states));
1995 mHistoryCur.states = (mHistoryCur.states&~HistoryItem.STATE_DATA_CONNECTION_MASK)
1998 + Integer.toHexString(mHistoryCur.states));
2010 mHistoryCur.states |= HistoryItem.STATE_WIFI_ON_FLAG;
2012 + Integer.toHexString(mHistoryCur.states));
2021 mHistoryCur.states &= ~HistoryItem.STATE_WIFI_ON_FLAG;
2023 + Integer.toHexString(mHistoryCur.states));
2036 mHistoryCur.states |= HistoryItem.STATE_AUDIO_ON_FLAG;
2038 + Integer.toHexString(mHistoryCur.states));
2048 mHistoryCur.states &= ~HistoryItem.STATE_AUDIO_ON_FLAG;
2050 + Integer.toHexString(mHistoryCur.states));
2060 mHistoryCur.states |= HistoryItem.STATE_VIDEO_ON_FLAG;
2062 + Integer.toHexString(mHistoryCur.states));
2072 mHistoryCur.states &= ~HistoryItem.STATE_VIDEO_ON_FLAG;
2074 + Integer.toHexString(mHistoryCur.states));
2084 mHistoryCur.states |= HistoryItem.STATE_WIFI_RUNNING_FLAG;
2086 + Integer.toHexString(mHistoryCur.states));
2116 mHistoryCur.states &= ~HistoryItem.STATE_WIFI_RUNNING_FLAG;
2118 + Integer.toHexString(mHistoryCur.states));
2133 mHistoryCur.states |= HistoryItem.STATE_BLUETOOTH_ON_FLAG;
2135 + Integer.toHexString(mHistoryCur.states));
2144 mHistoryCur.states &= ~HistoryItem.STATE_BLUETOOTH_ON_FLAG;
2146 + Integer.toHexString(mHistoryCur.states));
2157 mHistoryCur.states |= HistoryItem.STATE_WIFI_FULL_LOCK_FLAG;
2159 + Integer.toHexString(mHistoryCur.states));
2169 mHistoryCur.states &= ~HistoryItem.STATE_WIFI_FULL_LOCK_FLAG;
2171 + Integer.toHexString(mHistoryCur.states));
2181 mHistoryCur.states |= HistoryItem.STATE_WIFI_SCAN_LOCK_FLAG;
2183 + Integer.toHexString(mHistoryCur.states));
2193 mHistoryCur.states &= ~HistoryItem.STATE_WIFI_SCAN_LOCK_FLAG;
2195 + Integer.toHexString(mHistoryCur.states));
2205 mHistoryCur.states |= HistoryItem.STATE_WIFI_MULTICAST_ON_FLAG;
2207 + Integer.toHexString(mHistoryCur.states));
2217 mHistoryCur.states &= ~HistoryItem.STATE_WIFI_MULTICAST_ON_FLAG;
2219 + Integer.toHexString(mHistoryCur.states));
4319 mHistoryCur.states &= ~HistoryItem.STATE_BATTERY_PLUGGED_FLAG;
4321 + Integer.toHexString(mHistoryCur.states));
4341 mHistoryCur.states |= HistoryItem.STATE_BATTERY_PLUGGED_FLAG;
4343 + Integer.toHexString(mHistoryCur.states));
4378 mHistoryCur.states &= ~HistoryItem.STATE_BATTERY_PLUGGED_FLAG;
4380 mHistoryCur.states |= HistoryItem.STATE_BATTERY_PLUGGED_FLAG;