Searched refs:isSystemModule (Results 1 – 7 of 7) sorted by relevance
59 val isSystemModule = packageManager.isSystemModule(PACKAGE_NAME) in isSystemModule_whenSystemModule_returnTrue() constant61 assertThat(isSystemModule).isTrue() in isSystemModule_whenSystemModule_returnTrue()68 val isSystemModule = packageManager.isSystemModule(PACKAGE_NAME) in isSystemModule_whenNotSystemModule_returnFalse() constant70 assertThat(isSystemModule).isFalse() in isSystemModule_whenNotSystemModule_returnFalse()
28 fun PackageManager.isSystemModule(packageName: String): Boolean = try { in PackageManager() method
149 public static boolean isSystemModule(Context context, String packageName) { in isSystemModule() method in AppUtils151 .isSystemModule(packageName); in isSystemModule()
465 boolean isSystemModule(String packageName) { in isSystemModule() method in ApplicationsState
1613 private boolean isSystemModule(String packageName) { in isSystemModule() method in AppRestrictionController1623 boolean isSystemModule = false; in isSystemModule()1625 isSystemModule = pm.getModuleInfo(packageName, 0 /* flags */) != null; in isSystemModule()1629 if (!isSystemModule) { in isSystemModule()1636 isSystemModule = pkg != null && pkg.applicationInfo.sourceDir.startsWith( in isSystemModule()1643 mSystemModulesCache.put(packageName, isSystemModule); in isSystemModule()1645 return isSystemModule; in isSystemModule()2935 if (isSystemModule(pkg)) {
543 HPLcom/android/server/am/AppRestrictionController;->isSystemModule(Ljava/lang/String;)Z+]Landroid/c…
5308 HPLcom/android/server/am/AppRestrictionController;->isSystemModule(Ljava/lang/String;)Z