Lines Matching refs:mFakePolicy
372 sp<FakeInputReaderPolicy> mFakePolicy; member in android::InputReaderPolicyTest
374 void SetUp() override { mFakePolicy = sp<FakeInputReaderPolicy>::make(); } in SetUp()
375 void TearDown() override { mFakePolicy.clear(); } in TearDown()
390 mFakePolicy->getDisplayViewportByType(ViewportType::INTERNAL); in TEST_F()
394 mFakePolicy->addDisplayViewport(DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, ui::ROTATION_0, in TEST_F()
398 internalViewport = mFakePolicy->getDisplayViewportByUniqueId(uniqueId); in TEST_F()
403 internalViewport = mFakePolicy->getDisplayViewportByType(ViewportType::INTERNAL); in TEST_F()
407 mFakePolicy->clearViewports(); in TEST_F()
409 internalViewport = mFakePolicy->getDisplayViewportByUniqueId(uniqueId); in TEST_F()
411 internalViewport = mFakePolicy->getDisplayViewportByType(ViewportType::INTERNAL); in TEST_F()
424 mFakePolicy->addDisplayViewport(DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, ui::ROTATION_0, in TEST_F()
428 mFakePolicy->addDisplayViewport(DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, ui::ROTATION_0, in TEST_F()
432 mFakePolicy->addDisplayViewport(virtualDisplayId1, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F()
436 mFakePolicy->addDisplayViewport(virtualDisplayId2, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F()
442 mFakePolicy->getDisplayViewportByType(ViewportType::INTERNAL); in TEST_F()
448 mFakePolicy->getDisplayViewportByType(ViewportType::EXTERNAL); in TEST_F()
454 mFakePolicy->getDisplayViewportByUniqueId(virtualUniqueId1); in TEST_F()
462 mFakePolicy->getDisplayViewportByUniqueId(virtualUniqueId2); in TEST_F()
484 mFakePolicy->clearViewports(); in TEST_F()
486 mFakePolicy->addDisplayViewport(displayId1, DISPLAY_WIDTH, DISPLAY_HEIGHT, ui::ROTATION_0, in TEST_F()
489 mFakePolicy->addDisplayViewport(displayId2, DISPLAY_WIDTH, DISPLAY_HEIGHT, ui::ROTATION_0, in TEST_F()
494 mFakePolicy->getDisplayViewportByUniqueId(uniqueId1); in TEST_F()
500 mFakePolicy->getDisplayViewportByUniqueId(uniqueId2); in TEST_F()
511 std::optional<DisplayViewport> someViewport = mFakePolicy->getDisplayViewportByType(type); in TEST_F()
528 mFakePolicy->clearViewports(); in TEST_F()
529 mFakePolicy->addDisplayViewport(ui::LogicalDisplayId::DEFAULT, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F()
532 mFakePolicy->addDisplayViewport(nonDefaultDisplayId, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F()
537 mFakePolicy->getDisplayViewportByType(ViewportType::INTERNAL); in TEST_F()
543 mFakePolicy->clearViewports(); in TEST_F()
544 mFakePolicy->addDisplayViewport(nonDefaultDisplayId, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F()
547 mFakePolicy->addDisplayViewport(ui::LogicalDisplayId::DEFAULT, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F()
551 viewport = mFakePolicy->getDisplayViewportByType(ViewportType::INTERNAL); in TEST_F()
570 mFakePolicy->clearViewports(); in TEST_F()
572 mFakePolicy->addDisplayViewport(displayId1, DISPLAY_WIDTH, DISPLAY_HEIGHT, ui::ROTATION_0, in TEST_F()
575 mFakePolicy->addDisplayViewport(displayId2, DISPLAY_WIDTH, DISPLAY_HEIGHT, ui::ROTATION_0, in TEST_F()
579 std::optional<DisplayViewport> hdmi1Viewport = mFakePolicy->getDisplayViewportByPort(hdmi1); in TEST_F()
585 hdmi1Viewport = mFakePolicy->getDisplayViewportByUniqueId(uniqueId2); in TEST_F()
592 std::optional<DisplayViewport> hdmi2Viewport = mFakePolicy->getDisplayViewportByPort(hdmi2); in TEST_F()
601 sp<FakeInputReaderPolicy> mFakePolicy; member in android::InputReaderTest
607 mFakePolicy = sp<FakeInputReaderPolicy>::make(); in SetUp()
610 mReader = std::make_unique<InstrumentedInputReader>(mFakeEventHub, mFakePolicy, in SetUp()
616 mFakePolicy.clear(); in TearDown()
629 ASSERT_NO_FATAL_FAILURE(mFakePolicy->assertInputDevicesChanged()); in addDevice()
635 mFakePolicy->addDisabledDevice(deviceId); in disableDevice()
640 mFakePolicy->removeDisabledDevice(deviceId); in enableDevice()
652 mFakePolicy->getReaderConfiguration(), sources); in addDeviceWithFakeInputMapper()
665 const std::vector<InputDeviceInfo>& inputDevices = mFakePolicy->getInputDevices(); in TEST_F()
679 ASSERT_EQ(1U, mFakePolicy->getInputDevices().size()); in TEST_F()
680 InputDeviceInfo inputDevice = mFakePolicy->getInputDevices()[0]; in TEST_F()
693 ASSERT_NO_FATAL_FAILURE(mFakePolicy->assertInputDevicesChanged()); in TEST_F()
694 inputDevice = mFakePolicy->getInputDevices()[0]; in TEST_F()
704 device->addMapper<FakeInputMapper>(eventHubIds[0], mFakePolicy->getReaderConfiguration(), in TEST_F()
706 device->addMapper<FakeInputMapper>(eventHubIds[1], mFakePolicy->getReaderConfiguration(), in TEST_F()
718 ASSERT_EQ(1U, mFakePolicy->getInputDevices().size()); in TEST_F()
727 device->addMapper<FakeInputMapper>(eventHubIds[0], mFakePolicy->getReaderConfiguration(), in TEST_F()
729 device->addMapper<FakeInputMapper>(eventHubIds[1], mFakePolicy->getReaderConfiguration(), in TEST_F()
755 device->addMapper<FakeInputMapper>(eventHubId, mFakePolicy->getReaderConfiguration(), in TEST_F()
1002 device->addMapper<FakeInputMapper>(eventHubId, mFakePolicy->getReaderConfiguration(), in TEST_F()
1036 device->addMapper<FakeInputMapper>(eventHubId, mFakePolicy->getReaderConfiguration(), in TEST_F()
1053 device->addMapper<FakeInputMapper>(eventHubId, mFakePolicy->getReaderConfiguration(), in TEST_F()
1060 mFakePolicy->addInputPortAssociation(DEVICE_LOCATION, hdmi1); in TEST_F()
1063 mFakePolicy->clearViewports(); in TEST_F()
1064 mFakePolicy->addDisplayViewport(DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, ui::ROTATION_0, in TEST_F()
1066 mFakePolicy->addDisplayViewport(SECONDARY_DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F()
1097 device->addMapper<FakeInputMapper>(eventHubIds[0], mFakePolicy->getReaderConfiguration(), in TEST_F()
1099 device->addMapper<FakeInputMapper>(eventHubIds[1], mFakePolicy->getReaderConfiguration(), in TEST_F()
1142 mFakePolicy->getReaderConfiguration(), in TEST_F()
1146 mFakePolicy->getReaderConfiguration(), in TEST_F()
1167 auto request = mFakePolicy->setPointerCapture(/*window=*/sp<BBinder>::make()); in TEST_F()
1174 mFakePolicy->setPointerCapture(/*window=*/nullptr); in TEST_F()
1281 mFakePolicy->getReaderConfiguration(), in TEST_F()
1424 sp<FakeInputReaderPolicy> mFakePolicy; member in android::InputReaderIntegrationTest
1434 mFakePolicy = sp<FakeInputReaderPolicy>::make(); in SetUp()
1446 mFakePolicy.clear(); in TearDown()
1452 const std::vector<InputDeviceInfo> inputDevices = mFakePolicy->getInputDevices(); in waitForDevice()
1472 mReader = std::make_unique<InputReader>(std::make_shared<EventHub>(), mFakePolicy, in setupInputReader()
1479 ASSERT_NO_FATAL_FAILURE(mFakePolicy->assertInputDevicesChanged()); in setupInputReader()
1495 const size_t numDevices = mFakePolicy->getInputDevices().size(); in TEST_F()
1500 ASSERT_NO_FATAL_FAILURE(mFakePolicy->assertInputDevicesNotChanged()); in TEST_F()
1502 ASSERT_EQ(numDevices, mFakePolicy->getInputDevices().size()); in TEST_F()
1505 ASSERT_NO_FATAL_FAILURE(mFakePolicy->assertInputDevicesNotChanged()); in TEST_F()
1507 ASSERT_EQ(numDevices, mFakePolicy->getInputDevices().size()); in TEST_F()
1511 const size_t initialNumDevices = mFakePolicy->getInputDevices().size(); in TEST_F()
1514 ASSERT_NO_FATAL_FAILURE(mFakePolicy->assertInputDevicesChanged()); in TEST_F()
1516 ASSERT_EQ(initialNumDevices + 1, mFakePolicy->getInputDevices().size()); in TEST_F()
1525 ASSERT_NO_FATAL_FAILURE(mFakePolicy->assertInputDevicesChanged()); in TEST_F()
1527 ASSERT_EQ(initialNumDevices, mFakePolicy->getInputDevices().size()); in TEST_F()
1532 ASSERT_NO_FATAL_FAILURE(mFakePolicy->assertInputDevicesChanged()); in TEST_F()
1559 ASSERT_NO_FATAL_FAILURE(mFakePolicy->assertInputDevicesChanged()); in TEST_F()
1599 ASSERT_NO_FATAL_FAILURE(mFakePolicy->assertInputDevicesChanged()); in TEST_F()
1616 ASSERT_NO_FATAL_FAILURE(mFakePolicy->assertInputDevicesChanged()); in TEST_F()
1640 ASSERT_NO_FATAL_FAILURE(mFakePolicy->assertInputDevicesChanged()); in TEST_F()
1670 ASSERT_NO_FATAL_FAILURE(mFakePolicy->assertInputDevicesChanged()); in SetUp()
1681 mFakePolicy->addDisplayViewport(displayId, width, height, orientation, /*isActive=*/true, in setDisplayInfoAndReconfigure()
1722 mFakePolicy = sp<FakeInputReaderPolicy>::make(); in SetUp()
1724 mFakePolicy->addInputPortAssociation(INPUT_PORT, DISPLAY_PORT.value()); in SetUp()
1726 mFakePolicy->addInputUniqueIdAssociation(INPUT_PORT, UNIQUE_ID); in SetUp()
1733 ASSERT_NO_FATAL_FAILURE(mFakePolicy->assertInputDevicesChanged()); in SetUp()
1739 ASSERT_NO_FATAL_FAILURE(mFakePolicy->assertInputDevicesChanged()); in SetUp()
2014 ASSERT_NO_FATAL_FAILURE(mFakePolicy->assertStylusGestureNotified(mDeviceInfo.getId())); in TEST_P()
2022 ASSERT_NO_FATAL_FAILURE(mFakePolicy->assertStylusGestureNotNotified()); in TEST_P()
2033 ASSERT_NO_FATAL_FAILURE(mFakePolicy->assertStylusGestureNotNotified()); in TEST_P()
2050 ASSERT_NO_FATAL_FAILURE(mFakePolicy->assertStylusGestureNotified(mDeviceInfo.getId())); in TEST_P()
2072 ASSERT_NO_FATAL_FAILURE(mFakePolicy->assertInputDevicesChanged()); in TEST_P()
2085 ASSERT_NO_FATAL_FAILURE(mFakePolicy->assertInputDevicesChanged()); in TEST_P()
2143 ASSERT_NO_FATAL_FAILURE(mFakePolicy->assertInputDevicesChanged()); in setUpStylusDevice()
2352 TestFixture::mFakePolicy->setStylusButtonMotionEventsEnabled(false); in TYPED_TEST()
2413 ASSERT_NO_FATAL_FAILURE(mFakePolicy->assertInputDevicesChanged()); in TEST_F()
2431 ASSERT_NO_FATAL_FAILURE(mFakePolicy->assertInputDevicesChanged()); in TEST_F()
2477 ASSERT_NO_FATAL_FAILURE(mFakePolicy->assertInputDevicesChanged()); in TEST_F()
2557 ASSERT_NO_FATAL_FAILURE(mFakePolicy->assertInputDevicesChanged()); in TEST_F()
2604 sp<FakeInputReaderPolicy> mFakePolicy; member in android::InputDeviceTest
2611 mFakePolicy = sp<FakeInputReaderPolicy>::make(); in SetUp()
2613 mReader = std::make_unique<InstrumentedInputReader>(mFakeEventHub, mFakePolicy, in SetUp()
2628 mFakePolicy.clear(); in TearDown()
2698 mDevice->addMapper<FakeInputMapper>(EVENTHUB_ID, mFakePolicy->getReaderConfiguration(), in TEST_F()
2711 mDevice->addMapper<FakeInputMapper>(EVENTHUB_ID, mFakePolicy->getReaderConfiguration(), in TEST_F()
2792 mDevice->addMapper<FakeInputMapper>(EVENTHUB_ID, mFakePolicy->getReaderConfiguration(), in TEST_F()
2796 mDevice->configure(ARBITRARY_TIME, mFakePolicy->getReaderConfiguration(), in TEST_F()
2804 mDevice->addMapper<FakeInputMapper>(EVENTHUB_ID, mFakePolicy->getReaderConfiguration(), in TEST_F()
2808 mDevice->configure(ARBITRARY_TIME, mFakePolicy->getReaderConfiguration(), in TEST_F()
2817 mDevice->addMapper<FakeInputMapper>(EVENTHUB_ID, mFakePolicy->getReaderConfiguration(), in TEST_F()
2845 mDevice->addMapper<FakeInputMapper>(EVENTHUB_ID, mFakePolicy->getReaderConfiguration(), in TEST_F()
2864 mDevice->addMapper<FakeInputMapper>(EVENTHUB_ID, mFakePolicy->getReaderConfiguration(), in TEST_F()
2885 mDevice->addMapper<FakeInputMapper>(EVENTHUB_ID, mFakePolicy->getReaderConfiguration(), in TEST_F()
2890 mDevice->configure(ARBITRARY_TIME, mFakePolicy->getReaderConfiguration(), in TEST_F()
2900 mFakePolicy->addInputPortAssociation(DEVICE_LOCATION, hdmi); in TEST_F()
2901 unused += mDevice->configure(ARBITRARY_TIME, mFakePolicy->getReaderConfiguration(), in TEST_F()
2908 mFakePolicy->addDisplayViewport(SECONDARY_DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F()
2911 unused += mDevice->configure(ARBITRARY_TIME, mFakePolicy->getReaderConfiguration(), in TEST_F()
2916 mFakePolicy->addDisabledDevice(mDevice->getId()); in TEST_F()
2917 unused += mDevice->configure(ARBITRARY_TIME, mFakePolicy->getReaderConfiguration(), in TEST_F()
2922 unused += mDevice->configure(ARBITRARY_TIME, mFakePolicy->getReaderConfiguration(), in TEST_F()
2929 mFakePolicy->clearViewports(); in TEST_F()
2930 mDevice->addMapper<FakeInputMapper>(EVENTHUB_ID, mFakePolicy->getReaderConfiguration(), in TEST_F()
2933 mDevice->configure(ARBITRARY_TIME, mFakePolicy->getReaderConfiguration(), in TEST_F()
2939 mFakePolicy->addInputUniqueIdAssociation(DEVICE_LOCATION, DISPLAY_UNIQUE_ID); in TEST_F()
2940 unused += mDevice->configure(ARBITRARY_TIME, mFakePolicy->getReaderConfiguration(), in TEST_F()
2945 mFakePolicy->addDisplayViewport(SECONDARY_DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F()
2948 unused += mDevice->configure(ARBITRARY_TIME, mFakePolicy->getReaderConfiguration(), in TEST_F()
2953 mFakePolicy->addDisabledDevice(mDevice->getId()); in TEST_F()
2954 unused += mDevice->configure(ARBITRARY_TIME, mFakePolicy->getReaderConfiguration(), in TEST_F()
2959 unused += mDevice->configure(ARBITRARY_TIME, mFakePolicy->getReaderConfiguration(), in TEST_F()
2965 mFakePolicy->clearViewports(); in TEST_F()
2966 mDevice->addMapper<FakeInputMapper>(EVENTHUB_ID, mFakePolicy->getReaderConfiguration(), in TEST_F()
2969 mDevice->configure(ARBITRARY_TIME, mFakePolicy->getReaderConfiguration(), in TEST_F()
2972 mFakePolicy->addInputUniqueIdAssociation(DEVICE_LOCATION, DISPLAY_UNIQUE_ID); in TEST_F()
2973 mFakePolicy->addDisplayViewport(SECONDARY_DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F()
2977 unused += mDevice->configure(ARBITRARY_TIME, mFakePolicy->getReaderConfiguration(), in TEST_F()
2994 mFakePolicy->getReaderConfiguration()); in TEST_F()
3007 mFakePolicy->clearViewports(); in TEST_F()
3009 mDevice->addMapper<FakeInputMapper>(EVENTHUB_ID, mFakePolicy->getReaderConfiguration(), in TEST_F()
3012 mDevice->configure(ARBITRARY_TIME, mFakePolicy->getReaderConfiguration(), in TEST_F()
3875 mFakePolicy in TEST_F()
3879 device2->configure(ARBITRARY_TIME, mFakePolicy->getReaderConfiguration(), in TEST_F()
3888 mFakePolicy->addInputPortAssociation(DEVICE_LOCATION, hdmi1); in TEST_F()
3889 mFakePolicy->addInputPortAssociation(USB2, hdmi2); in TEST_F()
3892 unused += device2->configure(ARBITRARY_TIME, mFakePolicy->getReaderConfiguration(), in TEST_F()
3903 unused += device2->configure(ARBITRARY_TIME, mFakePolicy->getReaderConfiguration(), in TEST_F()
3987 mFakePolicy in TEST_F()
3991 device2->configure(ARBITRARY_TIME, mFakePolicy->getReaderConfiguration(), in TEST_F()
4048 mFakePolicy in TEST_F()
4052 device2->configure(ARBITRARY_TIME, mFakePolicy->getReaderConfiguration(), in TEST_F()
4120 mFakePolicy->addDisabledDevice(DEVICE_ID); in TEST_F()
4133 mDevice->configure(ARBITRARY_TIME, mFakePolicy->getReaderConfiguration(), in TEST_F()
4137 mFakePolicy->addKeyboardLayoutAssociation(DEVICE_LOCATION, DEVICE_KEYBOARD_LAYOUT_INFO); in TEST_F()
4139 unused += mDevice->configure(ARBITRARY_TIME, mFakePolicy->getReaderConfiguration(), in TEST_F()
4151 mFakePolicy->addKeyboardLayoutAssociation(DEVICE_LOCATION, DEVICE_KEYBOARD_LAYOUT_INFO); in TEST_F()
4152 unused += mDevice->configure(ARBITRARY_TIME, mFakePolicy->getReaderConfiguration(), in TEST_F()
4437 mFakePolicy->setTouchAffineTransformation(AFFINE_TRANSFORM); in prepareLocationCalibration()
5357 auto viewport = mFakePolicy->getDisplayViewportByType(ViewportType::INTERNAL); in TEST_F()
5362 mFakePolicy->updateViewport(*viewport); in TEST_F()
5410 auto viewport = mFakePolicy->getDisplayViewportByType(ViewportType::INTERNAL); in TEST_F()
5415 mFakePolicy->updateViewport(*viewport); in TEST_F()
6118 auto viewport = mFakePolicy->getDisplayViewportByType(ViewportType::INTERNAL); in TEST_F()
6120 mFakePolicy->updateViewport(*viewport); in TEST_F()
6145 mFakePolicy->updateViewport(*viewport); in TEST_F()
6206 mFakePolicy->setStylusButtonMotionEventsEnabled(false); in TEST_F()
6241 mFakePolicy->addDeviceTypeAssociation(DEVICE_LOCATION, "touchNavigation"); in TEST_F()
6263 mFakePolicy->addDeviceTypeAssociation(DEVICE_LOCATION, "touchNavigation"); in TEST_F()
6267 mDevice->configure(ARBITRARY_TIME, mFakePolicy->getReaderConfiguration(), in TEST_F()
6283 auto viewport = mFakePolicy->getDisplayViewportByType(ViewportType::INTERNAL); in TEST_F()
6288 mFakePolicy->updateViewport(*viewport); in TEST_F()
6356 *mFakePolicy->getDisplayViewportByType(ViewportType::INTERNAL); in configurePhysicalDisplay()
6377 mFakePolicy->updateViewport(v); in configurePhysicalDisplay()
8686 mFakePolicy->addInputPortAssociation(DEVICE_LOCATION, hdmi1); in TEST_F()
8687 mFakePolicy->addInputPortAssociation(usb2, hdmi2); in TEST_F()
8716 mFakePolicy->addInputUniqueIdAssociation(DEVICE_LOCATION, VIRTUAL_DISPLAY_UNIQUE_ID); in TEST_F()
8781 mFakePolicy->addDisplayViewport(DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, ui::ROTATION_0, in TEST_F()
8801 mFakePolicy->addDisplayViewport(DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, ui::ROTATION_0, in TEST_F()
8823 mFakePolicy->addDisplayViewport(DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, ui::ROTATION_0, in TEST_F()
8826 mFakePolicy->getDisplayViewportByUniqueId(UNIQUE_ID); in TEST_F()
8845 ASSERT_TRUE(mFakePolicy->updateViewport(displayViewport)); in TEST_F()
8860 ASSERT_TRUE(mFakePolicy->updateViewport(displayViewport)); in TEST_F()
8879 mFakePolicy->addDisplayViewport(DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, ui::ROTATION_0, in TEST_F()
8882 mFakePolicy->getDisplayViewportByUniqueId(UNIQUE_ID); in TEST_F()
8899 ASSERT_TRUE(mFakePolicy->updateViewport(displayViewport)); in TEST_F()
8914 ASSERT_TRUE(mFakePolicy->updateViewport(displayViewport)); in TEST_F()
9065 mFakePolicy->addInputPortAssociation(DEVICE_LOCATION, hdmi2); in TEST_F()
9684 mFakePolicy->getPointerGestureMovementSpeedRatio() * displayDiagonal / rawDiagonal; in TEST_F()
9717 mFakePolicy->setPointerCapture(/*window=*/nullptr); in TEST_F()
9786 mFakePolicy->setPointerCapture(/*window=*/nullptr); in preparePointerMode()
9787 mFakePolicy->setPointerGestureEnabled(true); in preparePointerMode()
9792 mFakePolicy->getPointerGestureMovementSpeedRatio() * displayDiagonal / rawDiagonal; in preparePointerMode()
9794 mFakePolicy->getPointerGestureZoomSpeedRatio() * displayDiagonal / rawDiagonal; in preparePointerMode()
10098 auto viewport = mFakePolicy->getDisplayViewportByType(ViewportType::INTERNAL); in TEST_F()
10100 mFakePolicy->updateViewport(*viewport); in TEST_F()
10155 mFakePolicy->addInputUniqueIdAssociation(DEVICE_LOCATION, VIRTUAL_DISPLAY_UNIQUE_ID); in TEST_F()
10188 sp<FakeInputReaderPolicy> mFakePolicy; member in android::PeripheralControllerTest
10195 mFakePolicy = sp<FakeInputReaderPolicy>::make(); in SetUp()
10197 mReader = std::make_unique<InstrumentedInputReader>(mFakeEventHub, mFakePolicy, in SetUp()
10206 mFakePolicy.clear(); in TearDown()
10304 mDevice->configure(ARBITRARY_TIME, mFakePolicy->getReaderConfiguration(), in TEST_F()
10348 mDevice->configure(ARBITRARY_TIME, mFakePolicy->getReaderConfiguration(), in TEST_F()
10369 mDevice->configure(ARBITRARY_TIME, mFakePolicy->getReaderConfiguration(), in TEST_F()
10392 mDevice->configure(ARBITRARY_TIME, mFakePolicy->getReaderConfiguration(), in TEST_F()
10421 mDevice->configure(ARBITRARY_TIME, mFakePolicy->getReaderConfiguration(), in TEST_F()