Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmTestBase.java94 int enabledSetting) throws Exception { in setUpPackageManagerForAdmin() argument
95 setUpPackageManagerForAdmin(admin, packageUid, enabledSetting, /* appTargetSdk = */ null); in setUpPackageManagerForAdmin()
99 Integer enabledSetting, Integer appTargetSdk) throws Exception { in setUpPackageManagerForAdmin() argument
100 setUpPackageManagerForFakeAdmin(admin, packageUid, enabledSetting, appTargetSdk, in setUpPackageManagerForAdmin()
112 Integer enabledSetting, Integer appTargetSdk, ComponentName copyFromAdmin) in setUpPackageManagerForFakeAdmin() argument
122 ai.enabledSetting = enabledSetting == null in setUpPackageManagerForFakeAdmin()
124 : 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/core/java/android/content/pm/
DApplicationInfo.java759 public int enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; field in ApplicationInfo
927 enabledSetting = orig.enabledSetting; in ApplicationInfo()
983 dest.writeInt(enabledSetting); in writeToParcel()
1039 enabledSetting = source.readInt(); in ApplicationInfo()
DPackageParser.java5391 ai.enabledSetting = state.enabled; in updateApplicationInfo()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java220 if (info.enabledSetting != PackageManager.COMPONENT_ENABLED_STATE_DISABLED_USER) { in doResumeIfNeededLocked()
376 if (info.enabledSetting in addPackage()
1310 return entry.info.enabledSetting
1422 } else if (entry.info.enabledSetting ==
/frameworks/base/services/core/java/com/android/server/
DInputMethodManagerService.java1935 if (ai != null && ai.enabledSetting in updateInputMethodsFromSettingsLocked()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java6669 if (ai.enabledSetting in enableIfNecessary()