Home
last modified time | relevance | path

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

/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java65 public FlagReceiver(int expectedFlags) { in FlagReceiver() argument
66 mExpectedFlags = expectedFlags; in FlagReceiver()
102 public BluetoothReceiver(int expectedFlags) { in BluetoothReceiver() argument
103 super(expectedFlags); in BluetoothReceiver()
156 public PairReceiver(BluetoothDevice device, int passkey, byte[] pin, int expectedFlags) { in PairReceiver() argument
157 super(expectedFlags); in PairReceiver()
217 public ConnectProfileReceiver(BluetoothDevice device, int profile, int expectedFlags) { in ConnectProfileReceiver() argument
218 super(expectedFlags); in ConnectProfileReceiver()
271 public ConnectPanReceiver(BluetoothDevice device, int role, int expectedFlags) { in ConnectPanReceiver() argument
272 super(device, BluetoothProfile.PAN, expectedFlags); in ConnectPanReceiver()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DViewInvalidateTest.java95 int expectedFlags = 0; in validateInvalFlags() local
97 expectedFlags |= expectedFlag; in validateInvalFlags()
101 assertEquals(String.format("expect %x, observed %x", expectedFlags, observedFlags), in validateInvalFlags()
102 expectedFlags, observedFlags); in validateInvalFlags()
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DCursorAnchorInfoTest.java136 final int expectedFlags = MANY_FLAGS_ARRAY[i]; in testBuilder() local
137 assertEquals(expectedFlags, info.getCharacterBoundsFlags(i)); in testBuilder()
161 final int expectedFlags = MANY_FLAGS_ARRAY[i]; in testBuilder() local
162 assertEquals(expectedFlags, info2.getCharacterBoundsFlags(i)); in testBuilder()
188 final int expectedFlags = MANY_FLAGS_ARRAY[i]; in testBuilder() local
189 assertEquals(expectedFlags, info3.getCharacterBoundsFlags(i)); in testBuilder()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DLockTaskControllerTest.java494 int expectedFlags = STATUS_BAR_MASK_LOCKED in testUpdateLockTaskFeatures() local
497 verify(mStatusBarService).disable(eq(expectedFlags), any(IBinder.class), in testUpdateLockTaskFeatures()
509 expectedFlags = STATUS_BAR_MASK_LOCKED in testUpdateLockTaskFeatures()
514 verify(mStatusBarService).disable(eq(expectedFlags), any(IBinder.class), in testUpdateLockTaskFeatures()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsServiceControllerTest.java120 int expectedFlags = Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE in testBindService() local
122 verify(mMockContext).bindService(intentCaptor.capture(), any(), eq(expectedFlags)); in testBindService()
/frameworks/base/core/java/android/util/proto/
DProtoOutputStream.java2288 public static int checkFieldId(long fieldId, long expectedFlags) { in checkFieldId() argument
2291 final long expectedCount = expectedFlags & FIELD_COUNT_MASK; in checkFieldId()
2292 final long expectedType = expectedFlags & FIELD_TYPE_MASK; in checkFieldId()
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DRecyclerViewLayoutTest.java1982 private void scrollInOtherOrientationTest(final int flags, int expectedFlags) throws Throwable { in scrollInOtherOrientationTest() argument
2027 assertEquals("fling started", (expectedFlags & FLAG_FLING) != 0, in scrollInOtherOrientationTest()
2034 (expectedFlags & FLAG_HORIZONTAL) != 0, scrolledHorizontal.get()); in scrollInOtherOrientationTest()
2036 (expectedFlags & FLAG_VERTICAL) != 0, scrolledVertical.get()); in scrollInOtherOrientationTest()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java4868 private void assertAttestationFlags(int attestationFlags, int[] expectedFlags) { in assertAttestationFlags() argument
4871 Arrays.sort(expectedFlags); in assertAttestationFlags()
4872 assertTrue(Arrays.equals(expectedFlags, gotFlags)); in assertAttestationFlags()