/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/core/tests/coretests/src/android/content/pm/ |
D | ComponentTest.java | 21 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED; 237 COMPONENT_ENABLED_STATE_ENABLED, in testEnableActivity() 384 COMPONENT_ENABLED_STATE_ENABLED, in testEnableService() 499 COMPONENT_ENABLED_STATE_ENABLED, in testEnableReceiver() 566 COMPONENT_ENABLED_STATE_ENABLED, in testEnableProvider() 672 COMPONENT_ENABLED_STATE_ENABLED, in DISABLED_testEnableApplication() 724 COMPONENT_ENABLED_STATE_ENABLED, in testNonExplicitResolveAfterEnabling()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | TunerService.java | 66 enabled ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED in setTunerEnabled() 74 == PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in isTunerEnabled()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/ |
D | PluginEnablerImpl.java | 49 final int desiredState = enabled ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED in setDisabled()
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | PowerTest.java | 57 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, 0);
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageUserState.java | 23 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED; 190 case COMPONENT_ENABLED_STATE_ENABLED: in isEnabled()
|
D | PackageManager.java | 651 COMPONENT_ENABLED_STATE_ENABLED, 676 public static final int COMPONENT_ENABLED_STATE_ENABLED = 1; field in PackageManager
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierAppUtilsTest.java | 200 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Enabled() 232 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedApp() 525 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testDisableCarrierAppsUntilPrivileged_NoPrivileges_Enabled() 552 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testDisableCarrierAppsUntilPrivileged_NullPrivileges_Enabled() 579 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testDisableCarrierAppsUntilPrivileged_NoPrivileges_UpdatedApp() 607 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testDisableCarrierAppsUntilPrivileged_NullPrivileges_UpdatedApp() 646 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testDisableCarrierAppsUntilPrivileged_NoPrivileges_EnabledAssociated_Default()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageUserStateTest.java | 19 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED; 64 oldUserState.enabled = COMPONENT_ENABLED_STATE_ENABLED; in testPackageUserState01()
|
D | PackageManagerSettingsTests.java | 22 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED; 324 ps.setEnabled(COMPONENT_ENABLED_STATE_ENABLED, 1, null); in testEnableDisable() 326 assertThat(ps.getEnabled(1), is(COMPONENT_ENABLED_STATE_ENABLED)); in testEnableDisable()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/ |
D | AppBackupUtilsTest.java | 120 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in appIsEligibleForBackup_systemAppWithCustomBackupAgentAndEnabled_returnsTrue() 137 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in appIsEligibleForBackup_nonSystemAppWithoutCustomBackupAgentAndEnabled_returnsTrue() 154 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in appIsEligibleForBackup_nonSystemAppWithCustomBackupAgentAndEnabled_returnsTrue() 256 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in appIsDisabled_stateEnabled_returnsFalse()
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | CarrierAppUtils.java | 204 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in disableCarrierAppsUntilPrivileged() 230 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in disableCarrierAppsUntilPrivileged()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestBase.java | 138 ai.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in markDelegatedCertInstallerAsInstalled()
|
/frameworks/base/core/proto/android/service/ |
D | package.proto | 92 COMPONENT_ENABLED_STATE_ENABLED = 1; enumerator
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CarrierActionUtils.java | 124 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, PackageManager.DONT_KILL_APP); in onEnableDefaultURLHandler()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageSettingBase.java | 21 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED; 552 return COMPONENT_ENABLED_STATE_ENABLED; in getCurrentEnabledStateLPr()
|
D | PackageManagerShellCommand.java | 213 return runSetEnabledSetting(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in onCommand() 1962 case PackageManager.COMPONENT_ENABLED_STATE_ENABLED: in enabledSettingToString()
|
D | PackageManagerService.java | 36 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED; 18186 || origEnabledState == COMPONENT_ENABLED_STATE_ENABLED) { 20695 || newState == COMPONENT_ENABLED_STATE_ENABLED 20778 || oldState == COMPONENT_ENABLED_STATE_ENABLED) 20782 || newState == COMPONENT_ENABLED_STATE_ENABLED)) { 20807 || newState == PackageManager.COMPONENT_ENABLED_STATE_ENABLED)) { 20813 || newState == PackageManager.COMPONENT_ENABLED_STATE_ENABLED) { 20837 case COMPONENT_ENABLED_STATE_ENABLED:
|
D | Settings.java | 21 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED; 3820 packageSetting.setEnabled(COMPONENT_ENABLED_STATE_ENABLED, 0, null); in readPackageLPw()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | ConnOnActivityStartTest.java | 112 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, 0); in setUpOnce()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BstatsCpuTimesValidationTest.java | 125 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, 0); in setupOnce()
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | InputMethodUtils.java | 690 || state == PackageManager.COMPONENT_ENABLED_STATE_ENABLED) { in setDisabledUntilUsed()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogControllerImpl.java | 416 == PackageManager.COMPONENT_ENABLED_STATE_ENABLED, fromTooltip); in onGetCaptionsComponentStateW()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTaskTest.java | 248 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in setUp() 2447 packageName, PackageManager.COMPONENT_ENABLED_STATE_ENABLED, 0); in setUpAgent()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 2543 return state == PackageManager.COMPONENT_ENABLED_STATE_ENABLED in getSyntheticAppDetailsActivityEnabled()
|