Home
last modified time | relevance | path

Searched refs:isSystemApp (Results 1 – 25 of 48) 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/tests/robotests/src/com/android/car/notification/
DNotificationUtilsTest.java139 assertThat(NotificationUtils.isSystemApp(mContext, mAlertEntry.getStatusBarNotification())) in onIsSystemApp_isPlatformKey_returnsTrue()
148 assertThat(NotificationUtils.isSystemApp(mContext, mAlertEntry.getStatusBarNotification())) in onIsSystemApp_isNotPlatformKey_returnsFalse()
216 private void setApplicationInfo(boolean signedWithPlatformKey, boolean isSystemApp, in setApplicationInfo() argument
225 if (isSystemApp) { in setApplicationInfo()
/packages/apps/Car/Notification/src/com/android/car/notification/
DNotificationUtils.java86 public static boolean isSystemApp(Context context, in isSystemApp() method in NotificationUtils
91 return packageInfo.applicationInfo.isSystemApp(); in isSystemApp()
169 (packageInfo.applicationInfo.isSystemApp() in isSystemPrivilegedOrPlatformKeyInner()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationBaseViewHolder.java207 boolean isSystemApp = mEnableCardBackgroundColorForSystemApp && in canChangeCardBackgroundColor()
208 NotificationUtils.isSystemApp(mContext, getAlertEntry().getStatusBarNotification()); in canChangeCardBackgroundColor()
213 return isSystemApp || isNavigationCategory || isSignedWithPlatformKey; in canChangeCardBackgroundColor()
/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/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/permissioncontroller/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.java73 if (isSystemApp(info)) { in getAvailabilityStatus()
94 private boolean isSystemApp(ResolveInfo info) { in isSystemApp() method in TimeSpentInAppPreferenceController
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DPermissionAppsFragment.java181 boolean isSystemApp = !Utils.isGroupOrBgGroupUserSensitive(app.getPermissionGroup()); in onPermissionsLoaded()
182 if (isSystemApp) { in onPermissionsLoaded()
186 if (isSystemApp && isTelevision) { in onPermissionsLoaded()
188 } else if (!isSystemApp || mShowSystem) { in onPermissionsLoaded()
/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/apps/Car/Settings/tests/robotests/src/com/android/car/settings/location/
DLocationFooterPreferenceControllerTest.java150 private ResolveInfo getTestResolveInfo(boolean isSystemApp, boolean hasRequiredMetaData) { in getTestResolveInfo() argument
153 if (isSystemApp) { in getTestResolveInfo()
/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/Settings/tests/robotests/src/com/android/settings/location/
DLocationFooterPreferenceControllerTest.java141 private ResolveInfo getTestResolveInfo(boolean isSystemApp, boolean hasRequiredMetaData) { in getTestResolveInfo() argument
144 if (isSystemApp) { in getTestResolveInfo()
/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/PermissionController/src/com/android/permissioncontroller/permission/data/
DAppPermGroupUiInfoLiveData.kt123 val isSystemApp = !isUserSensitive(permissionState) in <lambda>() constant
127 return AppPermGroupUiInfo(shouldShow, isGranted, isSystemApp) in <lambda>()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DShared.java234 private static boolean isSystemApp(ApplicationInfo ai) { in isSystemApp() method in Shared
253 if (isSystemApp(info) || isUpdatedSystemApp(info)) { in getCallingPackageName()
/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.java168 final boolean isSystemApp = in onPreferenceChange()
170 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.java85 final boolean systemApp = isSystemApp(context, info); in isBlockable()
122 public boolean isSystemApp(Context context, ApplicationInfo app) { in isSystemApp() method in NotificationBackend
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenAutomaticRuleHeaderPreferenceController.java85 if (info.isSystemApp()) { in getIcon()

12