Searched refs:isSystemModule (Results 1 – 6 of 6) sorted by relevance
59 val isSystemModule = packageManager.isSystemModule(PACKAGE_NAME) regex61 assertThat(isSystemModule).isTrue()68 val isSystemModule = packageManager.isSystemModule(PACKAGE_NAME) regex70 assertThat(isSystemModule).isFalse()
28 fun PackageManager.isSystemModule(packageName: String): Boolean = try {
148 public static boolean isSystemModule(Context context, String packageName) { in isSystemModule() method in AppUtils150 .isSystemModule(packageName); in isSystemModule()
455 boolean isSystemModule(String packageName) { in isSystemModule() method in ApplicationsState
1598 private boolean isSystemModule(String packageName) { in isSystemModule() method in AppRestrictionController1608 boolean isSystemModule = false; in isSystemModule()1610 isSystemModule = pm.getModuleInfo(packageName, 0 /* flags */) != null; in isSystemModule()1614 if (!isSystemModule) { in isSystemModule()1621 isSystemModule = pkg != null && pkg.applicationInfo.sourceDir.startsWith( in isSystemModule()1628 mSystemModulesCache.put(packageName, isSystemModule); in isSystemModule()1630 return isSystemModule; in isSystemModule()2822 if (isSystemModule(pkg)) { in getPotentialSystemExemptionReason()
1324 HPLcom/android/server/am/AppRestrictionController;->isSystemModule(Ljava/lang/String;)Z+]Ljava/util…