Searched defs:free (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/libcore/util/
H A DNativeAllocationRegistry_Delegate.java61 delegate.mFinalizer.free(nativePtr);
68 void free(long nativePtr); method in interface:NativeAllocationRegistry_Delegate.FreeFunction
/frameworks/av/media/libstagefright/foundation/
H A DMediaBufferGroup.cpp147 auto free = mBuffers.end(); local
156 smallest = size; // always free the smallest buf
157 free = it;
162 && (free != mBuffers.end() || mBuffers.size() < mGrowthLimit)) {
163 // We alloc before we free so failure leaves group unchanged.
173 if (free != mBuffers.end()) {
175 requestedSize, (*free)->size());
176 (*free)->setObserver(nullptr);
177 (*free)->release();
178 *free
[all...]
/frameworks/native/cmds/installd/tests/
H A Dinstalld_cache_test.cpp99 static int64_t free() { function in namespace:android::installd
166 service->freeCache(testUuid, free() + kKbInBytes, 0,
172 service->freeCache(testUuid, free() + kKbInBytes, 0,
222 service->freeCache(testUuid, free() + kKbInBytes, 0,
267 service->freeCache(testUuid, free() + kKbInBytes, 0,
288 service->freeCache(testUuid, free() + kKbInBytes, 0,
/frameworks/native/libs/ui/
H A DGraphicBufferAllocator.cpp144 status_t GraphicBufferAllocator::free(buffer_handle_t handle) function in class:android::GraphicBufferAllocator
149 // mapper to get the handle. We just need to free the handle now.
/frameworks/av/media/libeffects/testlibs/
H A DAudioEqualizer.cpp77 void AudioEqualizer::free() { function in class:android::AudioEqualizer
78 ALOGV("AudioEqualizer::free()");
80 ::free(mpMem);
/frameworks/base/libs/hwui/font/
H A DCacheTexture.cpp340 uint32_t free = 0; local
344 free += bpp * cacheBlock->mWidth * cacheBlock->mHeight;
347 return free;
/frameworks/av/media/ndk/
H A DNdkImage.cpp40 // Can only be called by free() with mLock hold
74 AImage::free() { function in class:AImage
76 ALOGE("Cannot free AImage before close!");
627 image->free();
/frameworks/native/libs/binder/
H A DMemoryDealer.cpp144 : start(start), size(size), free(1), prev(0), next(0) {
148 int free : 4; member in struct:android::SimpleBestFitAllocator::chunk_t
182 /* NOTE: it's VERY important to not free allocations of size 0 because
334 if (cur->free && (cur->size >= (size+extra))) {
347 free_chunk->free = 0;
381 LOG_FATAL_IF(cur->free,
387 cur->free = 1;
391 if (p && (p->free || !cur->size)) {
398 } while (cur && cur->free);
401 if (!freed->free) {
[all...]
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp717 free(*image);
775 uint32_t free = cacheTexture->calculateFreeMemory(); local
777 log.appendFormat(" %-4s texture %d %8d / %8d\n", tag, i, total - free, total);
/frameworks/base/media/java/android/media/
H A DMediaCodec.java1805 freeAllTrackedBuffers(); // free buffers first
1814 * Make sure you call this when you're done to free up any opened
1819 freeAllTrackedBuffers(); // free buffers first
2803 public void free() { method in class:MediaCodec.BufferMap.CodecBuffer
2816 free();
2821 free();
2832 buffer.free();
2857 buffer.free();
/frameworks/native/cmds/installd/
H A DInstalldNativeService.cpp280 free(before);
281 free(after);
929 int64_t free = data_disk_free(data_path); local
930 if (free < 0) {
931 return error("Failed to determine free space for " + data_path);
935 int64_t needed = targetFreeBytes - free;
936 LOG(DEBUG) << "Device " << data_path << " has " << free << " free; requested "
939 if (free >= targetFreeBytes) {
1063 free
[all...]

Completed in 302 milliseconds