Home
last modified time | relevance | path

Searched refs:pActiveDisplay (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/automotive/evs/1.0/default/
DEvsEnumerator.cpp166 sp<EvsDisplay> pActiveDisplay = sActiveDisplay.promote(); in openDisplay() local
167 if (pActiveDisplay != nullptr) { in openDisplay()
169 closeDisplay(pActiveDisplay); in openDisplay()
173 pActiveDisplay = new EvsDisplay(); in openDisplay()
174 sActiveDisplay = pActiveDisplay; in openDisplay()
176 ALOGD("Returning new EvsDisplay object %p", pActiveDisplay.get()); in openDisplay()
177 return pActiveDisplay; in openDisplay()
185 sp<EvsDisplay> pActiveDisplay = sActiveDisplay.promote(); in closeDisplay() local
186 if (pActiveDisplay == nullptr) { in closeDisplay()
192 pActiveDisplay->forceShutdown(); in closeDisplay()
[all …]
/hardware/interfaces/automotive/evs/1.1/default/
DEvsEnumerator.cpp185 sp<EvsDisplay> pActiveDisplay = sActiveDisplay.promote(); in openDisplay() local
186 if (pActiveDisplay != nullptr) { in openDisplay()
188 closeDisplay(pActiveDisplay); in openDisplay()
192 pActiveDisplay = new EvsDisplay(sDisplayProxyService, sInternalDisplayId); in openDisplay()
193 sActiveDisplay = pActiveDisplay; in openDisplay()
195 ALOGD("Returning new EvsDisplay object %p", pActiveDisplay.get()); in openDisplay()
196 return pActiveDisplay; in openDisplay()
216 sp<EvsDisplay> pActiveDisplay = sActiveDisplay.promote(); in openDisplay_1_1() local
217 if (pActiveDisplay != nullptr) { in openDisplay_1_1()
219 closeDisplay(pActiveDisplay); in openDisplay_1_1()
[all …]
/hardware/interfaces/automotive/evs/aidl/impl/default/src/
DEvsEnumerator.cpp323 std::shared_ptr<EvsGlDisplay> pActiveDisplay = existing_display_search->displayWeak.lock(); in openDisplay() local
324 if (pActiveDisplay) { in openDisplay()
326 pActiveDisplay->forceShutdown(); in openDisplay()
341 std::shared_ptr<EvsGlDisplay> pActiveDisplay = in openDisplay() local
344 if (auto insert_result = displays.tryInsert(id, pActiveDisplay); !insert_result) { in openDisplay()
346 pActiveDisplay->forceShutdown(); in openDisplay()
350 LOG(DEBUG) << "Returning new EvsGlDisplay object " << pActiveDisplay.get(); in openDisplay()
351 *displayObj = pActiveDisplay; in openDisplay()
366 auto pActiveDisplay = display_search->displayWeak.lock(); in closeDisplay() local
368 if (!pActiveDisplay) { in closeDisplay()
[all …]