Lines Matching refs:composer

244     sp<ISurfaceComposer> composer = ComposerService::getComposerService();  in TEST_F()  local
250 status_t status = composer->addRegionSamplingListener(sampleArea, in TEST_F()
251 IInterface::asBinder(composer), listener); in TEST_F()
253 composer->removeRegionSamplingListener(listener); in TEST_F()
259 sp<ISurfaceComposer> composer = ComposerService::getComposerService(); in TEST_F() local
262 composer->addRegionSamplingListener(sampleArea, mTopLayer->getHandle(), listener); in TEST_F()
267 composer->removeRegionSamplingListener(listener); in TEST_F()
273 sp<ISurfaceComposer> composer = ComposerService::getComposerService(); in TEST_F() local
276 composer->addRegionSamplingListener(sampleArea, mTopLayer->getHandle(), listener); in TEST_F()
288 composer->removeRegionSamplingListener(listener); in TEST_F()
293 sp<ISurfaceComposer> composer = ComposerService::getComposerService(); in TEST_F() local
296 composer->addRegionSamplingListener(greenSampleArea, mTopLayer->getHandle(), greenListener); in TEST_F()
300 composer->addRegionSamplingListener(graySampleArea, mTopLayer->getHandle(), grayListener); in TEST_F()
309 composer->removeRegionSamplingListener(greenListener); in TEST_F()
310 composer->removeRegionSamplingListener(grayListener); in TEST_F()
314 sp<ISurfaceComposer> composer = ComposerService::getComposerService(); in TEST_F() local
319 composer->addRegionSamplingListener(Rect::INVALID_RECT, mTopLayer->getHandle(), in TEST_F()
323 EXPECT_EQ(NO_ERROR, composer->addRegionSamplingListener(sampleArea, NULL, listener)); in TEST_F()
326 composer->addRegionSamplingListener(sampleArea, mTopLayer->getHandle(), NULL)); in TEST_F()
327 EXPECT_EQ(BAD_VALUE, composer->removeRegionSamplingListener(NULL)); in TEST_F()
329 composer->removeRegionSamplingListener(listener); in TEST_F()
334 sp<ISurfaceComposer> composer = ComposerService::getComposerService(); in TEST_F() local
337 composer->addRegionSamplingListener(sampleArea, mTopLayer->getHandle(), listener); in TEST_F()
344 composer->removeRegionSamplingListener(listener); in TEST_F()
351 sp<ISurfaceComposer> composer = ComposerService::getComposerService(); in TEST_F() local
357 composer->addRegionSamplingListener(sampleArea, mTopLayer->getHandle(), listener); in TEST_F()
364 composer->removeRegionSamplingListener(listener); in TEST_F()
369 composer->addRegionSamplingListener(sampleArea, mTopLayer->getHandle(), listener); in TEST_F()
376 composer->removeRegionSamplingListener(listener); in TEST_F()