Home
last modified time | relevance | path

Searched refs:DeviceConfigStateHelper (Results 1 – 18 of 18) sorted by relevance

/cts/tests/tests/batterysaving/src/android/os/cts/deviceidle/
DDeviceIdleTest.java39 import com.android.compatibility.common.util.DeviceConfigStateHelper;
49 private final DeviceConfigStateHelper mDeviceConfigStateHelper =
50 new DeviceConfigStateHelper(DeviceConfig.NAMESPACE_DEVICE_IDLE);
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DDeviceConfigStateHelper.java36 public class DeviceConfigStateHelper implements AutoCloseable { class
44 public DeviceConfigStateHelper(@NonNull String namespace) { in DeviceConfigStateHelper() method in DeviceConfigStateHelper
/cts/tests/AlarmManager/util/src/android/alarmmanager/util/
DAlarmManagerDeviceConfigHelper.java26 import com.android.compatibility.common.util.DeviceConfigStateHelper;
91 DeviceConfigStateHelper.callWithSyncEnabledWithShellPermissions(() -> in commitAndAwaitPropagation()
/cts/tests/tests/app.usage/BroadcastResponseStats/src/android/app/usage/brs/cts/
DBroadcastResponseStatsTest.java65 import com.android.compatibility.common.util.DeviceConfigStateHelper;
793 try (DeviceConfigStateHelper deviceConfigStateHelper = in testBroadcastResponseStats_changeResponseWindowDuration()
794 new DeviceConfigStateHelper(NAMESPACE_APP_STANDBY)) { in testBroadcastResponseStats_changeResponseWindowDuration()
896 try (DeviceConfigStateHelper deviceConfigStateHelper = in testBroadcastResponseStats_appNotInForeground()
897 new DeviceConfigStateHelper(NAMESPACE_APP_STANDBY)) { in testBroadcastResponseStats_appNotInForeground()
1520 try (DeviceConfigStateHelper deviceConfigStateHelper = in testBroadcastResponseStats_broadcastSession()
1521 new DeviceConfigStateHelper(NAMESPACE_APP_STANDBY)) { in testBroadcastResponseStats_broadcastSession()
1583 try (DeviceConfigStateHelper deviceConfigStateHelper = in testBroadcastResponseStats_broadcastSession_withLateNotification()
1584 new DeviceConfigStateHelper(NAMESPACE_APP_STANDBY)) { in testBroadcastResponseStats_broadcastSession_withLateNotification()
1650 try (DeviceConfigStateHelper deviceConfigStateHelper = in testBroadcastResponseStats_broadcastSessionWithResponse()
[all …]
/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DBackgroundRestrictedAlarmsTest.java49 import com.android.compatibility.common.util.DeviceConfigStateHelper;
81 private DeviceConfigStateHelper mActivityManagerDeviceConfigStateHelper =
82 new DeviceConfigStateHelper(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER);
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/
DVirtualContainerActivityCompatModeTest.java48 import com.android.compatibility.common.util.DeviceConfigStateHelper;
60 private final DeviceConfigStateHelper mAutofillDeviceConfig =
61 new DeviceConfigStateHelper(DeviceConfig.NAMESPACE_AUTOFILL);
/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/
DBatterySaverTest.java50 import com.android.compatibility.common.util.DeviceConfigStateHelper;
66 private final DeviceConfigStateHelper mDeviceConfigStateHelper =
67 new DeviceConfigStateHelper(DeviceConfig.NAMESPACE_BATTERY_SAVER);
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DBaseJobSchedulerTest.java48 import com.android.compatibility.common.util.DeviceConfigStateHelper;
73 DeviceConfigStateHelper mDeviceConfigStateHelper;
134 new DeviceConfigStateHelper(DeviceConfig.NAMESPACE_JOB_SCHEDULER); in setUp()
DJobThrottlingTest.java56 import com.android.compatibility.common.util.DeviceConfigStateHelper;
112 private final DeviceConfigStateHelper mDeviceConfigStateHelper =
113 new DeviceConfigStateHelper(DeviceConfig.NAMESPACE_JOB_SCHEDULER);
114 private final DeviceConfigStateHelper mActivityManagerDeviceConfigStateHelper =
115 new DeviceConfigStateHelper(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER);
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/
DBackgroundActivityTestBase.java49 import com.android.compatibility.common.util.DeviceConfigStateHelper;
98 final DeviceConfigStateHelper mDeviceConfig =
99 new DeviceConfigStateHelper(NAMESPACE_WINDOW_MANAGER);
/cts/tests/app/FgsTimeoutTest/src/android/app/cts/fgstimeouttest/
DFgsTimeoutTest.java55 import com.android.compatibility.common.util.DeviceConfigStateHelper;
78 public static DeviceConfigStateHelper sDeviceConfig;
90 sDeviceConfig = new DeviceConfigStateHelper(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER); in setUpClass()
/cts/tests/location/location_fine/src/android/location/cts/fine/
DLocationManagerFineTest.java92 import com.android.compatibility.common.util.DeviceConfigStateHelper;
222 try (DeviceConfigStateHelper locationDeviceConfigStateHelper = in testGetLastKnownLocation_AdasLocationSettingsOn()
223 new DeviceConfigStateHelper(DeviceConfig.NAMESPACE_LOCATION)) { in testGetLastKnownLocation_AdasLocationSettingsOn()
270 try (DeviceConfigStateHelper locationDeviceConfigStateHelper = in testGetLastKnownLocation_AdasLocationSettingsOff()
271 new DeviceConfigStateHelper(DeviceConfig.NAMESPACE_LOCATION)) { in testGetLastKnownLocation_AdasLocationSettingsOff()
801 DeviceConfigStateHelper locationDeviceConfigStateHelper = in testRequestLocationUpdates_LocationSettingsIgnored()
802 new DeviceConfigStateHelper(DeviceConfig.NAMESPACE_LOCATION)) { in testRequestLocationUpdates_LocationSettingsIgnored()
840 DeviceConfigStateHelper locationDeviceConfigStateHelper = in testRequestLocationUpdates_AdasGnssBypass()
841 new DeviceConfigStateHelper(DeviceConfig.NAMESPACE_LOCATION)) { in testRequestLocationUpdates_AdasGnssBypass()
/cts/hostsidetests/media/app/MediaMetricsTest/src/android/media/metrics/cts/
DMediaMetricsAtomHostSideTests.java49 import com.android.compatibility.common.util.DeviceConfigStateHelper;
74 private final DeviceConfigStateHelper mDeviceConfigStateHelper =
75 new DeviceConfigStateHelper(DeviceConfig.NAMESPACE_MEDIA);
/cts/tests/app/FgsTest/src/android/app/cts/fgstest/
DActivityManagerForegroundServiceTypeTest.java56 import com.android.compatibility.common.util.DeviceConfigStateHelper;
401 try (DeviceConfigStateHelper helper = new DeviceConfigStateHelper("activity_manager")) { in testPermissionEnforcementCommon()
/cts/tests/app/ShortFgsTest/src/android/app/cts/shortfgstest/
DActivityManagerShortFgsTest.java59 import com.android.compatibility.common.util.DeviceConfigStateHelper;
79 public static DeviceConfigStateHelper sDeviceConfig;
139 sDeviceConfig = new DeviceConfigStateHelper(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER); in setUpClass()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java105 import com.android.compatibility.common.util.DeviceConfigStateHelper;
1024 try (DeviceConfigStateHelper deviceConfigStateHelper = in testNotificationSeen_verifyBucket()
1025 new DeviceConfigStateHelper(NAMESPACE_APP_STANDBY)) { in testNotificationSeen_verifyBucket()
1098 try (DeviceConfigStateHelper deviceConfigStateHelper = in testNotificationSeen_verifyBucket_retainPreTImpact()
1099 new DeviceConfigStateHelper(NAMESPACE_APP_STANDBY)) { in testNotificationSeen_verifyBucket_retainPreTImpact()
1175 try (DeviceConfigStateHelper deviceConfigStateHelper = in testNotificationSeen_noImpact()
1176 new DeviceConfigStateHelper(NAMESPACE_APP_STANDBY)) { in testNotificationSeen_noImpact()
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DAppWidgetTest.java75 import com.android.compatibility.common.util.DeviceConfigStateHelper;
103 private final DeviceConfigStateHelper mDeviceConfigStateHelper = new DeviceConfigStateHelper(
/cts/tests/app/src/android/app/cts/
DServiceTest.java72 import com.android.compatibility.common.util.DeviceConfigStateHelper;
2144 DeviceConfigStateHelper helper = new DeviceConfigStateHelper("activity_manager"); in testMaxServiceConnections()