Home
last modified time | relevance | path

Searched refs:COMPONENT_ENABLED_STATE_ENABLED (Results 1 – 25 of 51) sorted by relevance

123

/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()
DChooserSelector.kt57 PackageManager.COMPONENT_ENABLED_STATE_ENABLED in <lambda>()
/frameworks/base/packages/StatementService/src/com/android/statementservice/utils/
DAndroidUtils.kt49 PackageManager.COMPONENT_ENABLED_STATE_ENABLED -> true in component1()
59 PackageManager.COMPONENT_ENABLED_STATE_ENABLED -> true in component1()
/frameworks/base/packages/EasterEgg/src/com/android/egg/
DComponentActivationActivity.java57 == PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in onStart()
72 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in onStart()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DChooserSelectorTest.kt114 eq(PackageManager.COMPONENT_ENABLED_STATE_ENABLED), in initialize_enablesUnbundledChooser_whenFlagEnabled()
146 eq(PackageManager.COMPONENT_ENABLED_STATE_ENABLED), in enablesUnbundledChooser_whenFlagBecomesEnabled()
157 eq(PackageManager.COMPONENT_ENABLED_STATE_ENABLED), in enablesUnbundledChooser_whenFlagBecomesEnabled()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DComponentTest.java21 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED;
239 COMPONENT_ENABLED_STATE_ENABLED, in testEnableActivity()
386 COMPONENT_ENABLED_STATE_ENABLED, in testEnableService()
501 COMPONENT_ENABLED_STATE_ENABLED, in testEnableReceiver()
568 COMPONENT_ENABLED_STATE_ENABLED, in testEnableProvider()
674 COMPONENT_ENABLED_STATE_ENABLED, in DISABLED_testEnableApplication()
726 COMPONENT_ENABLED_STATE_ENABLED, in testNonExplicitResolveAfterEnabling()
/frameworks/base/services/core/java/com/android/server/pm/pkg/
DPackageUserStateUtils.java142 case PackageManager.COMPONENT_ENABLED_STATE_ENABLED: in isEnabled()
160 case PackageManager.COMPONENT_ENABLED_STATE_ENABLED: in isPackageEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/
DPluginEnablerImpl.java55 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/packages/SystemUI/src/com/android/systemui/notetask/
DNoteTaskController.kt112 PackageManager.COMPONENT_ENABLED_STATE_ENABLED in setNoteTaskShortcutEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/
DControlsServiceInfo.kt114 PackageManager.COMPONENT_ENABLED_STATE_ENABLED -> true in isComponentActuallyEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerServiceImpl.java285 enabled ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED in setTunerEnabled()
295 mTunerComponent) == PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in isTunerEnabled()
/frameworks/base/services/tests/servicestests/src/com/android/server/statusbar/
DStatusBarManagerServiceTest.java386 PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testValidComponent_fail_noPermission()
410 PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testValidComponent_fail_notExported()
434 PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testValidComponent_pass()
748 PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in mockComponentInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DBackupEligibilityRulesTest.java132 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in appIsEligibleForBackup_systemAppWithCustomBackupAgentAndEnabled_returnsTrue()
148 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in appIsEligibleForBackup_nonSystemAppWithoutCustomBackupAgentAndEnabled_returnsTrue()
164 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in appIsEligibleForBackup_nonSystemAppWithCustomBackupAgentAndEnabled_returnsTrue()
364 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in appIsDisabled_stateEnabled_returnsFalse()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DControlsListingControllerImplTest.kt369 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED) in testActivityEnabled_correctPanel()
507 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED) in testPackageNotPreferred_nullPanel()
538 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED) in testPackageNotPreferred_allowAllApps_correctPanel()
/frameworks/base/telephony/common/com/android/internal/telephony/
DCarrierAppUtils.java203 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in disableCarrierAppsUntilPrivileged()
240 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in disableCarrierAppsUntilPrivileged()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierAppUtilsTest.java227 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Enabled()
257 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedApp()
538 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testDisableCarrierAppsUntilPrivileged_NoPrivileges_Enabled()
564 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testDisableCarrierAppsUntilPrivileged_NullPrivileges_Enabled()
590 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testDisableCarrierAppsUntilPrivileged_NoPrivileges_UpdatedApp()
617 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testDisableCarrierAppsUntilPrivileged_NullPrivileges_UpdatedApp()
655 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testDisableCarrierAppsUntilPrivileged_NoPrivileges_EnabledAssociated_Default()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/
DPackageUserStateTest.java19 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED;
67 oldUserState.setEnabledState(COMPONENT_ENABLED_STATE_ENABLED); in testPackageUserState01()
/frameworks/base/services/backup/backuplib/java/com/android/server/backup/
DTransportManager.java20 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED;
162 case COMPONENT_ENABLED_STATE_ENABLED: { in onPackageChanged()
/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/
DRecentsAnimationPerfTest.java112 is(PackageManager.COMPONENT_ENABLED_STATE_ENABLED))); in setUpClass()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmTestBase.java158 ai.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in markDelegatedCertInstallerAsInstalled()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/
DNoteTaskControllerTest.kt271 eq(PackageManager.COMPONENT_ENABLED_STATE_ENABLED), in <lambda>()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCarrierActionUtils.java124 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, PackageManager.DONT_KILL_APP); in onEnableDefaultURLHandler()
/frameworks/base/core/proto/android/service/
Dpackage.proto92 COMPONENT_ENABLED_STATE_ENABLED = 1; enumerator
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DTransportManagerTest.java21 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED;
356 Integer.valueOf(COMPONENT_ENABLED_STATE_ENABLED), in testOnPackageChanged_whenPackageChanged_packageEnabledRegistersTransport()

123