Searched refs:StateKeeperRule (Results 1 – 7 of 7) sorted by relevance
52 assertThrows(NullPointerException.class, () -> new StateKeeperRule<Object>(null)); in testInvalidConstructor()57 final StateKeeperRule<String> rule = new StateKeeperRule<>(mStateManager); in testRestoreOnSuccess()70 final StateKeeperRule<String> rule = new StateKeeperRule<>(mStateManager); in testRestoreOnFailure()85 final StateKeeperRule<String> rule = new StateKeeperRule<>(mStateManager); in testDoNotRestoreWhenNotChanged()96 final StateKeeperRule<String> rule = new StateKeeperRule<>(mStateManager); in testDoNotRestoreOnFailure()
34 public class StateKeeperRule<T> implements TestRule { class43 public StateKeeperRule(@NonNull StateManager<T> stateManager) { in StateKeeperRule() method in StateKeeperRule
28 public class DeviceConfigStateKeeperRule extends StateKeeperRule<String> {
28 public class SettingsStateKeeperRule extends StateKeeperRule<String> {
60 import com.android.compatibility.common.util.StateKeeperRule;106 private final StateKeeperRule<String> mStructureEnabledKeeperRule = new StateKeeperRule<>(108 private final StateKeeperRule<String> mScreenshotEnabledKeeperRule = new StateKeeperRule<>(
72 import com.android.compatibility.common.util.StateKeeperRule;144 public StateKeeperRule<DisplayStateManager.DisplayState> mDisplayManagerStateKeeper =145 new StateKeeperRule<>(new DisplayStateManager(
88 import com.android.compatibility.common.util.StateKeeperRule;235 public StateKeeperRule<DisplayStateManager.DisplayState>237 new StateKeeperRule<>(new DisplayStateManager(