/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/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/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/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 | 184 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Enabled() 208 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedApp() 478 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in testDisableCarrierAppsUntilPrivileged_NoPrivileges_Enabled() 502 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in testDisableCarrierAppsUntilPrivileged_NullPrivileges_Enabled() 526 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in testDisableCarrierAppsUntilPrivileged_NoPrivileges_UpdatedApp() 551 appInfo.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in testDisableCarrierAppsUntilPrivileged_NullPrivileges_UpdatedApp() 586 associatedAppInfo.enabledSetting = 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/java/com/android/internal/telephony/ |
D | CarrierAppUtils.java | 182 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in disableCarrierAppsUntilPrivileged() 205 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 | 125 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; 539 return COMPONENT_ENABLED_STATE_ENABLED; in getCurrentEnabledStateLPr()
|
D | PackageManagerShellCommand.java | 210 return runSetEnabledSetting(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in onCommand() 1800 case PackageManager.COMPONENT_ENABLED_STATE_ENABLED: in enabledSettingToString()
|
D | PackageManagerService.java | 36 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED; 18682 || origEnabledState == COMPONENT_ENABLED_STATE_ENABLED) { 21191 || newState == COMPONENT_ENABLED_STATE_ENABLED 21274 || oldState == COMPONENT_ENABLED_STATE_ENABLED) 21278 || newState == COMPONENT_ENABLED_STATE_ENABLED)) { 21303 || newState == PackageManager.COMPONENT_ENABLED_STATE_ENABLED)) { 21309 || newState == PackageManager.COMPONENT_ENABLED_STATE_ENABLED) { 21333 case COMPONENT_ENABLED_STATE_ENABLED:
|
D | Settings.java | 21 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED; 3815 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 | 415 == PackageManager.COMPONENT_ENABLED_STATE_ENABLED, fromTooltip); in onGetCaptionsComponentStateW()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTaskTest.java | 249 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in setUp() 2448 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()
|