Home
last modified time | relevance | path

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

12

/cts/hostsidetests/packagemanager/stats/device/src/com/android/cts/packagemanager/stats/device/
DComponentStateChangedReportedStatsTestsHelper.java20 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED;
59 COMPONENT_ENABLED_STATE_ENABLED, DONT_KILL_APP)); in testSetApplicationEnabledSetting()
60 assertEquals(COMPONENT_ENABLED_STATE_ENABLED, in testSetApplicationEnabledSetting()
71 COMPONENT_ENABLED_STATE_ENABLED, DONT_KILL_APP)); in testSetComponentEnabledSettingForLauncherActivity()
72 assertEquals(COMPONENT_ENABLED_STATE_ENABLED, in testSetComponentEnabledSettingForLauncherActivity()
82 COMPONENT_ENABLED_STATE_ENABLED, DONT_KILL_APP)); in testSetComponentEnabledSettingForNoLauncherActivity()
83 assertEquals(COMPONENT_ENABLED_STATE_ENABLED, in testSetComponentEnabledSettingForNoLauncherActivity()
93 COMPONENT_ENABLED_STATE_ENABLED, DONT_KILL_APP)); in testSetComponentEnabledSettingEnabledThenDisabled()
94 assertEquals(COMPONENT_ENABLED_STATE_ENABLED, in testSetComponentEnabledSettingEnabledThenDisabled()
108 COMPONENT_ENABLED_STATE_ENABLED, DONT_KILL_APP)); in testComponentStateChangedReportedEnabledThenDisabledWholeApp()
[all …]
/cts/hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp/src/com/android/cts/privilegedupdate/
DPrivilegedAppDisableTest.java40 PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testPrivAppAndEnabled()
53 PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testUpdatedPrivAppAndEnabled()
78 state = PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in assertPackageEnabledState()
/cts/hostsidetests/media/app/MediaRouteProviderApps/src/android/media/router/cts/
DPackageManagerSpammingMediaRoute2ProviderService.java61 == PackageManager.COMPONENT_ENABLED_STATE_ENABLED) { in toggleEnabled()
69 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in toggleEnabled()
/cts/tests/PhotoPicker/src/android/photopicker/cts/util/
DPhotoPickerComponentUtils.java57 PackageManager.COMPONENT_ENABLED_STATE_ENABLED)) { in enableAndGetOldState()
58 return PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in enableAndGetOldState()
65 PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in enableAndGetOldState()
/cts/tests/tests/telecom/src/android/telecom/cts/
DNonUiInCallServiceTest.java70 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in testMidCallComponentEnablement()
153 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in testMidCallComponentEnablementWithNoneAvailableAtStart()
182 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in testMidCallComponentEnablementWithNoneAvailableAtStart()
202 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, 0)); in testNullBinding()
DCtsPhoneAccountSuggestionService.java45 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in enableService()
DNullBindingCallScreeningService.java71 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in enableNullBindingCallScreeningService()
DMockCallScreeningService.java94 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in enableService()
DCarModeInCallServiceTest.java20 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED;
605 COMPONENT_ENABLED_STATE_ENABLED, DONT_KILL_APP); in testSwitchToCarModeWhenEnableCarModeApp()
639 COMPONENT_ENABLED_STATE_ENABLED, DONT_KILL_APP); in testNoSwitchToCarModeWhenDisabledCarModeAppAutomotiveProjection()
/cts/hostsidetests/devicepolicy/app/DeviceAdminService/src/com/android/cts/deviceadminservice/
DComponentController.java29 (enabled ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED : in enableComponent()
/cts/hostsidetests/appbinding/app/src/com/android/cts/appbinding/app/
DMyEnabler.java41 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, PackageManager.DONT_KILL_APP); in enableService()
/cts/tests/tests/security/src/android/security/cts/CVE_2021_0327/workprofilesetup/
DProvisionedActivity.java23 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in onCreate()
/cts/hostsidetests/car_builtin/src/android/car/cts/builtin/pm/
DComponentEnabledStateCommand.java25 public static final String COMPONENT_ENABLED_STATE_ENABLED = "COMPONENT_ENABLED_STATE_ENABLED"; field in ComponentEnabledStateCommand
/cts/tests/backup/src/android/backup/cts/
DAgentBindingTest.java23 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED;
115 case COMPONENT_ENABLED_STATE_ENABLED: in setComponentEnabledSetting()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DComponentConstraintTest.java93 final int state = enabled ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED in setJobServiceEnabled()
/cts/hostsidetests/car_builtin/src/android/car/cts/builtin/
DPackageManagerHelperHostTest.java52 .isEqualTo(ComponentEnabledStateCommand.COMPONENT_ENABLED_STATE_ENABLED); in testApplicationEnabledSetting()
/cts/tests/tests/gameservice/src/android/service/games/
DGameServiceTestService.java197 enabled ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED
218 enabled ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED
/cts/tests/tests/speech/src/android/speech/tts/cts/
DTextToSpeechConnectionTest.java20 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED;
186 int newState = enabled ? COMPONENT_ENABLED_STATE_ENABLED : COMPONENT_ENABLED_STATE_DISABLED; in setServiceEnabledState()
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DCrossUserPackageVisibilityTests.java31 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED;
236 TARGET_STUB, COMPONENT_ENABLED_STATE_ENABLED, 0 /* flags */)); in testSetApplicationEnabledSetting_cannotDetectStubPkg()
242 TARGET_STUB, COMPONENT_ENABLED_STATE_ENABLED, 0 /* flags */)); in testSetApplicationEnabledSetting_cannotDetectStubPkg()
254 componentName, COMPONENT_ENABLED_STATE_ENABLED, 0 /* flags */)); in testSetComponentEnabledSetting_cannotDetectStubPkg()
260 componentName, COMPONENT_ENABLED_STATE_ENABLED, 0 /* flags */)); in testSetComponentEnabledSetting_cannotDetectStubPkg()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/activities/
DActivityReference.java59 if (runtimeEnabledSetting == PackageManager.COMPONENT_ENABLED_STATE_ENABLED) { in isEnabled()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/car/
DCarDockTestActivity.java109 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in swapCarDockHandler()
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DUsbVoiceCommandTest.java75 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in setPackageState()
/cts/hostsidetests/packagemanager/domainverification/device/standalone/src/com/android/cts/packagemanager/verify/domain/device/standalone/
DPreVerifiedDomainsTests.kt136 PackageManager.COMPONENT_ENABLED_STATE_ENABLED in setDomainVerificationAgentEnabledState()
/cts/tests/tests/virtualdevice/applaunch/src/android/virtualdevice/cts/applaunch/
DVirtualDeviceHomeTest.java21 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED;
344 COMPONENT_ENABLED_STATE_ENABLED, DONT_KILL_APP); in HomeActivitySession()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java42 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED;
733 COMPONENT_ENABLED_STATE_ENABLED, DONT_KILL_APP)); in testEnabledSettingAfterUpdate()
734 assertEquals(COMPONENT_ENABLED_STATE_ENABLED, in testEnabledSettingAfterUpdate()
746 COMPONENT_ENABLED_STATE_ENABLED, DONT_KILL_APP); in testAccessEnabledSetting()
747 assertEquals(COMPONENT_ENABLED_STATE_ENABLED, in testAccessEnabledSetting()
752 COMPONENT_ENABLED_STATE_ENABLED, DONT_KILL_APP); in testAccessEnabledSetting()
753 assertEquals(COMPONENT_ENABLED_STATE_ENABLED, in testAccessEnabledSetting()
2211 componentName, COMPONENT_ENABLED_STATE_ENABLED, 0 /* flags */)); in setComponentEnabledSetting_nonExistentPackage_withoutPermission()
2224 COMPONENT_ENABLED_STATE_ENABLED, 0 /* flags */)); in setComponentEnabledSetting_nonExistentPackage_hasPermission()
2300 COMPONENT_ENABLED_STATE_DEFAULT, COMPONENT_ENABLED_STATE_ENABLED); in setComponentEnabledSettings_disableSelf()
[all …]

12