Home
last modified time | relevance | path

Searched refs:expectedKey (Results 1 – 24 of 24) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/
DActionTestsBase.java81 final int elementId, final ExpectedActionKey expectedKey) { in assertActionKey() argument
85 assertEquals(tag + " label " + expectedKey, expectedKey.getLabel(), actualKey.getLabel()); in assertActionKey()
86 assertEquals(tag + " icon " + expectedKey, expectedKey.getIconId(), actualKey.getIconId()); in assertActionKey()
90 final int actionId, final ExpectedActionKey expectedKey) { in doTestActionKey() argument
93 doTestActionKey(tag, subtype, editorInfo, expectedKey); in doTestActionKey()
97 final EditorInfo editorInfo, final ExpectedActionKey expectedKey) { in doTestActionKey() argument
101 assertActionKey(tag, layoutSet, KeyboardId.ELEMENT_ALPHABET, expectedKey); in doTestActionKey()
102 assertActionKey(tag, layoutSet, KeyboardId.ELEMENT_SYMBOLS, expectedKey); in doTestActionKey()
103 assertActionKey(tag, layoutSet, KeyboardId.ELEMENT_SYMBOLS_SHIFTED, expectedKey); in doTestActionKey()
105 assertActionKey(tag, layoutSet, KeyboardId.ELEMENT_PHONE, expectedKey); in doTestActionKey()
[all …]
DLxxActionPreviousTests.java29 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionPrevious() local
33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_PREVIOUS, expectedKey); in testActionPrevious()
DLxxActionNextTests.java29 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionNext() local
33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_NEXT, expectedKey); in testActionNext()
DKlpActionUnspecifiedTests.java29 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionUnspecified() local
34 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_UNSPECIFIED, expectedKey); in testActionUnspecified()
DLxxActionSearchTests.java29 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionSearch() local
33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_SEARCH, expectedKey); in testActionSearch()
DLxxActionGoTests.java29 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionGo() local
33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_GO, expectedKey); in testActionGo()
DLxxActionSendTests.java29 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionSend() local
33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_SEND, expectedKey); in testActionSend()
DKlpActionSearchTests.java29 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionSearch() local
33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_SEARCH, expectedKey); in testActionSearch()
DKlpActionNoneTests.java29 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionNone() local
33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_NONE, expectedKey); in testActionNone()
DLxxActionNoneTests.java29 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionNone() local
33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_NONE, expectedKey); in testActionNone()
DLxxActionDoneTests.java29 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionDone() local
33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_DONE, expectedKey); in testActionDone()
DLxxActionUnspecifiedTests.java29 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionUnspecified() local
34 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_UNSPECIFIED, expectedKey); in testActionUnspecified()
DKlpActionCustomTests.java33 final ExpectedActionKey expectedKey = ExpectedActionKey.newLabelKey("customLabel"); in testActionCustom() local
34 doTestActionKey(tag, subtype, editorInfo, expectedKey); in testActionCustom()
DLxxActionCustomTests.java33 final ExpectedActionKey expectedKey = ExpectedActionKey.newLabelKey("customLabel"); in testActionCustom() local
34 doTestActionKey(tag, subtype, editorInfo, expectedKey); in testActionCustom()
DKlpActionGoTests.java31 final ExpectedActionKey expectedKey = ExpectedActionKey.newLabelKey( in testActionGo() local
33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_GO, expectedKey); in testActionGo()
DKlpActionSendTests.java31 final ExpectedActionKey expectedKey = ExpectedActionKey.newLabelKey( in testActionSend() local
33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_SEND, expectedKey); in testActionSend()
DKlpActionDoneTests.java31 final ExpectedActionKey expectedKey = ExpectedActionKey.newLabelKey( in testActionDone() local
33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_DONE, expectedKey); in testActionDone()
DKlpActionNextTests.java31 final ExpectedActionKey expectedKey = ExpectedActionKey.newLabelKey( in testActionNext() local
33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_NEXT, expectedKey); in testActionNext()
DKlpActionPreviousTests.java31 final ExpectedActionKey expectedKey = ExpectedActionKey.newLabelKey( in testActionPrevious() local
33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_PREVIOUS, expectedKey); in testActionPrevious()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DANQPNetworkKeyTest.java44 ANQPNetworkKey expectedKey = new ANQPNetworkKey(SSID, 0, 0, ANQP_DOMAIN_ID); in buildStandardESSKey() local
46 assertEquals(expectedKey, actualKey); in buildStandardESSKey()
56 ANQPNetworkKey expectedKey = new ANQPNetworkKey(null, 0, HESSID, ANQP_DOMAIN_ID); in buildHessidKey() local
58 assertEquals(expectedKey, actualKey); in buildHessidKey()
68 ANQPNetworkKey expectedKey = new ANQPNetworkKey(SSID, BSSID, 0, 0); in buildAPKey() local
70 assertEquals(expectedKey, actualKey); in buildAPKey()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DMetricsUtilsTest.java190 MetricsUtils.LogHistParms hp, int expectedKey, int expectedValue) { in bucketValueAndVerify() argument
192 collector.checkThat(prefix + value, h.get(expectedKey), equalTo(expectedValue)); in bucketValueAndVerify()
196 int expectedKey, int expectedValue) { in bucketValueAndVerify() argument
198 collector.checkThat(prefix + value, h.get(expectedKey), equalTo(expectedValue)); in bucketValueAndVerify()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/
DLayoutTestsBase.java165 final ExpectedKey expectedKey = expectedKeyboard[r][c]; in doKeyboardTests() local
168 + "\nexpected=" + expectedKey in doKeyboardTests()
170 expectedKey.equalsTo(actualKey)); in doKeyboardTests()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DVibrationPreferenceFragmentTest.java103 final String expectedKey = intensity == Vibrator.VIBRATION_INTENSITY_OFF in changeIntensitySetting_WithoutMultipleIntensitySupport_shouldResultInOn() local
106 assertThat(mFragment.getDefaultKey()).isEqualTo(expectedKey); in changeIntensitySetting_WithoutMultipleIntensitySupport_shouldResultInOn()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DTelecomServiceImplTest.java722 for (String expectedKey : expectedExtras.keySet()) { in addCallTestHelper()
723 assertTrue(intentExtras.containsKey(expectedKey)); in addCallTestHelper()
724 assertEquals(expectedExtras.get(expectedKey), intentExtras.get(expectedKey)); in addCallTestHelper()