Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/kotlin/
H A DPackageManagerExtComponentEnabledTest.kt81 PackageManager.COMPONENT_ENABLED_STATE_ENABLED -> "STATE_ENABLED"
92 componentEnabledSetting = PackageManager.COMPONENT_ENABLED_STATE_ENABLED,
122 componentEnabledSetting = PackageManager.COMPONENT_ENABLED_STATE_ENABLED,
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DDessertCase.java33 if (pm.getComponentEnabledSetting(cn) != PackageManager.COMPONENT_ENABLED_STATE_ENABLED) { in onStart()
36 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in onStart()
/aosp14/frameworks/base/packages/StatementService/src/com/android/statementservice/utils/
H A DAndroidUtils.kt49 PackageManager.COMPONENT_ENABLED_STATE_ENABLED -> true
59 PackageManager.COMPONENT_ENABLED_STATE_ENABLED -> true
/aosp14/frameworks/base/packages/EasterEgg/src/com/android/egg/
H A DComponentActivationActivity.java57 == PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in onStart()
72 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in onStart()
/aosp14/frameworks/base/core/tests/coretests/src/android/content/pm/
H A 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()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/pkg/
H A DPackageUserStateUtils.java141 case PackageManager.COMPONENT_ENABLED_STATE_ENABLED: in isEnabled()
159 case PackageManager.COMPONENT_ENABLED_STATE_ENABLED: in isPackageEnabled()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
H A DPackageManagerExt.kt35 PackageManager.COMPONENT_ENABLED_STATE_ENABLED -> true
/aosp14/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DPowerTest.java57 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, 0);
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/
H A DPluginEnablerImpl.java55 final int desiredState = enabled ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED in setDisabled()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DTunerServiceImpl.java289 enabled ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED in setTunerEnabled()
299 mTunerComponent) == PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in isTunerEnabled()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/statusbar/
H A DStatusBarManagerServiceTest.java387 PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testValidComponent_fail_noPermission()
411 PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testValidComponent_fail_notExported()
435 PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testValidComponent_pass()
752 PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in mockComponentInfo()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/
H A DControlsServiceInfo.kt115 PackageManager.COMPONENT_ENABLED_STATE_ENABLED -> true
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
H A DControlsListingControllerImplTest.kt372 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED)
482 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED)
513 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED)
/aosp14/frameworks/base/telephony/common/com/android/internal/telephony/
H A DCarrierAppUtils.java203 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in disableCarrierAppsUntilPrivileged()
240 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in disableCarrierAppsUntilPrivileged()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/
H A 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()
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
H A DPackageUserStateTest.java19 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED;
67 oldUserState.setEnabledState(COMPONENT_ENABLED_STATE_ENABLED); in testPackageUserState01()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/
H A DNoteTaskControllerTest.kt38 import android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED
470 eq(COMPONENT_ENABLED_STATE_ENABLED),
507 eq(COMPONENT_ENABLED_STATE_ENABLED),
742 eq(COMPONENT_ENABLED_STATE_ENABLED),
/aosp14/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/
H A DRecentsAnimationPerfTest.java112 is(PackageManager.COMPONENT_ENABLED_STATE_ENABLED))); in setUpClass()
/aosp14/frameworks/base/services/backup/java/com/android/server/backup/
H A DTransportManager.java22 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED;
165 case COMPONENT_ENABLED_STATE_ENABLED: { in onPackageChanged()
/aosp14/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
H A DCarrierActionUtils.java124 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, PackageManager.DONT_KILL_APP); in onEnableDefaultURLHandler()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDpmTestBase.java159 ai.enabledSetting = PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in markDelegatedCertInstallerAsInstalled()
/aosp14/frameworks/base/core/proto/android/service/
H A Dpackage.proto92 COMPONENT_ENABLED_STATE_ENABLED = 1; enumerator
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/
H A DNoteTaskController.kt271 PackageManager.COMPONENT_ENABLED_STATE_ENABLED
/aosp14/frameworks/base/services/robotests/backup/src/com/android/server/backup/
H A DTransportManagerTest.java22 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED;
375 Integer.valueOf(COMPONENT_ENABLED_STATE_ENABLED), in testOnPackageChanged_whenPackageChanged_packageEnabledRegistersTransport()
/aosp14/frameworks/base/core/java/android/service/quickaccesswallet/
H A DQuickAccessWalletClientImpl.java311 if (setting == PackageManager.COMPONENT_ENABLED_STATE_ENABLED) { in isActivityEnabled()

12