Home
last modified time | relevance | path

Searched refs:batch (Results 1 – 3 of 3) sorted by relevance

/system/libhidl/transport/allocator/1.0/default/
DAshmemAllocator.cpp68 hidl_vec<hidl_memory> batch; in batchAllocate() local
69 batch.resize(count); in batchAllocate()
73 batch[allocated] = allocateOne(size); in batchAllocate()
75 if (batch[allocated].handle() == nullptr) { in batchAllocate()
87 _hidl_cb(true /* success */, batch); in batchAllocate()
91 cleanup(std::move(batch[i])); in batchAllocate()
/system/libhidl/transport/allocator/1.0/
DIAllocator.hal39 * @return batch Unmapped memory objects.
41 batchAllocate(uint64_t size, uint64_t count) generates (bool success, vec<memory> batch);
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp976 [&](bool success, const hidl_vec<hidl_memory>& batch) { in TEST_F() argument
978 EXPECT_EQ(kBatchSize, batch.size()); in TEST_F()
980 for (uint64_t i = 0; i < batch.size(); i++) { in TEST_F()
981 sp<IMemory> memory = mapMemory(batch[i]); in TEST_F()
988 EXPECT_EQ(memory->getSize(), batch[i].size()); in TEST_F()
995 batchCopy = batch; in TEST_F()