Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierAppUtilsTest.java137 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_INSTALLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_DisabledUser()
160 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_INSTALLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Disabled()
183 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_INSTALLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Enabled()
207 | ApplicationInfo.FLAG_INSTALLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedApp()
234 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_INSTALLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_MissingAssociated_Default()
266 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_INSTALLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Associated_Default()
305 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_INSTALLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedAssociated_DisabledUntilUsed()
346 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_INSTALLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Associated_DisabledUntilUsed()
382 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_INSTALLED; in testDisableCarrierAppsUntilPrivileged_NoPrivileges_DisabledUser()
407 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/java/com/android/internal/telephony/
DCarrierAppUtils.java173 || (ai.flags & ApplicationInfo.FLAG_INSTALLED) == 0)) { in disableCarrierAppsUntilPrivileged()
196 & ApplicationInfo.FLAG_INSTALLED) == 0) { in disableCarrierAppsUntilPrivileged()
221 && (ai.flags & ApplicationInfo.FLAG_INSTALLED) != 0) { in disableCarrierAppsUntilPrivileged()
239 & 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.java359 public static final int FLAG_INSTALLED = 1<<30; field in PermissionInfo
368 FLAG_INSTALLED
DApplicationInfo.java350 public static final int FLAG_INSTALLED = 1<<23; field in ApplicationInfo
DPackageParser.java7687 ai.flags |= ApplicationInfo.FLAG_INSTALLED; in updateApplicationInfo()
7689 ai.flags &= ~ApplicationInfo.FLAG_INSTALLED; in updateApplicationInfo()
8406 pi.applicationInfo.flags |= ApplicationInfo.FLAG_INSTALLED; in generatePackageInfoFromApex()
8408 pi.applicationInfo.flags &= ~ApplicationInfo.FLAG_INSTALLED; in generatePackageInfoFromApex()
/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.java343 p.info.flags |= PermissionInfo.FLAG_INSTALLED; in createOrUpdate()
366 p.info.flags |= PermissionInfo.FLAG_INSTALLED; in createOrUpdate()
614 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/services/core/java/com/android/server/pm/
DApexManager.java394 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.java4708 if ((perm.info.flags&PermissionInfo.FLAG_INSTALLED) != 0) { in dumpPackageLPr()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageParserTest.java527 assertTrue((pi.applicationInfo.flags & ApplicationInfo.FLAG_INSTALLED) != 0); in testApexPackageInfoGeneration()
/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/api/
Dcurrent.txt11096 field public static final int FLAG_INSTALLED = 8388608; // 0x800000
11880 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