Home
last modified time | relevance | path

Searched refs:enabledSetting (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmTestBase.java159 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/
DNetworkScorerAppManager.java177 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/
DCarrierAppUtils.java184 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/
DApplicationInfos.kt43 get() = enabledSetting == PackageManager.COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED
DAppListRepository.kt230 else -> enabledSetting == PackageManager.COMPONENT_ENABLED_STATE_DISABLED_USER in getSystemPackageNames()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DBackupEligibilityRules.java326 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/
DApplicationInfosTest.kt106 enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED in isDisabledUntilUsed()
DAppListRepositoryTest.kt212 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/
DCarrierAppUtilsTest.java790 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/
DApplicationInfo.java1265 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()
DPackageParser.java8015 ai.enabledSetting = state.getEnabledState(); in updateApplicationInfo()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java332 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/
DLowPowerStandbyController.java439 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/
DPackageParserTest.java1154 assertEquals(a.enabledSetting, that.enabledSetting); in assertApplicationInfoEqual()
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageInfoUtils.java410 ai.enabledSetting = state.getEnabledState(); in updateApplicationInfo()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java11283 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/
DInputMethodManagerService.java2995 if (ai != null && ai.enabledSetting in updateInputMethodsFromSettingsLocked()