Home
last modified time | relevance | path

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

/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/
DSchedulersTest.java19 import static androidx.work.impl.utils.PackageManagerHelper.isComponentExplicitlyEnabled;
77 assertThat(isComponentExplicitlyEnabled(mAppContext, SystemJobService.class), in assertServicesEnabled()
80 assertThat(isComponentExplicitlyEnabled( in assertServicesEnabled()
84 assertThat(isComponentExplicitlyEnabled(mAppContext, SystemAlarmService.class), in assertServicesEnabled()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/utils/
DPackageManagerHelper.java64 public static boolean isComponentExplicitlyEnabled(Context context, Class klazz) { in isComponentExplicitlyEnabled() method in PackageManagerHelper
65 return isComponentExplicitlyEnabled(context, klazz.getName()); in isComponentExplicitlyEnabled()
75 public static boolean isComponentExplicitlyEnabled(Context context, String className) { in isComponentExplicitlyEnabled() method in PackageManagerHelper