/frameworks/native/services/inputflinger/tests/ |
D | FakeWindows.h | 83 std::optional<int32_t> expectedFlags); 253 inline void consumeKeyDown(ui::LogicalDisplayId expectedDisplayId, int32_t expectedFlags = 0) { 255 WithDisplayId(expectedDisplayId), WithFlags(expectedFlags))); 258 inline void consumeKeyUp(ui::LogicalDisplayId expectedDisplayId, int32_t expectedFlags = 0) { 260 WithDisplayId(expectedDisplayId), WithFlags(expectedFlags))); 265 int32_t expectedFlags = 0) { 268 WithFlags(expectedFlags | AMOTION_EVENT_FLAG_CANCELED))); 273 int32_t expectedFlags = 0) { 276 WithFlags(expectedFlags))); 281 int32_t expectedFlags = 0) { [all …]
|
D | FakeWindows.cpp | 85 std::optional<int32_t> expectedFlags) { in consumeEvent() argument 101 if (expectedFlags.has_value()) { in consumeEvent() 102 EXPECT_EQ(expectedFlags.value(), keyEvent.getFlags()); in consumeEvent() 109 if (expectedFlags.has_value()) { in consumeEvent() 110 EXPECT_EQ(expectedFlags.value(), motionEvent.getFlags()); in consumeEvent()
|
D | InputDispatcher_test.cpp | 447 void consumeKeyDown(ui::LogicalDisplayId expectedDisplayId, int32_t expectedFlags = 0) { in consumeKeyDown() argument 449 expectedFlags); in consumeKeyDown() 459 void consumeMotionDown(ui::LogicalDisplayId expectedDisplayId, int32_t expectedFlags = 0) { in consumeMotionDown() argument 461 expectedDisplayId, expectedFlags); in consumeMotionDown() 464 void consumeMotionMove(ui::LogicalDisplayId expectedDisplayId, int32_t expectedFlags = 0) { in consumeMotionMove() argument 466 expectedDisplayId, expectedFlags); in consumeMotionMove() 469 void consumeMotionUp(ui::LogicalDisplayId expectedDisplayId, int32_t expectedFlags = 0) { in consumeMotionUp() argument 471 expectedDisplayId, expectedFlags); in consumeMotionUp() 474 void consumeMotionCancel(ui::LogicalDisplayId expectedDisplayId, int32_t expectedFlags = 0) { in consumeMotionCancel() argument 478 WithFlags(expectedFlags | AMOTION_EVENT_FLAG_CANCELED))); in consumeMotionCancel()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/statusbar/ |
D | StatusBarManagerServiceTest.java | 753 int expectedFlags = DISABLE_MASK & DISABLE_HOME; in testSetHomeDisabled() local 762 mStatusBarManagerService.disable(expectedFlags, mMockStatusBar, pkg); in testSetHomeDisabled() 764 assertEquals(expectedFlags, in testSetHomeDisabled() 770 int expectedFlags = DISABLE_MASK & DISABLE_SYSTEM_INFO; in testSetSystemInfoDisabled() local 779 mStatusBarManagerService.disable(expectedFlags, mMockStatusBar, pkg); in testSetSystemInfoDisabled() 781 assertEquals(expectedFlags, in testSetSystemInfoDisabled() 787 int expectedFlags = DISABLE_MASK & DISABLE_RECENT; in testSetRecentDisabled() local 796 mStatusBarManagerService.disable(expectedFlags, mMockStatusBar, pkg); in testSetRecentDisabled() 798 assertEquals(expectedFlags, in testSetRecentDisabled() 804 int expectedFlags = DISABLE_MASK & DISABLE_BACK; in testSetBackDisabled() local [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewInvalidateTest.java | 100 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/domainselection/ |
D | DomainSelectionControllerTest.java | 153 int expectedFlags = Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE in testBindService() local 156 verify(mMockContext).bindService(intentCaptor.capture(), any(), eq(expectedFlags)); in testBindService()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | LockTaskControllerTest.java | 611 int expectedFlags = STATUS_BAR_MASK_LOCKED in testUpdateLockTaskFeatures() local 614 verify(mStatusBarService).disable(eq(expectedFlags), any(IBinder.class), in testUpdateLockTaskFeatures() 626 expectedFlags = STATUS_BAR_MASK_LOCKED in testUpdateLockTaskFeatures() 631 verify(mStatusBarService).disable(eq(expectedFlags), any(IBinder.class), in testUpdateLockTaskFeatures()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | MotionEventInjectorTest.java | 204 final int expectedFlags = FLAG_PASS_TO_USER | FLAG_INJECTED_FROM_ACCESSIBILITY; in testInjectEvents_shouldEmergeInOrderWithCorrectTiming() local 205 verify(next).onMotionEvent(mCaptor1.capture(), mCaptor2.capture(), eq(expectedFlags)); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming() 206 verify(next).onMotionEvent(argThat(mIsLineStart), argThat(mIsLineStart), eq(expectedFlags)); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming() 214 argThat(allOf(mIsLineMiddle, hasRightDownTime)), eq(expectedFlags)); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming() 222 argThat(allOf(mIsLineEnd, hasRightDownTime)), eq(expectedFlags)); in testInjectEvents_shouldEmergeInOrderWithCorrectTiming()
|
/frameworks/base/core/java/android/util/proto/ |
D | ProtoOutputStream.java | 2209 public static int checkFieldId(long fieldId, long expectedFlags) { in checkFieldId() argument 2212 final long expectedCount = expectedFlags & FIELD_COUNT_MASK; in checkFieldId() 2213 final long expectedType = expectedFlags & FIELD_TYPE_MASK; in checkFieldId()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | ImsServiceControllerTest.java | 203 int expectedFlags = Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE in testBindService() local 205 verify(mMockContext).bindService(intentCaptor.capture(), any(), eq(expectedFlags)); in testBindService()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 6575 private void assertAttestationFlags(int attestationFlags, int[] expectedFlags) { in assertAttestationFlags() argument 6578 Arrays.sort(expectedFlags); in assertAttestationFlags() 6579 assertThat(Arrays.equals(expectedFlags, gotFlags)).isTrue(); in assertAttestationFlags()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |