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

1 2 3 4 5 6 7

  /frameworks/base/core/java/com/android/internal/os/
PowerCalculator.java 34 public abstract void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs,
SensorPowerCalculator.java 35 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs,
38 final SparseArray<? extends BatteryStats.Uid.Sensor> sensorStats = u.getSensorStats();
41 final BatteryStats.Uid.Sensor sensor = sensorStats.valueAt(ise);
46 case BatteryStats.Uid.Sensor.GPS:
WakelockPowerCalculator.java 33 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs,
36 final ArrayMap<String, ? extends BatteryStats.Uid.Wakelock> wakelockStats =
40 final BatteryStats.Uid.Wakelock wakelock = wakelockStats.valueAt(i);
55 Log.d(TAG, "UID " + u.getUid() + ": wake " + app.wakeLockTimeMs
CameraPowerCalculator.java 33 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs,
FlashlightPowerCalculator.java 31 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs,
CpuPowerCalculator.java 33 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs,
47 Log.d(TAG, "UID " + u.getUid() + ": CPU cluster #" + cluster + " step #"
57 Log.d(TAG, "UID " + u.getUid() + ": CPU time=" + app.cpuTimeMs + " ms power="
65 final ArrayMap<String, ? extends BatteryStats.Uid.Proc> processStats = u.getProcessStats();
68 final BatteryStats.Uid.Proc ps = processStats.valueAt(i);
BatterySipper.java 18 import android.os.BatteryStats.Uid;
27 public Uid uidObj;
131 public BatterySipper(DrainType drainType, Uid uid, double value) {
134 uidObj = uid;
WifiPowerEstimator.java 51 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs,
73 for (int bin = 0; bin < BatteryStats.Uid.NUM_WIFI_BATCHED_SCAN_BINS; bin++) {
82 Log.d(TAG, "UID " + u.getUid() + ": power=" +
  /frameworks/base/services/core/java/com/android/server/am/
BackupRecord.java 31 final BatteryStatsImpl.Uid.Pkg.Serv stats;
39 BackupRecord(BatteryStatsImpl.Uid.Pkg.Serv _agentStats, ApplicationInfo _appInfo,
HealthStatsBatteryStatsWriter.java 47 * Writes the contents of a BatteryStats.Uid into a HealthStatsWriter.
50 public void writeUid(HealthStatsWriter uidWriter, BatteryStats bs, BatteryStats.Uid uid) {
53 SparseArray<? extends BatteryStats.Uid.Sensor> sensors;
54 SparseArray<? extends BatteryStats.Uid.Pid> pids;
82 // Now on to the real per-uid stats...
85 for (final Map.Entry<String,? extends BatteryStats.Uid.Wakelock> entry:
86 uid.getWakelockStats().entrySet()) {
88 final BatteryStats.Uid.Wakelock wakelock = entry.getValue();
109 uid.getSyncStats().entrySet())
    [all...]
  /prebuilts/go/darwin-x86/src/archive/tar/
stat_unix.go 23 h.Uid = int(sys.Uid)
  /prebuilts/go/linux-x86/src/archive/tar/
stat_unix.go 23 h.Uid = int(sys.Uid)
  /prebuilts/go/darwin-x86/src/os/user/
lookup_stubs.go 24 Uid: currentUID(),
31 if u.Uid == "" {
32 u.Uid = "1"
43 if u.Uid != "" && u.Username != "" && u.HomeDir != "" {
53 func lookupUserId(uid string) (*User, error) {
user_test.go 35 if want.Uid != got.Uid {
36 t.Errorf("got Uid=%q; want %q", got.Uid, want.Uid)
85 got, err := LookupId(want.Uid)
  /prebuilts/go/linux-x86/src/os/user/
lookup_stubs.go 24 Uid: currentUID(),
31 if u.Uid == "" {
32 u.Uid = "1"
43 if u.Uid != "" && u.Username != "" && u.HomeDir != "" {
53 func lookupUserId(uid string) (*User, error) {
user_test.go 35 if want.Uid != got.Uid {
36 t.Errorf("got Uid=%q; want %q", got.Uid, want.Uid)
85 got, err := LookupId(want.Uid)
  /device/linaro/bootloader/edk2/OvmfPkg/Library/QemuBootOrderLib/
ExtraRootBusMap.c 44 protocol device paths based on UID.
70 return Acpi1->UID < Acpi2->UID ? -1 :
71 Acpi1->UID > Acpi2->UID ? 1 :
78 protocol device path against a UID.
80 @param[in] StandaloneKey Pointer to the bare UINT32 UID.
83 embedded UINT32 UID.
99 CONST UINT32 *Uid;
102 Uid = StandaloneKey;
    [all...]
  /packages/apps/Settings/src/com/android/settings/fuelgauge/anomaly/checker/
WakeupAlarmAnomalyDetector.java 83 final BatteryStats.Uid uid = sipper.uidObj; local
84 if (uid == null
86 || (targetUid != BatteryUtils.UID_NULL && targetUid != uid.getUid())) {
90 final int wakeupAlarmCount = (int) (getWakeupAlarmCountFromUid(uid)
93 final String packageName = mBatteryUtils.getPackageName(uid.getUid());
99 .setUid(uid.getUid())
106 uid.getUid(), packageName))
121 int getWakeupAlarmCountFromUid(BatteryStats.Uid uid) {
    [all...]
WakeLockAnomalyDetector.java 80 final BatteryStats.Uid uid = sipper.uidObj; local
81 if (uid == null
83 || (targetUid != BatteryUtils.UID_NULL && targetUid != uid.getUid())) {
87 final long currentDurationMs = getCurrentDurationMs(uid, rawRealtime);
88 final long backgroundDurationMs = getBackgroundTotalDurationMs(uid, rawRealtime);
91 final String packageName = mBatteryUtils.getPackageName(uid.getUid());
96 .setUid(uid.getUid())
112 long getCurrentDurationMs(BatteryStats.Uid uid, long elapsedRealtimeMs)
    [all...]
  /packages/apps/Settings/src/com/android/settings/fuelgauge/
BatteryUtils.java 94 public long getProcessTimeMs(@StatusType int type, @Nullable BatteryStats.Uid uid,
96 if (uid == null) {
102 return getScreenUsageTimeMs(uid, which);
104 return getProcessForegroundTimeMs(uid, which);
106 return getProcessBackgroundTimeMs(uid, which);
108 return getProcessForegroundTimeMs(uid, which)
109 + getProcessBackgroundTimeMs(uid, which);
114 private long getScreenUsageTimeMs(BatteryStats.Uid uid, int which, long rawRealTimeUs)
198 final BatteryStats.Uid uid = sippers.get(i).uidObj; local
    [all...]
  /prebuilts/go/darwin-x86/src/os/
os_unix_test.go 24 func checkUidGid(t *testing.T, path string, uid, gid int) {
27 t.Fatalf("Lstat %q (looking for uid/gid %d/%d): %s", path, uid, gid, err)
30 if int(sys.Uid) != uid {
31 t.Errorf("Lstat %q: uid %d want %d", path, sys.Uid, uid)
56 // Can't change uid unless root, but can try
64 checkUidGid(t, f.Name(), int(sys.Uid), gid
    [all...]
  /prebuilts/go/linux-x86/src/os/
os_unix_test.go 24 func checkUidGid(t *testing.T, path string, uid, gid int) {
27 t.Fatalf("Lstat %q (looking for uid/gid %d/%d): %s", path, uid, gid, err)
30 if int(sys.Uid) != uid {
31 t.Errorf("Lstat %q: uid %d want %d", path, sys.Uid, uid)
56 // Can't change uid unless root, but can try
64 checkUidGid(t, f.Name(), int(sys.Uid), gid
    [all...]
  /frameworks/base/core/tests/coretests/src/com/android/internal/os/
BatteryStatsNoteTest.java 48 private static final int UID = 10500;
49 private static final WorkSource WS = new WorkSource(UID);
51 /** Test BatteryStatsImpl.Uid.noteBluetoothScanResultLocked. */
56 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_TOP);
61 bi.getUidStats().get(UID).getBluetoothScanResultCounter()
63 BatteryStats.Counter bgCntr = bi.getUidStats().get(UID).getBluetoothScanResultBgCounter();
68 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_BACKGROUND);
71 bi.getUidStats().get(UID).getBluetoothScanResultCounter()
74 bi.getUidStats().get(UID).getBluetoothScanResultBgCounter()
78 /** Test BatteryStatsImpl.Uid.noteStartWakeLocked. *
140 BatteryStats.Uid uid = bi.getUidStats().get(UID); local
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/anomaly/checker/
WakeupAlarmAnomalyDetectorTest.java 85 private BatteryStats.Uid mAnomalyUid;
87 private BatteryStats.Uid mNormalUid;
89 private BatteryStats.Uid mTargetUid;
93 private BatteryStats.Uid.Pkg mPkg;
204 final ArrayMap<String, BatteryStats.Uid.Pkg> packageStats = new ArrayMap<>();
219 final ArrayMap<String, BatteryStats.Uid.Pkg> packageStats = new ArrayMap<>();
  /device/linaro/bootloader/edk2/MdePkg/Include/Ppi/
SuperIo.h 152 EFI_ACPI_UID Uid;

Completed in 652 milliseconds

1 2 3 4 5 6 7