/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierAppUtilsTest.java | 185 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/ |
D | ApplicationInfosTest.kt | 84 flags = ApplicationInfo.FLAG_INSTALLED in hasFlag() 87 val hasFlag = app.hasFlag(ApplicationInfo.FLAG_INSTALLED) in hasFlag() 95 flags = ApplicationInfo.FLAG_INSTALLED in installed()
|
D | AppListRepositoryTest.kt | 165 flags = ApplicationInfo.FLAG_INSTALLED in <lambda>()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/ |
D | AppCopyHelper.java | 111 || (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()
|
D | AppRestrictionsHelper.java | 118 || (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/ |
D | StagedInstallInternalTest.java | 452 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/ |
D | CarrierAppUtils.java | 193 || (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/ |
D | ApplicationsStateRoboTest.java | 257 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()
|
D | AppUtilsTest.java | 154 appEntry.info.flags = ApplicationInfo.FLAG_INSTALLED; in isAppInstalled_hasAppEntryWithInstalledFlag_shouldReturnTrue()
|
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/app/ |
D | ApplicationInfos.kt | 39 val ApplicationInfo.installed: Boolean get() = hasFlag(ApplicationInfo.FLAG_INSTALLED)
|
D | PackageManagers.kt | 71 getApplicationInfoAsUser(packageName, userId)?.hasFlag(ApplicationInfo.FLAG_INSTALLED) in getPackageInfoAsUserCached()
|
/frameworks/base/core/java/android/content/pm/ |
D | PermissionInfo.java | 438 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/ |
D | AppRestrictionsHelperTest.java | 137 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()
|
D | AppCopyingHelperTest.java | 139 info.flags |= ApplicationInfo.FLAG_INSTALLED; in testInstallSelectedApps() 211 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_INSTALLED; in addInstalledApp()
|
/frameworks/base/core/java/android/webkit/ |
D | UserPackage.java | 78 return (((mPackageInfo.applicationInfo.flags & ApplicationInfo.FLAG_INSTALLED) != 0) in isInstalledPackage()
|
D | WebViewFactory.java | 437 return (((packageInfo.applicationInfo.flags & ApplicationInfo.FLAG_INSTALLED) != 0) in isInstalledPackage()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/ |
D | TestSystemImpl.java | 115 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_INSTALLED; in installPackageForUser()
|
D | WebViewUpdateServiceTest.java | 189 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/ |
D | LegacyPermission.java | 227 if ((mPermissionInfo.flags & PermissionInfo.FLAG_INSTALLED) == 0 in dump()
|
D | Permission.java | 568 permissionInfo.flags |= PermissionInfo.FLAG_INSTALLED; in generatePermissionInfo()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | AppUtils.java | 305 return (appEntry.info.flags & ApplicationInfo.FLAG_INSTALLED) != 0; in isAppInstalled()
|
D | ApplicationsState.java | 419 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/ |
D | PackageInfoUtils.java | 188 permissionInfo.flags |= PermissionInfo.FLAG_INSTALLED; in generateWithComponents() 395 | flag(state.isInstalled(), ApplicationInfo.FLAG_INSTALLED) in updateApplicationInfo()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | PackageInstallerActivity.java | 334 if (!mAppInfo.isArchived && (mAppInfo.flags & ApplicationInfo.FLAG_INSTALLED) == 0) { in initiateInstall()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RecentTasks.java | 843 || (app.flags & ApplicationInfo.FLAG_INSTALLED) == 0) { in cleanupLocked() 859 & ApplicationInfo.FLAG_INSTALLED) == 0) { in cleanupLocked()
|