Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierAppUtilsTest.java185 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_INSTALLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_DisabledUser()
212 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_INSTALLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Disabled()
239 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_INSTALLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Enabled()
267 | ApplicationInfo.FLAG_INSTALLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedApp()
298 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_INSTALLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_MissingAssociated_Default()
333 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_INSTALLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Associated_Default()
375 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_INSTALLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedAssociated_DisabledUntilUsed()
419 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_INSTALLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Associated_DisabledUntilUsed()
458 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_INSTALLED; in testDisableCarrierAppsUntilPrivileged_NoPrivileges_DisabledUser()
487 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_INSTALLED; in testDisableCarrierAppsUntilPrivileged_NullPrivileges_DisabledUser()
[all …]
/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/model/app/
DApplicationInfosTest.kt84 flags = ApplicationInfo.FLAG_INSTALLED in hasFlag()
87 val hasFlag = app.hasFlag(ApplicationInfo.FLAG_INSTALLED) in hasFlag()
95 flags = ApplicationInfo.FLAG_INSTALLED in installed()
DAppListRepositoryTest.kt165 flags = ApplicationInfo.FLAG_INSTALLED in <lambda>()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DAppCopyHelper.java111 || (info.flags & ApplicationInfo.FLAG_INSTALLED) == 0) { in installSelectedApp()
118 && (info.flags & ApplicationInfo.FLAG_INSTALLED) != 0) { in installSelectedApp()
156 if ((app.flags & ApplicationInfo.FLAG_INSTALLED) == 0) continue; in addCurrentUsersApps()
193 if ((app.flags & ApplicationInfo.FLAG_INSTALLED) == 0) continue; in removeSecondUsersApp()
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/tests/StagedInstallTest/app/src/com/android/tests/stagedinstallinternal/
DStagedInstallInternalTest.java452 assertThat(apex.applicationInfo.flags & ApplicationInfo.FLAG_INSTALLED) in testRebootlessUpdates()
453 .isEqualTo(ApplicationInfo.FLAG_INSTALLED); in testRebootlessUpdates()
466 assertThat(apex.applicationInfo.flags & ApplicationInfo.FLAG_INSTALLED) in testRebootlessUpdates()
467 .isEqualTo(ApplicationInfo.FLAG_INSTALLED); in testRebootlessUpdates()
476 assertThat(apex.applicationInfo.flags & ApplicationInfo.FLAG_INSTALLED) in testRebootlessUpdates()
477 .isEqualTo(ApplicationInfo.FLAG_INSTALLED); in testRebootlessUpdates()
490 assertThat(apex.applicationInfo.flags & ApplicationInfo.FLAG_INSTALLED) in testRebootlessUpdates()
491 .isEqualTo(ApplicationInfo.FLAG_INSTALLED); in testRebootlessUpdates()
500 assertThat(apex.applicationInfo.flags & ApplicationInfo.FLAG_INSTALLED) in testRebootlessUpdates()
501 .isEqualTo(ApplicationInfo.FLAG_INSTALLED); in testRebootlessUpdates()
/frameworks/base/telephony/common/com/android/internal/telephony/
DCarrierAppUtils.java193 || (ai.flags & ApplicationInfo.FLAG_INSTALLED) == 0) { in disableCarrierAppsUntilPrivileged()
217 & ApplicationInfo.FLAG_INSTALLED) != 0; in disableCarrierAppsUntilPrivileged()
262 && (ai.flags & ApplicationInfo.FLAG_INSTALLED) != 0) { in disableCarrierAppsUntilPrivileged()
292 & ApplicationInfo.FLAG_INSTALLED) != 0; in disableCarrierAppsUntilPrivileged()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DApplicationsStateRoboTest.java257 appInfo.flags |= ApplicationInfo.FLAG_INSTALLED; in createApplicationInfo()
540 appInfo.flags ^= ApplicationInfo.FLAG_INSTALLED; in removeProfileApp_workprofileExists_doResumeIfNeededLocked_shouldClearEntries()
565 appInfo.flags ^= ApplicationInfo.FLAG_INSTALLED; in removeProfileApp_workprofileExists_doResumeIfNeededLocked_shouldClearEntries()
615 appInfo.flags ^= ApplicationInfo.FLAG_INSTALLED; in removeOwnerApp_workprofileExists_doResumeIfNeededLocked_shouldClearEntries()
641 appInfo.flags ^= ApplicationInfo.FLAG_INSTALLED; in removeOwnerApp_workprofileExists_doResumeIfNeededLocked_shouldClearEntries()
644 appInfo.flags ^= ApplicationInfo.FLAG_INSTALLED; in removeOwnerApp_workprofileExists_doResumeIfNeededLocked_shouldClearEntries()
694 appInfo.flags ^= ApplicationInfo.FLAG_INSTALLED; in noAppRemoved_workprofileExists_doResumeIfNeededLocked_shouldNotClearEntries()
719 appInfo.flags ^= ApplicationInfo.FLAG_INSTALLED; in noAppRemoved_workprofileExists_doResumeIfNeededLocked_shouldNotClearEntries()
DAppUtilsTest.java154 appEntry.info.flags = ApplicationInfo.FLAG_INSTALLED; in isAppInstalled_hasAppEntryWithInstalledFlag_shouldReturnTrue()
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/app/
DApplicationInfos.kt39 val ApplicationInfo.installed: Boolean get() = hasFlag(ApplicationInfo.FLAG_INSTALLED)
DPackageManagers.kt71 getApplicationInfoAsUser(packageName, userId)?.hasFlag(ApplicationInfo.FLAG_INSTALLED) in getPackageInfoAsUserCached()
/frameworks/base/core/java/android/content/pm/
DPermissionInfo.java438 public static final int FLAG_INSTALLED = 1<<30; field in PermissionInfo
447 FLAG_INSTALLED
640 case PermissionInfo.FLAG_INSTALLED: in flagsToString()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/
DAppRestrictionsHelperTest.java137 info.flags |= ApplicationInfo.FLAG_INSTALLED; in testApplyUserAppsStates()
196 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_INSTALLED; in addSystemAppsWithRequiredAccounts()
218 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_INSTALLED; in addInstalledApp()
DAppCopyingHelperTest.java139 info.flags |= ApplicationInfo.FLAG_INSTALLED; in testInstallSelectedApps()
211 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_INSTALLED; in addInstalledApp()
/frameworks/base/core/java/android/webkit/
DUserPackage.java78 return (((mPackageInfo.applicationInfo.flags & ApplicationInfo.FLAG_INSTALLED) != 0) in isInstalledPackage()
DWebViewFactory.java437 return (((packageInfo.applicationInfo.flags & ApplicationInfo.FLAG_INSTALLED) != 0) in isInstalledPackage()
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/
DTestSystemImpl.java115 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_INSTALLED; in installPackageForUser()
DWebViewUpdateServiceTest.java189 p.applicationInfo.flags |= ApplicationInfo.FLAG_INSTALLED; in createPackageInfo()
191 p.applicationInfo.flags &= ~ApplicationInfo.FLAG_INSTALLED; in createPackageInfo()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DLegacyPermission.java227 if ((mPermissionInfo.flags & PermissionInfo.FLAG_INSTALLED) == 0 in dump()
DPermission.java568 permissionInfo.flags |= PermissionInfo.FLAG_INSTALLED; in generatePermissionInfo()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DAppUtils.java305 return (appEntry.info.flags & ApplicationInfo.FLAG_INSTALLED) != 0; in isAppInstalled()
DApplicationsState.java419 if (hasFlag(application.flags, ApplicationInfo.FLAG_INSTALLED)) { in anyAppIsRemoved()
426 if (!hasFlag(prevApplication.flags, ApplicationInfo.FLAG_INSTALLED)) { in anyAppIsRemoved()
562 if (entry != null && hasFlag(entry.info.flags, ApplicationInfo.FLAG_INSTALLED)) { in requestSize()
1217 ApplicationInfo.FLAG_INSTALLED)) { in handleMessage()
1364 if (hasFlag(entry.info.flags, ApplicationInfo.FLAG_INSTALLED) in handleMessage()
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageInfoUtils.java188 permissionInfo.flags |= PermissionInfo.FLAG_INSTALLED; in generateWithComponents()
395 | flag(state.isInstalled(), ApplicationInfo.FLAG_INSTALLED) in updateApplicationInfo()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java334 if (!mAppInfo.isArchived && (mAppInfo.flags & ApplicationInfo.FLAG_INSTALLED) == 0) { in initiateInstall()
/frameworks/base/services/core/java/com/android/server/wm/
DRecentTasks.java843 || (app.flags & ApplicationInfo.FLAG_INSTALLED) == 0) { in cleanupLocked()
859 & ApplicationInfo.FLAG_INSTALLED) == 0) { in cleanupLocked()

12