D | BatteryEntry.java | 54 public static final class NameAndIcon { class in BatteryEntry 60 public NameAndIcon(String name, Drawable icon, int iconId) { in NameAndIcon() method in BatteryEntry.NameAndIcon 64 public NameAndIcon(String name, String packageName, Drawable icon, int iconId) { in NameAndIcon() method in BatteryEntry.NameAndIcon 218 final NameAndIcon nameAndIcon = in BatteryEntry() 244 final NameAndIcon nameAndIcon = getNameAndIconFromPowerComponent(context, powerComponentId); in BatteryEntry() 290 public static NameAndIcon loadNameAndIcon( in loadNameAndIcon() 397 return new NameAndIcon(name, defaultPackageName, icon, /* iconId= */ 0); in loadNameAndIcon() 547 public static NameAndIcon getNameAndIconFromUserId(Context context, final int userId) { in getNameAndIconFromUserId() 561 return new NameAndIcon(name, icon, 0 /* iconId */); in getNameAndIconFromUserId() 565 public static NameAndIcon getNameAndIconFromUid(Context context, String name, final int uid) { in getNameAndIconFromUid() [all …]
|