Searched refs:kReturnDeadObject (Results 1 – 4 of 4) sorted by relevance
/hardware/interfaces/neuralnetworks/utils/common/test/ |
D | ResilientExecution.cpp | 55 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()
|
D | ResilientBufferTest.cpp | 59 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()
|
D | ResilientPreparedModelTest.cpp | 56 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()
|
D | ResilientDeviceTest.cpp | 103 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 …]
|