Home | History | Annotate | Download | only in os

Lines Matching defs:Sensor

87      * A constant indicating a sensor timer.
89 public static final int SENSOR = 3;
217 * - Background timers and counters for: Sensor, BluetoothScan, WifiScan, Jobs, Syncs.
651 * Returns a mapping containing sensor statistics.
653 * @return a Map from Integer sensor ids to Uid.Sensor objects.
655 public abstract SparseArray<? extends Sensor> getSensorStats();
899 public static abstract class Sensor {
902 * could clash with a sensor handle (which are defined by
903 * the sensor HAL, and therefore out of our control
905 // Magic sensor number for the GPS.
912 /** Returns a Timer for sensor usage when app is in the background. */
2342 new BitDescription(HistoryItem.STATE_SENSOR_ON_FLAG, "sensor", "s"),
3222 * @param type type of data (e.g. "wakelock", "sensor", "process", "apk" , "process", "network")
3241 * @param type type of data (e.g. "wakelock", "sensor", "process", "apk" , "process", "network")
4137 final SparseArray<? extends BatteryStats.Uid.Sensor> sensors = u.getSensorStats();
4140 final Uid.Sensor se = sensors.valueAt(ise);
5065 pw.print(" sensor=");
5772 final SparseArray<? extends BatteryStats.Uid.Sensor> sensors = u.getSensorStats();
5775 final Uid.Sensor se = sensors.valueAt(ise);
5779 sb.append(" Sensor ");
5781 if (handle == Uid.Sensor.GPS) {
7445 final SparseArray<? extends BatteryStats.Uid.Sensor> sensors = u.getSensorStats();
7447 final Uid.Sensor se = sensors.valueAt(ise);
7456 proto.write(UidProto.Sensor.ID, sensorNumber);
7458 dumpTimer(proto, UidProto.Sensor.APPORTIONED, timer, rawRealtimeUs, which);
7459 dumpTimer(proto, UidProto.Sensor.BACKGROUND, bgTimer, rawRealtimeUs, which);