Home
last modified time | relevance | path

Searched refs:COMPONENT_ENABLED_STATE_ENABLED (Results 1 – 25 of 30) 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/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/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/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.java184 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/
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/java/com/android/internal/telephony/
DCarrierAppUtils.java182 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/
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.java125 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;
539 return COMPONENT_ENABLED_STATE_ENABLED; in getCurrentEnabledStateLPr()
DPackageManagerShellCommand.java210 return runSetEnabledSetting(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in onCommand()
1800 case PackageManager.COMPONENT_ENABLED_STATE_ENABLED: in enabledSettingToString()
DPackageManagerService.java36 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:
DSettings.java21 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/
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.java415 == PackageManager.COMPONENT_ENABLED_STATE_ENABLED, fromTooltip); in onGetCaptionsComponentStateW()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java249 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in setUp()
2448 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