Home
last modified time | relevance | path

Searched refs:COMPONENT_ENABLED_STATE_ENABLED (Results 1 – 25 of 54) 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()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/kotlin/
DPackageManagerExtComponentEnabledTest.kt81 PackageManager.COMPONENT_ENABLED_STATE_ENABLED -> "STATE_ENABLED" in enabledStateToString()
92 componentEnabledSetting = PackageManager.COMPONENT_ENABLED_STATE_ENABLED,
122 componentEnabledSetting = PackageManager.COMPONENT_ENABLED_STATE_ENABLED,
/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.java87 == PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in lockUnlockComponents()
102 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in lockUnlockComponents()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
DPackageManagerExt.kt35 PackageManager.COMPONENT_ENABLED_STATE_ENABLED -> true in PackageManager()
/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.java170 case PackageManager.COMPONENT_ENABLED_STATE_ENABLED: in isEnabled()
188 case PackageManager.COMPONENT_ENABLED_STATE_ENABLED: in isPackageEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/homecontrols/
DHomeControlsDreamStartable.kt56 PackageManager.COMPONENT_ENABLED_STATE_ENABLED in <lambda>()
/frameworks/base/services/tests/PackageManagerServiceTests/preverifieddomains/src/com/android/server/pm/test/preverifieddomains/
DPreVerifiedDomainsTests.kt82 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in setupBeforeClass()
109 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in restoreInstantAppInstaller()
/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/controls/
DControlsServiceInfo.kt110 PackageManager.COMPONENT_ENABLED_STATE_ENABLED -> true in isComponentActuallyEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerServiceImpl.java293 enabled ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED in setTunerEnabled()
303 mTunerComponent) == PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in isTunerEnabled()
/frameworks/base/telephony/common/com/android/internal/telephony/
DCarrierAppUtils.java204 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in disableCarrierAppsUntilPrivileged()
241 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in disableCarrierAppsUntilPrivileged()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/
DBackupEligibilityRulesTest.java206 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in appIsEligibleForBackup_systemAppWithCustomBackupAgentAndEnabled_returnsTrue()
222 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in appIsEligibleForBackup_nonSystemAppWithoutCustomBackupAgentAndEnabled_returnsTrue()
238 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in appIsEligibleForBackup_nonSystemAppWithCustomBackupAgentAndEnabled_returnsTrue()
438 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in appIsDisabled_stateEnabled_returnsFalse()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierAppUtilsTest.java242 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Enabled()
274 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedApp()
572 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testDisableCarrierAppsUntilPrivileged_NoPrivileges_Enabled()
600 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testDisableCarrierAppsUntilPrivileged_NullPrivileges_Enabled()
629 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testDisableCarrierAppsUntilPrivileged_NoPrivileges_UpdatedApp()
658 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testDisableCarrierAppsUntilPrivileged_NullPrivileges_UpdatedApp()
699 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testDisableCarrierAppsUntilPrivileged_NoPrivileges_EnabledAssociated_Default()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/homecontrols/
DHomeControlsDreamStartableTest.kt115 eq(PackageManager.COMPONENT_ENABLED_STATE_ENABLED), in testStartEnablesHomeControlsDreamServiceWhenPanelComponentIsNotNull()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageUserStateTest.java19 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED;
73 oldUserState.setEnabledState(COMPONENT_ENABLED_STATE_ENABLED); in testPackageUserState01()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/
DNoteTaskControllerTest.kt38 import android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED in <lambda>()
472 eq(COMPONENT_ENABLED_STATE_ENABLED), in <lambda>()
509 eq(COMPONENT_ENABLED_STATE_ENABLED), in <lambda>()
745 eq(COMPONENT_ENABLED_STATE_ENABLED), in <lambda>()
/frameworks/base/core/java/android/credentials/selection/
DIntentFactory.java239 .COMPONENT_ENABLED_STATE_ENABLED) { in getOemOverrideComponentName()
/frameworks/base/services/backup/java/com/android/server/backup/
DTransportManager.java22 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED;
165 case COMPONENT_ENABLED_STATE_ENABLED: { in onPackageChanged()
/frameworks/base/services/tests/servicestests/src/com/android/server/statusbar/
DStatusBarManagerServiceTest.java402 PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testValidComponent_fail_noPermission()
426 PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testValidComponent_fail_notExported()
450 PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testValidComponent_pass()
1138 PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in mockComponentInfo()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodUtils.java156 || state == PackageManager.COMPONENT_ENABLED_STATE_ENABLED) { in setDisabledUntilUsed()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DControlsListingControllerImplTest.kt368 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED) in testActivityEnabled_correctPanel()
478 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED) in testPackageNotPreferred_correctPanel()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCarrierActionUtils.java124 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, PackageManager.DONT_KILL_APP); in onEnableDefaultURLHandler()

123