/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/ |
D | ActionTestsBase.java | 81 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 …]
|
D | LxxActionPreviousTests.java | 29 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionPrevious() local 33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_PREVIOUS, expectedKey); in testActionPrevious()
|
D | LxxActionNextTests.java | 29 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionNext() local 33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_NEXT, expectedKey); in testActionNext()
|
D | KlpActionUnspecifiedTests.java | 29 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionUnspecified() local 34 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_UNSPECIFIED, expectedKey); in testActionUnspecified()
|
D | LxxActionSearchTests.java | 29 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionSearch() local 33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_SEARCH, expectedKey); in testActionSearch()
|
D | LxxActionGoTests.java | 29 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionGo() local 33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_GO, expectedKey); in testActionGo()
|
D | LxxActionSendTests.java | 29 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionSend() local 33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_SEND, expectedKey); in testActionSend()
|
D | KlpActionSearchTests.java | 29 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionSearch() local 33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_SEARCH, expectedKey); in testActionSearch()
|
D | KlpActionNoneTests.java | 29 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionNone() local 33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_NONE, expectedKey); in testActionNone()
|
D | LxxActionNoneTests.java | 29 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionNone() local 33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_NONE, expectedKey); in testActionNone()
|
D | LxxActionDoneTests.java | 29 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionDone() local 33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_DONE, expectedKey); in testActionDone()
|
D | LxxActionUnspecifiedTests.java | 29 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionUnspecified() local 34 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_UNSPECIFIED, expectedKey); in testActionUnspecified()
|
D | KlpActionCustomTests.java | 33 final ExpectedActionKey expectedKey = ExpectedActionKey.newLabelKey("customLabel"); in testActionCustom() local 34 doTestActionKey(tag, subtype, editorInfo, expectedKey); in testActionCustom()
|
D | LxxActionCustomTests.java | 33 final ExpectedActionKey expectedKey = ExpectedActionKey.newLabelKey("customLabel"); in testActionCustom() local 34 doTestActionKey(tag, subtype, editorInfo, expectedKey); in testActionCustom()
|
D | KlpActionGoTests.java | 31 final ExpectedActionKey expectedKey = ExpectedActionKey.newLabelKey( in testActionGo() local 33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_GO, expectedKey); in testActionGo()
|
D | KlpActionSendTests.java | 31 final ExpectedActionKey expectedKey = ExpectedActionKey.newLabelKey( in testActionSend() local 33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_SEND, expectedKey); in testActionSend()
|
D | KlpActionDoneTests.java | 31 final ExpectedActionKey expectedKey = ExpectedActionKey.newLabelKey( in testActionDone() local 33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_DONE, expectedKey); in testActionDone()
|
D | KlpActionNextTests.java | 31 final ExpectedActionKey expectedKey = ExpectedActionKey.newLabelKey( in testActionNext() local 33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_NEXT, expectedKey); in testActionNext()
|
D | KlpActionPreviousTests.java | 31 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/ |
D | ANQPNetworkKeyTest.java | 44 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/ |
D | MetricsUtilsTest.java | 190 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/ |
D | LayoutTestsBase.java | 165 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/ |
D | VibrationPreferenceFragmentTest.java | 103 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/ |
D | TelecomServiceImplTest.java | 722 for (String expectedKey : expectedExtras.keySet()) { in addCallTestHelper() 723 assertTrue(intentExtras.containsKey(expectedKey)); in addCallTestHelper() 724 assertEquals(expectedExtras.get(expectedKey), intentExtras.get(expectedKey)); in addCallTestHelper()
|