Lines Matching refs:pActiveDisplay
198 sp<EvsDisplay> pActiveDisplay = sActiveDisplay.promote(); in openDisplay() local
199 if (pActiveDisplay != nullptr) { in openDisplay()
201 closeDisplay(pActiveDisplay); in openDisplay()
205 pActiveDisplay = new EvsDisplay(); in openDisplay()
206 sActiveDisplay = pActiveDisplay; in openDisplay()
208 ALOGD("Returning new EvsDisplay object %p", pActiveDisplay.get()); in openDisplay()
209 return pActiveDisplay; in openDisplay()
232 sp<EvsDisplay> pActiveDisplay = sActiveDisplay.promote(); in openDisplay_1_1() local
233 if (pActiveDisplay != nullptr) { in openDisplay_1_1()
235 closeDisplay(pActiveDisplay); in openDisplay_1_1()
239 pActiveDisplay = new EvsDisplay(sDisplayProxyService, sDisplayPortList[port]); in openDisplay_1_1()
240 sActiveDisplay = pActiveDisplay; in openDisplay_1_1()
242 ALOGD("Returning new EvsDisplay object %p", pActiveDisplay.get()); in openDisplay_1_1()
243 return pActiveDisplay; in openDisplay_1_1()
252 sp<EvsDisplay> pActiveDisplay = sActiveDisplay.promote(); in closeDisplay() local
253 if (pActiveDisplay == nullptr) { in closeDisplay()
259 pActiveDisplay->forceShutdown(); in closeDisplay()
271 sp<IEvsDisplay> pActiveDisplay = sActiveDisplay.promote(); in getDisplayState() local
272 if (pActiveDisplay != nullptr) { in getDisplayState()
273 return pActiveDisplay->getDisplayState(); in getDisplayState()