Searched refs:disallowedSpy (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/services/inputflinger/tests/ |
D | InputTracingTest.cpp | 375 auto disallowedSpy = sp<FakeWindowHandle>::make(APP, mDispatcher, "Spy", DISPLAY_ID); in TEST_F() local 376 disallowedSpy->setOwnerInfo(PID, DISALLOWED_UID_1); in TEST_F() 377 disallowedSpy->setSpy(true); in TEST_F() 378 disallowedSpy->setTrustedOverlay(true); in TEST_F() 380 *disallowedSpy->getInfo(), *window->getInfo()}, in TEST_F() 385 tapAndExpect({systemSpy, spy, disallowedSpy, window}, Level::NONE, Level::NONE, s); in TEST_F() 388 disallowedSpy->setOwnerInfo(PID, UNLISTED_UID); in TEST_F() 390 *disallowedSpy->getInfo(), *window->getInfo()}, in TEST_F() 395 tapAndExpect({systemSpy, spy, disallowedSpy, window}, Level::NONE, Level::NONE, s); in TEST_F() 426 auto disallowedSpy = sp<FakeWindowHandle>::make(APP, mDispatcher, "Spy", DISPLAY_ID); in TEST_F() local [all …]
|