Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmTestBase.java138 ai.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in markDelegatedCertInstallerAsInstalled()
157 int enabledSetting) throws Exception { in setUpPackageManagerForAdmin() argument
158 setUpPackageManagerForAdmin(admin, packageUid, enabledSetting, /* appTargetSdk = */ null); in setUpPackageManagerForAdmin()
162 Integer enabledSetting, Integer appTargetSdk) throws Exception { in setUpPackageManagerForAdmin() argument
163 setUpPackageManagerForFakeAdmin(admin, packageUid, enabledSetting, appTargetSdk, in setUpPackageManagerForAdmin()
182 Integer enabledSetting, Integer appTargetSdk, ComponentName copyFromAdmin) in setUpPackageManagerForFakeAdmin() argument
191 ai.enabledSetting = enabledSetting == null in setUpPackageManagerForFakeAdmin()
193 : enabledSetting; in setUpPackageManagerForFakeAdmin()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierAppUtilsTest.java138 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DISABLED_USER; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_DisabledUser()
161 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DISABLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Disabled()
184 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Enabled()
208 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedApp()
235 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_MissingAssociated_Default()
267 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Associated_Default()
275 associatedAppInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Associated_Default()
306 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedAssociated_DisabledUntilUsed()
315 associatedAppInfo.enabledSetting = in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedAssociated_DisabledUntilUsed()
347 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Associated_DisabledUntilUsed()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/
DCarrierAppUtils.java169 && (ai.enabledSetting == in disableCarrierAppsUntilPrivileged()
171 || ai.enabledSetting == in disableCarrierAppsUntilPrivileged()
191 if (associatedApp.enabledSetting == in disableCarrierAppsUntilPrivileged()
193 || associatedApp.enabledSetting == in disableCarrierAppsUntilPrivileged()
219 && ai.enabledSetting == in disableCarrierAppsUntilPrivileged()
236 if (associatedApp.enabledSetting in disableCarrierAppsUntilPrivileged()
/frameworks/base/services/core/java/com/android/server/
DNetworkScorerAppManager.java176 final int enabledSetting = getNetworkRecommendationsEnabledSetting(); in getActiveScorer() local
177 if (enabledSetting == NetworkScoreManager.RECOMMENDATIONS_ENABLED_FORCED_OFF) { in getActiveScorer()
280 final int enabledSetting = getNetworkRecommendationsEnabledSetting(); in updateState() local
281 if (enabledSetting == NetworkScoreManager.RECOMMENDATIONS_ENABLED_FORCED_OFF) { in updateState()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DAppBackupUtils.java157 int enabledSetting = packageManager.getApplicationEnabledState(app.packageName, userId); in appIsDisabled() local
159 switch (enabledSetting) { in appIsDisabled()
/frameworks/base/core/java/android/content/pm/
DApplicationInfo.java1074 public int enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; field in ApplicationInfo
1581 enabledSetting = orig.enabledSetting; in ApplicationInfo()
1660 dest.writeInt(enabledSetting); in writeToParcel()
1736 enabledSetting = source.readInt(); in ApplicationInfo()
DPackageParser.java7719 ai.enabledSetting = state.enabled; in updateApplicationInfo()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java303 if (info.enabledSetting != PackageManager.COMPONENT_ENABLED_STATE_DISABLED_USER) { in doResumeIfNeededLocked()
590 if (info.enabledSetting in addPackage()
1707 return entry.info.enabledSetting
1859 } else if (entry.info.enabledSetting ==
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageParserTest.java408 assertEquals(a.enabledSetting, that.enabledSetting); in assertApplicationInfoEqual()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodManagerService.java2630 if (ai != null && ai.enabledSetting in updateInputMethodsFromSettingsLocked()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java8841 if (ai.enabledSetting in enableIfNecessary()