Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmTestBase.java130 int enabledSetting) throws Exception { in setUpPackageManagerForAdmin() argument
131 setUpPackageManagerForAdmin(admin, packageUid, enabledSetting, /* appTargetSdk = */ null); in setUpPackageManagerForAdmin()
135 Integer enabledSetting, Integer appTargetSdk) throws Exception { in setUpPackageManagerForAdmin() argument
136 setUpPackageManagerForFakeAdmin(admin, packageUid, enabledSetting, appTargetSdk, in setUpPackageManagerForAdmin()
155 Integer enabledSetting, Integer appTargetSdk, ComponentName copyFromAdmin) in setUpPackageManagerForFakeAdmin() argument
164 ai.enabledSetting = enabledSetting == null in setUpPackageManagerForFakeAdmin()
166 : enabledSetting; in setUpPackageManagerForFakeAdmin()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierAppUtilsTest.java125 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DISABLED_USER; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_DisabledUser()
145 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DISABLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Disabled()
165 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Enabled()
185 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedApp()
209 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_MissingAssociated_Default()
240 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Associated_Default()
247 associatedAppInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Associated_Default()
275 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedAssociated_DisabledUntilUsed()
282 associatedAppInfo.enabledSetting = in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedAssociated_DisabledUntilUsed()
311 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Associated_DisabledUntilUsed()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/
DCarrierAppUtils.java148 && (ai.enabledSetting == in disableCarrierAppsUntilPrivileged()
150 || ai.enabledSetting == in disableCarrierAppsUntilPrivileged()
166 if (associatedApp.enabledSetting == in disableCarrierAppsUntilPrivileged()
168 || associatedApp.enabledSetting == in disableCarrierAppsUntilPrivileged()
188 && ai.enabledSetting == in disableCarrierAppsUntilPrivileged()
207 if (associatedApp.enabledSetting in disableCarrierAppsUntilPrivileged()
/frameworks/base/services/core/java/com/android/server/
DNetworkScorerAppManager.java175 final int enabledSetting = getNetworkRecommendationsEnabledSetting(); in getActiveScorer() local
176 if (enabledSetting == NetworkScoreManager.RECOMMENDATIONS_ENABLED_FORCED_OFF) { in getActiveScorer()
258 final int enabledSetting = getNetworkRecommendationsEnabledSetting(); in updateState() local
259 if (enabledSetting == NetworkScoreManager.RECOMMENDATIONS_ENABLED_FORCED_OFF) { in updateState()
/frameworks/base/core/java/android/content/pm/
DApplicationInfo.java860 public int enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; field in ApplicationInfo
1171 enabledSetting = orig.enabledSetting; in ApplicationInfo()
1239 dest.writeInt(enabledSetting); in writeToParcel()
1304 enabledSetting = source.readInt(); in ApplicationInfo()
DPackageParser.java6851 ai.enabledSetting = state.enabled; in updateApplicationInfo()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java233 if (info.enabledSetting != PackageManager.COMPONENT_ENABLED_STATE_DISABLED_USER) { in doResumeIfNeededLocked()
415 if (info.enabledSetting in addPackage()
1389 return entry.info.enabledSetting
1540 } else if (entry.info.enabledSetting ==
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageParserTest.java394 assertEquals(a.enabledSetting, that.enabledSetting); in assertApplicationInfoEqual()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java7353 if (ai.enabledSetting in enableIfNecessary()