/frameworks/base/core/java/com/android/internal/colorextraction/ |
D | ColorExtractor.java | 67 for (int which : new int[] { WallpaperManager.FLAG_LOCK, WallpaperManager.FLAG_SYSTEM}) { in ColorExtractor() 84 mSystemColors = wallpaperManager.getWallpaperColors(WallpaperManager.FLAG_SYSTEM); in initExtractColors() 98 mSystemColors = params[0].getWallpaperColors(WallpaperManager.FLAG_SYSTEM); in doInBackground() 107 triggerColorsChanged(WallpaperManager.FLAG_SYSTEM | WallpaperManager.FLAG_LOCK); in onPostExecute() 112 GradientColors[] systemColors = mGradientColors.get(WallpaperManager.FLAG_SYSTEM); in extractWallpaperColors() 148 if (which != WallpaperManager.FLAG_LOCK && which != WallpaperManager.FLAG_SYSTEM) { in getColors() 164 } else if (which == WallpaperManager.FLAG_SYSTEM) { in getWallpaperColors() 184 if ((which & WallpaperManager.FLAG_SYSTEM) != 0) { in onColorsChanged() 186 GradientColors[] systemColors = mGradientColors.get(WallpaperManager.FLAG_SYSTEM); in onColorsChanged()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | AppsQueryHelperTests.java | 110 ai1.flags |= ApplicationInfo.FLAG_SYSTEM; in getAllApps() 113 ai2.flags |= ApplicationInfo.FLAG_SYSTEM; in getAllApps() 115 ai2.flags |= ApplicationInfo.FLAG_SYSTEM; in getAllApps() 118 ai3.flags |= ApplicationInfo.FLAG_SYSTEM; in getAllApps() 132 r2.activityInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in queryIntentActivitiesAsUser() 144 p1.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in getPackagesHoldingPermission() 155 sysApp1.serviceInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in queryIntentServicesAsUser()
|
D | PackageBuilder.java | 59 this.mFlags |= ApplicationInfo.FLAG_SYSTEM; in asSystemApp()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierAppUtilsTest.java | 143 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_INSTALLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_DisabledUser() 170 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_INSTALLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Disabled() 197 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_INSTALLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Enabled() 223 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_UPDATED_SYSTEM_APP in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedApp() 255 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_INSTALLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_MissingAssociated_Default() 290 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_INSTALLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Associated_Default() 301 associatedAppInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Associated_Default() 332 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_INSTALLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedAssociated_DisabledUntilUsed() 343 ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_UPDATED_SYSTEM_APP; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedAssociated_DisabledUntilUsed() 376 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_INSTALLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Associated_DisabledUntilUsed() [all …]
|
/frameworks/base/core/java/android/app/ |
D | WallpaperManager.java | 180 FLAG_SYSTEM, 189 public static final int FLAG_SYSTEM = 1 << 0; field in WallpaperManager 377 if (which != FLAG_LOCK && which != FLAG_SYSTEM) { in getWallpaperColors() 462 this, FLAG_SYSTEM, params, userId); in getCurrentWallpaperLocked() 548 Bitmap bm = sGlobals.peekWallpaperBitmap(mContext, true, FLAG_SYSTEM); in getDrawable() 561 return getBuiltInDrawable(0, 0, false, 0, 0, FLAG_SYSTEM); in getBuiltInDrawable() 593 horizontalAlignment, verticalAlignment, FLAG_SYSTEM); in getBuiltInDrawable() 619 if (which != FLAG_SYSTEM && which != FLAG_LOCK) { in getBuiltInDrawable() 779 Bitmap bm = sGlobals.peekWallpaperBitmap(mContext, false, FLAG_SYSTEM); in peekDrawable() 803 Bitmap bm = sGlobals.peekWallpaperBitmap(mContext, true, FLAG_SYSTEM); in getFastDrawable() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/colorextraction/ |
D | SysuiColorExtractorTests.java | 54 WallpaperManager.FLAG_SYSTEM, 106 mColorExtractor.getColors(WallpaperManager.FLAG_SYSTEM, type), fallbackColors); in getColors_fallbackWhenMediaIsVisible() 135 WallpaperManager.FLAG_SYSTEM | WallpaperManager.FLAG_LOCK); in simulateEvent()
|
/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/ |
D | ColorExtractorTest.java | 91 GradientColors colors = extractor.getColors(WallpaperManager.FLAG_SYSTEM, in getColors_usesExtractedColors() 94 colors = extractor.getColors(WallpaperManager.FLAG_SYSTEM, ColorExtractor.TYPE_DARK); in getColors_usesExtractedColors() 96 colors = extractor.getColors(WallpaperManager.FLAG_SYSTEM, ColorExtractor.TYPE_EXTRA_DARK); in getColors_usesExtractedColors()
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/ |
D | PartnerTest.java | 150 appInfo.flags = ApplicationInfo.FLAG_SYSTEM; in PartnerPackageBuilder() 160 resolveInfo.activityInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in setIsSystem() 162 resolveInfo.activityInfo.applicationInfo.flags &= ~ApplicationInfo.FLAG_SYSTEM; in setIsSystem()
|
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/ |
D | WallpaperBackupAgent.java | 20 import static android.app.WallpaperManager.FLAG_SYSTEM; 129 mWm.getWallpaperIdForUser(FLAG_SYSTEM, UserHandle.USER_SYSTEM); in onFullBackup() 135 final boolean sysEligible = mWm.isWallpaperBackupEligible(FLAG_SYSTEM); in onFullBackup() 219 final int sysWhich = FLAG_SYSTEM | (lockImageStage.exists() ? 0 : FLAG_LOCK); in onRestoreFinished()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperManagerService.java | 20 import static android.app.WallpaperManager.FLAG_SYSTEM; 307 notifyColorsWhich |= FLAG_SYSTEM; in onEvent() 540 try (InputStream is = WallpaperManager.openDefaultWallpaper(mContext, FLAG_SYSTEM)) { in extractDefaultImageWallpaperColors() argument 1177 clearWallpaperLocked(true, FLAG_SYSTEM, mWallpaper.userId, 1355 clearWallpaperLocked(true, FLAG_SYSTEM, mWallpaper.userId, null); in tryToRebind() 1384 clearWallpaperLocked(true, FLAG_SYSTEM, mWallpaper.userId, null); in processDisconnect() 1416 which = FLAG_SYSTEM; in onWallpaperColorsChanged() 1509 clearWallpaperLocked(false, FLAG_SYSTEM, wallpaper.userId, null); in onPackageUpdateFinished() 1597 clearWallpaperLocked(false, FLAG_SYSTEM, wallpaper.userId, null); in doPackagesChangedLocked() 1618 clearWallpaperLocked(false, FLAG_SYSTEM, wallpaper.userId, null); in doPackagesChangedLocked() [all …]
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/inputmethod/ |
D | InputMethodPreferenceTest.java | 140 resolveInfo.serviceInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in createInputMethodInfo() 142 resolveInfo.serviceInfo.applicationInfo.flags &= ~ApplicationInfo.FLAG_SYSTEM; in createInputMethodInfo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/colorextraction/ |
D | SysuiColorExtractor.java | 103 triggerColorsChanged(WallpaperManager.FLAG_SYSTEM | WallpaperManager.FLAG_LOCK); in onUiModeChanged() 141 GradientColors[] system = mGradientColors.get(WallpaperManager.FLAG_SYSTEM); in dump()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/ |
D | AppRestrictionsHelper.java | 189 if ((app.flags & ApplicationInfo.FLAG_SYSTEM) == 0 in fetchAndMergeApps() 230 if ((app.flags & ApplicationInfo.FLAG_SYSTEM) == 0 in fetchAndMergeApps() 308 if ((flags & ApplicationInfo.FLAG_SYSTEM) != 0 in addSystemApps() 342 if ((flags & ApplicationInfo.FLAG_SYSTEM) != 0 in isSystemPackage()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | SettingBase.java | 56 & (ApplicationInfo.FLAG_SYSTEM in setFlags()
|
D | PackageSetting.java | 160 return (pkgFlags & ApplicationInfo.FLAG_SYSTEM) != 0; in isSystem()
|
/frameworks/base/media/java/android/media/tv/ |
D | TvContentRatingSystemInfo.java | 66 return (mApplicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0; in isSystemDefined()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/applications/ |
D | ApplicationsStateTest.java | 156 mEntry.info.flags = ApplicationInfo.FLAG_SYSTEM; in testDownloadAndLauncherAndInstantAcceptsCorrectApps() 186 mEntry.info.flags = ApplicationInfo.FLAG_SYSTEM; in testDownloadAndLauncherAcceptsCorrectApps()
|
/frameworks/base/services/core/java/com/android/server/backup/ |
D | BackupUtils.java | 49 if ((target.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { in signaturesMatch()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/ |
D | AppRestrictionsHelperTest.java | 223 ri.activityInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in createResolveInfoForSystemApp() 224 ri.serviceInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in createResolveInfoForSystemApp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageManagerSettingsTests.java | 379 ApplicationInfo.FLAG_SYSTEM|ApplicationInfo.FLAG_HAS_CODE, in testPackageStateCopy01() 406 ApplicationInfo.FLAG_SYSTEM|ApplicationInfo.FLAG_HAS_CODE, in testPackageStateCopy02() 486 ApplicationInfo.FLAG_SYSTEM /*pkgFlags*/, in testUpdatePackageSetting02() 494 assertThat(testPkgSetting01.pkgFlags, is(ApplicationInfo.FLAG_SYSTEM)); in testUpdatePackageSetting02() 556 ApplicationInfo.FLAG_SYSTEM /*pkgFlags*/, in testCreateNewSetting01() 569 assertThat(testPkgSetting01.pkgFlags, is(ApplicationInfo.FLAG_SYSTEM)); in testCreateNewSetting01()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
D | Partner.java | 160 if ((appInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { in get()
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | RemotePrintServiceRecommendationService.java | 107 if ((appInfo.flags & ApplicationInfo.FLAG_SYSTEM) == 0) { in getServiceIntent()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | AppBackupUtils.java | 238 if ((target.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { in signaturesMatch()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageIconProvider.java | 190 (pkgInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { in isSystemApp()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | DeviceInfoUtils.java | 140 if ((ai.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { in getFeedbackReporterPackage()
|