/packages/apps/TV/common/src/com/android/tv/common/feature/ |
SystemAppFeature.java | 30 return (context.getApplicationInfo().flags & ApplicationInfo.FLAG_SYSTEM) != 0;
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/ |
WallpaperColorInfo.java | 19 import static android.app.WallpaperManager.FLAG_SYSTEM; 63 update(mWallpaperManager.getWallpaperColors(FLAG_SYSTEM)); 84 if ((which & FLAG_SYSTEM) != 0) {
|
/cts/tests/tests/permission/src/android/permission/cts/ |
NoWallpaperPermissionsTest.java | 34 import static android.app.WallpaperManager.FLAG_SYSTEM; 92 mWM.setBitmap(b, null, false, FLAG_SYSTEM); 139 mWM.clear(FLAG_SYSTEM); 164 /* ignore result */ mWM.getWallpaperFile(FLAG_SYSTEM); 165 fail("getWallpaperFile(FLAG_SYSTEM) did not enforce READ_EXTERNAL_STORAGE");
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/colorextraction/ |
SysuiColorExtractorTests.java | 42 WallpaperManager.FLAG_SYSTEM, 63 extractor.getColors(WallpaperManager.FLAG_SYSTEM, type), fallbackColors); 104 extractor.getColors(WallpaperManager.FLAG_SYSTEM, type), fallbackColors); 121 WallpaperManager.FLAG_SYSTEM | WallpaperManager.FLAG_LOCK);
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
PackageInfo.java | 29 private static final int FLAG_SYSTEM = 1 << 0; 97 mIsSystemApp = (flags & FLAG_SYSTEM) != 0;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/colorextraction/ |
SysuiColorExtractor.java | 62 WallpaperColors systemColors = getWallpaperColors(WallpaperManager.FLAG_SYSTEM); 105 if ((which & WallpaperManager.FLAG_SYSTEM) != 0) { 118 * @param which FLAG_LOCK or FLAG_SYSTEM 129 * @param which FLAG_LOCK or FLAG_SYSTEM 141 * @param which FLAG_LOCK or FLAG_SYSTEM 152 * @param which FLAG_LOCK or FLAG_SYSTEM 161 if (which == WallpaperManager.FLAG_SYSTEM) { 180 triggerColorsChanged(WallpaperManager.FLAG_SYSTEM); 199 GradientColors[] system = mGradientColors.get(WallpaperManager.FLAG_SYSTEM);
|
/frameworks/base/core/java/com/android/internal/colorextraction/ |
ColorExtractor.java | 67 for (int which : new int[] { WallpaperManager.FLAG_LOCK, WallpaperManager.FLAG_SYSTEM}) { 76 GradientColors[] systemColors = mGradientColors.get(WallpaperManager.FLAG_SYSTEM); 87 mSystemColors = wallpaperManager.getWallpaperColors(WallpaperManager.FLAG_SYSTEM); 106 * @param which FLAG_LOCK or FLAG_SYSTEM 117 * @param which FLAG_LOCK or FLAG_SYSTEM 127 if (which != WallpaperManager.FLAG_LOCK && which != WallpaperManager.FLAG_SYSTEM) { 128 throw new IllegalArgumentException("which should be FLAG_SYSTEM or FLAG_NORMAL"); 136 * @param which FLAG_LOCK or FLAG_SYSTEM 143 } else if (which == WallpaperManager.FLAG_SYSTEM) { 163 if ((which & WallpaperManager.FLAG_SYSTEM) != 0) [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
AppsQueryHelperTests.java | 110 ai1.flags |= ApplicationInfo.FLAG_SYSTEM; 113 ai2.flags |= ApplicationInfo.FLAG_SYSTEM; 115 ai2.flags |= ApplicationInfo.FLAG_SYSTEM; 118 ai3.flags |= ApplicationInfo.FLAG_SYSTEM; 132 r2.activityInfo.flags |= ApplicationInfo.FLAG_SYSTEM; 144 p1.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; 155 sysApp1.serviceInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
CarrierAppUtilsTest.java | 131 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM; 151 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM; 171 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM; 191 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_UPDATED_SYSTEM_APP; 215 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM; 246 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM; 253 associatedAppInfo.flags |= ApplicationInfo.FLAG_SYSTEM; 281 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM; 288 ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_UPDATED_SYSTEM_APP; 317 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM; [all...] |
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/ |
WallpaperColorInfo.java | 29 import static android.app.WallpaperManager.FLAG_SYSTEM; 60 update(mWallpaperManager.getWallpaperColors(FLAG_SYSTEM)); 81 if ((which & FLAG_SYSTEM) != 0) {
|
/frameworks/base/services/core/java/com/android/server/pm/ |
SettingBase.java | 56 & (ApplicationInfo.FLAG_SYSTEM
|
/cts/tests/app/src/android/app/cts/ |
WallpaperManagerTest.java | 88 int which = WallpaperManager.FLAG_SYSTEM; 105 int which = WallpaperManager.FLAG_SYSTEM; 155 mWallpaperManager.clear(WallpaperManager.FLAG_LOCK | WallpaperManager.FLAG_SYSTEM); 169 int both = WallpaperManager.FLAG_LOCK | WallpaperManager.FLAG_SYSTEM; 172 verifyColorListenerInvoked(WallpaperManager.FLAG_SYSTEM, both); 182 int both = WallpaperManager.FLAG_LOCK | WallpaperManager.FLAG_SYSTEM; 193 verifyColorListenerInvokedClearing(WallpaperManager.FLAG_SYSTEM); 271 * @param which FLAG_LOCK, FLAG_SYSTEM or a combination of both. 277 if ((whichExpected & WallpaperManager.FLAG_SYSTEM) != 0) expected++; 293 if ((whichWp & WallpaperManager.FLAG_SYSTEM) != 0 & [all...] |
/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/ |
ColorExtractorTest.java | 88 GradientColors colors = extractor.getColors(WallpaperManager.FLAG_SYSTEM, 91 colors = extractor.getColors(WallpaperManager.FLAG_SYSTEM, ColorExtractor.TYPE_DARK); 93 colors = extractor.getColors(WallpaperManager.FLAG_SYSTEM, ColorExtractor.TYPE_EXTRA_DARK);
|
/cts/tests/tests/os/src/android/os/cts/ |
RequiredComponentsTest.java | 70 ApplicationInfo.FLAG_SYSTEM, 78 ApplicationInfo.FLAG_SYSTEM, 0);
|
/frameworks/base/media/java/android/media/tv/ |
TvContentRatingSystemInfo.java | 66 return (mApplicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0;
|
/packages/apps/Settings/src/com/android/settings/applications/ |
InstalledAppCounter.java | 59 if ((info.flags & ApplicationInfo.FLAG_SYSTEM) == 0) {
|
/packages/apps/Settings/src/com/android/settings/wallpaper/ |
WallpaperSuggestionActivity.java | 68 return manager.getWallpaperId(WallpaperManager.FLAG_SYSTEM) > 0;
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/eligibility/ |
ProviderEligibilityChecker.java | 43 & ApplicationInfo.FLAG_SYSTEM) != 0;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
PreferenceUtils.java | 48 if ((resolveInfo.activityInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM)
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
UninstallPreference.java | 53 (ApplicationInfo.FLAG_UPDATED_SYSTEM_APP|ApplicationInfo.FLAG_SYSTEM)) == 0;
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/testutils/ |
Utils.java | 45 applicationInfo.flags = ApplicationInfo.FLAG_SYSTEM;
|
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/dynamicui/ |
WallpaperManagerCompatVL.java | 18 import static android.app.WallpaperManager.FLAG_SYSTEM; 115 return which == FLAG_SYSTEM ? mColorsCompat : null; 134 listener.onColorsChanged(mColorsCompat, FLAG_SYSTEM); 142 return context.getSystemService(WallpaperManager.class).getWallpaperId(FLAG_SYSTEM); 216 try (ParcelFileDescriptor fd = wm.getWallpaperFile(FLAG_SYSTEM)) {
|
/frameworks/base/core/java/android/app/ |
WallpaperManager.java | 178 FLAG_SYSTEM, 187 public static final int FLAG_SYSTEM = 1 << 0; 373 if (which != FLAG_LOCK && which != FLAG_SYSTEM) { 458 this, FLAG_SYSTEM, params, userId); 540 Bitmap bm = sGlobals.peekWallpaperBitmap(mContext, true, FLAG_SYSTEM); 553 return getBuiltInDrawable(0, 0, false, 0, 0, FLAG_SYSTEM); 585 horizontalAlignment, verticalAlignment, FLAG_SYSTEM); 611 if (which != FLAG_SYSTEM && which != FLAG_LOCK) { 771 Bitmap bm = sGlobals.peekWallpaperBitmap(mContext, false, FLAG_SYSTEM); [all...] |
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/inputmethod/ |
InputMethodPreferenceTest.java | 138 resolveInfo.serviceInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; 140 resolveInfo.serviceInfo.applicationInfo.flags &= ~ApplicationInfo.FLAG_SYSTEM;
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
PermissionMonitorTest.java | 24 import static android.content.pm.ApplicationInfo.FLAG_SYSTEM; 75 packageInfo.applicationInfo.flags = preinstalled ? FLAG_SYSTEM : 0;
|