HomeSort by relevance Sort by last modified time
    Searched refs:HistoryItem (Results 1 - 25 of 26) sorted by null

1 2

  /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;
31 protected int getValue(HistoryItem rec) {
33 if (((rec.states & HistoryItem.STATE_PHONE_STATE_MASK)
34 >> HistoryItem.STATE_PHONE_STATE_SHIFT)
37 } else if ((rec.states & HistoryItem.STATE_PHONE_SCANNING_FLAG) != 0) {
40 bin = (rec.states & HistoryItem.STATE_PHONE_SIGNAL_STRENGTH_MASK)
41 >> HistoryItem.STATE_PHONE_SIGNAL_STRENGTH_SHIFT;
53 public void onDataPoint(long time, HistoryItem record) {
BatteryFlagParser.java 17 import android.os.BatteryStats.HistoryItem;
39 protected boolean isSet(HistoryItem record) {
49 public void onDataPoint(long time, HistoryItem record) {
BatteryInfo.java 24 import android.os.BatteryStats.HistoryItem;
76 public void onDataPoint(long time, HistoryItem record) {
287 void onDataPoint(long time, HistoryItem record);
306 final HistoryItem rec = new HistoryItem();
313 if (rec.cmd == HistoryItem.CMD_CURRENT_TIME
314 || rec.cmd == HistoryItem.CMD_RESET) {
349 final HistoryItem rec = new HistoryItem();
363 if (rec.cmd == HistoryItem.CMD_CURRENT_TIM
    [all...]
BatteryHistoryDetail.java 21 import android.os.BatteryStats.HistoryItem;
64 HistoryItem.STATE_BATTERY_PLUGGED_FLAG);
66 HistoryItem.STATE_SCREEN_ON_FLAG);
68 HistoryItem.STATE_GPS_ON_FLAG);
70 HistoryItem.STATE2_FLASHLIGHT_FLAG);
72 HistoryItem.STATE2_CAMERA_FLAG);
75 HistoryItem.STATE_CPU_RUNNING_FLAG);
BatteryHistoryChart.java 30 import android.os.BatteryStats.HistoryItem;
534 final HistoryItem rec = new HistoryItem();
541 if (rec.cmd == HistoryItem.CMD_CURRENT_TIME
542 || rec.cmd == HistoryItem.CMD_RESET) {
576 mHaveGps = (aggrStates&HistoryItem.STATE_GPS_ON_FLAG) != 0;
577 mHaveFlashlight = (aggrStates2&HistoryItem.STATE2_FLASHLIGHT_FLAG) != 0;
578 mHaveCamera = (aggrStates2&HistoryItem.STATE2_CAMERA_FLAG) != 0;
579 mHaveWifi = (aggrStates2&HistoryItem.STATE2_WIFI_RUNNING_FLAG) != 0
580 || (aggrStates&(HistoryItem.STATE_WIFI_FULL_LOCK_FLA
    [all...]
  /packages/apps/ExactCalculator/src/com/android/calculator2/
HistoryItem.java 22 public class HistoryItem {
32 public HistoryItem(long evaluatorIndex, long millis, Spannable formula) {
43 public HistoryItem() {
HistoryAdapter.java 43 private List<HistoryItem> mDataSet;
49 public HistoryAdapter(ArrayList<HistoryItem> dataSet) {
69 final HistoryItem item = getItem(position);
127 public void setDataSet(ArrayList<HistoryItem> dataSet) {
156 private boolean shouldShowHeader(int position, HistoryItem item) {
161 final HistoryItem prevItem = getItem(position + 1);
173 * Gets the HistoryItem from mDataSet, lazy-filling the dataSet if necessary.
175 private HistoryItem getItem(int position) {
176 HistoryItem item = mDataSet.get(position);
180 item = new HistoryItem(evaluatorIndex
    [all...]
HistoryFragment.java 47 private ArrayList<HistoryItem> mDataSet = new ArrayList<>();
127 final ArrayList<HistoryItem> newDataSet = new ArrayList<>();
136 newDataSet.add(new HistoryItem(Evaluator.HISTORY_MAIN_INDEX,
146 newDataSet.add(new HistoryItem());
  /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) {
  /packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
HighUsageDataParserTest.java 41 private BatteryStats.HistoryItem mFirstItem;
42 private BatteryStats.HistoryItem mSecondItem;
43 private BatteryStats.HistoryItem mThirdItem;
49 mFirstItem = new BatteryStats.HistoryItem();
52 mSecondItem = new BatteryStats.HistoryItem();
55 mThirdItem = new BatteryStats.HistoryItem();
  /packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
HighUsageDataParser.java 53 public void onDataPoint(long time, BatteryStats.HistoryItem record) {
  /frameworks/base/core/tests/coretests/src/com/android/internal/os/
BatteryStatsNoteTest.java 25 import android.os.BatteryStats.HistoryItem;
311 HistoryItem item = new HistoryItem();
315 assertEquals(HistoryItem.EVENT_ALARM_START, item.eventCode);
322 assertEquals(HistoryItem.EVENT_NONE, item.eventCode);
325 assertEquals(HistoryItem.EVENT_ALARM_FINISH, item.eventCode);
350 HistoryItem item = new HistoryItem();
354 assertEquals(HistoryItem.EVENT_ALARM_START, item.eventCode);
359 assertEquals(HistoryItem.EVENT_NONE, item.eventCode)
    [all...]
  /frameworks/base/core/java/com/android/internal/os/
BatteryStatsImpl.java 655 final HistoryItem mHistoryLastWritten = new HistoryItem();
656 final HistoryItem mHistoryLastLastWritten = new HistoryItem();
657 final HistoryItem mHistoryReadTmp = new HistoryItem();
658 final HistoryItem mHistoryAddTmp = new HistoryItem();
673 final HistoryItem mHistoryCur = new HistoryItem();
    [all...]
  /frameworks/base/core/java/android/os/
BatteryStats.java     [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
BatteryInfoTest.java 244 BatteryStats.HistoryItem record = invocation.getArgument(0);
245 record.cmd = BatteryStats.HistoryItem.CMD_UPDATE;
251 }).when(mBatteryStats).getNextHistoryLocked(any(BatteryStats.HistoryItem.class));
  /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/core/java/com/android/server/am/
BatteryExternalStatsWorker.java 447 BatteryStats.HistoryItem.EVENT_COLLECT_EXTERNAL_STATS,
UserController.java 710 BatteryStats.HistoryItem.EVENT_USER_RUNNING_FINISH,
    [all...]
ActivityManagerService.java     [all...]
  /frameworks/base/services/usage/java/com/android/server/usage/
AppStandbyController.java     [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/config/
boot-image-profile.txt     [all...]

Completed in 981 milliseconds

1 2