Home
last modified time | relevance | path

Searched refs:AddressSpaceHostMemoryAllocatorContext (Results 1 – 4 of 4) sorted by relevance

/hardware/google/aemu/host-common/
Daddress_space_host_memory_allocator.cpp30 AddressSpaceHostMemoryAllocatorContext::AddressSpaceHostMemoryAllocatorContext( in AddressSpaceHostMemoryAllocatorContext() function in android::emulation::AddressSpaceHostMemoryAllocatorContext
35 AddressSpaceHostMemoryAllocatorContext::~AddressSpaceHostMemoryAllocatorContext() { in ~AddressSpaceHostMemoryAllocatorContext()
39 void AddressSpaceHostMemoryAllocatorContext::perform(AddressSpaceDevicePingInfo *info) { in perform()
59 void *AddressSpaceHostMemoryAllocatorContext::allocate_impl(const uint64_t phys_addr, in allocate_impl()
88 uint64_t AddressSpaceHostMemoryAllocatorContext::allocate(AddressSpaceDevicePingInfo *info) { in allocate()
97 uint64_t AddressSpaceHostMemoryAllocatorContext::unallocate(AddressSpaceDevicePingInfo *info) { in unallocate()
117 AddressSpaceDeviceType AddressSpaceHostMemoryAllocatorContext::getDeviceType() const { in getDeviceType()
121 void AddressSpaceHostMemoryAllocatorContext::save(base::Stream* stream) const { in save()
135 bool AddressSpaceHostMemoryAllocatorContext::load(base::Stream* stream) { in load()
156 void AddressSpaceHostMemoryAllocatorContext::clear() { in clear()
Daddress_space_host_memory_allocator_unittests.cpp57 AddressSpaceHostMemoryAllocatorContext::HostMemoryAllocatorCommand::Allocate); in createAllocateRequest()
68 AddressSpaceHostMemoryAllocatorContext::HostMemoryAllocatorCommand::Unallocate); in createUnallocateRequest()
75 TEST(AddressSpaceHostMemoryAllocatorContext, getDeviceType) { in TEST() argument
81 AddressSpaceHostMemoryAllocatorContext ctx(&ops, &hw_funcs); in TEST()
86 TEST(AddressSpaceHostMemoryAllocatorContext, AllocateDeallocate) { in TEST() argument
92 AddressSpaceHostMemoryAllocatorContext ctx(&ops, &hw_funcs); in TEST()
105 TEST(AddressSpaceHostMemoryAllocatorContext, AllocateSamePhysAddr) { in TEST() argument
111 AddressSpaceHostMemoryAllocatorContext ctx(&ops, &hw_funcs); in TEST()
144 TEST(AddressSpaceHostMemoryAllocatorContext, AllocateMappingFail) { in TEST() argument
150 AddressSpaceHostMemoryAllocatorContext ctx(&ops, &hw_funcs); in TEST()
[all …]
Daddress_space_device.cpp379 return DeviceContextPtr(new AddressSpaceHostMemoryAllocatorContext( in buildAddressSpaceDeviceContext()
/hardware/google/aemu/host-common/include/host-common/
Daddress_space_host_memory_allocator.h24 class AddressSpaceHostMemoryAllocatorContext : public AddressSpaceDeviceContext {
31 AddressSpaceHostMemoryAllocatorContext(const address_space_device_control_ops *ops,
33 ~AddressSpaceHostMemoryAllocatorContext();