Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierAppUtilsTest.java93 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_DisabledUser()
112 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Disabled()
131 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Enabled()
150 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_UPDATED_SYSTEM_APP; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedApp()
169 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Default()
189 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_DisabledUntilUsed()
208 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in testDisableCarrierAppsUntilPrivileged_NoPrivileges_DisabledUser()
228 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in testDisableCarrierAppsUntilPrivileged_NoPrivileges_Disabled()
248 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in testDisableCarrierAppsUntilPrivileged_NoPrivileges_Enabled()
268 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_UPDATED_SYSTEM_APP; in testDisableCarrierAppsUntilPrivileged_NoPrivileges_UpdatedApp()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DSettingBase.java45 & (ApplicationInfo.FLAG_SYSTEM in setFlags()
DPackageSetting.java75 return (pkgFlags & ApplicationInfo.FLAG_SYSTEM) != 0; in isSystem()
DSettings.java564 if ((p.pkgFlags & ApplicationInfo.FLAG_SYSTEM) != 0) { in getPackageLPw()
596 p.pkgFlags |= pkgFlags & ApplicationInfo.FLAG_SYSTEM; in getPackageLPw()
628 if ((pkgFlags&ApplicationInfo.FLAG_SYSTEM) == 0) { in getPackageLPw()
2763 if ((ps.pkgFlags&ApplicationInfo.FLAG_SYSTEM) != 0 && ps.pkg != null in applyDefaultPreferredAppsLPw()
2962 if ((ai.applicationInfo.flags&ApplicationInfo.FLAG_SYSTEM) == 0) { in applyDefaultPreferredActivityLPw()
3171 pkgFlags |= ApplicationInfo.FLAG_SYSTEM; in readDisabledSysPackageLPw()
3337 … pkgFlags |= ("true".equalsIgnoreCase(systemStr)) ? ApplicationInfo.FLAG_SYSTEM in readPackageLPw()
3342 pkgFlags |= ApplicationInfo.FLAG_SYSTEM; in readPackageLPw()
3602 pkgFlags |= ApplicationInfo.FLAG_SYSTEM; in readSharedUserLPw()
3658 ps.setInstalled((ps.pkgFlags&ApplicationInfo.FLAG_SYSTEM) != 0, userHandle); in createNewUserLILPw()
[all …]
DPackageManagerService.java1814 ApplicationInfo.FLAG_SYSTEM, ApplicationInfo.PRIVATE_FLAG_PRIVILEGED); in PackageManagerService()
1816 ApplicationInfo.FLAG_SYSTEM, ApplicationInfo.PRIVATE_FLAG_PRIVILEGED); in PackageManagerService()
1818 ApplicationInfo.FLAG_SYSTEM, ApplicationInfo.PRIVATE_FLAG_PRIVILEGED); in PackageManagerService()
1820 ApplicationInfo.FLAG_SYSTEM, ApplicationInfo.PRIVATE_FLAG_PRIVILEGED); in PackageManagerService()
1822 ApplicationInfo.FLAG_SYSTEM, ApplicationInfo.PRIVATE_FLAG_PRIVILEGED); in PackageManagerService()
1824 ApplicationInfo.FLAG_SYSTEM, ApplicationInfo.PRIVATE_FLAG_PRIVILEGED); in PackageManagerService()
2113 if ((ps.pkgFlags & ApplicationInfo.FLAG_SYSTEM) == 0) { in PackageManagerService()
2197 deletedPkg.applicationInfo.flags &= ~ApplicationInfo.FLAG_SYSTEM; in PackageManagerService()
2200 deletedPs.pkgFlags &= ~ApplicationInfo.FLAG_SYSTEM; in PackageManagerService()
2559 || (info.activityInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) == 0 in resolveAllBrowserApps()
[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.java21 import static android.content.pm.ApplicationInfo.FLAG_SYSTEM;
169 if ((flags & FLAG_SYSTEM) != 0 || (flags & FLAG_UPDATED_SYSTEM_APP) != 0) { in hasSystemPermission()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DPartner.java120 if ((appInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { in get()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/system/
DSettings.java151 (info.activityInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0); in isSystemApp()
/frameworks/base/core/java/android/content/pm/
DApplicationInfo.java126 public static final int FLAG_SYSTEM = 1<<0; field in ApplicationInfo
959 return (flags & ApplicationInfo.FLAG_SYSTEM) != 0; in isSystemApp()
DRegisteredServicesCache.java352 if ((packageInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { in inSystemImage()
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
DPartnerTest.java116 appInfo.flags = isSystem ? ApplicationInfo.FLAG_SYSTEM : 0; in createResolveInfo()
/frameworks/base/services/core/java/com/android/server/search/
DSearchables.java360 return (res.activityInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0; in isSystemApp()
/frameworks/base/core/java/android/app/
DApplicationErrorReport.java189 if ((appFlags&ApplicationInfo.FLAG_SYSTEM) != 0) { in getErrorReportReceiver()
/frameworks/base/core/java/android/speech/tts/
DTtsEngines.java180 return appInfo != null && (appInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0; in isSystemEngine()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java1278 } else if ((entry.info.flags & ApplicationInfo.FLAG_SYSTEM) == 0) {
1295 } else if ((entry.info.flags & ApplicationInfo.FLAG_SYSTEM) == 0) {
/frameworks/base/core/java/com/android/internal/inputmethod/
DInputMethodUtils.java121 & ApplicationInfo.FLAG_SYSTEM) != 0; in isSystemIme()
700 final boolean isSystemPackage = (ai.flags & ApplicationInfo.FLAG_SYSTEM) != 0; in setNonSelectedSystemImesDisabledUntilUsed()
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java830 if ((ai.flags&ApplicationInfo.FLAG_SYSTEM) != 0) { in onStart()
843 if ((ai.flags&ApplicationInfo.FLAG_SYSTEM) != 0) { in onStart()
DTextServicesManagerService.java299 (serviceInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0; in calledFromValidUser()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerService.java334 if ((cur.applicationInfo.flags&ApplicationInfo.FLAG_SYSTEM) != 0) { in findAvailInteractor()
/frameworks/base/cmds/pm/src/com/android/commands/pm/
DPm.java381 (info.applicationInfo.flags&ApplicationInfo.FLAG_SYSTEM) != 0; in runListPackages()
1568 (info.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0; in runUninstall()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java472 if ((applicationInfoFlags & ApplicationInfo.FLAG_SYSTEM) == 0) { in maybeEnableFactoryTrustAgents()
/frameworks/base/core/tests/inputmethodtests/src/android/os/
DInputMethodTest.java651 ai.flags |= ApplicationInfo.FLAG_SYSTEM; in createDummyInputMethodInfo()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbSettingsManager.java821 (rInfo.activityInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { in resolveActivity()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java931 if ((receiver.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { in visitKeyboardLayoutsInPackage()

12