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() 124 .WillOnce(kReturnGeneralFailure); in TEST() 189 .WillOnce(kReturnGeneralFailure); in TEST() 205 EXPECT_CALL(*mockPreparedModelFactory, Call()).Times(1).WillOnce(kReturnGeneralFailure); in TEST() 257 .WillOnce(kReturnGeneralFailure); in TEST() 303 EXPECT_CALL(*mockPreparedModelFactory, Call()).Times(1).WillOnce(kReturnGeneralFailure); in TEST()
|
D | ResilientDeviceTest.cpp | 101 const auto kReturnGeneralFailure = makeError(nn::ErrorStatus::GENERAL_FAILURE); variable 120 const auto invalidDeviceFactory = kReturnGeneralFailure; in TEST() 208 EXPECT_CALL(*mockDevice, wait()).Times(1).WillOnce(kReturnGeneralFailure); in TEST() 222 EXPECT_CALL(*mockDeviceFactory, Call(true)).Times(1).WillOnce(kReturnGeneralFailure); in TEST() 266 EXPECT_CALL(*mockDevice, getSupportedOperations(_)).Times(1).WillOnce(kReturnGeneralFailure); in TEST() 280 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(kReturnGeneralFailure); in TEST() 329 .WillOnce(kReturnGeneralFailure); in TEST() 345 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(kReturnGeneralFailure); in TEST() 397 .WillOnce(kReturnGeneralFailure); in TEST() 413 EXPECT_CALL(*mockDeviceFactory, Call(false)).Times(1).WillOnce(kReturnGeneralFailure); in TEST() [all …]
|