Home
last modified time | relevance | path

Searched refs:anw (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_FrameRateCtsActivity.cpp159 ANativeWindowRAII(ANativeWindow *anw = nullptr) : in ANativeWindowRAII()
160 mNw(anw) { in ANativeWindowRAII()
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp247 void* obj, ANativeWindow* anw, ACameraCaptureSession* session) { in onWindowPrepared() argument
256 if(thiz->mPendingPreparedCbs.find(anw) == thiz->mPendingPreparedCbs.end()) { in onWindowPrepared()
257 ALOGE("%s: ANW %p was not being prepared at all ?", __FUNCTION__, anw); in onWindowPrepared()
260 if (thiz->mPendingPreparedCbs[anw] == 0) { in onWindowPrepared()
261 ALOGE("%s: ANW %p pending prepared cbs is already 0", __FUNCTION__, anw); in onWindowPrepared()
264 thiz->mPendingPreparedCbs[anw]--; in onWindowPrepared()
265 if (thiz->mPendingPreparedCbs[anw] == 0) { in onWindowPrepared()
266 thiz->mPendingPreparedCbs.erase(anw); in onWindowPrepared()
299 void incPendingPrepared(ANativeWindow *anw) { in incPendingPrepared() argument
301 if ((mPendingPreparedCbs.find(anw) == mPendingPreparedCbs.end())) { in incPendingPrepared()
[all …]