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/batteryusage/
DBatteryEntry.java122 private String mDefaultPackageName; field in BatteryEntry
158 mDefaultPackageName = packageName; in BatteryEntry()
167 if (mDefaultPackageName == null) { in BatteryEntry()
170 mDefaultPackageName = packages[0]; in BatteryEntry()
172 mDefaultPackageName = in BatteryEntry()
178 if (mDefaultPackageName != null) { in BatteryEntry()
182 pm.getApplicationInfo(mDefaultPackageName, 0 /* no flags */); in BatteryEntry()
188 + mDefaultPackageName); in BatteryEntry()
189 mName = mDefaultPackageName; in BatteryEntry()
433 return mDefaultPackageName; in getDefaultPackageName()
[all …]
DBatteryDiffEntry.java110 private String mDefaultPackageName = null; field in BatteryDiffEntry
273 mDefaultPackageName != null ? mDefaultPackageName : mLegacyPackageName; in getPackageName()
507 mDefaultPackageName = nameAndIcon.mPackageName; in loadNameAndIconForUid()
508 if (mDefaultPackageName != null in loadNameAndIconForUid()
509 && !mDefaultPackageName.equals(nameAndIcon.mPackageName)) { in loadNameAndIconForUid()
514 mDefaultPackageName, nameAndIcon.mPackageName)); in loadNameAndIconForUid()