/packages/apps/TV/common/src/com/android/tv/common/feature/ |
SystemAppFeature.java | 32 return (context.getApplicationInfo().flags & ApplicationInfo.FLAG_SYSTEM) != 0;
|
/cts/tests/tests/permission/src/android/permission/cts/ |
NoWallpaperPermissionsTest.java | 33 import static android.app.WallpaperManager.FLAG_SYSTEM; 90 mWM.setBitmap(b, null, false, FLAG_SYSTEM); 137 mWM.clear(FLAG_SYSTEM); 162 /* ignore result */ mWM.getWallpaperFile(FLAG_SYSTEM); 163 fail("getWallpaperFile(FLAG_SYSTEM) did not enforce READ_EXTERNAL_STORAGE");
|
/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/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 | 124 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM; 144 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM; 164 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM; 184 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_UPDATED_SYSTEM_APP; 208 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM; 239 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM; 246 associatedAppInfo.flags |= ApplicationInfo.FLAG_SYSTEM; 274 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM; 281 ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_UPDATED_SYSTEM_APP; 310 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM; [all...] |
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/colorextraction/ |
SysuiColorExtractorTests.java | 42 WallpaperManager.FLAG_SYSTEM, 63 extractor.getColors(WallpaperManager.FLAG_SYSTEM, type), fallbackColors); 100 WallpaperManager.FLAG_SYSTEM | WallpaperManager.FLAG_LOCK);
|
/packages/apps/Launcher3/src/com/android/launcher3/dynamicui/ |
WallpaperColorInfo.java | 13 import static android.app.WallpaperManager.FLAG_SYSTEM; 43 update(mWallpaperManager.getWallpaperColors(FLAG_SYSTEM)); 64 if ((which & FLAG_SYSTEM) != 0) {
|
ColorExtractionService.java | 132 .getWallpaperFile(WallpaperManager.FLAG_SYSTEM)) { 164 .getWallpaperFile(WallpaperManager.FLAG_SYSTEM)) { 191 .getWallpaperFile(WallpaperManager.FLAG_SYSTEM)) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/colorextraction/ |
SysuiColorExtractor.java | 61 WallpaperColors systemColors = getWallpaperColors(WallpaperManager.FLAG_SYSTEM); 104 if ((which & WallpaperManager.FLAG_SYSTEM) != 0) { 117 * @param which FLAG_LOCK or FLAG_SYSTEM 128 * @param which FLAG_LOCK or FLAG_SYSTEM 140 * @param which FLAG_LOCK or FLAG_SYSTEM 151 * @param which FLAG_LOCK or FLAG_SYSTEM 174 triggerColorsChanged(WallpaperManager.FLAG_SYSTEM); 186 GradientColors[] system = mGradientColors.get(WallpaperManager.FLAG_SYSTEM);
|
/frameworks/base/services/core/java/com/android/server/pm/ |
SettingBase.java | 54 & (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 | 57 if ((info.flags & ApplicationInfo.FLAG_SYSTEM) == 0) {
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
PreferenceUtils.java | 49 if ((resolveInfo.activityInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM)
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
UninstallPreference.java | 56 (ApplicationInfo.FLAG_UPDATED_SYSTEM_APP|ApplicationInfo.FLAG_SYSTEM)) == 0;
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
WallpaperManagerCompatVL.java | 53 import static android.app.WallpaperManager.FLAG_SYSTEM; 117 return which == FLAG_SYSTEM ? mColorsCompat : null; 136 listener.onColorsChanged(mColorsCompat, FLAG_SYSTEM); 144 return context.getSystemService(WallpaperManager.class).getWallpaperId(FLAG_SYSTEM); 218 try (ParcelFileDescriptor fd = wm.getWallpaperFile(FLAG_SYSTEM)) {
|
/frameworks/base/core/java/android/app/ |
WallpaperManager.java | 180 FLAG_SYSTEM, 189 public static final int FLAG_SYSTEM = 1 << 0; 376 if (which != FLAG_LOCK && which != FLAG_SYSTEM) { 459 this, FLAG_SYSTEM, params, userId); 538 Bitmap bm = sGlobals.peekWallpaperBitmap(mContext, true, FLAG_SYSTEM); 551 return getBuiltInDrawable(0, 0, false, 0, 0, FLAG_SYSTEM); 583 horizontalAlignment, verticalAlignment, FLAG_SYSTEM); 609 if (which != FLAG_SYSTEM && which != FLAG_LOCK) { 769 Bitmap bm = sGlobals.peekWallpaperBitmap(mContext, false, FLAG_SYSTEM); 793 Bitmap bm = sGlobals.peekWallpaperBitmap(mContext, true, FLAG_SYSTEM); [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/suggestions/ |
SuggestionsChecksTest.java | 139 when(mWallpaperManager.getWallpaperId(WallpaperManager.FLAG_SYSTEM)) 149 when(mWallpaperManager.getWallpaperId(WallpaperManager.FLAG_SYSTEM))
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
PackageUtil.java | 35 ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_UPDATED_SYSTEM_APP;
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
AppBackupUtils.java | 118 if ((target.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) {
|
/packages/apps/Settings/tests/app/src/com/android/settings/ |
SettingsHookTests.java | 73 assertTrue((applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
InstalledAppListerTest.java | 116 buildInfo(MAIN_USER_APP_UID, APP_3, ApplicationInfo.FLAG_SYSTEM, 118 buildInfo(MAIN_USER_APP_UID, APP_4, ApplicationInfo.FLAG_SYSTEM, 144 buildInfo(MANAGED_PROFILE_APP_UID, APP_6, ApplicationInfo.FLAG_SYSTEM,
|