/system/libhidl/transport/memory/token/1.0/ |
H A D | IMemoryToken.hal | 16 package android.hidl.memory.token@1.0; 19 * Interface which composes shared memory 23 * The returned instance of memory must always be a reference to the same memory. 26 get() generates (memory mem);
|
/system/libhidl/transport/memory/1.0/ |
H A D | IMapper.hal | 17 package android.hidl.memory@1.0; 24 * @param mem Reference to shared memory. 25 * @return mappedMemory Object representing memory mapped in this process. 28 mapMemory(memory mem) generates (IMemory mappedMemory);
|
/system/libhidl/libhidlcache/include/hidlcache/ |
H A D | mapping.h | 19 #include <android/hidl/memory/1.0/IMemory.h> 20 #include <android/hidl/memory/block/1.0/types.h> 21 #include <android/hidl/memory/token/1.0/IMemoryToken.h> 35 sp<::android::hidl::memory::V1_0::IMemory> mapMemory( 36 const ::android::hidl::memory::block::V1_0::MemoryBlock& block); 50 sp<RefBase> lockMemoryCache(const sp<::android::hidl::memory::token::V1_0::IMemoryToken> key);
|
H A D | MemoryDealer.h | 20 #include <android/hidl/memory/1.0/IMemory.h> 21 #include <android/hidl/memory/block/1.0/types.h> 29 // MemoryDealer allocates/deallocates blocks from a continuous memory region. 55 // - sp<IMemory> to represent the main memory region. 58 using IMemory = ::android::hidl::memory::V1_0::IMemory; 59 using IMemoryToken = ::android::hidl::memory::token::V1_0::IMemoryToken; 60 using MemoryBlock = ::android::hidl::memory::block::V1_0::MemoryBlock; 64 /// @param memory The memory size must align to 4096 bytes 65 static sp<HidlMemoryDealer> getInstance(const hidl_memory& memory); [all...] |
/system/libhidl/libhidlmemory/ |
H A D | HidlMemoryToken.cpp | 21 HidlMemoryToken::HidlMemoryToken(sp<HidlMemory> memory) : mMemory(memory) {} argument
|
H A D | mapping.cpp | 25 #include <android/hidl/memory/1.0/IMapper.h> 30 using android::hidl::memory::V1_0::IMemory; 31 using android::hidl::memory::V1_0::IMapper; 53 sp<IMemory> mapMemory(const hidl_memory& memory) { argument 55 sp<IMapper> mapper = getMapperService(memory.name()); 58 LOG(ERROR) << "Could not fetch mapper for " << memory.name() << " shared memory"; 69 // but the mapped memory's actual size will be smaller than the reported size. 70 if (memory.size() > SIZE_MAX) { 71 LOG(ERROR) << "Cannot map " << memory [all...] |
/system/libhidl/transport/memory/1.0/default/ |
H A D | HidlFetch.h | 20 #include <android/hidl/memory/1.0/IMapper.h> 24 namespace memory { namespace in namespace:android::hidl 32 } // namespace memory
|
H A D | AshmemMapper.h | 20 #include <android/hidl/memory/1.0/IMapper.h> 26 namespace memory { namespace in namespace:android::hidl 30 using ::android::hidl::memory::V1_0::IMapper; 31 using ::android::hidl::memory::V1_0::IMemory; 41 // Methods from ::android::hidl::memory::V1_0::IMapper follow. 48 } // namespace memory
|
H A D | HidlFetch.cpp | 25 namespace memory { namespace in namespace:android::hidl 39 } // namespace memory
|
/system/libhidl/transport/memory/block/1.0/ |
H A D | types.hal | 17 package android.hidl.memory.block@1.0; 19 import android.hidl.memory.token@1.0::IMemoryToken;
|
/system/update_engine/ |
H A D | metrics_reporter_stub.cc | 19 #include <memory>
|
H A D | network_selector.h | 20 #include <memory>
|
/system/libhidl/libhidlmemory/include/hidlmemory/ |
H A D | mapping.h | 18 #include <android/hidl/memory/1.0/IMemory.h> 26 * If the shared memory cannot be fetched, this returns nullptr. 31 sp<android::hidl::memory::V1_0::IMemory> mapMemory(const hidl_memory &memory);
|
H A D | HidlMemoryToken.h | 19 #include <android/hidl/memory/token/1.0/IMemoryToken.h> 24 class HidlMemoryToken : public virtual ::android::hidl::memory::token::V1_0::IMemoryToken { 28 HidlMemoryToken(sp<HidlMemory> memory);
|
/system/core/libunwindstack/ |
H A D | MapInfo.cpp | 21 #include <memory> 33 std::unique_ptr<MemoryFileAtOffset> memory(new MemoryFileAtOffset); 35 if (memory->Init(name, 0)) { 36 return memory.release(); 52 if (!memory->Init(name, offset, map_size)) { 58 Elf::GetInfo(memory.get(), &valid, &max_size); 61 if (memory->Init(name, 0)) { 63 return memory.release(); 69 if (memory->Init(name, offset, max_size)) { 70 return memory 95 Memory* memory = GetFileMemory(); local 126 Memory* memory = CreateMemory(process_memory); local [all...] |
/system/core/libunwindstack/tests/ |
H A D | MemoryTest.cpp | 32 MemoryFakeAlwaysReadZero memory; local 35 ASSERT_TRUE(memory.Read32(0, &data)); 40 MemoryFakeAlwaysReadZero memory; local 43 ASSERT_TRUE(memory.Read64(0, &data)); 55 MemoryFakeAlwaysReadZero memory; local 59 ASSERT_TRUE(memory.ReadField(0, &data, &data.one, sizeof(data.one))); 63 ASSERT_TRUE(memory.ReadField(0, &data, &data.two, sizeof(data.two))); 67 ASSERT_TRUE(memory.ReadField(0, &data, &data.three, sizeof(data.three))); 71 ASSERT_TRUE(memory.ReadField(0, &data, &data.four, sizeof(data.four))); 76 MemoryFakeAlwaysReadZero memory; local 91 MemoryFake memory; local 112 MemoryFake memory; local [all...] |
H A D | MemoryOfflineTest.cpp | 37 memory = std::make_unique<MemoryOffline>(); 38 ASSERT_TRUE(memory != nullptr); 40 ASSERT_TRUE(memory->Init(temp_file.path, 0)); 46 std::unique_ptr<MemoryOffline> memory; member in class:unwindstack::MemoryOfflineTest 51 ASSERT_EQ(0U, memory->Read(offset - 1, &buf, 1)); 52 ASSERT_EQ(0U, memory->Read(offset + data.size(), &buf, 1)); 53 ASSERT_EQ(1U, memory->Read(offset, &buf, 1)); 55 ASSERT_EQ(1U, memory->Read(offset + data.size() - 1, &buf, 1)); 62 ASSERT_EQ(data.size(), memory->Read(offset, buf.data(), buf.size()));
|
H A D | MemoryFake.cpp | 26 void MemoryFake::SetMemory(uint64_t addr, const void* memory, size_t length) { argument 27 const uint8_t* src = reinterpret_cast<const uint8_t*>(memory); 38 size_t MemoryFake::Read(uint64_t addr, void* memory, size_t size) { argument 39 uint8_t* dst = reinterpret_cast<uint8_t*>(memory);
|
/system/libhidl/transport/allocator/1.0/ |
H A D | IAllocator.hal | 20 * Interface which allocates the required memory. 25 * Return memory must have instance name corresponding to this type of memory. 27 * @param size Size of memory to allocate in bytes. 29 * @return memory Unmapped memory object. 31 allocate(uint64_t size) generates (bool success, memory mem); 34 * Return memory must have instance name corresponding to this type of memory. 36 * @param size Size of memory t [all...] |
/system/update_engine/common/ |
H A D | boot_control.h | 20 #include <memory>
|
H A D | hardware.h | 20 #include <memory>
|
/system/libhidl/libhidlcache/ |
H A D | HidlMemoryCache.h | 19 #include <android/hidl/memory/block/1.0/types.h> 20 #include <android/hidl/memory/token/1.0/IMemoryToken.h> 30 using IMemoryToken = ::android::hidl::memory::token::V1_0::IMemoryToken; 39 // IMemoryToken => ::android::hidl::memory::V1_0::IMemory 43 : public virtual HidlCache<sp<::android::hidl::memory::token::V1_0::IMemoryToken>, 44 ::android::hidl::memory::V1_0::IMemory, IMemoryTokenCompare> { 45 using IMemoryToken = ::android::hidl::memory::token::V1_0::IMemoryToken; 46 using IMemory = ::android::hidl::memory::V1_0::IMemory; 47 using MemoryBlock = ::android::hidl::memory::block::V1_0::MemoryBlock;
|
H A D | mapping.cpp | 29 using android::hidl::memory::block::V1_0::MemoryBlock; 30 using android::hidl::memory::token::V1_0::IMemoryToken; 31 using android::hidl::memory::V1_0::IMemory; 36 sp<IMemory> mapMemory(const ::android::hidl::memory::block::V1_0::MemoryBlock& block) { 41 sp<RefBase> lockMemoryCache(const sp<::android::hidl::memory::token::V1_0::IMemoryToken> key) {
|
/system/extras/memory_replay/tests/ |
H A D | ActionTest.cpp | 25 uint8_t memory[Action::MaxActionSize()]; local 27 Action* action = Action::CreateAction(0x1234, "malloc", line, memory); 40 uint8_t memory[128]; local 42 Action* action = Action::CreateAction(0x1234, "malloc", line, memory); 47 uint8_t memory[128]; local 49 Action* action = Action::CreateAction(0x1234, "free", line, memory); 60 uint8_t memory[128]; local 62 Action* action = Action::CreateAction(0x1234, "calloc", line, memory); 75 uint8_t memory[128]; local 77 Action* action = Action::CreateAction(0, "free", line, memory); 86 uint8_t memory[128]; local 97 uint8_t memory[128]; local 123 uint8_t memory[128]; local 134 uint8_t memory[128]; local 149 uint8_t memory[128]; local 160 uint8_t memory[128]; local [all...] |
/system/connectivity/wifilogd/tests/ |
H A D | mock_command_processor.cpp | 17 #include <memory>
|