/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 | LxxActionNextTests.java | 30 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionNext() local 34 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_NEXT, expectedKey); in testActionNext()
|
D | LxxActionSearchTests.java | 30 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionSearch() local 34 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_SEARCH, expectedKey); in testActionSearch()
|
D | LxxActionDoneTests.java | 30 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionDone() local 34 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_DONE, expectedKey); in testActionDone()
|
D | KlpActionSearchTests.java | 30 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionSearch() local 34 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_SEARCH, expectedKey); in testActionSearch()
|
D | LxxActionSendTests.java | 30 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionSend() local 34 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_SEND, expectedKey); in testActionSend()
|
D | LxxActionPreviousTests.java | 30 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionPrevious() local 34 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_PREVIOUS, expectedKey); in testActionPrevious()
|
D | LxxActionGoTests.java | 30 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionGo() local 34 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_GO, expectedKey); in testActionGo()
|
D | LxxActionNoneTests.java | 30 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionNone() local 34 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_NONE, expectedKey); in testActionNone()
|
D | LxxActionUnspecifiedTests.java | 30 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionUnspecified() local 35 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_UNSPECIFIED, expectedKey); in testActionUnspecified()
|
D | LxxActionCustomTests.java | 34 final ExpectedActionKey expectedKey = ExpectedActionKey.newLabelKey("customLabel"); in testActionCustom() local 35 doTestActionKey(tag, subtype, editorInfo, expectedKey); in testActionCustom()
|
D | KlpActionUnspecifiedTests.java | 30 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionUnspecified() local 35 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_UNSPECIFIED, expectedKey); in testActionUnspecified()
|
D | KlpActionCustomTests.java | 34 final ExpectedActionKey expectedKey = ExpectedActionKey.newLabelKey("customLabel"); in testActionCustom() local 35 doTestActionKey(tag, subtype, editorInfo, expectedKey); in testActionCustom()
|
D | KlpActionNoneTests.java | 30 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionNone() local 34 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_NONE, expectedKey); in testActionNone()
|
D | KlpActionNextTests.java | 32 final ExpectedActionKey expectedKey = ExpectedActionKey.newLabelKey( in testActionNext() local 34 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_NEXT, expectedKey); in testActionNext()
|
D | KlpActionPreviousTests.java | 32 final ExpectedActionKey expectedKey = ExpectedActionKey.newLabelKey( in testActionPrevious() local 34 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_PREVIOUS, expectedKey); in testActionPrevious()
|
D | KlpActionDoneTests.java | 32 final ExpectedActionKey expectedKey = ExpectedActionKey.newLabelKey( in testActionDone() local 34 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_DONE, expectedKey); in testActionDone()
|
D | KlpActionGoTests.java | 32 final ExpectedActionKey expectedKey = ExpectedActionKey.newLabelKey( in testActionGo() local 34 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_GO, expectedKey); in testActionGo()
|
D | KlpActionSendTests.java | 32 final ExpectedActionKey expectedKey = ExpectedActionKey.newLabelKey( in testActionSend() local 34 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_SEND, expectedKey); in testActionSend()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/ |
D | TimeoutToDockUserSettingsTest.java | 88 final String expectedKey = mValues[0]; in defaultKey_setToFirstValue_shouldSaveToSettings() local 89 mSettings.setDefaultKey(expectedKey); in defaultKey_setToFirstValue_shouldSaveToSettings() 90 assertThat(mSettings.getDefaultKey()).isEqualTo(expectedKey); in defaultKey_setToFirstValue_shouldSaveToSettings() 95 final String expectedKey = mValues[1]; in defaultKey_setToSecondValue_shouldSaveToSettings() local 96 mSettings.setDefaultKey(expectedKey); in defaultKey_setToSecondValue_shouldSaveToSettings() 97 assertThat(mSettings.getDefaultKey()).isEqualTo(expectedKey); in defaultKey_setToSecondValue_shouldSaveToSettings() 102 final String expectedKey = mValues[2]; in defaultKey_setToThirdValue_shouldSaveToSettings() local 103 mSettings.setDefaultKey(expectedKey); in defaultKey_setToThirdValue_shouldSaveToSettings() 104 assertThat(mSettings.getDefaultKey()).isEqualTo(expectedKey); in defaultKey_setToThirdValue_shouldSaveToSettings()
|
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/storage/ |
D | BooleanFileDatastoreTest.java | 283 String expectedKey = TEST_KEY + i; in testKeySetClear() local 287 .contains(expectedKey); in testKeySetClear() 290 .doesNotContain(expectedKey); in testKeySetClear() 295 .doesNotContain(expectedKey); in testKeySetClear() 298 .contains(expectedKey); in testKeySetClear() 321 String expectedKey = TEST_KEY + i; in testKeySetClearAllTrue() local 325 .contains(expectedKey); in testKeySetClearAllTrue() 328 .doesNotContain(expectedKey); in testKeySetClearAllTrue() 333 .doesNotContain(expectedKey); in testKeySetClearAllTrue() 336 .contains(expectedKey); in testKeySetClearAllTrue() [all …]
|
/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/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/migration/ |
D | MigrationTestHelper.java | 125 String expectedKey = expectedElement.getKey(); in doContentValueMatch() local 127 if (droppedKeys.contains(expectedKey)) { in doContentValueMatch() 128 if (actual.containsKey(expectedKey)) { in doContentValueMatch() 133 if (columnsToBeSkipped.contains(expectedKey)) { in doContentValueMatch() 136 if (!actual.containsKey(expectedKey)) { in doContentValueMatch() 139 Object actualValue = actual.get(expectedKey); in doContentValueMatch()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/shared/migration/ |
D | MigrationTestHelper.java | 143 String expectedKey = expectedElement.getKey(); in doContentValueMatch() local 145 if (droppedKeys.contains(expectedKey)) { in doContentValueMatch() 146 if (actual.containsKey(expectedKey)) { in doContentValueMatch() 151 if (columnsToBeSkipped.contains(expectedKey)) { in doContentValueMatch() 154 if (!actual.containsKey(expectedKey)) { in doContentValueMatch() 157 Object actualValue = actual.get(expectedKey); in doContentValueMatch()
|
/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()
|