Home
last modified time | relevance | path

Searched refs:mDefaultPackageName (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryEntry.java114 be.mDefaultPackageName, be.name, be.icon); in run()
118 be.mDefaultPackageName = nameAndIcon.packageName; in run()
176 private String mDefaultPackageName; field in BatteryEntry
198 mDefaultPackageName = packageName; in BatteryEntry()
207 if (mDefaultPackageName == null) { in BatteryEntry()
210 mDefaultPackageName = packages[0]; in BatteryEntry()
212 mDefaultPackageName = uidBatteryConsumer.getPackageWithHighestDrain(); in BatteryEntry()
215 if (mDefaultPackageName != null) { in BatteryEntry()
219 pm.getApplicationInfo(mDefaultPackageName, 0 /* no flags */); in BatteryEntry()
223 + mDefaultPackageName); in BatteryEntry()
[all …]
DBatteryDiffEntry.java59 private String mDefaultPackageName = null; field in BatteryDiffEntry
126 final String packageName = mDefaultPackageName != null in getPackageName()
127 ? mDefaultPackageName : mBatteryHistEntry.mPackageName; in getPackageName()
314 mDefaultPackageName = nameAndIcon.packageName; in loadNameAndIconForUid()
315 if (mDefaultPackageName != null in loadNameAndIconForUid()
316 && !mDefaultPackageName.equals(nameAndIcon.packageName)) { in loadNameAndIconForUid()
318 mDefaultPackageName, nameAndIcon.packageName)); in loadNameAndIconForUid()