/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
BatteryWifiParser.java | 18 import android.os.BatteryStats.HistoryItem; 27 protected boolean isSet(HistoryItem record) { 28 switch ((record.states2 & HistoryItem.STATE2_WIFI_SUPPL_STATE_MASK) 29 >> HistoryItem.STATE2_WIFI_SUPPL_STATE_SHIFT) {
|
BatteryCellParser.java | 17 import android.os.BatteryStats.HistoryItem; 32 protected int getValue(HistoryItem rec) { 34 if (((rec.states & HistoryItem.STATE_PHONE_STATE_MASK) 35 >> HistoryItem.STATE_PHONE_STATE_SHIFT) 38 } else if ((rec.states & HistoryItem.STATE_PHONE_SCANNING_FLAG) != 0) { 41 bin = (rec.states & HistoryItem.STATE_PHONE_SIGNAL_STRENGTH_MASK) 42 >> HistoryItem.STATE_PHONE_SIGNAL_STRENGTH_SHIFT; 54 public void onDataPoint(long time, HistoryItem record) {
|
BatteryFlagParser.java | 17 import android.os.BatteryStats.HistoryItem; 40 protected boolean isSet(HistoryItem record) { 50 public void onDataPoint(long time, HistoryItem record) {
|
BatteryHistoryDetail.java | 21 import android.os.BatteryStats.HistoryItem; 65 HistoryItem.STATE_BATTERY_PLUGGED_FLAG); 67 HistoryItem.STATE_SCREEN_ON_FLAG); 69 HistoryItem.STATE_GPS_ON_FLAG); 71 HistoryItem.STATE2_FLASHLIGHT_FLAG); 73 HistoryItem.STATE2_CAMERA_FLAG); 76 HistoryItem.STATE_CPU_RUNNING_FLAG);
|
BatteryHistoryChart.java | 30 import android.os.BatteryStats.HistoryItem; 532 final HistoryItem rec = new HistoryItem(); 539 if (rec.cmd == HistoryItem.CMD_CURRENT_TIME 540 || rec.cmd == HistoryItem.CMD_RESET) { 574 mHaveGps = (aggrStates&HistoryItem.STATE_GPS_ON_FLAG) != 0; 575 mHaveFlashlight = (aggrStates2&HistoryItem.STATE2_FLASHLIGHT_FLAG) != 0; 576 mHaveCamera = (aggrStates2&HistoryItem.STATE2_CAMERA_FLAG) != 0; 577 mHaveWifi = (aggrStates2&HistoryItem.STATE2_WIFI_RUNNING_FLAG) != 0 578 || (aggrStates&(HistoryItem.STATE_WIFI_FULL_LOCK_FLA [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/history/ |
HistoryManager.java | 27 private Vector<HistoryItem> mHistoryItems = new Vector<HistoryItem>(); 44 public HistoryItem getItem(int position) { 55 private void add(HistoryItem item) { 118 public HistoryItem getLast() { 125 public HistoryItem getCurrent() { 129 public void addHistoryItem(HistoryItem preset) { 134 private void insert(HistoryItem preset, int position) { 137 Vector<HistoryItem> oldItems = new Vector<HistoryItem>(); [all...] |
HistoryItem.java | 24 public class HistoryItem { 25 private static final String LOGTAG = "HistoryItem"; 30 public HistoryItem(ImagePreset preset, FilterRepresentation representation) {
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
BatteryInfo.java | 24 import android.os.BatteryStats.HistoryItem; 62 public void onDataPoint(long time, HistoryItem record) { 198 void onDataPoint(long time, HistoryItem record); 220 final HistoryItem rec = new HistoryItem(); 227 if (rec.cmd == HistoryItem.CMD_CURRENT_TIME 228 || rec.cmd == HistoryItem.CMD_RESET) { 267 final HistoryItem rec = new HistoryItem(); 281 if (rec.cmd == HistoryItem.CMD_CURRENT_TIM [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
BatteryStatsImpl.java | 286 final HistoryItem mHistoryLastWritten = new HistoryItem(); 287 final HistoryItem mHistoryLastLastWritten = new HistoryItem(); 288 final HistoryItem mHistoryReadTmp = new HistoryItem(); 289 final HistoryItem mHistoryAddTmp = new HistoryItem(); 304 final HistoryItem mHistoryCur = new HistoryItem(); [all...] |
/frameworks/base/core/java/android/os/ |
BatteryStats.java | [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
MasterImage.java | 38 import com.android.gallery3d.filtershow.history.HistoryItem; 263 HistoryItem historyItem = new HistoryItem(mPreset, change); 264 mHistory.addHistoryItem(historyItem); 272 HistoryItem historyItem = mHistory.getItem(position); 274 ImagePreset newPreset = new ImagePreset(historyItem.getImagePreset()); 276 setPreset(newPreset, historyItem.getFilterRepresentation(), false);
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
UsageStatsService.java | 516 mBatteryStats.noteEvent(BatteryStats.HistoryItem.EVENT_PACKAGE_INACTIVE, 519 mBatteryStats.noteEvent(BatteryStats.HistoryItem.EVENT_PACKAGE_ACTIVE, [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ |
FilterShowActivity.java | 103 import com.android.gallery3d.filtershow.history.HistoryItem; [all...] |
/frameworks/base/services/core/java/com/android/server/ |
DeviceIdleController.java | [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
BatteryStatsService.java | [all...] |
UserController.java | 577 BatteryStats.HistoryItem.EVENT_USER_RUNNING_FINISH, [all...] |
ActivityManagerService.java | [all...] |
/frameworks/base/ |
compiled-classes-phone | [all...] |