Home
last modified time | relevance | path

Searched refs:COMPONENT_ENABLED_STATE_DISABLED (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/kotlin/
DPackageManagerExtComponentEnabledTest.kt76 PackageManager.COMPONENT_ENABLED_STATE_DISABLED -> "STATE_DISABLED" in enabledStateToString()
102 componentEnabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DISABLED,
132 componentEnabledSetting = PackageManager.COMPONENT_ENABLED_STATE_DISABLED,
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/
DPluginEnablerImpl.java56 : PackageManager.COMPONENT_ENABLED_STATE_DISABLED; in setDisabled()
68 != PackageManager.COMPONENT_ENABLED_STATE_DISABLED; in isEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
DPackageManagerExt.kt36 PackageManager.COMPONENT_ENABLED_STATE_DISABLED -> false in PackageManager()
/frameworks/base/services/core/java/com/android/server/pm/pkg/
DPackageUserStateUtils.java157 case PackageManager.COMPONENT_ENABLED_STATE_DISABLED: in isEnabled()
190 case PackageManager.COMPONENT_ENABLED_STATE_DISABLED: in isPackageEnabled()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DComponentTest.java20 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
263 COMPONENT_ENABLED_STATE_DISABLED, in testDisableActivity()
406 COMPONENT_ENABLED_STATE_DISABLED, in testDisableService()
520 COMPONENT_ENABLED_STATE_DISABLED, in testDisableReceiver()
587 COMPONENT_ENABLED_STATE_DISABLED, in testDisableProvider()
698 COMPONENT_ENABLED_STATE_DISABLED, in DISABLED_testDisableApplication()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/homecontrols/
DHomeControlsDreamStartable.kt58 PackageManager.COMPONENT_ENABLED_STATE_DISABLED in <lambda>()
/frameworks/base/services/tests/PackageManagerServiceTests/preverifieddomains/src/com/android/server/pm/test/preverifieddomains/
DPreVerifiedDomainsTests.kt88 PackageManager.COMPONENT_ENABLED_STATE_DISABLED, in setupBeforeClass()
117 PackageManager.COMPONENT_ENABLED_STATE_DISABLED, in restoreInstantAppInstaller()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/homecontrols/
DHomeControlsDreamStartableTest.kt130 eq(PackageManager.COMPONENT_ENABLED_STATE_DISABLED), in testStartDisablesHomeControlsDreamServiceWhenPanelComponentIsNull()
145 eq(PackageManager.COMPONENT_ENABLED_STATE_DISABLED), in testStartDisablesDreamServiceWhenFlagIsDisabled()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DPowerTest.java66 PackageManager.COMPONENT_ENABLED_STATE_DISABLED, 0);
/frameworks/base/packages/EasterEgg/src/com/android/egg/
DComponentActivationActivity.java92 PackageManager.COMPONENT_ENABLED_STATE_DISABLED, in lockUnlockComponents()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/
DControlsServiceInfo.kt111 PackageManager.COMPONENT_ENABLED_STATE_DISABLED -> false in isComponentActuallyEnabled()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallSuccess.java143 != PackageManager.COMPONENT_ENABLED_STATE_DISABLED; in isLauncherActivityEnabled()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/
DNoteTaskControllerTest.kt37 import android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DISABLED in <lambda>()
488 eq(COMPONENT_ENABLED_STATE_DISABLED), in <lambda>()
531 eq(COMPONENT_ENABLED_STATE_DISABLED), in <lambda>()
781 eq(COMPONENT_ENABLED_STATE_DISABLED), in <lambda>()
801 eq(COMPONENT_ENABLED_STATE_DISABLED), in <lambda>()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/
DBackupEligibilityRulesTest.java254 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DISABLED); in appIsEligibleForBackup_systemAppWithCustomBackupAgentAndDisabled_returnsFalse()
270 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DISABLED); in appIsEligibleForBackup_nonSystemAppWithoutCustomBackupAgentAndDisabled_returnsFalse()
286 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DISABLED); in appIsEligibleForBackup_nonSystemAppWithCustomBackupAgentAndDisbled_returnsFalse()
455 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_DISABLED); in appIsDisabled_stateDisabled_returnsTrue()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DTransportManagerTest.java20 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
329 Integer.valueOf(COMPONENT_ENABLED_STATE_DISABLED), in testOnPackageChanged_whenPackageChanged_packageDisabledUnregistersTransport()
365 Integer.valueOf(COMPONENT_ENABLED_STATE_DISABLED), in testOnPackageChanged_whenPackageChanged_packageEnabledRegistersTransport()
/frameworks/base/core/java/android/credentials/selection/
DIntentFactory.java242 .COMPONENT_ENABLED_STATE_DISABLED) { in getOemOverrideComponentName()
/frameworks/base/services/backup/java/com/android/server/backup/
DTransportManager.java20 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
184 case COMPONENT_ENABLED_STATE_DISABLED: { in onPackageChanged()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCarrierActionUtils.java132 PackageManager.COMPONENT_ENABLED_STATE_DISABLED, PackageManager.DONT_KILL_APP); in onDisableDefaultURLHandler()
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
DProcessErrorsTest.java253 PackageManager.COMPONENT_ENABLED_STATE_DISABLED) { in intentForActivity()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DBackupEligibilityRules.java330 case PackageManager.COMPONENT_ENABLED_STATE_DISABLED: in appIsDisabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/
DNoteTaskController.kt278 PackageManager.COMPONENT_ENABLED_STATE_DISABLED in setNoteTaskShortcutEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerServiceImpl.java294 : PackageManager.COMPONENT_ENABLED_STATE_DISABLED, in setTunerEnabled()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/
DInstallRepository.kt33 import android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_DISABLED in <lambda>()
921 != COMPONENT_ENABLED_STATE_DISABLED) in <lambda>()
/frameworks/base/core/proto/android/service/
Dpackage.proto95 COMPONENT_ENABLED_STATE_DISABLED = 2; enumerator
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DAppRestrictionsHelper.java315 || enabled == PackageManager.COMPONENT_ENABLED_STATE_DISABLED) { in addSystemApps()

12