/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | DessertCase.java | 33 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/ |
D | NekoActivationActivity.java | 38 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/ |
D | TunerService.java | 68 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()
|
D | PluginFragment.java | 170 final int desiredState = value ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED in persistBoolean()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierAppUtilsTest.java | 165 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/ |
D | ComponentTest.java | 21 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/ |
D | PackageUserStateTest.java | 19 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED; 60 oldUserState.enabled = COMPONENT_ENABLED_STATE_ENABLED; in testPackageUserState01()
|
D | PackageManagerSettingsTests.java | 22 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/ |
D | PackageUserState.java | 23 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED; 154 case COMPONENT_ENABLED_STATE_ENABLED: in isEnabled()
|
D | PackageManager.java | 596 COMPONENT_ENABLED_STATE_ENABLED, 621 public static final int COMPONENT_ENABLED_STATE_ENABLED = 1; field in PackageManager
|
D | PackageParser.java | 6780 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/ |
D | SettingsDrawerActivity.java | 175 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/ |
D | PowerTest.java | 57 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, 0);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | CarrierAppUtils.java | 156 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in disableCarrierAppsUntilPrivileged() 174 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in disableCarrierAppsUntilPrivileged()
|
/frameworks/base/services/retaildemo/java/com/android/server/retaildemo/ |
D | RetailDemoModeService.java | 377 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/ |
D | package.proto | 78 COMPONENT_ENABLED_STATE_ENABLED = 1; enumerator
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageSettingBase.java | 21 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED; 518 return COMPONENT_ENABLED_STATE_ENABLED; in getCurrentEnabledStateLPr()
|
D | Settings.java | 22 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/ |
D | ConnOnActivityStartTest.java | 125 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, 0); in setUpOnce()
|
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
D | Pm.java | 182 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/ |
D | InputMethodUtils.java | 723 || state == PackageManager.COMPONENT_ENABLED_STATE_ENABLED) { in setDisabledUntilUsed()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 338 PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testSetActiveAdmin()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 805 if (enabled == PackageManager.COMPONENT_ENABLED_STATE_ENABLED
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 6322 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/ |
D | android-22.txt | 8770 field public static final int COMPONENT_ENABLED_STATE_ENABLED = 1; // 0x1
|