Home
last modified time | relevance | path

Searched refs:FLAG_SYSTEM (Results 1 – 25 of 112) sorted by relevance

12345

/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/testing/
DTestWallpaperManagerCompat.java65 if (whichWallpaper == WallpaperManagerCompat.FLAG_SYSTEM) { in getWallpaperFile()
91 case WallpaperManagerCompat.FLAG_SYSTEM: in getWallpaperId()
103 if (whichWallpaper == WallpaperManagerCompat.FLAG_SYSTEM) { in setWallpaperFile()
114 case WallpaperManagerCompat.FLAG_SYSTEM: in setWallpaperId()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/
DApplicationDetailsFragmentTest.java243 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in onStart_bundledApp_showsDisableButton()
256 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in onStart_bundledApp_notEnabled_showsEnableButton()
270 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in onStart_bundledApp_enabled_disableUntilUsed_showsEnableButton()
285 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in onStart_bundledApp_homePackage_disablesDisableButton()
304 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in onStart_bundledApp_systemPackage_disablesDisableButton()
323 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in onStart_bundledApp_enabledApp_keepEnabledPackage_disablesDisableButton()
495 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in disableClicked_showsDialog()
511 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in disableDialogConfirmed_disablesPackage()
530 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in enableClicked_enablesPackage()
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/dynamicui/
DWallpaperManagerCompatVL.java18 import static android.app.WallpaperManager.FLAG_SYSTEM;
117 return which == FLAG_SYSTEM ? mColorsCompat : null; in getWallpaperColors()
136 listener.onColorsChanged(mColorsCompat, FLAG_SYSTEM); in handleResult()
141 return context.getSystemService(WallpaperManager.class).getWallpaperId(FLAG_SYSTEM); in getWallpaperId()
216 try (ParcelFileDescriptor fd = wm.getWallpaperFile(FLAG_SYSTEM)) { in run()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/compat/
DWallpaperManagerCompat.java36 public static final int FLAG_SYSTEM = WallpaperManager.FLAG_SYSTEM; field in WallpaperManagerCompat
99 FLAG_SYSTEM,
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DWallpaperColorInfo.java19 import static android.app.WallpaperManager.FLAG_SYSTEM;
67 update(mWallpaperManager.getWallpaperColors(FLAG_SYSTEM)); in WallpaperColorInfo()
92 if ((which & FLAG_SYSTEM) != 0) { in onColorsChanged()
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/
DWallpaperColorInfo.java29 import static android.app.WallpaperManager.FLAG_SYSTEM;
64 update(mWallpaperManager.getWallpaperColors(FLAG_SYSTEM)); in WallpaperColorInfo()
89 if ((which & FLAG_SYSTEM) != 0) { in onColorsChanged()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/legal/
DLegalPreferenceControllerTest.java89 activityInfo.applicationInfo.flags = ApplicationInfo.FLAG_SYSTEM; in refreshUi_intentResolvesToActivity_isVisible()
118 activityInfo.applicationInfo.flags = ApplicationInfo.FLAG_SYSTEM; in refreshUi_intentResolvesToActivity_updatesTitle()
147 activityInfo.applicationInfo.flags = ApplicationInfo.FLAG_SYSTEM; in refreshUi_intentResolvesToActivity_updatesIntentToSpecificActivity()
/packages/apps/Settings/tests/robotests/src/com/android/settings/shortcut/
DCreateShortcutPreferenceControllerTest.java119 ri2.activityInfo.applicationInfo.flags = ApplicationInfo.FLAG_SYSTEM; in queryShortcuts_shouldOnlyIncludeSystemApp()
137 ri1.activityInfo.applicationInfo.flags = ApplicationInfo.FLAG_SYSTEM; in queryShortcuts_shouldSortBasedOnPriority()
144 ri2.activityInfo.applicationInfo.flags = ApplicationInfo.FLAG_SYSTEM; in queryShortcuts_shouldSortBasedOnPriority()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DInstalledAppListerTest.java113 buildInfo(MAIN_USER_APP_UID, APP_3, ApplicationInfo.FLAG_SYSTEM, in testCountInstalledAppsAcrossAllUsers()
115 buildInfo(MAIN_USER_APP_UID, APP_4, ApplicationInfo.FLAG_SYSTEM, in testCountInstalledAppsAcrossAllUsers()
141 buildInfo(MANAGED_PROFILE_APP_UID, APP_6, ApplicationInfo.FLAG_SYSTEM, in testCountInstalledAppsAcrossAllUsers()
DInstalledAppCounterTest.java96 mApp3 = buildInfo(MAIN_USER_APP_UID, APP_3, ApplicationInfo.FLAG_SYSTEM, in setUp()
98 mApp4 = buildInfo(MAIN_USER_APP_UID, APP_4, ApplicationInfo.FLAG_SYSTEM, in setUp()
102 mApp6 = buildInfo(MANAGED_PROFILE_APP_UID, APP_6, ApplicationInfo.FLAG_SYSTEM, in setUp()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DAppsAsyncLoaderTest.java192 app.flags = ApplicationInfo.FLAG_SYSTEM; in test_systemApps_areInvalid()
200 app.flags = ApplicationInfo.FLAG_SYSTEM; in test_noThresholdFilter_systemApps_areInvalid()
243 systemApp.flags = ApplicationInfo.FLAG_SYSTEM; in test_multipleApps_processCorrectly()
281 systemApp.flags = ApplicationInfo.FLAG_SYSTEM; in test_noThresholdFilter_ignoresUsageForFiltering()
DAppStateUsageStatsBridgeTest.java248 app.info.flags = ApplicationInfo.FLAG_SYSTEM; in test_systemApps_areInvalid()
264 app.info.flags = ApplicationInfo.FLAG_SYSTEM; in test_noThresholdFilter_systemApps_areInvalid()
320 systemApp.info.flags = ApplicationInfo.FLAG_SYSTEM; in test_multipleApps_processCorrectly()
349 systemApp.info.flags = ApplicationInfo.FLAG_SYSTEM; in test_noThresholdFilter_ignoresUsageForFiltering()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppButtonsPreferenceControllerTest.java237 mAppInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in updateUninstallButton_isSystemApp_handleAsDisableableButton()
268 mAppInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in updateUninstallButton_isDeviceAdminApp_setButtonDisable()
307 mAppInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in updateUninstallButton_isHomeAppAndBundled_setButtonDisable()
317 mAppInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in updateUninstallButton_isSystemRro_setButtonDisable()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperPersister.java432 ? WallpaperManagerCompat.FLAG_SYSTEM in setWallpaperBitmapInRotationStatic()
433 : WallpaperManagerCompat.FLAG_SYSTEM | WallpaperManagerCompat.FLAG_LOCK; in setWallpaperBitmapInRotationStatic()
616 whichWallpaper = WallpaperManagerCompat.FLAG_SYSTEM; in doInBackground()
620 whichWallpaper = WallpaperManagerCompat.FLAG_SYSTEM in doInBackground()
DDefaultWallpaperRefresher.java169 WallpaperManagerCompat.FLAG_SYSTEM)); in setFallbackHomeScreenWallpaperMetadata()
282 … == mWallpaperManagerCompat.getWallpaperId(WallpaperManagerCompat.FLAG_SYSTEM); in isHomeScreenImageWallpaperCurrent()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DCurrentWallpaperInfoVN.java146 WallpaperManagerCompat.FLAG_SYSTEM); in createCurrentWallpaperAssetVN()
149 boolean isSystemBuiltIn = mWallpaperManagerFlag == WallpaperManagerCompat.FLAG_SYSTEM in createCurrentWallpaperAssetVN()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStorageSettings.java20 import static android.content.pm.ApplicationInfo.FLAG_SYSTEM;
293 (mAppEntry.info.flags & (FLAG_SYSTEM | FLAG_ALLOW_CLEAR_USER_DATA)) == FLAG_SYSTEM; in initDataButtons()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DPackageManagerHelper.java246 ((info.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0); in isSystemApp()
264 (info.activityInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { in findSystemApk()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DAppStorageSettings.java20 import static android.content.pm.ApplicationInfo.FLAG_SYSTEM;
293 (mAppEntry.info.flags & (FLAG_SYSTEM | FLAG_ALLOW_CLEAR_USER_DATA)) == FLAG_SYSTEM; in initDataButtons()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/
DAppOpsPreferenceControllerTest.java244 systemApp.info.flags |= ApplicationInfo.FLAG_SYSTEM; in appFilter_showingSystemApps_keepsSystemEntries()
260 systemApp.info.flags |= ApplicationInfo.FLAG_SYSTEM; in appFilter_notShowingSystemApps_removesSystemEntries()
/packages/apps/TV/common/src/com/android/tv/common/feature/
DSystemAppFeature.java30 return (context.getApplicationInfo().flags & ApplicationInfo.FLAG_SYSTEM) != 0; in isEnabled()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DApplicationDetailsFragment.java340 boolean isBundledApp = (mAppEntry.info.flags & ApplicationInfo.FLAG_SYSTEM) != 0; in shouldDisableUninstallForHomeApp()
375 return (mAppEntry.info.flags & ApplicationInfo.FLAG_SYSTEM) != 0; in isBundledApp()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DMainFragment.java330 && (info.activityInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) in systemIntentIsHandled()
331 == ApplicationInfo.FLAG_SYSTEM) { in systemIntentIsHandled()
DPreferenceUtils.java49 if ((resolveInfo.activityInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) in resolveSystemActivityOrRemove()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DUninstallPreference.java53 (ApplicationInfo.FLAG_UPDATED_SYSTEM_APP|ApplicationInfo.FLAG_SYSTEM)) == 0; in canUninstall()

12345