Home
last modified time | relevance | path

Searched refs:FLAG_INSTALLED (Results 1 – 24 of 24) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierAppUtilsTest.java143 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()
224 | ApplicationInfo.FLAG_INSTALLED; 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()
332 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_INSTALLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedAssociated_DisabledUntilUsed()
376 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_INSTALLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Associated_DisabledUntilUsed()
415 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_INSTALLED; in testDisableCarrierAppsUntilPrivileged_NoPrivileges_DisabledUser()
443 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_INSTALLED; in testDisableCarrierAppsUntilPrivileged_NullPrivileges_DisabledUser()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DAppRestrictionsHelper.java118 || (info.flags&ApplicationInfo.FLAG_INSTALLED) == 0) { in applyUserAppState()
127 && (info.flags&ApplicationInfo.FLAG_INSTALLED) != 0) { in applyUserAppState()
187 if ((app.flags & ApplicationInfo.FLAG_INSTALLED) == 0) continue; in fetchAndMergeApps()
228 if ((app.flags & ApplicationInfo.FLAG_INSTALLED) == 0) continue; in fetchAndMergeApps()
320 || (targetUserAppInfo.flags&ApplicationInfo.FLAG_INSTALLED) == 0) { in addSystemApps()
/frameworks/base/telephony/common/com/android/internal/telephony/
DCarrierAppUtils.java195 || (ai.flags & ApplicationInfo.FLAG_INSTALLED) == 0) { in disableCarrierAppsUntilPrivileged()
221 & ApplicationInfo.FLAG_INSTALLED) == 0) { in disableCarrierAppsUntilPrivileged()
245 && (ai.flags & ApplicationInfo.FLAG_INSTALLED) != 0) { in disableCarrierAppsUntilPrivileged()
266 & ApplicationInfo.FLAG_INSTALLED) != 0) { in disableCarrierAppsUntilPrivileged()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DApplicationsStateRoboTest.java228 appInfo.flags |= ApplicationInfo.FLAG_INSTALLED; in createApplicationInfo()
500 appInfo.flags ^= ApplicationInfo.FLAG_INSTALLED; in removeProfileApp_workprofileExists_doResumeIfNeededLocked_shouldClearEntries()
525 appInfo.flags ^= ApplicationInfo.FLAG_INSTALLED; in removeProfileApp_workprofileExists_doResumeIfNeededLocked_shouldClearEntries()
574 appInfo.flags ^= ApplicationInfo.FLAG_INSTALLED; in removeOwnerApp_workprofileExists_doResumeIfNeededLocked_shouldClearEntries()
600 appInfo.flags ^= ApplicationInfo.FLAG_INSTALLED; in removeOwnerApp_workprofileExists_doResumeIfNeededLocked_shouldClearEntries()
603 appInfo.flags ^= ApplicationInfo.FLAG_INSTALLED; in removeOwnerApp_workprofileExists_doResumeIfNeededLocked_shouldClearEntries()
652 appInfo.flags ^= ApplicationInfo.FLAG_INSTALLED; in noAppRemoved_workprofileExists_doResumeIfNeededLocked_shouldNotClearEntries()
677 appInfo.flags ^= ApplicationInfo.FLAG_INSTALLED; in noAppRemoved_workprofileExists_doResumeIfNeededLocked_shouldNotClearEntries()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/
DAppRestrictionsHelperTest.java135 info.flags |= ApplicationInfo.FLAG_INSTALLED; in testApplyUserAppsStates()
194 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_INSTALLED; in addSystemAppsWithRequiredAccounts()
216 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_INSTALLED; in addInstalledApp()
/frameworks/base/core/java/android/content/pm/
DPermissionInfo.java371 public static final int FLAG_INSTALLED = 1<<30; field in PermissionInfo
380 FLAG_INSTALLED
DApplicationInfo.java350 public static final int FLAG_INSTALLED = 1<<23; field in ApplicationInfo
DPackageParser.java846 pi.applicationInfo.flags |= ApplicationInfo.FLAG_INSTALLED; in generatePackageInfo()
848 pi.applicationInfo.flags &= ~ApplicationInfo.FLAG_INSTALLED; in generatePackageInfo()
7745 ai.flags |= ApplicationInfo.FLAG_INSTALLED; in updateApplicationInfo()
7747 ai.flags &= ~ApplicationInfo.FLAG_INSTALLED; in updateApplicationInfo()
/frameworks/base/core/java/android/webkit/
DUserPackage.java78 return (((mPackageInfo.applicationInfo.flags & ApplicationInfo.FLAG_INSTALLED) != 0) in isInstalledPackage()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DBasePermission.java346 p.info.flags |= PermissionInfo.FLAG_INSTALLED; in createOrUpdate()
369 p.info.flags |= PermissionInfo.FLAG_INSTALLED; in createOrUpdate()
617 if ((perm.info.flags & PermissionInfo.FLAG_INSTALLED) == 0 in dumpPermissionsLPr()
DPermissionManagerService.java675 p.info.flags &= ~PermissionInfo.FLAG_INSTALLED; in addAllPermissions()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java390 if (hasFlag(application.flags, ApplicationInfo.FLAG_INSTALLED)) { in anyAppIsRemoved()
397 if (!hasFlag(prevApplication.flags, ApplicationInfo.FLAG_INSTALLED)) { in anyAppIsRemoved()
507 if (entry != null && hasFlag(entry.info.flags, ApplicationInfo.FLAG_INSTALLED)) { in requestSize()
1110 ApplicationInfo.FLAG_INSTALLED)) { in handleMessage()
1257 if (hasFlag(entry.info.flags, ApplicationInfo.FLAG_INSTALLED) in handleMessage()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageParserTest.java532 assertTrue((pi.applicationInfo.flags & ApplicationInfo.FLAG_INSTALLED) != 0); in testApexPackageInfoGeneration()
/frameworks/base/services/core/java/com/android/server/pm/
DApexManager.java269 return (packageInfo.applicationInfo.flags & ApplicationInfo.FLAG_INSTALLED) != 0; in isActive()
DShortcutService.java3334 return (ai != null) && ai.enabled && (ai.flags & ApplicationInfo.FLAG_INSTALLED) != 0; in isInstalled()
DSettings.java4709 if ((perm.info.flags&PermissionInfo.FLAG_INSTALLED) != 0) { in dumpPackageLPr()
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/
DWebViewUpdateServiceTest.java171 p.applicationInfo.flags |= ApplicationInfo.FLAG_INSTALLED; in createPackageInfo()
173 p.applicationInfo.flags &= ~ApplicationInfo.FLAG_INSTALLED; in createPackageInfo()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java265 if ((mAppInfo.flags&ApplicationInfo.FLAG_INSTALLED) == 0) { in initiateInstall()
/frameworks/base/services/core/java/com/android/server/wm/
DRecentTasks.java757 || (app.flags & ApplicationInfo.FLAG_INSTALLED) == 0) { in cleanupLocked()
771 & ApplicationInfo.FLAG_INSTALLED) == 0) { in cleanupLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java1054 pi.applicationInfo.flags = ApplicationInfo.FLAG_INSTALLED in genPackage()
1139 ret.applicationInfo.flags &= ~ApplicationInfo.FLAG_INSTALLED; in getInjectedPackageInfo()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java1262 && (pkgInfo.applicationInfo.flags & ApplicationInfo.FLAG_INSTALLED) != 0) { in getUidsOfInstalledOrUpdatedPackagesAsUser()
/frameworks/base/non-updatable-api/
Dcurrent.txt11106 field public static final int FLAG_INSTALLED = 8388608; // 0x800000
11897 field public static final int FLAG_INSTALLED = 1073741824; // 0x40000000
/frameworks/base/api/
Dcurrent.txt11106 field public static final int FLAG_INSTALLED = 8388608; // 0x800000
11897 field public static final int FLAG_INSTALLED = 1073741824; // 0x40000000
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8372 field public static final int FLAG_INSTALLED = 8388608; // 0x800000