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

  /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;
74 public void onDataPoint(long time, HistoryItem record) {
267 void onDataPoint(long time, HistoryItem record);
286 final HistoryItem rec = new HistoryItem();
293 if (rec.cmd == HistoryItem.CMD_CURRENT_TIME
294 || rec.cmd == HistoryItem.CMD_RESET) {
329 final HistoryItem rec = new HistoryItem();
343 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;
531 final HistoryItem rec = new HistoryItem();
538 if (rec.cmd == HistoryItem.CMD_CURRENT_TIME
539 || rec.cmd == HistoryItem.CMD_RESET) {
573 mHaveGps = (aggrStates&HistoryItem.STATE_GPS_ON_FLAG) != 0;
574 mHaveFlashlight = (aggrStates2&HistoryItem.STATE2_FLASHLIGHT_FLAG) != 0;
575 mHaveCamera = (aggrStates2&HistoryItem.STATE2_CAMERA_FLAG) != 0;
576 mHaveWifi = (aggrStates2&HistoryItem.STATE2_WIFI_RUNNING_FLAG) != 0
577 || (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) {
  /frameworks/base/core/java/android/os/
BatteryStats.java     [all...]
  /frameworks/base/core/java/com/android/internal/os/
BatteryStatsImpl.java 344 final HistoryItem mHistoryLastWritten = new HistoryItem();
345 final HistoryItem mHistoryLastLastWritten = new HistoryItem();
346 final HistoryItem mHistoryReadTmp = new HistoryItem();
347 final HistoryItem mHistoryAddTmp = new HistoryItem();
362 final HistoryItem mHistoryCur = new HistoryItem();
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
BatteryInfoTest.java 201 BatteryStats.HistoryItem record = invocation.getArgument(0);
202 record.cmd = BatteryStats.HistoryItem.CMD_UPDATE;
208 }).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 258 BatteryStats.HistoryItem.EVENT_COLLECT_EXTERNAL_STATS,
UserController.java 628 BatteryStats.HistoryItem.EVENT_USER_RUNNING_FINISH,
    [all...]
ActivityManagerService.java     [all...]
  /frameworks/base/services/usage/java/com/android/server/usage/
UsageStatsService.java 611 mBatteryStats.noteEvent(BatteryStats.HistoryItem.EVENT_PACKAGE_INACTIVE,
614 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/config/
preloaded-classes     [all...]
compiled-classes-phone     [all...]

Completed in 648 milliseconds