Searched refs:AppLabelPredicate (Results 1 – 7 of 7) sorted by relevance
29 public class AppLabelPredicate implements Predicate<AppInfo> { class31 private static AppLabelPredicate sInstance;34 public static AppLabelPredicate getInstance(Context context) { in getInstance()36 sInstance = new AppLabelPredicate(context.getApplicationContext()); in getInstance()42 private AppLabelPredicate(Context context) { in AppLabelPredicate() method in AppLabelPredicate
114 mRestrictAppList.removeIf(AppLabelPredicate.getInstance(context)); in validateCheck()
30 import com.android.settings.fuelgauge.batterytip.tips.AppLabelPredicate;52 private AppLabelPredicate mAppLabelPredicate;59 mAppLabelPredicate = AppLabelPredicate.getInstance(context); in RestrictAppDetector()
32 import com.android.settings.fuelgauge.batterytip.tips.AppLabelPredicate;86 ReflectionHelpers.setStaticField(AppLabelPredicate.class, "sInstance", null); in tearDown()
39 import com.android.settings.fuelgauge.batterytip.tips.AppLabelPredicate;137 highUsageApps.removeIf(AppLabelPredicate.getInstance(context) in detectAnomalies()
38 import com.android.settings.fuelgauge.batterytip.tips.AppLabelPredicate;114 ReflectionHelpers.setStaticField(AppLabelPredicate.class, "sInstance", null); in tearDown()
107 ReflectionHelpers.setStaticField(AppLabelPredicate.class, "sInstance", null); in tearDown()