Home
last modified time | relevance | path

Searched refs:isSystemApp (Results 1 – 25 of 47) sorted by relevance

12

/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/eligibility/
DProviderEligibilityChecker.java34 return isSystemApp(id, info) in isEligible()
38 private static boolean isSystemApp(String id, ResolveInfo info) { in isSystemApp() method in ProviderEligibilityChecker
39 final boolean isSystemApp = info != null in isSystemApp()
44 if (!isSystemApp) { in isSystemApp()
47 return isSystemApp; in isSystemApp()
/packages/apps/Car/Notification/src/com/android/car/notification/
DNotificationUtils.java65 public static boolean isSystemApp(Context context, in isSystemApp() method in NotificationUtils
79 return packageInfo.applicationInfo.isSystemApp(); in isSystemApp()
121 (packageInfo.applicationInfo.isSystemApp() in isSystemPrivilegedOrPlatformKeyInner()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationBaseViewHolder.java204 boolean isSystemApp = mEnableCardBackgroundColorForSystemApp && in canChangeCardBackgroundColor()
205 NotificationUtils.isSystemApp(mContext, getStatusBarNotification()); in canChangeCardBackgroundColor()
210 return isSystemApp || isNavigationCategory || isSignedWithPlatformKey; in canChangeCardBackgroundColor()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/television/
DPermissionAppsFragment.java197 boolean isSystemApp = !Utils.isGroupOrBgGroupUserSensitive(app.getPermissionGroup()); in onPermissionsLoaded()
199 if (isSystemApp && !menuOptionsInvalided) { in onPermissionsLoaded()
205 if (isSystemApp && !isTelevision && !mShowSystem) { in onPermissionsLoaded()
244 if (isSystemApp && isTelevision) { in onPermissionsLoaded()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DResolveInfoBuilder.java51 String packageName, String className, String authority, boolean isSystemApp) { in setProvider() argument
55 if (isSystemApp) { in setProvider()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DPermissionAppsFragment.java297 boolean isSystemApp = !Utils.isGroupOrBgGroupUserSensitive(group); in onPermissionsLoaded()
299 if (isSystemApp && !menuOptionsInvalided) { in onPermissionsLoaded()
305 if (isSystemApp && !isTelevision && !mShowSystem) { in onPermissionsLoaded()
335 if (isSystemApp && isTelevision) { in onPermissionsLoaded()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/
DTimeSpentInAppPreferenceController.java67 if (isSystemApp(info)) { in getAvailabilityStatus()
83 private boolean isSystemApp(ResolveInfo info) { in isSystemApp() method in TimeSpentInAppPreferenceController
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/auto/
DAutoPermissionAppsFragment.java241 boolean isSystemApp = !Utils.isGroupOrBgGroupUserSensitive(group); in onPermissionsLoaded()
243 if (isSystemApp) { in onPermissionsLoaded()
247 if (isSystemApp && !mShowSystem) { in onPermissionsLoaded()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DTimeSpentInAppPreferenceController.java71 if (isSystemApp(info)) { in getAvailabilityStatus()
92 private boolean isSystemApp(ResolveInfo info) { in isSystemApp() method in TimeSpentInAppPreferenceController
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/legal/
DTermsPreferenceControllerTest.java108 private ResolveInfo getTestResolveInfo(boolean isSystemApp) { in getTestResolveInfo() argument
111 if (isSystemApp) { in getTestResolveInfo()
DWebViewLicensePreferenceControllerTest.java108 private ResolveInfo getTestResolveInfo(boolean isSystemApp) { in getTestResolveInfo() argument
111 if (isSystemApp) { in getTestResolveInfo()
DCopyrightPreferenceControllerTest.java108 private ResolveInfo getTestResolveInfo(boolean isSystemApp) { in getTestResolveInfo() argument
111 if (isSystemApp) { in getTestResolveInfo()
DLicensePreferenceControllerTest.java108 private ResolveInfo getTestResolveInfo(boolean isSystemApp) { in getTestResolveInfo() argument
111 if (isSystemApp) { in getTestResolveInfo()
/packages/services/Telephony/src/com/android/phone/
DEmergencyAssistanceHelper.java76 if (isSystemApp(packageInfo) && (bestMatch == null in resolveAssistPackageAndQueryActivities()
113 private static boolean isSystemApp(PackageInfo info) { in isSystemApp() method in EmergencyAssistanceHelper
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DSystemBroadcastReceiver.java147 final boolean isSystemApp = (appInfoFlags & ApplicationInfo.FLAG_SYSTEM) > 0; in toggleAppIcon()
149 Log.i(TAG, "toggleAppIcon() : FLAG_SYSTEM = " + isSystemApp); in toggleAppIcon()
/packages/apps/TV/src/com/android/tv/util/
DPartner.java169 if (isSystemApp(info)) { in getPartnerResolveInfo()
177 protected static boolean isSystemApp(ResolveInfo info) { in isSystemApp() method in Partner
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/location/
DLocationFooterPreferenceControllerTest.java194 private ResolveInfo getTestResolveInfo(boolean isSystemApp, boolean hasRequiredMetaData) { in getTestResolveInfo() argument
197 if (isSystemApp) { in getTestResolveInfo()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DShared.java197 private static boolean isSystemApp(ApplicationInfo ai) { in isSystemApp() method in Shared
216 if (isSystemApp(info) || isUpdatedSystemApp(info)) { in getCallingPackageName()
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DLocationFooterPreferenceControllerTest.java203 private ResolveInfo getTestResolveInfo(boolean isSystemApp, boolean hasRequiredMetaData) { in getTestResolveInfo() argument
206 if (isSystemApp) { in getTestResolveInfo()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/inputmethod/
DSpellCheckersSettings.java169 final boolean isSystemApp = in onPreferenceChange()
171 if (isSystemApp) { in onPreferenceChange()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DSpellCheckersSettings.java169 final boolean isSystemApp = in onPreferenceChange()
171 if (isSystemApp) { in onPreferenceChange()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DLiveWallpaperInfo.java224 } else if (isSystemApp(resolveInfo.serviceInfo.applicationInfo)) { in getAllOnDevice()
248 private static boolean isSystemApp(ApplicationInfo appInfo) { in isSystemApp() method in LiveWallpaperInfo
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DNotificationBackend.java84 final boolean systemApp = isSystemApp(context, info); in isBlockable()
121 public boolean isSystemApp(Context context, ApplicationInfo app) { in isSystemApp() method in NotificationBackend
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationBackend.java86 final boolean systemApp = isSystemApp(context, info); in isBlockable()
128 public boolean isSystemApp(Context context, ApplicationInfo app) { in isSystemApp() method in NotificationBackend
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DBatteryUtils.java551 || (isSystemApp(mPackageManager, packageNames) && !hasLauncherEntry(packageNames)) in shouldHideAnomaly()
565 private boolean isSystemApp(PackageManager packageManager, String[] packageNames) { in isSystemApp() method in BatteryUtils

12