Home
last modified time | relevance | path

Searched refs:originalState (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerRequestPinTest.java319 final HashMap<ComponentName, Integer> originalState = new HashMap<>(); in testRequestPinShortcut_noMainActivity() local
327 originalState.put(componentName, pm.getComponentEnabledSetting(componentName)); in testRequestPinShortcut_noMainActivity()
348 for (HashMap.Entry<ComponentName, Integer> e : originalState.entrySet()) { in testRequestPinShortcut_noMainActivity()
/cts/tests/devicestate/src/android/hardware/devicestate/cts/
DDeviceStateManagerTests.java345 int originalState = callback.mCurrentState.getIdentifier(); in testCancelStateRequestFromNewActivity() local
381 () -> callback.mCurrentState.getIdentifier() == originalState); in testCancelStateRequestFromNewActivity()
383 assertEquals(originalState, callback.mCurrentState.getIdentifier()); in testCancelStateRequestFromNewActivity()