Home
last modified time | relevance | path

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

/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java69 public FlagReceiver(int expectedFlags) { in FlagReceiver() argument
70 mExpectedFlags = expectedFlags; in FlagReceiver()
108 public BluetoothReceiver(int expectedFlags) { in BluetoothReceiver() argument
109 super(expectedFlags); in BluetoothReceiver()
162 public PairReceiver(BluetoothDevice device, int passkey, byte[] pin, int expectedFlags) { in PairReceiver() argument
163 super(expectedFlags); in PairReceiver()
221 public ConnectProfileReceiver(BluetoothDevice device, int profile, int expectedFlags) { in ConnectProfileReceiver() argument
222 super(expectedFlags); in ConnectProfileReceiver()
278 public ConnectPanReceiver(BluetoothDevice device, int role, int expectedFlags) { in ConnectPanReceiver() argument
279 super(device, BluetoothProfile.PAN, expectedFlags); in ConnectPanReceiver()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DViewInvalidateTest.java100 int expectedFlags = 0; in validateInvalFlags() local
102 expectedFlags |= expectedFlag; in validateInvalFlags()
106 assertEquals(String.format("expect %x, observed %x", expectedFlags, observedFlags), in validateInvalFlags()
107 expectedFlags, observedFlags); in validateInvalFlags()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLockTaskControllerTest.java586 int expectedFlags = STATUS_BAR_MASK_LOCKED in testUpdateLockTaskFeatures() local
589 verify(mStatusBarService).disable(eq(expectedFlags), any(IBinder.class), in testUpdateLockTaskFeatures()
601 expectedFlags = STATUS_BAR_MASK_LOCKED in testUpdateLockTaskFeatures()
606 verify(mStatusBarService).disable(eq(expectedFlags), any(IBinder.class), in testUpdateLockTaskFeatures()
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp366 int32_t expectedFlags = 0) { in consumeEvent() argument
398 ASSERT_EQ(expectedFlags, flags) in consumeEvent()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsServiceControllerTest.java126 int expectedFlags = Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE in testBindService() local
128 verify(mMockContext).bindService(intentCaptor.capture(), any(), eq(expectedFlags)); in testBindService()
/frameworks/base/core/java/android/util/proto/
DProtoOutputStream.java2206 public static int checkFieldId(long fieldId, long expectedFlags) { in checkFieldId() argument
2209 final long expectedCount = expectedFlags & FIELD_COUNT_MASK; in checkFieldId()
2210 final long expectedType = expectedFlags & FIELD_TYPE_MASK; in checkFieldId()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java4933 private void assertAttestationFlags(int attestationFlags, int[] expectedFlags) { in assertAttestationFlags() argument
4936 Arrays.sort(expectedFlags); in assertAttestationFlags()
4937 assertTrue(Arrays.equals(expectedFlags, gotFlags)); in assertAttestationFlags()