Home
last modified time | relevance | path

Searched refs:COMPONENT_ENABLED_STATE_ENABLED (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDessertCase.java33 if (pm.getComponentEnabledSetting(cn) != PackageManager.COMPONENT_ENABLED_STATE_ENABLED) { in onStart()
36 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in onStart()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoActivationActivity.java36 if (pm.getComponentEnabledSetting(cn) == PackageManager.COMPONENT_ENABLED_STATE_ENABLED) { in onStart()
47 pm.setComponentEnabledSetting(cn, PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in onStart()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierAppUtilsTest.java140 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Enabled()
160 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedApp()
188 CARRIER_APP, PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Default()
209 CARRIER_APP, PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in testDisableCarrierAppsUntilPrivileged_HasPrivileges_DisabledUntilUsed()
302 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in testDisableCarrierAppsUntilPrivileged_NoPrivileges_Enabled()
323 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in testDisableCarrierAppsUntilPrivileged_NullPrivileges_Enabled()
342 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in testDisableCarrierAppsUntilPrivileged_NoPrivileges_UpdatedApp()
363 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in testDisableCarrierAppsUntilPrivileged_NullPrivileges_UpdatedApp()
/frameworks/base/core/java/android/content/pm/
DPackageUserState.java23 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED;
135 case COMPONENT_ENABLED_STATE_ENABLED: in isEnabled()
DPackageManager.java528 public static final int COMPONENT_ENABLED_STATE_ENABLED = 1; field in PackageManager
DPackageParser.java5343 boolean enabled = state.enabled == PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in copyNeeded()
5395 if (state.enabled == PackageManager.COMPONENT_ENABLED_STATE_ENABLED) { in updateApplicationInfo()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DComponentTest.java21 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED;
236 COMPONENT_ENABLED_STATE_ENABLED, in testEnableActivity()
383 COMPONENT_ENABLED_STATE_ENABLED, in testEnableService()
498 COMPONENT_ENABLED_STATE_ENABLED, in testEnableReceiver()
565 COMPONENT_ENABLED_STATE_ENABLED, in testEnableProvider()
671 COMPONENT_ENABLED_STATE_ENABLED, in DISABLED_testEnableApplication()
723 COMPONENT_ENABLED_STATE_ENABLED, in testNonExplicitResolveAfterEnabling()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageManagerSettingsTests.java22 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED;
324 ps.setEnabled(COMPONENT_ENABLED_STATE_ENABLED, 1, null); in testEnableDisable()
326 assertEquals(COMPONENT_ENABLED_STATE_ENABLED, ps.getEnabled(1)); in testEnableDisable()
/frameworks/base/docs/html-intl/intl/zh-cn/training/monitoring-device-state/
Dmanifest-receivers.jd45 PackageManager.COMPONENT_ENABLED_STATE_ENABLED,
/frameworks/base/docs/html-intl/intl/ko/training/monitoring-device-state/
Dmanifest-receivers.jd45 PackageManager.COMPONENT_ENABLED_STATE_ENABLED,
/frameworks/base/docs/html-intl/intl/ja/training/monitoring-device-state/
Dmanifest-receivers.jd45 PackageManager.COMPONENT_ENABLED_STATE_ENABLED,
/frameworks/base/docs/html-intl/intl/ru/training/monitoring-device-state/
Dmanifest-receivers.jd45 PackageManager.COMPONENT_ENABLED_STATE_ENABLED,
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DPowerTest.java57 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, 0);
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerService.java255 enabled ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED in setTunerEnabled()
263 == PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in isTunerEnabled()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
DSettingsDrawerActivity.java282 boolean isEnabled = state == PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in setTileEnabled()
290 ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED in setTileEnabled()
/frameworks/base/telephony/java/com/android/internal/telephony/
DCarrierAppUtils.java125 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in disableCarrierAppsUntilPrivileged()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java21 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED;
471 return COMPONENT_ENABLED_STATE_ENABLED; in getCurrentEnabledStateLPr()
/frameworks/base/docs/html/training/monitoring-device-state/
Dmanifest-receivers.jd54 PackageManager.COMPONENT_ENABLED_STATE_ENABLED,
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileLifecycleManagerTests.java179 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, PackageManager.DONT_KILL_APP); in testComponentEnabling()
/frameworks/base/docs/html-intl/intl/es/training/monitoring-device-state/
Dmanifest-receivers.jd45 PackageManager.COMPONENT_ENABLED_STATE_ENABLED,
/frameworks/base/cmds/pm/src/com/android/commands/pm/
DPm.java170 return runSetEnabledSetting(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in run()
1156 case PackageManager.COMPONENT_ENABLED_STATE_ENABLED: in enabledSettingToString()
/frameworks/base/services/core/java/com/android/server/vr/
DVrManagerService.java474 PackageManager.COMPONENT_ENABLED_STATE_ENABLED : in setVrComponentsEnabledOrDisabled()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java267 PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testSetActiveAdmin()
1706 /* enabledSetting =*/ PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in testUserAffiliation()
/frameworks/base/docs/html/training/scheduling/
Dalarms.jd360 PackageManager.COMPONENT_ENABLED_STATE_ENABLED,
/frameworks/base/core/java/com/android/internal/inputmethod/
DInputMethodUtils.java771 || state == PackageManager.COMPONENT_ENABLED_STATE_ENABLED) { in setDisabledUntilUsed()

12