Home
last modified time | relevance | path

Searched refs:mDeviceConfigStateHelper (Results 1 – 8 of 8) sorted by relevance

/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DJobThrottlingTest.java112 private final DeviceConfigStateHelper mDeviceConfigStateHelper = field in JobThrottlingTest
152 mDeviceConfigStateHelper.set( in setUp()
529 mDeviceConfigStateHelper.set("qc_timing_session_coalescing_duration_ms", "0"); in testJobsInRestrictedBucket_ParoleSession()
556 mDeviceConfigStateHelper.set("qc_timing_session_coalescing_duration_ms", "0"); in testJobsInRestrictedBucket_CorrectParoleWhileCharging()
557 mDeviceConfigStateHelper.set("qc_max_session_count_restricted", "1"); in testJobsInRestrictedBucket_CorrectParoleWhileCharging()
585 mDeviceConfigStateHelper.set("qc_timing_session_coalescing_duration_ms", "0"); in testJobsInRestrictedBucket_DeferredUntilFreeResources()
625 mDeviceConfigStateHelper.set("qc_timing_session_coalescing_duration_ms", "0"); in testJobsInRestrictedBucket_NoRequiredNetwork()
626 mDeviceConfigStateHelper.set("qc_max_session_count_restricted", "0"); in testJobsInRestrictedBucket_NoRequiredNetwork()
662 mDeviceConfigStateHelper.set("qc_timing_session_coalescing_duration_ms", "0"); in testJobsInRestrictedBucket_WithRequiredNetwork()
663 mDeviceConfigStateHelper.set("qc_max_session_count_restricted", "0"); in testJobsInRestrictedBucket_WithRequiredNetwork()
[all …]
DBaseJobSchedulerTest.java73 DeviceConfigStateHelper mDeviceConfigStateHelper; field in BaseJobSchedulerTest
133 mDeviceConfigStateHelper = in setUp()
137 mDeviceConfigStateHelper.set("min_ready_cpu_only_jobs_count", "0"); in setUp()
138 mDeviceConfigStateHelper.set("min_ready_non_active_jobs_count", "0"); in setUp()
139 mDeviceConfigStateHelper.set("conn_transport_batch_threshold", ""); in setUp()
141 mDeviceConfigStateHelper.set("fc_applied_constraints", "0"); in setUp()
176 mDeviceConfigStateHelper.restoreOriginalValues(); in tearDown()
287 mDeviceConfigStateHelper.set(key, value); in setDeviceConfigFlag()
DJobSchedulingTest.java191 mDeviceConfigStateHelper.set( in testFailingScheduleOnQuotaExceeded()
217 mDeviceConfigStateHelper.set(
241 mDeviceConfigStateHelper.set(
DConnectivityConstraintTest.java491 mDeviceConfigStateHelper.set("qc_max_session_count_restricted", "0"); in testExpeditedJobBypassesSimultaneousFirewalls_noDataSaver()
911 mDeviceConfigStateHelper.set("qc_max_session_count_restricted", "0"); in testExpeditedJobDoesNotBypassSimultaneousFirewalls_withDataSaver()
/cts/tests/tests/batterysaving/src/android/os/cts/deviceidle/
DDeviceIdleTest.java49 private final DeviceConfigStateHelper mDeviceConfigStateHelper = field in DeviceIdleTest
62 mDeviceConfigStateHelper.restoreOriginalValues(); in tearDown()
79 mDeviceConfigStateHelper.set("light_idle_to", "500"); in testLightIdleMode()
80 mDeviceConfigStateHelper.set("light_idle_to_initial_flex", "1000"); in testLightIdleMode()
/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/
DBatterySaverTest.java66 private final DeviceConfigStateHelper mDeviceConfigStateHelper = field in BatterySaverTest
82 mDeviceConfigStateHelper.restoreOriginalValues(); in tearDown()
282 mDeviceConfigStateHelper.set("location_mode", in testDeviceConfig()
284 mDeviceConfigStateHelper.set("enable_night_mode", "true"); in testDeviceConfig()
310 mDeviceConfigStateHelper.set("location_mode", in testGlobalSettingsOverridesDeviceConfig()
312 mDeviceConfigStateHelper.set("enable_night_mode", "true"); in testGlobalSettingsOverridesDeviceConfig()
/cts/hostsidetests/media/app/MediaMetricsTest/src/android/media/metrics/cts/
DMediaMetricsAtomHostSideTests.java74 private final DeviceConfigStateHelper mDeviceConfigStateHelper = field in MediaMetricsAtomHostSideTests
81 mDeviceConfigStateHelper.restoreOriginalValues(); in resetProperties()
87 mDeviceConfigStateHelper.set(MEDIA_METRICS_MODE, MEDIA_METRICS_MODE_ON); in turnOnForTesting()
500 mDeviceConfigStateHelper.set( in testAppBlocklist()
523 mDeviceConfigStateHelper.set( in testAttributionBlocklist()
560 mDeviceConfigStateHelper.set( in testAppAllowlist()
583 mDeviceConfigStateHelper.set( in testAttributionAllowlist()
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DAppWidgetTest.java103 private final DeviceConfigStateHelper mDeviceConfigStateHelper = new DeviceConfigStateHelper( field in AppWidgetTest
116 mDeviceConfigStateHelper.close(); in cleanUp()
1556 mDeviceConfigStateHelper.set(props); in setGeneratedPreviewRateLimit()