Home
last modified time | relevance | path

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

12345

/packages/modules/ExtServices/tests/src/android/ext/services/watchdog/
DExplicitHealthCheckServiceImplUnitTest.java118 .thenReturn(createFakeResolveInfo(ApplicationInfo.FLAG_SYSTEM)); in testInitHealthCheckersWhileHasResolveInfoAndFlagIsSystem()
131 .thenReturn(createFakeResolveInfo(ApplicationInfo.FLAG_SYSTEM)); in testOnRequestHealthCheck()
145 .thenReturn(createFakeResolveInfo(ApplicationInfo.FLAG_SYSTEM)); in testOnCancelHealthCheck()
158 .thenReturn(createFakeResolveInfo(ApplicationInfo.FLAG_SYSTEM)); in testOnGetSupportedPackages()
171 .thenReturn(createFakeResolveInfo(ApplicationInfo.FLAG_SYSTEM)); in testOnGetRequestedPackagesWhileNoRequest()
183 .thenReturn(createFakeResolveInfo(ApplicationInfo.FLAG_SYSTEM)); in testOnGetRequestedPackagesWhileHasRequest()
/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.java232 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in onStart_bundledApp_showsDisableButton()
245 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in onStart_bundledApp_notEnabled_showsEnableButton()
259 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in onStart_bundledApp_enabled_disableUntilUsed_showsEnableButton()
274 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in onStart_bundledApp_homePackage_disablesDisableButton()
293 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in onStart_bundledApp_systemPackage_disablesDisableButton()
312 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in onStart_bundledApp_enabledApp_keepEnabledPackage_disablesDisableButton()
484 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in disableClicked_showsDialog()
500 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in disableDialogConfirmed_disablesPackage()
519 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;
59 update(mWallpaperManager.getWallpaperColors(FLAG_SYSTEM)); in WallpaperColorInfo()
84 if ((which & FLAG_SYSTEM) != 0) { in onColorsChanged()
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/
DWallpaperColorInfo.java19 import static android.app.WallpaperManager.FLAG_SYSTEM;
57 update(mWallpaperManager.getWallpaperColors(FLAG_SYSTEM)); in WallpaperColorInfo()
82 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/Launcher3/robolectric_tests/src/com/android/launcher3/secondarydisplay/
DSDWorkModeTest.java57 private static final int FLAG_SYSTEM = 0x00000800; field in SDWorkModeTest
93 sum.addUser(SYSTEM_USER, "me", FLAG_SYSTEM); in testAllAppsList_workProfile()
/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/tests/robotests/src/com/android/settings/applications/appinfo/
DAppButtonsPreferenceControllerTest.java240 mAppInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in updateUninstallButton_isSystemApp_handleAsDisableableButton()
271 mAppInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in updateUninstallButton_isDeviceAdminApp_setButtonDisable()
343 mAppInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in updateUninstallButton_isHomeAppAndBundled_setButtonDisable()
353 mAppInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in updateUninstallButton_isSystemRro_setButtonDisable()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DBackupRestoreTest.java68 private static final int FLAG_SYSTEM = 0x00000800; field in BackupRestoreTest
94 mMainProfileUser = mUserManager.addUser(SYSTEM_USER, "me", FLAG_SYSTEM); in setupUserManager()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DAppManagementFragment.java20 import static android.content.pm.ApplicationInfo.FLAG_SYSTEM;
531 boolean sysApp = (mEntry.info.flags & FLAG_SYSTEM) == FLAG_SYSTEM; in clearDataAllowed()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStorageSettings.java20 import static android.content.pm.ApplicationInfo.FLAG_SYSTEM;
294 (mAppEntry.info.flags & (FLAG_SYSTEM | FLAG_ALLOW_CLEAR_USER_DATA)) == FLAG_SYSTEM; in initDataButtons()
/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/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothRequestPermissionActivityTest.java136 suwInfo.activityInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in onCreate_requestDiscoverableIntent_bypassforSetup_startsDiscoverableScan()
158 launchInfo.activityInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in onCreate_requestDiscoverableIntent_bypassforGeneric_noScanModeChange()
/packages/apps/TV/common/src/com/android/tv/common/feature/
DSystemAppFeature.java30 return (context.getApplicationInfo().flags & ApplicationInfo.FLAG_SYSTEM) != 0; in isEnabled()

12345