Home
last modified time | relevance | path

Searched refs:expectedFlags (Results 1 – 9 of 9) sorted by relevance

/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputConnectionBlockingMethodTest.java251 final int expectedFlags = InputConnection.GET_TEXT_WITH_STYLES; in testGetTextAfterCursor() local
262 assertEquals(expectedFlags, flags); in testGetTextAfterCursor()
268 final ImeCommand command = session.callGetTextAfterCursor(expectedN, expectedFlags); in testGetTextAfterCursor()
352 final int expectedFlags = InputConnection.GET_TEXT_WITH_STYLES; in testGetTextBeforeCursor() local
363 assertEquals(expectedFlags, flags); in testGetTextBeforeCursor()
369 final ImeCommand command = session.callGetTextBeforeCursor(expectedN, expectedFlags); in testGetTextBeforeCursor()
452 final int expectedFlags = InputConnection.GET_TEXT_WITH_STYLES; in testGetSelectedText() local
462 assertEquals(expectedFlags, flags); in testGetSelectedText()
468 final ImeCommand command = session.callGetSelectedText(expectedFlags); in testGetSelectedText()
648 final int expectedFlags = InputConnection.GET_EXTRACTED_TEXT_MONITOR; in testGetExtractedText() local
[all …]
DCursorAnchorInfoTest.java137 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/
DProtoOutputStreamTagTest.java158 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/
DVerifyInputEventTest.java340 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/
DDataRemovalRequestTest.java141 int expectedFlags) { in assertRequest() argument
149 .that(request.getFlags()).isEqualTo(expectedFlags); in assertRequest()
/cts/tests/tests/permission2/src/android/permission2/cts/
DPermissionPolicyTest.java149 final int expectedFlags = expectedPermission.flags; in platformPermissionPolicyIsUnaltered() local
151 if (expectedFlags != declaredFlags) { in platformPermissionPolicyIsUnaltered()
157 expectedFlags)); in platformPermissionPolicyIsUnaltered()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DAssertions.java92 @NonNull AbstractContentCaptureActivity activity, int expectedFlags) { in assertMainSessionContext() argument
102 .that(session.context.getFlags()).isEqualTo(expectedFlags); in assertMainSessionContext()
/cts/tests/tests/content/src/android/content/res/cts/
DConfigurationTest.java188 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/
DHelper.java1300 public static void assertHasFlags(int actualFlags, int expectedFlags) { in assertHasFlags() argument
1301 assertWithMessage("Flags %s not in %s", expectedFlags, actualFlags) in assertHasFlags()
1302 .that(actualFlags & expectedFlags).isEqualTo(expectedFlags); in assertHasFlags()