Loading core/java/com/android/internal/os/BatteryStatsImpl.java +8 −8 Original line number Diff line number Diff line Loading @@ -12574,11 +12574,11 @@ public class BatteryStatsImpl extends BatteryStats { // This could happen if the isolated uid mapping was removed before that process // was actually killed. mCpuUidUserSysTimeReader.removeUid(uid); Slog.d(TAG, "Got readings for an isolated uid with no mapping: " + uid); if (DEBUG) Slog.d(TAG, "Got readings for an isolated uid: " + uid); return; } if (!mUserInfoProvider.exists(UserHandle.getUserId(uid))) { Slog.d(TAG, "Got readings for an invalid user's uid " + uid); if (DEBUG) Slog.d(TAG, "Got readings for an invalid user's uid " + uid); mCpuUidUserSysTimeReader.removeUid(uid); return; } Loading Loading @@ -12683,11 +12683,11 @@ public class BatteryStatsImpl extends BatteryStats { uid = mapUid(uid); if (Process.isIsolated(uid)) { mCpuUidFreqTimeReader.removeUid(uid); Slog.d(TAG, "Got freq readings for an isolated uid with no mapping: " + uid); if (DEBUG) Slog.d(TAG, "Got freq readings for an isolated uid: " + uid); return; } if (!mUserInfoProvider.exists(UserHandle.getUserId(uid))) { Slog.d(TAG, "Got freq readings for an invalid user's uid " + uid); if (DEBUG) Slog.d(TAG, "Got freq readings for an invalid user's uid " + uid); mCpuUidFreqTimeReader.removeUid(uid); return; } Loading Loading @@ -12797,11 +12797,11 @@ public class BatteryStatsImpl extends BatteryStats { uid = mapUid(uid); if (Process.isIsolated(uid)) { mCpuUidActiveTimeReader.removeUid(uid); Slog.w(TAG, "Got active times for an isolated uid with no mapping: " + uid); if (DEBUG) Slog.w(TAG, "Got active times for an isolated uid: " + uid); return; } if (!mUserInfoProvider.exists(UserHandle.getUserId(uid))) { Slog.w(TAG, "Got active times for an invalid user's uid " + uid); if (DEBUG) Slog.w(TAG, "Got active times for an invalid user's uid " + uid); mCpuUidActiveTimeReader.removeUid(uid); return; } Loading @@ -12827,11 +12827,11 @@ public class BatteryStatsImpl extends BatteryStats { uid = mapUid(uid); if (Process.isIsolated(uid)) { mCpuUidClusterTimeReader.removeUid(uid); Slog.w(TAG, "Got cluster times for an isolated uid with no mapping: " + uid); if (DEBUG) Slog.w(TAG, "Got cluster times for an isolated uid: " + uid); return; } if (!mUserInfoProvider.exists(UserHandle.getUserId(uid))) { Slog.w(TAG, "Got cluster times for an invalid user's uid " + uid); if (DEBUG) Slog.w(TAG, "Got cluster times for an invalid user's uid " + uid); mCpuUidClusterTimeReader.removeUid(uid); return; } Loading
core/java/com/android/internal/os/BatteryStatsImpl.java +8 −8 Original line number Diff line number Diff line Loading @@ -12574,11 +12574,11 @@ public class BatteryStatsImpl extends BatteryStats { // This could happen if the isolated uid mapping was removed before that process // was actually killed. mCpuUidUserSysTimeReader.removeUid(uid); Slog.d(TAG, "Got readings for an isolated uid with no mapping: " + uid); if (DEBUG) Slog.d(TAG, "Got readings for an isolated uid: " + uid); return; } if (!mUserInfoProvider.exists(UserHandle.getUserId(uid))) { Slog.d(TAG, "Got readings for an invalid user's uid " + uid); if (DEBUG) Slog.d(TAG, "Got readings for an invalid user's uid " + uid); mCpuUidUserSysTimeReader.removeUid(uid); return; } Loading Loading @@ -12683,11 +12683,11 @@ public class BatteryStatsImpl extends BatteryStats { uid = mapUid(uid); if (Process.isIsolated(uid)) { mCpuUidFreqTimeReader.removeUid(uid); Slog.d(TAG, "Got freq readings for an isolated uid with no mapping: " + uid); if (DEBUG) Slog.d(TAG, "Got freq readings for an isolated uid: " + uid); return; } if (!mUserInfoProvider.exists(UserHandle.getUserId(uid))) { Slog.d(TAG, "Got freq readings for an invalid user's uid " + uid); if (DEBUG) Slog.d(TAG, "Got freq readings for an invalid user's uid " + uid); mCpuUidFreqTimeReader.removeUid(uid); return; } Loading Loading @@ -12797,11 +12797,11 @@ public class BatteryStatsImpl extends BatteryStats { uid = mapUid(uid); if (Process.isIsolated(uid)) { mCpuUidActiveTimeReader.removeUid(uid); Slog.w(TAG, "Got active times for an isolated uid with no mapping: " + uid); if (DEBUG) Slog.w(TAG, "Got active times for an isolated uid: " + uid); return; } if (!mUserInfoProvider.exists(UserHandle.getUserId(uid))) { Slog.w(TAG, "Got active times for an invalid user's uid " + uid); if (DEBUG) Slog.w(TAG, "Got active times for an invalid user's uid " + uid); mCpuUidActiveTimeReader.removeUid(uid); return; } Loading @@ -12827,11 +12827,11 @@ public class BatteryStatsImpl extends BatteryStats { uid = mapUid(uid); if (Process.isIsolated(uid)) { mCpuUidClusterTimeReader.removeUid(uid); Slog.w(TAG, "Got cluster times for an isolated uid with no mapping: " + uid); if (DEBUG) Slog.w(TAG, "Got cluster times for an isolated uid: " + uid); return; } if (!mUserInfoProvider.exists(UserHandle.getUserId(uid))) { Slog.w(TAG, "Got cluster times for an invalid user's uid " + uid); if (DEBUG) Slog.w(TAG, "Got cluster times for an invalid user's uid " + uid); mCpuUidClusterTimeReader.removeUid(uid); return; }