/frameworks/native/libs/binder/ |
H A D | MemoryBase.cpp | 28 MemoryBase::MemoryBase(const sp<IMemoryHeap>& heap, argument 30 : mSize(size), mOffset(offset), mHeap(heap)
|
H A D | IMemory.cpp | 57 sp<IMemoryHeap> heap; member in struct:android::HeapCache::heap_info_t 149 sp<IMemoryHeap> heap = getMemory(&offset); local 150 void* const base = heap!=0 ? heap->base() : MAP_FAILED; 185 sp<IBinder> heap = reply.readStrongBinder(); local 188 if (heap != 0) { 189 mHeap = interface_cast<IMemoryHeap>(heap); 259 ALOGD("UNMAPPING binder=%p, heap=%p, size=%zu, fd=%d", 278 sp<BpMemoryHeap> heap(static_cast<BpMemoryHeap*>(find_heap(binder).get())); 279 heap [all...] |
H A D | MemoryDealer.cpp | 115 const sp<IMemoryHeap>& heap, ssize_t offset, size_t size); 168 const sp<IMemoryHeap>& heap, ssize_t offset, size_t size) 169 : MemoryBase(heap, offset, size), mDealer(dealer) 172 void* const start_ptr = (void*)(intptr_t(heap->base()) + offset); 246 memory = new Allocation(this, heap(), offset, size); 261 const sp<IMemoryHeap>& MemoryDealer::heap() const { function in class:android::MemoryDealer 166 Allocation( const sp<MemoryDealer>& dealer, const sp<IMemoryHeap>& heap, ssize_t offset, size_t size) argument
|
/frameworks/native/include/binder/ |
H A D | MemoryDealer.h | 47 sp<IMemoryHeap> getMemoryHeap() const { return heap(); } 53 const sp<IMemoryHeap>& heap() const;
|
H A D | MemoryBase.h | 33 MemoryBase(const sp<IMemoryHeap>& heap, ssize_t offset, size_t size);
|
H A D | IMemory.h | 78 void* fastPointer(const sp<IBinder>& heap, ssize_t offset) const;
|
/frameworks/base/media/tests/audiotests/ |
H A D | shared_mem_test.cpp | 72 sp<MemoryDealer> heap; local 91 heap = new MemoryDealer(1024*1024, "AudioTrack Heap Base"); 93 iMem = heap->allocate(BUF_SZ*sizeof(short)); 120 heap.clear();
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MetadataRetrieverClient.cpp | 212 sp<MemoryHeapBase> heap = new MemoryHeapBase(size, 0, "MetadataRetrieverClient"); local 213 if (heap == NULL) { 218 mThumbnail = new MemoryBase(heap, 0, size); 254 sp<MemoryHeapBase> heap = new MemoryHeapBase(size, 0, "MetadataRetrieverClient"); local 255 if (heap == NULL) { 260 mAlbumArt = new MemoryBase(heap, 0, size);
|
/frameworks/base/tools/preload2/src/com/android/preload/classdataretrieval/hprof/ |
H A D | Hprof.java | 25 import com.android.tools.perflib.heap.ClassObj; 26 import com.android.tools.perflib.heap.Queries; 27 import com.android.tools.perflib.heap.Snapshot;
|
/frameworks/av/media/libmedia/ |
H A D | Android.mk | 85 # for memory heap analysis
|
/frameworks/native/vulkan/tools/ |
H A D | vkinfo.cpp | 503 for (uint32_t heap = 0; heap < info.memory.memoryHeapCount; heap++) { 504 if ((info.memory.memoryHeaps[heap].flags & 508 Indent(indent + 1), heap, 509 info.memory.memoryHeaps[heap].size / 0x100000, 510 info.memory.memoryHeaps[heap].size, strbuf.str().c_str()); 514 if (info.memory.memoryTypes[type].heapIndex != heap)
|
/frameworks/av/services/camera/libcameraservice/api1/ |
H A D | CameraClient.h | 121 const sp<IMemoryHeap>& heap,
|
H A D | CameraClient.cpp | 866 sp<IMemoryHeap> heap = mem->getMemory(&offset, &size); local 895 copyFrameAndPostCopiedFrame(msgType, c, heap, offset, size, metadata); 923 sp<IMemoryHeap> heap = mem->getMemory(&offset, &size); local 993 const sp<IMemoryHeap>& heap, size_t offset, size_t size, 1017 void* heapBase = heap->base(); 1020 ALOGE("%s: Failed to mmap heap for preview frame.", __FUNCTION__); 991 copyFrameAndPostCopiedFrame( int32_t msgType, const sp<hardware::ICameraClient>& client, const sp<IMemoryHeap>& heap, size_t offset, size_t size, camera_frame_metadata_t *metadata) argument
|
/frameworks/av/media/libstagefright/ |
H A D | CameraSource.cpp | 582 // Create memory heap to store buffers as VideoNativeMetadata. 735 // Create memory heap to store buffers as VideoNativeMetadata. 917 sp<IMemoryHeap> heap = frame->getMemory(&offset, &size); local 918 if (heap->getHeapID() != mMemoryHeapBase->getHeapID()) { 919 ALOGE("%s: Mismatched heap ID, ignoring release (got %x, expected %x)", __FUNCTION__, 920 heap->getHeapID(), mMemoryHeapBase->getHeapID()); 925 (uint8_t*)heap->getBase() + offset); 1227 sp<IMemoryHeap> heap = data->getMemory(&offset, &size); local 1229 (uint8_t*)heap->getBase() + offset);
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | CallbackProcessor.cpp | 406 sp<IMemoryHeap> heap = local 409 uint8_t *data = (uint8_t*)heap->getBase() + offset; 444 // Only increment free if we're still using the same heap
|
/frameworks/native/services/inputflinger/ |
H A D | InputReader.cpp | 6348 // We build a heap of squared euclidean distances between current and last pointers 6353 PointerDistanceHeapElement heap[MAX_POINTERS * MAX_POINTERS]; local 6370 // Insert new element into the heap (sift up). 6371 heap[heapSize].currentPointerIndex = currentPointerIndex; 6372 heap[heapSize].lastPointerIndex = lastPointerIndex; 6373 heap[heapSize].distance = distance; 6389 && heap[childIndex + 1].distance < heap[childIndex].distance) { 6393 if (heap[parentIndex].distance <= heap[childInde [all...] |
/frameworks/av/services/camera/libcameraservice/device1/ |
H A D | CameraHardwareInterface.h | 366 sp<IMemoryHeap> heap = mem->getMemory(&offset, &size); local 367 void *data = ((uint8_t *)heap->base()) + offset; 520 // Start refcounting the heap object from here on. When the clients
|
/frameworks/base/media/jni/soundpool/ |
H A D | SoundPool.cpp | 505 sp<MemoryHeapBase> heap, size_t *memsize) { 543 uint8_t* writePos = static_cast<uint8_t*>(heap->getBase()); 544 size_t available = heap->getSize(); 503 decode(int fd, int64_t offset, int64_t length, uint32_t *rate, int *numChannels, audio_format_t *audioFormat, sp<MemoryHeapBase> heap, size_t *memsize) argument
|
/frameworks/base/core/jni/ |
H A D | android_hardware_Camera.cpp | 255 sp<IMemoryHeap> heap = dataPtr->getMemory(&offset, &size); local 257 uint8_t *heapBase = (uint8_t*)heap->base(); 288 ALOGE("image heap is NULL");
|
/frameworks/av/services/audioflinger/ |
H A D | AudioFlinger.h | 416 sp<MemoryDealer> heap() const;
|
H A D | Tracks.cpp | 122 mCblkMemory = client->heap()->allocate(size); 126 client->heap()->dump("AudioTrack"); 231 mCblkMemory.clear(); // free the shared memory before releasing the heap it belongs to
|
H A D | Effects.cpp | 1056 mCblkMemory = client->heap()->allocate(EFFECT_PARAM_BUFFER_SIZE + bufOffset); 1200 mCblkMemory.clear(); // free the shared memory before releasing the heap it belongs to
|
H A D | AudioFlinger.cpp | 1418 // Increase heap size on non low ram devices to limit risk of reconnection failure for 1432 sp<MemoryDealer> AudioFlinger::Client::heap() const function in class:android::AudioFlinger::Client
|
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |