Searched refs:systemSpy (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/services/inputflinger/tests/ |
D | InputTracingTest.cpp | 365 auto systemSpy = sp<FakeWindowHandle>::make(APP, mDispatcher, "Spy", DISPLAY_ID); in TEST_F() local 366 systemSpy->setOwnerInfo(PID, gui::Uid{AID_SYSTEM}); in TEST_F() 367 systemSpy->setSpy(true); in TEST_F() 368 systemSpy->setTrustedOverlay(true); in TEST_F() 370 {{*systemSpy->getInfo(), *spy->getInfo(), *window->getInfo()}, {}, 0, 0}); in TEST_F() 372 tapAndExpect({systemSpy, spy, window}, Level::COMPLETE, Level::COMPLETE, s); in TEST_F() 379 mDispatcher->onWindowInfosChanged({{*systemSpy->getInfo(), *spy->getInfo(), in TEST_F() 385 tapAndExpect({systemSpy, spy, disallowedSpy, window}, Level::NONE, Level::NONE, s); in TEST_F() 389 mDispatcher->onWindowInfosChanged({{*systemSpy->getInfo(), *spy->getInfo(), in TEST_F() 395 tapAndExpect({systemSpy, spy, disallowedSpy, window}, Level::NONE, Level::NONE, s); in TEST_F() [all …]
|