/frameworks/native/libs/binder/ |
H A D | Parcel.cpp | 89 LOG_REFS("Parcel %p acquiring reference on remote %p", who, b.get()); 126 LOG_REFS("Parcel %p releasing reference on remote %p", who, b.get()); 249 static_cast<BpBinder*>(out->get()), *flat, in);
|
/frameworks/native/libs/gui/ |
H A D | BufferItemConsumer.cpp | 65 if (waitForFence && item->mFence.get()) {
|
H A D | ConsumerBase.cpp | 203 if (!mSlots[slot].mFence.get()) { 209 if (!mergedFence.get()) {
|
H A D | CpuConsumer.cpp | 80 if (b.mFence.get()) {
|
H A D | ISurfaceTexture.cpp | 101 reply.read(*fence.get()); 124 bool hasFence = fence.get() && fence->isValid(); 129 data.write(*fence.get()); 221 bool hasFence = fence.get() && fence->isValid(); 225 reply->write(*fence.get()); 248 data.read(*fence.get()); 293 return fence.get() && fence->isValid();
|
H A D | Surface.cpp | 166 mToken, mIdentity, mClient.get()); 254 surface->mSurface.get(), surface->getISurfaceTexture().get(),
|
H A D | SurfaceTextureClient.cpp | 227 if (fence.get()) { 239 *buffer = gbuf.get(); 800 int backBufferSlot(getSlotFromBufferLocked(backBuffer.get())); 845 err = queueBuffer(mLockedBuffer.get(), -1);
|
/frameworks/native/libs/gui/tests/ |
H A D | CpuConsumer_test.cpp | 274 err = native_window_set_buffers_geometry(anw.get(), 278 err = native_window_set_usage(anw.get(), 283 err = anw.get()->query(anw.get(), 290 err = native_window_set_buffer_count(anw.get(), 303 ALOGVV("Dequeue buffer from %p", anw.get()); 304 err = native_window_dequeue_buffer_and_wait(anw.get(), &anb); 314 ALOGVV("Lock buffer from %p for write", anw.get()); 329 ALOGVV("Unlock buffer from %p", anw.get()); 333 ALOGVV("Set timestamp to %p", anw.get()); [all...] |
H A D | SurfaceTextureClient_test.cpp | 121 int err = mANW->query(mANW.get(), NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER, 129 int err = mANW->query(mANW.get(), NATIVE_WINDOW_CONCRETE_TYPE, &result); 160 EGLSurface eglSurface = eglCreateWindowSurface(dpy, myConfig, mANW.get(), 173 EXPECT_GT(OK, native_window_set_buffers_geometry(mANW.get(), -1, 0, 0)); 174 EXPECT_GT(OK, native_window_set_buffers_geometry(mANW.get(), 0, -1, 0)); 175 EXPECT_GT(OK, native_window_set_buffers_geometry(mANW.get(), 0, 0, -1)); 176 EXPECT_GT(OK, native_window_set_buffers_geometry(mANW.get(), -1, -1, 0)); 177 EXPECT_GT(OK, native_window_set_buffers_geometry(mANW.get(), 0, 8, 0)); 178 EXPECT_GT(OK, native_window_set_buffers_geometry(mANW.get(), 8, 0, 0)); 183 ASSERT_EQ(OK, native_window_dequeue_buffer_and_wait(mANW.get(), [all...] |
H A D | SurfaceTexture_test.cpp | 100 window.get(), NULL); 675 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(anw.get(), 686 ASSERT_EQ(NO_ERROR, anw->queueBuffer(anw.get(), buf->getNativeBuffer(), 694 ASSERT_EQ(NO_ERROR, native_window_set_buffers_geometry(mANW.get(), 696 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), 700 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), 711 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), buf->getNativeBuffer(), 740 ASSERT_EQ(NO_ERROR, native_window_set_buffers_geometry(mANW.get(), 742 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), 746 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), [all...] |
H A D | Surface_test.cpp | 62 int err = anw->query(anw.get(), NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER, 73 int err = anw->query(anw.get(), NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER, 94 // that we need to dequeue a buffer in order for it to actually get 96 ASSERT_EQ(NO_ERROR, native_window_set_usage(anw.get(), 98 ASSERT_EQ(NO_ERROR, native_window_set_buffer_count(anw.get(), 3)); 101 status_t err = native_window_dequeue_buffer_and_wait(anw.get(), &buf); 106 ASSERT_EQ(NO_ERROR, native_window_set_usage(anw.get(), 0)); 107 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(anw.get(), 111 ASSERT_EQ(NO_ERROR, anw->cancelBuffer(anw.get(), buf, -1)); 115 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(anw.get(), [all...] |
/frameworks/native/libs/ui/ |
H A D | FramebufferNativeWindow.cpp | 149 ALOGE("Couldn't get gralloc module"); 252 // get this buffer 256 *buffer = self->buffers[index].get(); 367 // get a ref so it can be destroyed when we exit this block
|
H A D | GraphicBuffer.cpp | 38 : BASE(), mOwner(ownData), mBufferMapper(GraphicBufferMapper::get()), 51 : BASE(), mOwner(ownData), mBufferMapper(GraphicBufferMapper::get()), 67 mBufferMapper(GraphicBufferMapper::get()), 80 mBufferMapper(GraphicBufferMapper::get()), 105 GraphicBufferAllocator& allocator(GraphicBufferAllocator::get()); 136 GraphicBufferAllocator& allocator(GraphicBufferAllocator::get()); 146 GraphicBufferAllocator& allocator = GraphicBufferAllocator::get();
|
/frameworks/native/libs/utils/ |
H A D | BlobCache.cpp | 133 size_t BlobCache::get(const void* key, size_t keySize, void* value, function in class:android::BlobCache 136 ALOGV("get: not searching because the key is too large: %d (limit %d)", 144 ALOGV("get: no cache entry found for key of size %d", keySize); 153 ALOGV("get: copying %d bytes to caller's buffer", valueBlobSize); 156 ALOGV("get: caller's buffer is too small for value: %d (needs %d)",
|
H A D | BufferedTextOutput.cpp | 267 BufferState* bs = ts->states[mIndex].get(); 271 bs = ts->states[mIndex].get();
|
H A D | Looper.cpp | 125 pthread_setspecific(gTLSKey, looper.get()); 292 this, handler.get(), message.what); 319 this, response.request.callback.get(), fd, events, data); 403 events, callback.get(), data); 406 if (!callback.get()) { 496 this, uptime, handler.get(), message.what); 528 ALOGD("%p ~ removeMessages - handler=%p", this, handler.get()); 545 ALOGD("%p ~ removeMessages - handler=%p, what=%d", this, handler.get(), what);
|
/frameworks/native/libs/utils/tests/ |
H A D | BlobCache_test.cpp | 49 ASSERT_EQ(size_t(4), mBC->get("abcd", 4, buf, 4)); 60 ASSERT_EQ(size_t(2), mBC->get("ab", 2, buf, 2)); 63 ASSERT_EQ(size_t(2), mBC->get("ef", 2, buf, 2)); 71 ASSERT_EQ(size_t(4), mBC->get("abcd", 4, buf+1, 4)); 83 ASSERT_EQ(size_t(4), mBC->get("abcd", 4, buf, 3)); 91 ASSERT_EQ(size_t(4), mBC->get("abcd", 4, NULL, 0)); 98 ASSERT_EQ(size_t(4), mBC->get("abcd", 4, buf, 4)); 109 ASSERT_EQ(size_t(4), mBC->get("abcd", 4, buf, 4)); 123 ASSERT_EQ(size_t(0), mBC->get(key, MAX_KEY_SIZE+1, buf, 4)); 139 ASSERT_EQ(size_t(0), mBC->get("abc [all...] |
/frameworks/native/opengl/include/EGL/ |
H A D | eglext.h | 269 EGLAPI void EGLAPIENTRY eglSetBlobCacheFuncsANDROID(EGLDisplay dpy, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get); 272 EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get);
|
/frameworks/native/opengl/libagl/ |
H A D | array.cpp | 1238 ogles_context_t* c = ogles_context_t::get(); 1259 ogles_context_t* c = ogles_context_t::get(); 1279 ogles_context_t* c = ogles_context_t::get(); 1300 ogles_context_t* c = ogles_context_t::get(); 1322 ogles_context_t* c = ogles_context_t::get(); 1327 ogles_context_t* c = ogles_context_t::get(); 1333 ogles_context_t* c = ogles_context_t::get(); 1343 ogles_context_t* c = ogles_context_t::get(); 1388 ogles_context_t* c = ogles_context_t::get(); 1452 ogles_context_t* c = ogles_context_t::get(); [all...] |
H A D | context.h | 630 static inline ogles_context_t* get() { function in struct:android::gl::ogles_context_t
|
H A D | light.cpp | 244 // if colorMaterial is enabled, we get the color from the vertex 635 ogles_context_t* c = ogles_context_t::get(); 645 ogles_context_t* c = ogles_context_t::get(); 651 ogles_context_t* c = ogles_context_t::get(); 657 ogles_context_t* c = ogles_context_t::get(); 677 ogles_context_t* c = ogles_context_t::get(); 702 ogles_context_t* c = ogles_context_t::get(); 708 ogles_context_t* c = ogles_context_t::get(); 714 ogles_context_t* c = ogles_context_t::get(); 737 ogles_context_t* c = ogles_context_t::get(); [all...] |
H A D | matrix.cpp | 911 ogles_context_t* c = ogles_context_t::get(); 933 ogles_context_t* c = ogles_context_t::get(); 941 ogles_context_t* c = ogles_context_t::get(); 948 ogles_context_t* c = ogles_context_t::get(); 956 ogles_context_t* c = ogles_context_t::get(); 965 ogles_context_t* c = ogles_context_t::get(); 974 ogles_context_t* c = ogles_context_t::get(); 985 ogles_context_t* c = ogles_context_t::get(); 999 ogles_context_t* c = ogles_context_t::get(); 1008 ogles_context_t* c = ogles_context_t::get(); [all...] |
H A D | state.cpp | 78 c->surfaceManager = smgr.get(); 82 c->bufferObjectManager = bomgr.get(); 227 ogles_context_t* c = ogles_context_t::get(); 238 ogles_context_t* c = ogles_context_t::get(); 256 ogles_context_t* c = ogles_context_t::get(); 270 ogles_context_t* c = ogles_context_t::get(); 284 ogles_context_t* c = ogles_context_t::get(); 303 ogles_context_t* c = ogles_context_t::get(); 307 ogles_context_t* c = ogles_context_t::get(); 327 ogles_context_t* c = ogles_context_t::get(); [all...] |
H A D | texture.cpp | 325 if (c->textures.tmu[i].texture == tex.get()) 329 // get a new texture object for that name 335 u.texture = tex.get(); 345 if (tex.get() == c->textures.tmu[tmu].texture) 355 u.texture = tex.get(); 856 ogles_context_t* c = ogles_context_t::get(); 867 ogles_context_t* c = ogles_context_t::get(); 893 ogles_context_t* c = ogles_context_t::get(); 904 ogles_context_t* c = ogles_context_t::get(); 929 ogles_context_t* c = ogles_context_t::get(); [all...] |
H A D | vertex.cpp | 189 ogles_context_t* c = ogles_context_t::get(); 202 ogles_context_t* c = ogles_context_t::get(); 215 ogles_context_t* c = ogles_context_t::get(); 223 ogles_context_t* c = ogles_context_t::get(); 239 ogles_context_t* c = ogles_context_t::get(); 245 ogles_context_t* c = ogles_context_t::get();
|