Searched refs:DeviceConfigStateHelper (Results 1 – 18 of 18) sorted by relevance
39 import com.android.compatibility.common.util.DeviceConfigStateHelper;49 private final DeviceConfigStateHelper mDeviceConfigStateHelper =50 new DeviceConfigStateHelper(DeviceConfig.NAMESPACE_DEVICE_IDLE);
36 public class DeviceConfigStateHelper implements AutoCloseable { class44 public DeviceConfigStateHelper(@NonNull String namespace) { in DeviceConfigStateHelper() method in DeviceConfigStateHelper
26 import com.android.compatibility.common.util.DeviceConfigStateHelper;91 DeviceConfigStateHelper.callWithSyncEnabledWithShellPermissions(() -> in commitAndAwaitPropagation()
65 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 …]
49 import com.android.compatibility.common.util.DeviceConfigStateHelper;81 private DeviceConfigStateHelper mActivityManagerDeviceConfigStateHelper =82 new DeviceConfigStateHelper(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER);
48 import com.android.compatibility.common.util.DeviceConfigStateHelper;60 private final DeviceConfigStateHelper mAutofillDeviceConfig =61 new DeviceConfigStateHelper(DeviceConfig.NAMESPACE_AUTOFILL);
50 import com.android.compatibility.common.util.DeviceConfigStateHelper;66 private final DeviceConfigStateHelper mDeviceConfigStateHelper =67 new DeviceConfigStateHelper(DeviceConfig.NAMESPACE_BATTERY_SAVER);
48 import com.android.compatibility.common.util.DeviceConfigStateHelper;73 DeviceConfigStateHelper mDeviceConfigStateHelper;134 new DeviceConfigStateHelper(DeviceConfig.NAMESPACE_JOB_SCHEDULER); in setUp()
56 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);
49 import com.android.compatibility.common.util.DeviceConfigStateHelper;98 final DeviceConfigStateHelper mDeviceConfig =99 new DeviceConfigStateHelper(NAMESPACE_WINDOW_MANAGER);
55 import com.android.compatibility.common.util.DeviceConfigStateHelper;78 public static DeviceConfigStateHelper sDeviceConfig;90 sDeviceConfig = new DeviceConfigStateHelper(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER); in setUpClass()
92 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()
49 import com.android.compatibility.common.util.DeviceConfigStateHelper;74 private final DeviceConfigStateHelper mDeviceConfigStateHelper =75 new DeviceConfigStateHelper(DeviceConfig.NAMESPACE_MEDIA);
56 import com.android.compatibility.common.util.DeviceConfigStateHelper;401 try (DeviceConfigStateHelper helper = new DeviceConfigStateHelper("activity_manager")) { in testPermissionEnforcementCommon()
59 import com.android.compatibility.common.util.DeviceConfigStateHelper;79 public static DeviceConfigStateHelper sDeviceConfig;139 sDeviceConfig = new DeviceConfigStateHelper(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER); in setUpClass()
105 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()
75 import com.android.compatibility.common.util.DeviceConfigStateHelper;103 private final DeviceConfigStateHelper mDeviceConfigStateHelper = new DeviceConfigStateHelper(
72 import com.android.compatibility.common.util.DeviceConfigStateHelper;2144 DeviceConfigStateHelper helper = new DeviceConfigStateHelper("activity_manager"); in testMaxServiceConnections()