/system/chre/util/tests/ |
D | memory_pool_test.cc | 29 EXPECT_NE(memoryPool.allocate(), nullptr); in TEST() 31 EXPECT_NE(memoryPool.allocate(), nullptr); in TEST() 33 EXPECT_NE(memoryPool.allocate(), nullptr); in TEST() 35 EXPECT_EQ(memoryPool.allocate(), nullptr); in TEST() 43 int *firstMemoryElement = firstMemoryPool.allocate(); in TEST() 55 int *element1 = memoryPool.allocate(); in TEST() 56 int *element2 = memoryPool.allocate(); in TEST() 57 int *element3 = memoryPool.allocate(); in TEST() 68 element1 = memoryPool.allocate(); in TEST() 72 EXPECT_EQ(memoryPool.allocate(), nullptr); in TEST() [all …]
|
D | synchronized_expandable_memory_pool_test.cc | 67 ConstructorCount *temp = testMemoryPool.allocate(10); in TEST() 86 tempDataPtrs[i] = testMemoryPool.allocate(i); in TEST()
|
/system/memory/libmemunreachable/tests/ |
D | Allocator_test.cpp | 43 void* ptr = allocator.allocate(); in TEST_F() 50 void* ptr1 = allocator.allocate(); in TEST_F() 52 void* ptr2 = allocator.allocate(); in TEST_F() 56 void* ptr3 = allocator.allocate(); in TEST_F() 68 ptr[i] = allocator.allocate(); in TEST_F() 90 void* ptr = allocator.allocate(); in TEST_F() 101 ptr[i] = allocator.allocate(); in TEST_F() 124 void* ptr1 = a.allocate(); in TEST_F() 125 void* ptr2 = b.allocate(); in TEST_F() 126 void* ptr3 = c.allocate(); in TEST_F() [all …]
|
/system/memory/libmemunreachable/ |
D | Allocator.h | 54 void* allocate(size_t size); 65 T* allocate() { in allocate() function 66 return reinterpret_cast<T*>(allocate(sizeof(T))); in allocate() 81 return unique_ptr<T>(new (allocate<T>()) T(std::forward<Args>(args)...), [impl](void* ptr) { in make_unique() 121 T* allocate(std::size_t n) { return reinterpret_cast<T*>(heap_.allocate(n * sizeof(T))); } in allocate() function 161 using STLAllocator<T>::allocate; 165 T* allocate() { return STLAllocator<T>::allocate(1); } in allocate() function
|
/system/libhidl/transport/allocator/1.0/ |
D | IAllocator.hal | 27 * @param size Size of memory to allocate in bytes. 31 allocate(uint64_t size) generates (bool success, memory mem); 36 * @param size Size of memory to allocate in bytes. 37 * @param count Number of memory instances to allocate.
|
/system/chre/util/include/chre/util/ |
D | synchronized_memory_pool_impl.h | 27 ElementType *SynchronizedMemoryPool<ElementType, kSize>::allocate( in allocate() function 30 return mMemoryPool.allocate(args...); in allocate()
|
D | synchronized_expandable_memory_pool_impl.h | 44 kMaxMemoryPoolCount>::allocate(Args &&...args) { in allocate() function 50 result = memoryPool->allocate(args...); in allocate() 57 result = mMemoryPoolPtrs.back()->allocate(args...); in allocate()
|
D | synchronized_memory_pool.h | 41 ElementType *allocate(Args &&... args);
|
D | synchronized_expandable_memory_pool.h | 68 ElementType *allocate(Args &&...args);
|
D | memory_pool.h | 67 ElementType *allocate(Args &&... args);
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | mediadrmserver.te | 5 # allocate and use graphic buffers
|
D | mediaserver.te | 6 # allocate and use graphic buffers
|
/system/sepolicy/private/ |
D | mediadrmserver.te | 5 # allocate and use graphic buffers
|
/system/sepolicy/prebuilts/api/31.0/private/ |
D | mediadrmserver.te | 5 # allocate and use graphic buffers
|
D | mediaserver.te | 7 # allocate and use graphic buffers
|
/system/sepolicy/prebuilts/api/34.0/private/ |
D | mediadrmserver.te | 5 # allocate and use graphic buffers
|
/system/sepolicy/prebuilts/api/32.0/private/ |
D | mediadrmserver.te | 5 # allocate and use graphic buffers
|
D | mediaserver.te | 7 # allocate and use graphic buffers
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | mediadrmserver.te | 5 # allocate and use graphic buffers
|
D | mediaserver.te | 7 # allocate and use graphic buffers
|
/system/sepolicy/prebuilts/api/33.0/private/ |
D | mediadrmserver.te | 5 # allocate and use graphic buffers
|
D | mediaserver.te | 7 # allocate and use graphic buffers
|
/system/libhidl/transport/allocator/1.0/default/ |
D | AshmemAllocator.h | 41 Return<void> allocate(uint64_t size, allocate_cb _hidl_cb) override;
|
/system/chre/util/include/chre/util/flatbuffers/ |
D | helpers.h | 31 uint8_t *allocate(size_t size) override { in allocate() function
|
/system/chre/java/test/chqts/src/com/google/android/chre/test/chqts/ |
D | ContextHubInfoByIdTestExecutor.java | 55 ByteBuffer buffer = ByteBuffer.allocate(4) in handleMessageFromNanoApp()
|