Home
last modified time | relevance | path

Searched refs:kReturnDeadObject (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/neuralnetworks/utils/common/test/
DResilientExecution.cpp55 const auto kReturnDeadObject = makeError(nn::ErrorStatus::DEAD_OBJECT); variable
129 EXPECT_CALL(*mockExecution, compute(_)).Times(1).WillOnce(kReturnDeadObject); in TEST()
143 EXPECT_CALL(*mockExecution, compute(_)).Times(1).WillOnce(kReturnDeadObject); in TEST()
187 EXPECT_CALL(*mockExecution, computeFenced(_, _, _)).Times(1).WillOnce(kReturnDeadObject); in TEST()
201 EXPECT_CALL(*mockExecution, computeFenced(_, _, _)).Times(1).WillOnce(kReturnDeadObject); in TEST()
DResilientBufferTest.cpp59 const auto kReturnDeadObject = makeError(nn::ErrorStatus::DEAD_OBJECT); variable
143 EXPECT_CALL(*mockBuffer, copyTo(_)).Times(1).WillOnce(kReturnDeadObject); in TEST()
158 EXPECT_CALL(*mockBuffer, copyTo(_)).Times(1).WillOnce(kReturnDeadObject); in TEST()
203 EXPECT_CALL(*mockBuffer, copyFrom(_, _)).Times(1).WillOnce(kReturnDeadObject); in TEST()
218 EXPECT_CALL(*mockBuffer, copyFrom(_, _)).Times(1).WillOnce(kReturnDeadObject); in TEST()
DResilientPreparedModelTest.cpp56 const auto kReturnDeadObject = makeError(nn::ErrorStatus::DEAD_OBJECT); variable
135 EXPECT_CALL(*mockPreparedModel, execute(_, _, _, _)).Times(1).WillOnce(kReturnDeadObject); in TEST()
150 EXPECT_CALL(*mockPreparedModel, execute(_, _, _, _)).Times(1).WillOnce(kReturnDeadObject); in TEST()
202 .WillOnce(kReturnDeadObject); in TEST()
218 .WillOnce(kReturnDeadObject); in TEST()
DResilientDeviceTest.cpp103 const auto kReturnDeadObject = makeError(nn::ErrorStatus::DEAD_OBJECT); variable
222 EXPECT_CALL(*mockDevice, wait()).Times(1).WillOnce(kReturnDeadObject); in TEST()
236 EXPECT_CALL(*mockDevice, wait()).Times(1).WillOnce(kReturnDeadObject); in TEST()
280 EXPECT_CALL(*mockDevice, getSupportedOperations(_)).Times(1).WillOnce(kReturnDeadObject); in TEST()
294 EXPECT_CALL(*mockDevice, getSupportedOperations(_)).Times(1).WillOnce(kReturnDeadObject); in TEST()
345 .WillOnce(kReturnDeadObject); in TEST()
361 .WillOnce(kReturnDeadObject); in TEST()
413 .WillOnce(kReturnDeadObject); in TEST()
429 .WillOnce(kReturnDeadObject); in TEST()
475 EXPECT_CALL(*mockDevice, allocate(_, _, _, _)).Times(1).WillOnce(kReturnDeadObject); in TEST()
[all …]