/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 | 363 private static void compareKeyFlags(int expectedFlags, VerifiedKeyEvent verified) { in compareKeyFlags() argument 369 assertFlag(expectedFlags, flag, verified); in compareKeyFlags() 381 private static void compareMotionFlags(int expectedFlags, VerifiedMotionEvent verified) { in compareMotionFlags() argument 388 assertFlag(expectedFlags, flag, verified); in compareMotionFlags() 400 private static void assertFlag(int expectedFlags, int flag, VerifiedInputEvent verified) { in assertFlag() argument 411 boolean flagValue = (expectedFlags & flag) != 0; in assertFlag()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputConnectionEndToEndTest.java | 670 final int expectedFlags = InputConnection.GET_TEXT_WITH_STYLES; in testGetTextAfterCursor() local 692 final ImeCommand command = session.callGetTextAfterCursor(expectedN, expectedFlags); in testGetTextAfterCursor() 698 assertEquals(expectedFlags, args.get("flags")); in testGetTextAfterCursor() 746 final int expectedFlags = InputConnection.GET_TEXT_WITH_STYLES; in testGetTextAfterCursorFailWithTimeout() local 769 final ImeCommand command = session.callGetTextAfterCursor(expectedN, expectedFlags); in testGetTextAfterCursorFailWithTimeout() 776 assertEquals(expectedFlags, args.get("flags")); in testGetTextAfterCursorFailWithTimeout() 831 final int expectedFlags = InputConnection.GET_TEXT_WITH_STYLES; in testGetTextBeforeCursor() local 854 final ImeCommand command = session.callGetTextBeforeCursor(expectedN, expectedFlags); in testGetTextBeforeCursor() 860 assertEquals(expectedFlags, args.get("flags")); in testGetTextBeforeCursor() 908 final int expectedFlags = InputConnection.GET_TEXT_WITH_STYLES; in testGetTextBeforeCursorFailWithTimeout() local [all …]
|
D | CursorAnchorInfoTest.java | 196 final int expectedFlags = MANY_FLAGS_ARRAY[i]; in testBuilder() local 197 assertEquals(expectedFlags, info.getCharacterBoundsFlags(i)); in testBuilder() 225 final int expectedFlags = MANY_FLAGS_ARRAY[i]; in testBuilder() local 226 assertEquals(expectedFlags, info2.getCharacterBoundsFlags(i)); in testBuilder() 256 final int expectedFlags = MANY_FLAGS_ARRAY[i]; in testBuilder() local 257 assertEquals(expectedFlags, info3.getCharacterBoundsFlags(i)); in testBuilder()
|
/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/autofillservice/src/android/autofillservice/cts/testcore/ |
D | Helper.java | 1406 public static void assertHasFlags(int actualFlags, int expectedFlags) { in assertHasFlags() argument 1407 assertWithMessage("Flags %s not in %s", expectedFlags, actualFlags) in assertHasFlags() 1408 .that(actualFlags & expectedFlags).isEqualTo(expectedFlags); in assertHasFlags() 1411 public static void assertNoFlags(int actualFlags, int expectedFlags) { in assertNoFlags() argument 1412 assertWithMessage("Flags %s in %s", expectedFlags, actualFlags) in assertNoFlags() 1413 .that(actualFlags & expectedFlags).isEqualTo(0); in assertNoFlags()
|
/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 | 290 private static void doConfigCompare(int expectedFlags, Configuration c1, Configuration c2) { in doConfigCompare() argument 291 assertEquals(expectedFlags, c1.diff(c2)); in doConfigCompare() 293 assertEquals(expectedFlags, tmpc1.updateFrom(c2)); in doConfigCompare()
|