Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierAppUtilsTest.java124 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_DisabledUser()
144 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Disabled()
164 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Enabled()
184 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_UPDATED_SYSTEM_APP; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedApp()
208 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_MissingAssociated_Default()
239 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Associated_Default()
246 associatedAppInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Associated_Default()
274 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedAssociated_DisabledUntilUsed()
281 ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_UPDATED_SYSTEM_APP; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedAssociated_DisabledUntilUsed()
310 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Associated_DisabledUntilUsed()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppsQueryHelperTests.java110 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()
/frameworks/base/core/java/android/app/
DWallpaperManager.java170 FLAG_SYSTEM,
179 public static final int FLAG_SYSTEM = 1 << 0; field in WallpaperManager
351 ParcelFileDescriptor fd = mService.getWallpaper(this, FLAG_SYSTEM, in getCurrentWallpaperLocked()
431 Bitmap bm = sGlobals.peekWallpaperBitmap(mContext, true, FLAG_SYSTEM); in getDrawable()
444 return getBuiltInDrawable(0, 0, false, 0, 0, FLAG_SYSTEM); in getBuiltInDrawable()
476 horizontalAlignment, verticalAlignment, FLAG_SYSTEM); in getBuiltInDrawable()
502 if (which != FLAG_SYSTEM && which != FLAG_LOCK) { in getBuiltInDrawable()
662 Bitmap bm = sGlobals.peekWallpaperBitmap(mContext, false, FLAG_SYSTEM); in peekDrawable()
685 Bitmap bm = sGlobals.peekWallpaperBitmap(mContext, true, FLAG_SYSTEM); in getFastDrawable()
700 Bitmap bm = sGlobals.peekWallpaperBitmap(mContext, false, FLAG_SYSTEM); in peekFastDrawable()
[all …]
DApplicationErrorReport.java189 if ((appFlags&ApplicationInfo.FLAG_SYSTEM) != 0) { in getErrorReportReceiver()
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/
DWallpaperBackupAgent.java20 import static android.app.WallpaperManager.FLAG_SYSTEM;
127 mWm.getWallpaperIdForUser(FLAG_SYSTEM, UserHandle.USER_SYSTEM); in onFullBackup()
133 final boolean sysEligible = mWm.isWallpaperBackupEligible(FLAG_SYSTEM); in onFullBackup()
217 final int sysWhich = FLAG_SYSTEM | (lockImageStage.exists() ? 0 : FLAG_LOCK); in onRestoreFinished()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DAppRestrictionsHelper.java179 if ((app.flags & ApplicationInfo.FLAG_SYSTEM) == 0 in fetchAndMergeApps()
220 if ((app.flags & ApplicationInfo.FLAG_SYSTEM) == 0 in fetchAndMergeApps()
300 if ((flags & ApplicationInfo.FLAG_SYSTEM) != 0 in addSystemApps()
334 if ((flags & ApplicationInfo.FLAG_SYSTEM) != 0 in isSystemPackage()
/frameworks/base/services/core/java/com/android/server/pm/
DSettingBase.java45 & (ApplicationInfo.FLAG_SYSTEM in setFlags()
DPackageSetting.java78 return (pkgFlags & ApplicationInfo.FLAG_SYSTEM) != 0; in isSystem()
DSettings.java702 if ((p.pkgFlags & ApplicationInfo.FLAG_SYSTEM) != 0) { in getPackageLPw()
718 if ((pkgFlags & ApplicationInfo.FLAG_SYSTEM) != 0 && in getPackageLPw()
749 p.pkgFlags |= pkgFlags & ApplicationInfo.FLAG_SYSTEM; in getPackageLPw()
783 if ((pkgFlags&ApplicationInfo.FLAG_SYSTEM) == 0) { in getPackageLPw()
3029 if ((ps.pkgFlags&ApplicationInfo.FLAG_SYSTEM) != 0 && ps.pkg != null in applyDefaultPreferredAppsLPw()
3230 if ((ai.applicationInfo.flags&ApplicationInfo.FLAG_SYSTEM) == 0) { in applyDefaultPreferredActivityLPw()
3445 pkgFlags |= ApplicationInfo.FLAG_SYSTEM; in readDisabledSysPackageLPw()
3623 … pkgFlags |= ("true".equalsIgnoreCase(systemStr)) ? ApplicationInfo.FLAG_SYSTEM in readPackageLPw()
3628 pkgFlags |= ApplicationInfo.FLAG_SYSTEM; in readPackageLPw()
3901 pkgFlags |= ApplicationInfo.FLAG_SYSTEM; in readSharedUserLPw()
[all …]
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java20 import static android.app.WallpaperManager.FLAG_SYSTEM;
623 clearWallpaperLocked(true, FLAG_SYSTEM, mWallpaper.userId,
669 clearWallpaperLocked(true, FLAG_SYSTEM, mWallpaper.userId, null); in onServiceDisconnected()
754 clearWallpaperLocked(false, FLAG_SYSTEM, wallpaper.userId, null); in onPackageUpdateFinished()
838 clearWallpaperLocked(false, FLAG_SYSTEM, wallpaper.userId, null); in doPackagesChangedLocked()
859 clearWallpaperLocked(false, FLAG_SYSTEM, wallpaper.userId, null); in doPackagesChangedLocked()
923 clearWallpaperLocked(false, FLAG_SYSTEM, UserHandle.USER_SYSTEM, null); in systemReady()
1055 WallpaperData wallpaper = getWallpaperSafeLocked(userId, FLAG_SYSTEM); in switchUser()
1082 clearWallpaperLocked(false, FLAG_SYSTEM, wallpaper.userId, reply); in switchWallpaper()
1115 if (which != FLAG_SYSTEM && which != FLAG_LOCK) { in clearWallpaperLocked()
[all …]
/frameworks/base/media/java/android/media/tv/
DTvContentRatingSystemInfo.java66 return (mApplicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0; in isSystemDefined()
/frameworks/base/services/core/java/com/android/server/connectivity/
DPermissionMonitor.java22 import static android.content.pm.ApplicationInfo.FLAG_SYSTEM;
170 if ((flags & FLAG_SYSTEM) != 0 || (flags & FLAG_UPDATED_SYSTEM_APP) != 0) { in hasRestrictedNetworkPermission()
/frameworks/base/services/core/java/com/android/server/backup/
DBackupUtils.java45 if ((target.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { in signaturesMatch()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DPartner.java122 if ((appInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { in get()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/system/
DSettings.java155 (info.activityInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0); in isSystemApp()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/backup/
DBackupUtilsTest.java64 pi.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in testSignaturesMatch()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DDeviceInfoUtils.java144 if ((ai.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { in getFeedbackReporterPackage()
/frameworks/base/services/print/java/com/android/server/print/
DRemotePrintServiceRecommendationService.java107 if ((appInfo.flags & ApplicationInfo.FLAG_SYSTEM) == 0) { in getServiceIntent()
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
DPartnerTest.java116 appInfo.flags = isSystem ? ApplicationInfo.FLAG_SYSTEM : 0; in createResolveInfo()
/frameworks/base/core/java/android/content/pm/
DApplicationInfo.java131 public static final int FLAG_SYSTEM = 1<<0; field in ApplicationInfo
1138 return (flags & ApplicationInfo.FLAG_SYSTEM) != 0; in isSystemApp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
DRecentsTaskLoadPlan.java193 ((info.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0); in preloadPlan()
/frameworks/base/services/core/java/com/android/server/search/
DSearchables.java362 return (res.activityInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0; in isSystemApp()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java1339 } else if ((entry.info.flags & ApplicationInfo.FLAG_SYSTEM) == 0) {
1343 } else if ((entry.info.flags & ApplicationInfo.FLAG_SYSTEM) != 0 && entry.isHomeApp) {
1358 } else if ((entry.info.flags & ApplicationInfo.FLAG_SYSTEM) == 0) {
/frameworks/base/core/java/android/speech/tts/
DTtsEngines.java180 return appInfo != null && (appInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0; in isSystemEngine()
/frameworks/base/services/core/java/com/android/server/am/
DAppErrors.java553 report.systemApp = (r.info.flags & ApplicationInfo.FLAG_SYSTEM) != 0; in createAppErrorReportLocked()
652 && (mService.mHomeProcess.info.flags & ApplicationInfo.FLAG_SYSTEM) == 0) { in handleAppCrashLocked()

12