/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestBase.java | 159 ai.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in markDelegatedCertInstallerAsInstalled() 178 int enabledSetting) throws Exception { in setUpPackageManagerForAdmin() argument 179 setUpPackageManagerForAdmin(admin, packageUid, enabledSetting, /* appTargetSdk = */ null); in setUpPackageManagerForAdmin() 183 Integer enabledSetting, Integer appTargetSdk) throws Exception { in setUpPackageManagerForAdmin() argument 184 setUpPackageManagerForFakeAdmin(admin, packageUid, enabledSetting, appTargetSdk, in setUpPackageManagerForAdmin() 203 Integer enabledSetting, Integer appTargetSdk, ComponentName copyFromAdmin) in setUpPackageManagerForFakeAdmin() argument 212 ai.enabledSetting = enabledSetting == null in setUpPackageManagerForFakeAdmin() 214 : enabledSetting; in setUpPackageManagerForFakeAdmin()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NetworkScorerAppManager.java | 177 final int enabledSetting = getNetworkRecommendationsEnabledSetting(); in getActiveScorer() local 178 if (enabledSetting == NetworkScoreManager.RECOMMENDATIONS_ENABLED_FORCED_OFF) { in getActiveScorer() 276 final int enabledSetting = getNetworkRecommendationsEnabledSetting(); in updateState() local 277 if (enabledSetting == NetworkScoreManager.RECOMMENDATIONS_ENABLED_FORCED_OFF) { in updateState()
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | CarrierAppUtils.java | 184 int enabledSetting = context.createContextAsUser(UserHandle.of(userId), 0) in disableCarrierAppsUntilPrivileged() local 189 if (!isUpdatedSystemApp(ai) && enabledSetting in disableCarrierAppsUntilPrivileged() 191 || enabledSetting in disableCarrierAppsUntilPrivileged() 260 if (!isUpdatedSystemApp(ai) && enabledSetting in disableCarrierAppsUntilPrivileged()
|
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/app/ |
D | ApplicationInfos.kt | 43 get() = enabledSetting == PackageManager.COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED
|
D | AppListRepository.kt | 230 else -> enabledSetting == PackageManager.COMPONENT_ENABLED_STATE_DISABLED_USER in getSystemPackageNames()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | BackupEligibilityRules.java | 326 int enabledSetting = mPackageManagerInternal.getApplicationEnabledState(app.packageName, in appIsDisabled() local 329 switch (enabledSetting) { in appIsDisabled()
|
/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/model/app/ |
D | ApplicationInfosTest.kt | 106 enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED in isDisabledUntilUsed()
|
D | AppListRepositoryTest.kt | 212 enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED in <lambda>() 243 enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DISABLED_USER in <lambda>()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierAppUtilsTest.java | 790 associatedAppInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in testDisableCarrierAppsUntilPrivileged_NoPrivileges_Associated_Default_HandledSdk() 840 associatedAppInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in testDCAUP_NoPrivileges_Associated_Default_HandledSdk_AssociatedSdkUnspecified() 889 associatedAppInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in testDCAUP_NoPrivileges_Associated_Default_NewSdk_AssociatedSdkCurrent() 940 associatedAppInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in testDCAUP_NoPrivileges_Associated_Default_NewSdk_AssociatedSdkUnspecified() 990 associatedAppInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in testDCAUP_NoPrivileges_Associated_Default_NewSdk_AssociatedSdkTooLow() 1048 associatedAppInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in testDCAUP_NoPrivileges_Associated_Default_NewSdk_AssociatedSdkInRange() 1097 associatedAppInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in testDCAUP_NoPrivileges_Associated_Default_FirstRun_AssociatedSdkCurrent() 1145 associatedAppInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in testDCAUP_NoPrivileges_Associated_Default_FirstRun_AssociatedSdkUnspecified()
|
/frameworks/base/core/java/android/content/pm/ |
D | ApplicationInfo.java | 1265 public int enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; field in ApplicationInfo 1991 enabledSetting = orig.enabledSetting; in ApplicationInfo() 2085 dest.writeInt(enabledSetting); in writeToParcel() 2188 enabledSetting = source.readInt(); in ApplicationInfo()
|
D | PackageParser.java | 8015 ai.enabledSetting = state.getEnabledState(); in updateApplicationInfo()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | ApplicationsState.java | 332 if (info.enabledSetting != PackageManager.COMPONENT_ENABLED_STATE_DISABLED_USER) { in doResumeIfNeededLocked() 645 if (info.enabledSetting in addPackage() 1943 return entry.info.enabledSetting 2162 } else if (entry.info.enabledSetting ==
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | LowPowerStandbyController.java | 439 final int enabledSetting = Settings.Global.getInt(resolver, in initSettingsLocked() local 445 if (enabledSetting == -1) { in initSettingsLocked()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | PackageParserTest.java | 1154 assertEquals(a.enabledSetting, that.enabledSetting); in assertApplicationInfoEqual()
|
/frameworks/base/services/core/java/com/android/server/pm/parsing/ |
D | PackageInfoUtils.java | 410 ai.enabledSetting = state.getEnabledState(); in updateApplicationInfo()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 11283 if (ai.enabledSetting 21746 final int enabledSetting = mIPackageManager.getApplicationEnabledSetting( 21748 if (enabledSetting != PackageManager.COMPONENT_ENABLED_STATE_DEFAULT 21749 && enabledSetting != PackageManager.COMPONENT_ENABLED_STATE_ENABLED) {
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | InputMethodManagerService.java | 2995 if (ai != null && ai.enabledSetting in updateInputMethodsFromSettingsLocked()
|