/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputConnectionBlockingMethodTest.java | 250 final int expectedFlags = InputConnection.GET_TEXT_WITH_STYLES; in testGetTextAfterCursor() local 261 assertEquals(expectedFlags, flags); in testGetTextAfterCursor() 267 final ImeCommand command = session.callGetTextAfterCursor(expectedN, expectedFlags); in testGetTextAfterCursor() 351 final int expectedFlags = InputConnection.GET_TEXT_WITH_STYLES; in testGetTextBeforeCursor() local 362 assertEquals(expectedFlags, flags); in testGetTextBeforeCursor() 368 final ImeCommand command = session.callGetTextBeforeCursor(expectedN, expectedFlags); in testGetTextBeforeCursor() 451 final int expectedFlags = InputConnection.GET_TEXT_WITH_STYLES; in testGetSelectedText() local 461 assertEquals(expectedFlags, flags); in testGetSelectedText() 467 final ImeCommand command = session.callGetSelectedText(expectedFlags); in testGetSelectedText() 647 final int expectedFlags = InputConnection.GET_EXTRACTED_TEXT_MONITOR; in testGetExtractedText() local [all …]
|
D | CursorAnchorInfoTest.java | 137 final int expectedFlags = MANY_FLAGS_ARRAY[i]; in testBuilder() local 138 assertEquals(expectedFlags, info.getCharacterBoundsFlags(i)); in testBuilder() 162 final int expectedFlags = MANY_FLAGS_ARRAY[i]; in testBuilder() local 163 assertEquals(expectedFlags, info2.getCharacterBoundsFlags(i)); in testBuilder() 189 final int expectedFlags = MANY_FLAGS_ARRAY[i]; in testBuilder() local 190 assertEquals(expectedFlags, info3.getCharacterBoundsFlags(i)); in testBuilder()
|
/cts/tests/tests/proto/src/android/util/proto/cts/ |
D | ProtoOutputStreamTagTest.java | 158 public void assertCheckFieldIdThrows(long fieldId, long expectedFlags) in assertCheckFieldIdThrows() argument 161 ProtoOutputStream.checkFieldId(fieldId, expectedFlags); in assertCheckFieldIdThrows() 163 + ", 0x" + Long.toHexString(expectedFlags) + ") did not throw."); in assertCheckFieldIdThrows()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | VerifyInputEventTest.java | 340 private static void compareKeyFlags(int expectedFlags, VerifiedKeyEvent verified) { in compareKeyFlags() argument 346 assertFlag(expectedFlags, flag, verified); in compareKeyFlags() 358 private static void compareMotionFlags(int expectedFlags, VerifiedMotionEvent verified) { in compareMotionFlags() argument 365 assertFlag(expectedFlags, flag, verified); in compareMotionFlags() 377 private static void assertFlag(int expectedFlags, int flag, VerifiedInputEvent verified) { in assertFlag() argument 388 boolean flagValue = (expectedFlags & flag) != 0; in assertFlag()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/unit/ |
D | DataRemovalRequestTest.java | 141 int expectedFlags) { in assertRequest() argument 149 .that(request.getFlags()).isEqualTo(expectedFlags); in assertRequest()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | Assertions.java | 95 @NonNull AbstractContentCaptureActivity activity, int expectedFlags) { in assertMainSessionContext() argument 105 .that(session.context.getFlags()).isEqualTo(expectedFlags); in assertMainSessionContext()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | ConfigurationTest.java | 188 private static void doConfigCompare(int expectedFlags, Configuration c1, Configuration c2) { in doConfigCompare() argument 189 assertEquals(expectedFlags, c1.diff(c2)); in doConfigCompare() 191 assertEquals(expectedFlags, tmpc1.updateFrom(c2)); in doConfigCompare()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | Helper.java | 1318 public static void assertHasFlags(int actualFlags, int expectedFlags) { in assertHasFlags() argument 1319 assertWithMessage("Flags %s not in %s", expectedFlags, actualFlags) in assertHasFlags() 1320 .that(actualFlags & expectedFlags).isEqualTo(expectedFlags); in assertHasFlags()
|