Lines Matching refs:dmaObj
118 MockDMA dmaObj; in TEST() local
128 EXPECT_CALL(dmaObj, transferDataHost(_, 0, length, 0, true)).Times(1); in TEST()
129 auto response = transferAll<MockDMA>(&dmaObj, PLDM_READ_FILE_INTO_MEMORY, in TEST()
138 EXPECT_CALL(dmaObj, transferDataHost(_, 0, length, 0, true)).Times(1); in TEST()
139 response = transferAll<MockDMA>(&dmaObj, PLDM_READ_FILE_INTO_MEMORY, path, in TEST()
148 EXPECT_CALL(dmaObj, transferDataHost(_, 0, maxSize, 0, true)).Times(1); in TEST()
149 EXPECT_CALL(dmaObj, transferDataHost(_, maxSize, minSize, maxSize, true)) in TEST()
151 response = transferAll<MockDMA>(&dmaObj, PLDM_READ_FILE_INTO_MEMORY, path, in TEST()
160 EXPECT_CALL(dmaObj, transferDataHost(_, _, _, _, true)).Times(3); in TEST()
161 response = transferAll<MockDMA>(&dmaObj, PLDM_READ_FILE_INTO_MEMORY, path, in TEST()
170 EXPECT_CALL(dmaObj, transferDataHost(_, 0, length, 0, false)).Times(1); in TEST()
171 response = transferAll<MockDMA>(&dmaObj, PLDM_READ_FILE_INTO_MEMORY, path, in TEST()
183 MockDMA dmaObj; in TEST() local
191 EXPECT_CALL(dmaObj, transferDataHost(_, _, _, _, _)).WillOnce(Return(-1)); in TEST()
192 auto response = transferAll<MockDMA>(&dmaObj, PLDM_READ_FILE_INTO_MEMORY, in TEST()
200 EXPECT_CALL(dmaObj, transferDataHost(_, _, _, _, _)).WillOnce(Return(-1)); in TEST()
201 response = transferAll<MockDMA>(&dmaObj, PLDM_READ_FILE_INTO_MEMORY, path, in TEST()