/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,
|
BatterySipper.java | 18 import android.os.BatteryStats.Uid; 25 public Uid uidObj; 94 public BatterySipper(DrainType drainType, Uid uid, double value) { 97 uidObj = uid;
|
CpuPowerCalculator.java | 32 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, 57 Log.d(TAG, "UID " + u.getUid() + ": CPU cluster #" + cluster + " step #" 67 Log.d(TAG, "UID " + u.getUid() + ": CPU time=" + app.cpuTimeMs + " ms power=" 75 final ArrayMap<String, ? extends BatteryStats.Uid.Proc> processStats = u.getProcessStats(); 78 final BatteryStats.Uid.Proc ps = processStats.valueAt(i);
|
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=" +
|
BatteryStatsImpl.java | 120 // per uid; once the limit is reached, we batch the remaining wakelocks 221 void scheduleCpuSyncDueToRemovedUid(int uid); 230 * Mapping isolated uids to the actual owning app uid. 237 final SparseArray<BatteryStatsImpl.Uid> mUidStats = new SparseArray<>(); 2602 final BatteryStatsImpl.Uid uid = mUidStats.valueAt(i); local 2640 final BatteryStatsImpl.Uid uid = mUidStats.valueAt(i); local 4284 BatteryStatsImpl.Uid uid = mUidStats.valueAt(i); local 4301 BatteryStatsImpl.Uid uid = mUidStats.valueAt(i); local 4400 BatteryStatsImpl.Uid uid = mUidStats.valueAt(i); local 4417 BatteryStatsImpl.Uid uid = mUidStats.valueAt(i); local 4478 BatteryStatsImpl.Uid uid = mUidStats.valueAt(i); local 4526 int uid = mapUid(ws.get(i)); local 4540 int uid = mapUid(oldWs.get(i)); local 4545 int uid = mapUid(newWs.get(i)); local 4565 int uid = mapUid(ws.get(i)); local 8832 final Uid uid = mUidStats.valueAt(i); local 8854 final Uid uid = mUidStats.valueAt(i); local 8922 final Uid uid = getUidStatsLocked(txPackets.keyAt(i)); local 8934 final Uid uid = getUidStatsLocked(rxPackets.keyAt(i)); local 10345 int uid = in.readInt(); local 10602 int uid = in.readInt(); local 11370 int uid = in.readInt(); local 11517 Uid uid = mUidStats.valueAt(i); local [all...] |
/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. 49 public void writeUid(HealthStatsWriter uidWriter, BatteryStats bs, BatteryStats.Uid uid) { 52 SparseArray<? extends BatteryStats.Uid.Sensor> sensors; 53 SparseArray<? extends BatteryStats.Uid.Pid> pids; 81 // Now on to the real per-uid stats... 84 for (final Map.Entry<String,? extends BatteryStats.Uid.Wakelock> entry: 85 uid.getWakelockStats().entrySet()) { 87 final BatteryStats.Uid.Wakelock wakelock = entry.getValue(); 108 uid.getSyncStats().entrySet()) [all...] |
/prebuilts/go/darwin-x86/src/os/user/ |
user.go | 16 // On posix systems Uid and Gid contain a decimal number 17 // representing uid and gid. On windows Uid and Gid 19 // On Plan 9, Uid, Gid, Username, and Name will be the 22 Uid string // user id
|
user_test.go | 34 if want.Uid != got.Uid { 35 t.Errorf("got Uid=%q; want %q", got.Uid, want.Uid) 84 got, err := LookupId(want.Uid)
|
lookup_plan9.go | 30 Uid: uname, 44 func lookupId(uid string) (*User, error) {
|
/prebuilts/go/linux-x86/src/os/user/ |
user.go | 16 // On posix systems Uid and Gid contain a decimal number 17 // representing uid and gid. On windows Uid and Gid 19 // On Plan 9, Uid, Gid, Username, and Name will be the 22 Uid string // user id
|
user_test.go | 34 if want.Uid != got.Uid { 35 t.Errorf("got Uid=%q; want %q", got.Uid, want.Uid) 84 got, err := LookupId(want.Uid)
|
lookup_plan9.go | 30 Uid: uname, 44 func lookupId(uid string) (*User, error) {
|
/prebuilts/go/darwin-x86/src/archive/tar/ |
stat_unix.go | 23 h.Uid = int(sys.Uid)
|
reader_test.go | 32 Uid: 73025, 43 Uid: 73025, 64 Uid: 1000, 78 Uid: 1000, 92 Uid: 1000, 106 Uid: 1000, 120 Uid: 1000, 150 Uid: 73025, 163 Uid: 73025, 181 Uid: 73025 [all...] |
/prebuilts/go/linux-x86/src/archive/tar/ |
stat_unix.go | 23 h.Uid = int(sys.Uid)
|
reader_test.go | 32 Uid: 73025, 43 Uid: 73025, 64 Uid: 1000, 78 Uid: 1000, 92 Uid: 1000, 106 Uid: 1000, 120 Uid: 1000, 150 Uid: 73025, 163 Uid: 73025, 181 Uid: 73025 [all...] |
/prebuilts/go/darwin-x86/src/os/ |
os_unix_test.go | 20 func checkUidGid(t *testing.T, path string, uid, gid int) { 23 t.Fatalf("Stat %q (looking for uid/gid %d/%d): %s", path, uid, gid, err) 26 if int(sys.Uid) != uid { 27 t.Errorf("Stat %q: uid %d want %d", path, sys.Uid, uid) 52 // Can't change uid unless root, but can try 60 checkUidGid(t, f.Name(), int(sys.Uid), gid [all...] |
/prebuilts/go/linux-x86/src/os/ |
os_unix_test.go | 20 func checkUidGid(t *testing.T, path string, uid, gid int) { 23 t.Fatalf("Stat %q (looking for uid/gid %d/%d): %s", path, uid, gid, err) 26 if int(sys.Uid) != uid { 27 t.Errorf("Stat %q: uid %d want %d", path, sys.Uid, uid) 52 // Can't change uid unless root, but can try 60 checkUidGid(t, f.Name(), int(sys.Uid), gid [all...] |
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
FakeUid.java | 21 import android.os.BatteryStats.Uid; 26 * Fake UID for testing power usage screen. 28 public class FakeUid extends Uid { 32 public FakeUid(int uid) { 33 mUid = uid;
|
/external/libnfc-nxp/src/ |
phFriNfc_ISO15693Format.c | 83 /* UID 7th byte value shall be 0xE0 */ 87 /* UID 6th byte value shall be 0x04 - NXP manufacturer */ 176 (void *)psNdefSmtCrdFmt->psRemoteDevInfo->RemoteDevInfo.Iso15693_Info.Uid, 266 if (!phOsalNfc_MemCompare ((void *)ps_rem_iso_15693_info->Uid, 270 /* UID comaparision successful */ 275 /* So skip the UID size compared in the received buffer */ 517 ps_rem_iso_15693_info->Uid[ISO15693_BYTE_7_INDEX]) 519 ps_rem_iso_15693_info->Uid[ISO15693_BYTE_6_INDEX])) 522 index of UID value = 0x04 and the 523 last byte of UID is 0xE0, only then the card detected [all...] |