Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/utils/common/test/
DResilientExecution.cpp51 constexpr auto makeError = [](nn::ErrorStatus status) { in __anon1bab929d0202() variable
54 const auto kReturnGeneralFailure = makeError(nn::ErrorStatus::GENERAL_FAILURE);
55 const auto kReturnDeadObject = makeError(nn::ErrorStatus::DEAD_OBJECT);
DResilientBufferTest.cpp55 constexpr auto makeError = [](nn::ErrorStatus status) { in __anon35fa07630202() variable
58 const auto kReturnGeneralFailure = makeError(nn::ErrorStatus::GENERAL_FAILURE);
59 const auto kReturnDeadObject = makeError(nn::ErrorStatus::DEAD_OBJECT);
DResilientPreparedModelTest.cpp52 constexpr auto makeError = [](nn::ErrorStatus status) { in __anond1466ecd0202() variable
55 const auto kReturnGeneralFailure = makeError(nn::ErrorStatus::GENERAL_FAILURE);
56 const auto kReturnDeadObject = makeError(nn::ErrorStatus::DEAD_OBJECT);
DResilientDeviceTest.cpp99 constexpr auto makeError = [](nn::ErrorStatus status) { in __anon636ef9190602() variable
102 const auto kReturnGeneralFailure = makeError(nn::ErrorStatus::GENERAL_FAILURE);
103 const auto kReturnDeadObject = makeError(nn::ErrorStatus::DEAD_OBJECT);