Searched refs:kReturnGeneralFailure (Results 1 – 4 of 4) sorted by relevance
/hardware/interfaces/neuralnetworks/utils/common/test/ |
D | ResilientExecution.cpp | 54 const auto kReturnGeneralFailure = makeError(nn::ErrorStatus::GENERAL_FAILURE); variable 79 const auto invalidExecutionFactory = kReturnGeneralFailure; in TEST() 116 EXPECT_CALL(*mockExecution, compute(_)).Times(1).WillOnce(kReturnGeneralFailure); in TEST() 130 EXPECT_CALL(*mockExecutionFactory, Call()).Times(1).WillOnce(kReturnGeneralFailure); in TEST() 174 EXPECT_CALL(*mockExecution, computeFenced(_, _, _)).Times(1).WillOnce(kReturnGeneralFailure); in TEST() 188 EXPECT_CALL(*mockExecutionFactory, Call()).Times(1).WillOnce(kReturnGeneralFailure); in TEST() 235 EXPECT_CALL(*mockExecutionFactory, Call()).Times(1).WillOnce(kReturnGeneralFailure); in TEST()
|
D | ResilientBufferTest.cpp | 58 const auto kReturnGeneralFailure = makeError(nn::ErrorStatus::GENERAL_FAILURE); variable 79 const auto invalidBufferFactory = kReturnGeneralFailure; in TEST() 129 EXPECT_CALL(*mockBuffer, copyTo(_)).Times(1).WillOnce(kReturnGeneralFailure); in TEST() 144 EXPECT_CALL(*mockBufferFactory, Call()).Times(1).WillOnce(kReturnGeneralFailure); in TEST() 189 EXPECT_CALL(*mockBuffer, copyFrom(_, _)).Times(1).WillOnce(kReturnGeneralFailure); in TEST() 204 EXPECT_CALL(*mockBufferFactory, Call()).Times(1).WillOnce(kReturnGeneralFailure); in TEST() 251 EXPECT_CALL(*mockBufferFactory, Call()).Times(1).WillOnce(kReturnGeneralFailure); in TEST()
|
D | ResilientPreparedModelTest.cpp | 55 const auto kReturnGeneralFailure = makeError(nn::ErrorStatus::GENERAL_FAILURE); variable 83 const auto invalidPreparedModelFactory = kReturnGeneralFailure; in TEST() 122 EXPECT_CALL(*mockPreparedModel, execute(_, _, _, _)).Times(1).WillOnce(kReturnGeneralFailure); in TEST() 187 .WillOnce(kReturnGeneralFailure); in TEST() 203 EXPECT_CALL(*mockPreparedModelFactory, Call()).Times(1).WillOnce(kReturnGeneralFailure); in TEST() 255 .WillOnce(kReturnGeneralFailure); in TEST() 301 EXPECT_CALL(*mockPreparedModelFactory, Call()).Times(1).WillOnce(kReturnGeneralFailure); in TEST()
|
D | ResilientDeviceTest.cpp | 102 const auto kReturnGeneralFailure = makeError(nn::ErrorStatus::GENERAL_FAILURE); variable 121 const auto invalidDeviceFactory = kReturnGeneralFailure; in TEST() 209 EXPECT_CALL(*mockDevice, wait()).Times(1).WillOnce(kReturnGeneralFailure); in TEST() 223 EXPECT_CALL(*mockDeviceFactory, Call(true)).Times(1).WillOnce(kReturnGeneralFailure); in TEST() 267 EXPECT_CALL(*mockDevice, getSupportedOperations(_)).Times(1).WillOnce(kReturnGeneralFailure); in TEST() 281 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(kReturnGeneralFailure); in TEST() 330 .WillOnce(kReturnGeneralFailure); in TEST() 346 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(kReturnGeneralFailure); in TEST() 398 .WillOnce(kReturnGeneralFailure); in TEST() 414 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(kReturnGeneralFailure); in TEST() [all …]
|