Home
last modified time | relevance | path

Searched refs:COMPONENT_ENABLED_STATE_ENABLED (Results 1 – 25 of 27) 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.java38 if (pm.getComponentEnabledSetting(cn) == PackageManager.COMPONENT_ENABLED_STATE_ENABLED) { in onStart()
50 pm.setComponentEnabledSetting(cn, PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in onStart()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerService.java68 enabled ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED in setTunerEnabled()
74 enabled ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED in setTunerEnabled()
82 == PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in isTunerEnabled()
DPluginFragment.java170 final int desiredState = value ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED in persistBoolean()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierAppUtilsTest.java165 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Enabled()
185 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedApp()
218 CARRIER_APP, PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in testDisableCarrierAppsUntilPrivileged_HasPrivileges_MissingAssociated_Default()
221 ASSOCIATED_APP, PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in testDisableCarrierAppsUntilPrivileged_HasPrivileges_MissingAssociated_Default()
256 CARRIER_APP, PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Associated_Default()
259 ASSOCIATED_APP, PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Associated_Default()
292 CARRIER_APP, PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedAssociated_DisabledUntilUsed()
295 ASSOCIATED_APP, PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedAssociated_DisabledUntilUsed()
327 CARRIER_APP, PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Associated_DisabledUntilUsed()
330 ASSOCIATED_APP, PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Associated_DisabledUntilUsed()
[all …]
/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/
DPackageUserStateTest.java19 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED;
60 oldUserState.enabled = COMPONENT_ENABLED_STATE_ENABLED; in testPackageUserState01()
DPackageManagerSettingsTests.java22 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED;
153 ps.setEnabled(COMPONENT_ENABLED_STATE_ENABLED, 1, null); in testEnableDisable()
155 assertThat(ps.getEnabled(1), is(COMPONENT_ENABLED_STATE_ENABLED)); in testEnableDisable()
/frameworks/base/core/java/android/content/pm/
DPackageUserState.java23 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED;
154 case COMPONENT_ENABLED_STATE_ENABLED: in isEnabled()
DPackageManager.java596 COMPONENT_ENABLED_STATE_ENABLED,
621 public static final int COMPONENT_ENABLED_STATE_ENABLED = 1; field in PackageManager
DPackageParser.java6780 boolean enabled = state.enabled == PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in copyNeeded()
6843 if (state.enabled == PackageManager.COMPONENT_ENABLED_STATE_ENABLED) { in updateApplicationInfo()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
DSettingsDrawerActivity.java175 boolean isEnabled = state == PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in setTileEnabled()
183 ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED in setTileEnabled()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DPowerTest.java57 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, 0);
/frameworks/base/telephony/java/com/android/internal/telephony/
DCarrierAppUtils.java156 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in disableCarrierAppsUntilPrivileged()
174 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in disableCarrierAppsUntilPrivileged()
/frameworks/base/services/retaildemo/java/com/android/server/retaildemo/
DRetailDemoModeService.java377 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, 0, userInfo.id); in setupDemoUser()
379 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, 0, userInfo.id, null); in setupDemoUser()
400 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, 0, userInfo.id, null); in setupDemoUser()
/frameworks/base/core/proto/android/service/
Dpackage.proto78 COMPONENT_ENABLED_STATE_ENABLED = 1; enumerator
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java21 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED;
518 return COMPONENT_ENABLED_STATE_ENABLED; in getCurrentEnabledStateLPr()
DSettings.java22 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED;
3999 packageSetting.setEnabled(COMPONENT_ENABLED_STATE_ENABLED, 0, null); in readPackageLPw()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DConnOnActivityStartTest.java125 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, 0); in setUpOnce()
/frameworks/base/cmds/pm/src/com/android/commands/pm/
DPm.java182 return runSetEnabledSetting(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in run()
1241 case PackageManager.COMPONENT_ENABLED_STATE_ENABLED: in enabledSettingToString()
/frameworks/base/core/java/com/android/internal/inputmethod/
DInputMethodUtils.java723 || state == PackageManager.COMPONENT_ENABLED_STATE_ENABLED) { in setDisabledUntilUsed()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java338 PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testSetActiveAdmin()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java805 if (enabled == PackageManager.COMPONENT_ENABLED_STATE_ENABLED
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java6322 packageDisabled = enabled != PackageManager.COMPONENT_ENABLED_STATE_ENABLED in cleanupDisabledPackageComponentsLocked()
6339 if (enabled != PackageManager.COMPONENT_ENABLED_STATE_ENABLED in cleanupDisabledPackageComponentsLocked()
14154 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, 0,
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8770 field public static final int COMPONENT_ENABLED_STATE_ENABLED = 1; // 0x1

12