Lines Matching refs:disallowedSpy

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
427 disallowedSpy->setOwnerInfo(PID, UNLISTED_UID); in TEST_F()
428 disallowedSpy->setSpy(true); in TEST_F()
429 disallowedSpy->setTrustedOverlay(true); in TEST_F()
430 mDispatcher->onWindowInfosChanged({{*disallowedSpy->getInfo(), *window->getInfo()}, {}, 0, 0}); in TEST_F()
432 tapAndExpect({disallowedSpy, window}, Level::NONE, Level::NONE, s); in TEST_F()
440 {{*disallowedSpy->getInfo(), *spy->getInfo(), *window->getInfo()}, {}, 0, 0}); in TEST_F()
442 tapAndExpect({disallowedSpy, spy, window}, Level::COMPLETE, Level::COMPLETE, s); in TEST_F()
449 mDispatcher->onWindowInfosChanged({{*disallowedSpy->getInfo(), *disallowedSpy2->getInfo(), in TEST_F()
455 tapAndExpect({disallowedSpy, disallowedSpy2, spy, window}, Level::COMPLETE, Level::COMPLETE, s); in TEST_F()
498 auto disallowedSpy = sp<FakeWindowHandle>::make(APP, mDispatcher, "Spy", DISPLAY_ID); in TEST_F() local
499 disallowedSpy->setOwnerInfo(PID, DISALLOWED_UID_1); in TEST_F()
500 disallowedSpy->setSpy(true); in TEST_F()
501 disallowedSpy->setTrustedOverlay(true); in TEST_F()
502 mDispatcher->onWindowInfosChanged({{*disallowedSpy->getInfo(), *window->getInfo()}, {}, 0, 0}); in TEST_F()
504 tapAndExpect({disallowedSpy, window}, Level::NONE, Level::NONE, s); in TEST_F()