/packages/modules/ExtServices/tests/src/android/ext/services/watchdog/ |
D | ExplicitHealthCheckServiceImplUnitTest.java | 118 .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/ |
D | TestWallpaperManagerCompat.java | 65 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/ |
D | ApplicationDetailsFragmentTest.java | 232 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/ |
D | WallpaperManagerCompatVL.java | 18 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/ |
D | WallpaperManagerCompat.java | 36 public static final int FLAG_SYSTEM = WallpaperManager.FLAG_SYSTEM; field in WallpaperManagerCompat 99 FLAG_SYSTEM,
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/ |
D | WallpaperColorInfo.java | 19 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/ |
D | WallpaperColorInfo.java | 19 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/ |
D | LegalPreferenceControllerTest.java | 89 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/ |
D | CreateShortcutPreferenceControllerTest.java | 119 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/ |
D | InstalledAppListerTest.java | 113 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()
|
D | InstalledAppCounterTest.java | 96 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/ |
D | AppsAsyncLoaderTest.java | 192 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()
|
D | AppStateUsageStatsBridgeTest.java | 248 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/ |
D | SDWorkModeTest.java | 57 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/ |
D | DefaultWallpaperPersister.java | 432 ? 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()
|
D | DefaultWallpaperRefresher.java | 169 WallpaperManagerCompat.FLAG_SYSTEM)); in setFallbackHomeScreenWallpaperMetadata() 282 … == mWallpaperManagerCompat.getWallpaperId(WallpaperManagerCompat.FLAG_SYSTEM); in isHomeScreenImageWallpaperCurrent()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
D | CurrentWallpaperInfoVN.java | 146 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/ |
D | AppButtonsPreferenceControllerTest.java | 240 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/ |
D | BackupRestoreTest.java | 68 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/ |
D | AppManagementFragment.java | 20 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/ |
D | AppStorageSettings.java | 20 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/ |
D | AppStorageSettings.java | 20 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/ |
D | AppOpsPreferenceControllerTest.java | 244 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/ |
D | BluetoothRequestPermissionActivityTest.java | 136 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/ |
D | SystemAppFeature.java | 30 return (context.getApplicationInfo().flags & ApplicationInfo.FLAG_SYSTEM) != 0; in isEnabled()
|