Searched defs:memory (Results 1 - 18 of 18) sorted by relevance

/frameworks/compile/mclinker/lib/MC/
H A DInputBuilder.cpp124 MemoryArea* memory = m_pMemFactory->produce(pInput.path(), pMode, pPerm); local
125 pInput.setMemArea(memory);
130 MemoryArea* memory = m_pMemFactory->produce(pMemBuffer, pSize); local
131 pInput.setMemArea(memory);
/frameworks/av/include/media/stagefright/
H A DMediaBuffer.h53 // allocations larger than or equal to this will use shared memory.
132 static bool isDeadObject(const sp<IMemory> &memory) { argument
133 if (memory.get() == nullptr || memory->pointer() == nullptr) return false;
134 return reinterpret_cast<SharedControl *>(memory->pointer())->isDeadObject();
137 // Sticky on enabling of shared memory MediaBuffers. By default we don't use
138 // shared memory for MediaBuffers, but we enable this for those processes
H A DACodec.h45 // Treble shared memory
52 namespace memory { namespace in namespace:android::hidl
56 } // memory
60 typedef hidl::memory::V1_0::IMemory TMemory;
/frameworks/av/media/libstagefright/foundation/include/
H A DMediaBuffer.h53 // allocations larger than or equal to this will use shared memory.
132 static bool isDeadObject(const sp<IMemory> &memory) { argument
133 if (memory.get() == nullptr || memory->pointer() == nullptr) return false;
134 return reinterpret_cast<SharedControl *>(memory->pointer())->isDeadObject();
137 // Sticky on enabling of shared memory MediaBuffers. By default we don't use
138 // shared memory for MediaBuffers, but we enable this for those processes
H A DACodec.h45 // Treble shared memory
52 namespace memory { namespace in namespace:android::hidl
56 } // memory
60 typedef hidl::memory::V1_0::IMemory TMemory;
/frameworks/av/media/libstagefright/include/
H A DMediaBuffer.h53 // allocations larger than or equal to this will use shared memory.
132 static bool isDeadObject(const sp<IMemory> &memory) { argument
133 if (memory.get() == nullptr || memory->pointer() == nullptr) return false;
134 return reinterpret_cast<SharedControl *>(memory->pointer())->isDeadObject();
137 // Sticky on enabling of shared memory MediaBuffers. By default we don't use
138 // shared memory for MediaBuffers, but we enable this for those processes
H A DACodec.h45 // Treble shared memory
52 namespace memory { namespace in namespace:android::hidl
56 } // memory
60 typedef hidl::memory::V1_0::IMemory TMemory;
/frameworks/base/libs/hwui/
H A DCanvasState.cpp38 // Now actually release the memory
80 void* memory; local
82 memory = mSnapshotPool;
86 memory = malloc(sizeof(Snapshot));
88 return new (memory) Snapshot(previous, savecount);
/frameworks/native/vulkan/tools/
H A Dvkinfo.cpp39 VkPhysicalDeviceMemoryProperties memory; member in struct:__anon1948::GpuInfo
131 vkGetPhysicalDeviceMemoryProperties(gpu, &info.memory);
502 for (uint32_t heap = 0; heap < info.memory.memoryHeapCount; heap++) {
503 if ((info.memory.memoryHeaps[heap].flags &
508 info.memory.memoryHeaps[heap].size / 0x100000,
509 info.memory.memoryHeaps[heap].size, strbuf.str().c_str());
512 for (uint32_t type = 0; type < info.memory.memoryTypeCount; type++) {
513 if (info.memory.memoryTypes[type].heapIndex != heap)
516 info.memory.memoryTypes[type].propertyFlags;
/frameworks/av/drm/libmediadrm/
H A DCryptoHal.cpp226 * size. Once the heap base is established, shared memory buffers
259 status_t CryptoHal::toSharedBuffer(const sp<IMemory>& memory, int32_t seqNum, ::SharedBuffer* buffer) { argument
263 if (memory == NULL && buffer == NULL) {
267 sp<IMemoryHeap> heap = memory->getMemory(&offset, &size);
272 // memory must be in the declared heap
/frameworks/native/libs/binder/
H A DMemoryDealer.cpp222 // might kick out the memory region that's allocated and/or written
243 sp<IMemory> memory; local
246 memory = new Allocation(this, heap(), offset, size);
248 return memory;
277 // align all the memory blocks on a cache-line boundary
/frameworks/native/services/sensorservice/
H A DSensorDevice.cpp468 int32_t SensorDevice::registerDirectChannel(const sensors_direct_mem_t* memory) { argument
473 switch (memory->type) {
485 if (memory->format != SENSOR_DIRECT_FMT_SENSORS_EVENT) {
493 .size = static_cast<uint32_t>(memory->size),
494 .memoryHandle = memory->handle,
/frameworks/av/services/soundtrigger/
H A DSoundTriggerHwService.cpp483 SoundTriggerHwService::CallbackEvent::CallbackEvent(event_type type, sp<IMemory> memory) argument
484 : mType(type), mMemory(memory)
/frameworks/base/core/jni/
H A Dandroid_hardware_SoundTrigger.cpp510 sp<IMemory> memory; local
588 memory = memoryDealer->allocate(offset + size);
589 if (memory == 0 || memory->pointer() == NULL) {
594 nSoundModel = (struct sound_trigger_sound_model *)memory->pointer();
655 status = module->loadSoundModel(memory, &handle);
719 sp<IMemory> memory = memoryDealer->allocate(totalSize); local
720 if (memory == 0 || memory->pointer() == NULL) {
724 memcpy((char *)memory
[all...]
/frameworks/native/vulkan/nulldrv/
H A Dnull_driver.cpp826 " exceeds max device memory size 0x%" PRIx64,
885 " exceeds max device memory size 0x%" PRIx64,
1173 void GetDeviceMemoryCommitment(VkDevice device, VkDeviceMemory memory, VkDeviceSize* pCommittedMemoryInBytes) { argument
/frameworks/native/vulkan/libvulkan/
H A Dapi_gen.cpp304 VKAPI_ATTR void FreeMemory(VkDevice device, VkDeviceMemory memory, const VkAllocationCallbacks* pAllocator);
305 VKAPI_ATTR VkResult MapMemory(VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags, void** ppData);
306 VKAPI_ATTR void UnmapMemory(VkDevice device, VkDeviceMemory memory);
309 VKAPI_ATTR void GetDeviceMemoryCommitment(VkDevice device, VkDeviceMemory memory, VkDeviceSize* pCommittedMemoryInBytes);
311 VKAPI_ATTR VkResult BindBufferMemory(VkDevice device, VkBuffer buffer, VkDeviceMemory memory, VkDeviceSize memoryOffset);
313 VKAPI_ATTR VkResult BindImageMemory(VkDevice device, VkImage image, VkDeviceMemory memory, VkDeviceSize memoryOffset);
715 VKAPI_ATTR void FreeMemory(VkDevice device, VkDeviceMemory memory, const VkAllocationCallbacks* pAllocator) { argument
716 GetData(device).dispatch.FreeMemory(device, memory, pAllocator);
719 VKAPI_ATTR VkResult MapMemory(VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags, void** ppData) { argument
720 return GetData(device).dispatch.MapMemory(device, memory, offse
723 UnmapMemory(VkDevice device, VkDeviceMemory memory) argument
735 GetDeviceMemoryCommitment(VkDevice device, VkDeviceMemory memory, VkDeviceSize* pCommittedMemoryInBytes) argument
743 BindBufferMemory(VkDevice device, VkBuffer buffer, VkDeviceMemory memory, VkDeviceSize memoryOffset) argument
751 BindImageMemory(VkDevice device, VkImage image, VkDeviceMemory memory, VkDeviceSize memoryOffset) argument
1340 vkFreeMemory(VkDevice device, VkDeviceMemory memory, const VkAllocationCallbacks* pAllocator) argument
1345 vkMapMemory(VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags, void** ppData) argument
1350 vkUnmapMemory(VkDevice device, VkDeviceMemory memory) argument
1365 vkGetDeviceMemoryCommitment(VkDevice device, VkDeviceMemory memory, VkDeviceSize* pCommittedMemoryInBytes) argument
1375 vkBindBufferMemory(VkDevice device, VkBuffer buffer, VkDeviceMemory memory, VkDeviceSize memoryOffset) argument
1385 vkBindImageMemory(VkDevice device, VkImage image, VkDeviceMemory memory, VkDeviceSize memoryOffset) argument
[all...]
/frameworks/native/vulkan/include/vulkan/
H A Dvulkan.h1601 VkDeviceMemory memory; member in struct:VkMappedMemoryRange
1629 VkDeviceMemory memory; member in struct:VkSparseMemoryBind
1662 VkDeviceMemory memory; member in struct:VkSparseImageMemoryBind
2382 typedef void (VKAPI_PTR *PFN_vkFreeMemory)(VkDevice device, VkDeviceMemory memory, const VkAllocationCallbacks* pAllocator);
2383 typedef VkResult (VKAPI_PTR *PFN_vkMapMemory)(VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags, void** ppData);
2384 typedef void (VKAPI_PTR *PFN_vkUnmapMemory)(VkDevice device, VkDeviceMemory memory);
2387 typedef void (VKAPI_PTR *PFN_vkGetDeviceMemoryCommitment)(VkDevice device, VkDeviceMemory memory, VkDeviceSize* pCommittedMemoryInBytes);
2388 typedef VkResult (VKAPI_PTR *PFN_vkBindBufferMemory)(VkDevice device, VkBuffer buffer, VkDeviceMemory memory, VkDeviceSize memoryOffset);
2389 typedef VkResult (VKAPI_PTR *PFN_vkBindImageMemory)(VkDevice device, VkImage image, VkDeviceMemory memory, VkDeviceSize memoryOffset);
2608 VkDeviceMemory memory,
4588 VkDeviceMemory memory; member in struct:VkBindBufferMemoryInfoKHX
4598 VkDeviceMemory memory; member in struct:VkBindImageMemoryInfoKHX
[all...]
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 345 milliseconds