Searched refs:batch (Results 1 – 3 of 3) sorted by relevance
68 hidl_vec<hidl_memory> batch; in batchAllocate() local69 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()
39 * @return batch Unmapped memory objects.41 batchAllocate(uint64_t size, uint64_t count) generates (bool success, vec<memory> batch);
976 [&](bool success, const hidl_vec<hidl_memory>& batch) { in TEST_F() argument978 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()