/cts/hostsidetests/packagemanager/stats/device/src/com/android/cts/packagemanager/stats/device/ |
D | ComponentStateChangedReportedStatsTestsHelper.java | 20 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/ |
D | PrivilegedAppDisableTest.java | 40 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/ |
D | PackageManagerSpammingMediaRoute2ProviderService.java | 61 == PackageManager.COMPONENT_ENABLED_STATE_ENABLED) { in toggleEnabled() 69 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in toggleEnabled()
|
/cts/tests/PhotoPicker/src/android/photopicker/cts/util/ |
D | PhotoPickerComponentUtils.java | 57 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/ |
D | NonUiInCallServiceTest.java | 70 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()
|
D | CtsPhoneAccountSuggestionService.java | 45 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in enableService()
|
D | NullBindingCallScreeningService.java | 71 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in enableNullBindingCallScreeningService()
|
D | MockCallScreeningService.java | 94 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in enableService()
|
D | CarModeInCallServiceTest.java | 20 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/ |
D | ComponentController.java | 29 (enabled ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED : in enableComponent()
|
/cts/hostsidetests/appbinding/app/src/com/android/cts/appbinding/app/ |
D | MyEnabler.java | 41 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, PackageManager.DONT_KILL_APP); in enableService()
|
/cts/tests/tests/security/src/android/security/cts/CVE_2021_0327/workprofilesetup/ |
D | ProvisionedActivity.java | 23 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in onCreate()
|
/cts/hostsidetests/car_builtin/src/android/car/cts/builtin/pm/ |
D | ComponentEnabledStateCommand.java | 25 public static final String COMPONENT_ENABLED_STATE_ENABLED = "COMPONENT_ENABLED_STATE_ENABLED"; field in ComponentEnabledStateCommand
|
/cts/tests/backup/src/android/backup/cts/ |
D | AgentBindingTest.java | 23 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/ |
D | ComponentConstraintTest.java | 93 final int state = enabled ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED in setJobServiceEnabled()
|
/cts/hostsidetests/car_builtin/src/android/car/cts/builtin/ |
D | PackageManagerHelperHostTest.java | 52 .isEqualTo(ComponentEnabledStateCommand.COMPONENT_ENABLED_STATE_ENABLED); in testApplicationEnabledSetting()
|
/cts/tests/tests/gameservice/src/android/service/games/ |
D | GameServiceTestService.java | 197 enabled ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED 218 enabled ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED
|
/cts/tests/tests/speech/src/android/speech/tts/cts/ |
D | TextToSpeechConnectionTest.java | 20 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/ |
D | CrossUserPackageVisibilityTests.java | 31 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/ |
D | ActivityReference.java | 59 if (runtimeEnabledSetting == PackageManager.COMPONENT_ENABLED_STATE_ENABLED) { in isEnabled()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/car/ |
D | CarDockTestActivity.java | 109 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in swapCarDockHandler()
|
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/ |
D | UsbVoiceCommandTest.java | 75 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in setPackageState()
|
/cts/hostsidetests/packagemanager/domainverification/device/standalone/src/com/android/cts/packagemanager/verify/domain/device/standalone/ |
D | PreVerifiedDomainsTests.kt | 136 PackageManager.COMPONENT_ENABLED_STATE_ENABLED in setDomainVerificationAgentEnabledState()
|
/cts/tests/tests/virtualdevice/applaunch/src/android/virtualdevice/cts/applaunch/ |
D | VirtualDeviceHomeTest.java | 21 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/ |
D | PackageManagerTest.java | 42 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 …]
|