Home
last modified time | relevance | path

Searched refs:COMPONENT_ENABLED_STATE_ENABLED (Results 1 – 25 of 32) 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/core/tests/coretests/src/android/content/pm/
DComponentTest.java21 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/
DTunerService.java66 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/
DPluginEnablerImpl.java49 final int desiredState = enabled ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED in setDisabled()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DPowerTest.java57 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, 0);
/frameworks/base/core/java/android/content/pm/
DPackageUserState.java23 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED;
190 case COMPONENT_ENABLED_STATE_ENABLED: in isEnabled()
DPackageManager.java651 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/
DCarrierAppUtilsTest.java200 .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/
DPackageUserStateTest.java19 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED;
64 oldUserState.enabled = COMPONENT_ENABLED_STATE_ENABLED; in testPackageUserState01()
DPackageManagerSettingsTests.java22 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/
DAppBackupUtilsTest.java120 .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/
DCarrierAppUtils.java204 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/
DDpmTestBase.java138 ai.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in markDelegatedCertInstallerAsInstalled()
/frameworks/base/core/proto/android/service/
Dpackage.proto92 COMPONENT_ENABLED_STATE_ENABLED = 1; enumerator
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCarrierActionUtils.java124 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, PackageManager.DONT_KILL_APP); in onEnableDefaultURLHandler()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java21 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED;
552 return COMPONENT_ENABLED_STATE_ENABLED; in getCurrentEnabledStateLPr()
DPackageManagerShellCommand.java213 return runSetEnabledSetting(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in onCommand()
1962 case PackageManager.COMPONENT_ENABLED_STATE_ENABLED: in enabledSettingToString()
DPackageManagerService.java36 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:
DSettings.java21 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/
DConnOnActivityStartTest.java112 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, 0); in setUpOnce()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBstatsCpuTimesValidationTest.java125 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, 0); in setupOnce()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodUtils.java690 || state == PackageManager.COMPONENT_ENABLED_STATE_ENABLED) { in setDisabledUntilUsed()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogControllerImpl.java416 == PackageManager.COMPONENT_ENABLED_STATE_ENABLED, fromTooltip); in onGetCaptionsComponentStateW()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java248 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in setUp()
2447 packageName, PackageManager.COMPONENT_ENABLED_STATE_ENABLED, 0); in setUpAgent()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java2543 return state == PackageManager.COMPONENT_ENABLED_STATE_ENABLED in getSyntheticAppDetailsActivityEnabled()

12