Home
last modified time | relevance | path

Searched refs:alloc (Results 1 – 9 of 9) sorted by relevance

/packages/modules/NeuralNetworks/driver/cache/nnCache/
DnnCache.h67 std::function<void*(size_t)> alloc);
70 std::function<void*(size_t)> alloc) { in getBlob() argument
72 const ssize_t size = getBlob(key, keySize, &valueVoid, alloc); in getBlob()
DnnCache.cpp118 std::function<void*(size_t)> alloc) { in getBlob() argument
128 return bc->get(key, keySize, value, alloc); in getBlob()
/packages/services/Car/cpp/evs/apps/default/
DStreamHandler.cpp46 android::GraphicBufferAllocator &alloc(android::GraphicBufferAllocator::get()); in StreamHandler() local
52 android::status_t result = alloc.allocate(width, in StreamHandler()
104 android::GraphicBufferAllocator &alloc(android::GraphicBufferAllocator::get()); in shutdown() local
106 alloc.free(b.buffer.nativeHandle); in shutdown()
/packages/services/Car/cpp/evs/sampleDriver/
DEvsGlDisplay.cpp74 GraphicBufferAllocator& alloc(GraphicBufferAllocator::get()); in forceShutdown() local
75 alloc.free(mBuffer.memHandle); in forceShutdown()
196 GraphicBufferAllocator& alloc(GraphicBufferAllocator::get()); in getTargetBuffer() local
197 status_t result = alloc.allocate(mBuffer.width, mBuffer.height, in getTargetBuffer()
DEvsV4lCamera.cpp93 GraphicBufferAllocator& alloc(GraphicBufferAllocator::get()); in shutdown() local
98 alloc.free(rec.handle); in shutdown()
617 GraphicBufferAllocator &alloc(GraphicBufferAllocator::get()); in increaseAvailableFrames_Locked() local
625 status_t result = alloc.allocate(mVideo.getWidth(), mVideo.getHeight(), in increaseAvailableFrames_Locked()
674 GraphicBufferAllocator &alloc(GraphicBufferAllocator::get()); in decreaseAvailableFrames_Locked() local
682 alloc.free(rec.handle); in decreaseAvailableFrames_Locked()
/packages/modules/NeuralNetworks/driver/cache/BlobCache/
DBlobCache.h130 size_t get(const void* key, size_t keySize, void** value, std::function<void*(size_t)> alloc);
132 size_t get(const void* key, size_t keySize, T** value, std::function<void*(size_t)> alloc) { in get() argument
134 const size_t size = get(key, keySize, &valueVoid, alloc); in get()
DBlobCache.cpp186 std::function<void*(size_t)> alloc) { in get() argument
205 void* buf = alloc(valueBlobSize); in get()
/packages/services/Car/cpp/evs/manager/1.1/emul/
DEvsEmulatedCamera.cpp182 GraphicBufferAllocator& alloc(GraphicBufferAllocator::get()); in shutdown() local
187 alloc.free(rec.handle); in shutdown()
610 GraphicBufferAllocator &alloc(GraphicBufferAllocator::get()); in increaseAvailableFrames_Locked() local
617 status_t result = alloc.allocate(mCaptureDeviceDesc.width, mCaptureDeviceDesc.height, in increaseAvailableFrames_Locked()
668 GraphicBufferAllocator &alloc(GraphicBufferAllocator::get()); in decreaseAvailableFrames_Locked() local
676 alloc.free(rec.handle); in decreaseAvailableFrames_Locked()
/packages/services/Car/cpp/evs/support_library/
DStreamHandler.cpp252 android::GraphicBufferAllocator& alloc(android::GraphicBufferAllocator::get()); in allocate() local
253 android::status_t result = alloc.allocate( in allocate()