Lines Matching refs:ErrorStatus
68 makeCallbackReturn(V1_0::ErrorStatus::NONE, V1_0::Capabilities{}); in create()
70 makeCallbackReturn(V1_0::ErrorStatus::NONE, V1_1::Capabilities{}); in create()
72 makeCallbackReturn(V1_0::ErrorStatus::NONE, "Google-MockV1"); in create()
73 const auto getType_ret = makeCallbackReturn(V1_0::ErrorStatus::NONE, DeviceType::OTHER); in create()
75 makeCallbackReturn(V1_0::ErrorStatus::NONE, V1_2::Capabilities{}); in create()
77 makeCallbackReturn(V1_0::ErrorStatus::NONE, hidl_vec<Extension>{}); in create()
79 V1_0::ErrorStatus::NONE, kMaxNumberOfCacheFiles, kMaxNumberOfCacheFiles); in create()
81 makeCallbackReturn(V1_3::ErrorStatus::NONE, V1_3::Capabilities{}); in create()
122 MOCK_METHOD(Return<V1_0::ErrorStatus>, prepareModel,
131 MOCK_METHOD(Return<V1_0::ErrorStatus>, prepareModel_1_1,
145 MOCK_METHOD(Return<V1_0::ErrorStatus>, prepareModel_1_2,
150 MOCK_METHOD(Return<V1_0::ErrorStatus>, prepareModelFromCache,
159 MOCK_METHOD(Return<V1_3::ErrorStatus>, prepareModel_1_3,
165 MOCK_METHOD(Return<V1_3::ErrorStatus>, prepareModelFromCache_1_3,
219 MOCK_METHOD(Return<V1_0::ErrorStatus>, execute,
224 MOCK_METHOD(Return<V1_0::ErrorStatus>, execute_1_2,
239 MOCK_METHOD(Return<ErrorStatus>, execute_1_3,
292 MOCK_METHOD(Return<ErrorStatus>, copyTo, (const hidl_memory& dst), (override));
293 MOCK_METHOD(Return<ErrorStatus>, copyFrom,
316 auto makePreparedModelReturn(V1_0::ErrorStatus launchStatus, V1_0::ErrorStatus returnStatus, in makePreparedModelReturn()
320 const sp<V1_0::IPreparedModelCallback>& cb) -> Return<V1_0::ErrorStatus> { in makePreparedModelReturn()
325 auto makePreparedModel_1_1Return(V1_0::ErrorStatus launchStatus, V1_0::ErrorStatus returnStatus, in makePreparedModel_1_1Return()
329 const sp<V1_0::IPreparedModelCallback>& cb) -> Return<V1_0::ErrorStatus> { in makePreparedModel_1_1Return()
334 auto makePreparedModel_1_2Return(V1_0::ErrorStatus launchStatus, V1_0::ErrorStatus returnStatus, in makePreparedModel_1_2Return()
339 const sp<V1_2::IPreparedModelCallback>& cb) -> Return<V1_0::ErrorStatus> { in makePreparedModel_1_2Return()
344 auto makePreparedModel_1_3Return(V1_3::ErrorStatus launchStatus, V1_3::ErrorStatus returnStatus, in makePreparedModel_1_3Return()
351 const sp<V1_3::IPreparedModelCallback>& cb) -> Return<V1_3::ErrorStatus> { in makePreparedModel_1_3Return()
357 auto makeExecuteReturn(V1_0::ErrorStatus launchStatus, V1_0::ErrorStatus returnStatus) { in makeExecuteReturn()
360 const sp<V1_0::IExecutionCallback>& cb) -> Return<V1_0::ErrorStatus> { in makeExecuteReturn()
365 auto makeExecute_1_2Return(V1_0::ErrorStatus launchStatus, V1_0::ErrorStatus returnStatus, in makeExecute_1_2Return()
369 const sp<V1_2::IExecutionCallback>& cb) -> Return<V1_0::ErrorStatus> { in makeExecute_1_2Return()
374 auto makeExecute_1_3Return(V1_3::ErrorStatus launchStatus, V1_3::ErrorStatus returnStatus, in makeExecute_1_3Return()
380 const sp<V1_3::IExecutionCallback>& cb) -> Return<V1_3::ErrorStatus> { in makeExecute_1_3Return()
385 auto makeExecuteSynchronouslyReturn(V1_0::ErrorStatus status, in makeExecuteSynchronouslyReturn()
395 auto makeExecuteSynchronously_1_3Return(V1_3::ErrorStatus status, in makeExecuteSynchronously_1_3Return()
407 auto makeConfigureExecutionBurst(V1_0::ErrorStatus status, in makeConfigureExecutionBurst()
418 auto makeExecuteFencedReturn(V1_3::ErrorStatus status, const hidl_handle& syncFence, in makeExecuteFencedReturn()
609 const auto ret = makeCallbackReturn(V1_0::ErrorStatus::GENERAL_FAILURE, V1_0::Capabilities{}); in TEST_F()
621 const auto ret = makeCallbackReturn(V1_0::ErrorStatus::GENERAL_FAILURE, V1_1::Capabilities{}); in TEST_F()
633 const auto ret = makeCallbackReturn(V1_0::ErrorStatus::GENERAL_FAILURE, V1_2::Capabilities{}); in TEST_F()
645 const auto ret = makeCallbackReturn(V1_3::ErrorStatus::GENERAL_FAILURE, V1_3::Capabilities{}); in TEST_F()
657 const auto ret = makeCallbackReturn(V1_0::ErrorStatus::GENERAL_FAILURE, ""); in TEST_F()
669 const auto ret = makeCallbackReturn(V1_0::ErrorStatus::GENERAL_FAILURE, DeviceType::OTHER); in TEST_F()
681 const auto ret = makeCallbackReturn(V1_0::ErrorStatus::GENERAL_FAILURE, hidl_vec<Extension>{}); in TEST_F()
693 const auto ret = makeCallbackReturn(V1_0::ErrorStatus::GENERAL_FAILURE, kMaxNumberOfCacheFiles, in TEST_F()
706 const auto ret = makeCallbackReturn(V1_0::ErrorStatus::NONE, kMaxNumberOfCacheFiles + 1, in TEST_F()
719 const auto ret = makeCallbackReturn(V1_0::ErrorStatus::NONE, kMaxNumberOfCacheFiles, in TEST_F()
1109 cb(V1_0::ErrorStatus::NONE, {}); in TEST_F()
1119 EXPECT_EQ(V1_3::ErrorStatus::NONE, resultCode); in TEST_F()
1126 cb(V1_0::ErrorStatus::NONE, {}); in TEST_F()
1136 EXPECT_EQ(V1_3::ErrorStatus::NONE, resultCode); in TEST_F()
1143 cb(V1_0::ErrorStatus::NONE, {}); in TEST_F()
1153 EXPECT_EQ(V1_3::ErrorStatus::NONE, resultCode); in TEST_F()
1160 cb(V1_3::ErrorStatus::NONE, {}); in TEST_F()
1170 EXPECT_EQ(V1_3::ErrorStatus::NONE, resultCode); in TEST_F()
1177 const auto ret = makePreparedModelReturn(V1_0::ErrorStatus::NONE, V1_0::ErrorStatus::NONE, in TEST_F()
1193 const auto ret = makePreparedModel_1_1Return(V1_0::ErrorStatus::NONE, V1_0::ErrorStatus::NONE, in TEST_F()
1209 const auto ret = makePreparedModel_1_2Return(V1_0::ErrorStatus::NONE, V1_0::ErrorStatus::NONE, in TEST_F()
1225 const auto ret = makePreparedModel_1_3Return(V1_3::ErrorStatus::NONE, V1_3::ErrorStatus::NONE, in TEST_F()
1245 EXPECT_EQ(V1_3::ErrorStatus::GENERAL_FAILURE, status); in TEST_F()
1255 EXPECT_EQ(V1_3::ErrorStatus::GENERAL_FAILURE, status); in TEST_F()
1265 EXPECT_EQ(V1_3::ErrorStatus::GENERAL_FAILURE, status); in TEST_F()
1279 cb(V1_3::ErrorStatus::NONE, mockBuffer, mockToken); in TEST_F()
1288 EXPECT_EQ(V1_3::ErrorStatus::NONE, status); in TEST_F()
1310 cb(V1_0::ErrorStatus::GENERAL_FAILURE, {}); in TEST_F()
1320 EXPECT_EQ(V1_3::ErrorStatus::GENERAL_FAILURE, resultCode); in TEST_F()
1327 cb(V1_0::ErrorStatus::GENERAL_FAILURE, {}); in TEST_F()
1337 EXPECT_EQ(V1_3::ErrorStatus::GENERAL_FAILURE, resultCode); in TEST_F()
1344 cb(V1_0::ErrorStatus::GENERAL_FAILURE, {}); in TEST_F()
1354 EXPECT_EQ(V1_3::ErrorStatus::GENERAL_FAILURE, resultCode); in TEST_F()
1361 cb(V1_3::ErrorStatus::GENERAL_FAILURE, {}); in TEST_F()
1371 EXPECT_EQ(V1_3::ErrorStatus::GENERAL_FAILURE, resultCode); in TEST_F()
1378 const auto ret = makePreparedModelReturn(V1_0::ErrorStatus::GENERAL_FAILURE, in TEST_F()
1379 V1_0::ErrorStatus::NONE, mockPreparedModel); in TEST_F()
1394 const auto ret = makePreparedModel_1_1Return(V1_0::ErrorStatus::GENERAL_FAILURE, in TEST_F()
1395 V1_0::ErrorStatus::NONE, mockPreparedModel); in TEST_F()
1410 const auto ret = makePreparedModel_1_2Return(V1_0::ErrorStatus::GENERAL_FAILURE, in TEST_F()
1411 V1_0::ErrorStatus::NONE, mockPreparedModel); in TEST_F()
1426 const auto ret = makePreparedModel_1_3Return(V1_3::ErrorStatus::GENERAL_FAILURE, in TEST_F()
1427 V1_3::ErrorStatus::NONE, mockPreparedModel); in TEST_F()
1444 const auto ret = makePreparedModelReturn(V1_0::ErrorStatus::NONE, in TEST_F()
1445 V1_0::ErrorStatus::GENERAL_FAILURE, mockPreparedModel); in TEST_F()
1461 V1_0::ErrorStatus::NONE, V1_0::ErrorStatus::GENERAL_FAILURE, mockPreparedModel); in TEST_F()
1477 V1_0::ErrorStatus::NONE, V1_0::ErrorStatus::GENERAL_FAILURE, mockPreparedModel); in TEST_F()
1493 V1_3::ErrorStatus::NONE, V1_3::ErrorStatus::GENERAL_FAILURE, mockPreparedModel); in TEST_F()
1510 const auto ret = makePreparedModelReturn(V1_0::ErrorStatus::NONE, V1_0::ErrorStatus::NONE, in TEST_F()
1526 const auto ret = makePreparedModel_1_1Return(V1_0::ErrorStatus::NONE, V1_0::ErrorStatus::NONE, in TEST_F()
1542 const auto ret = makePreparedModel_1_2Return(V1_0::ErrorStatus::NONE, V1_0::ErrorStatus::NONE, in TEST_F()
1558 const auto ret = makePreparedModel_1_3Return(V1_3::ErrorStatus::NONE, V1_3::ErrorStatus::NONE, in TEST_F()
1580 cb(V1_3::ErrorStatus::GENERAL_FAILURE, nullptr, 0); in TEST_F()
1589 EXPECT_EQ(V1_3::ErrorStatus::GENERAL_FAILURE, status); in TEST_F()
1607 EXPECT_EQ(V1_3::ErrorStatus::GENERAL_FAILURE, resultCode); in TEST_F()
1622 EXPECT_EQ(V1_3::ErrorStatus::GENERAL_FAILURE, resultCode); in TEST_F()
1637 EXPECT_EQ(V1_3::ErrorStatus::GENERAL_FAILURE, resultCode); in TEST_F()
1652 EXPECT_EQ(V1_3::ErrorStatus::GENERAL_FAILURE, resultCode); in TEST_F()
1726 EXPECT_EQ(V1_3::ErrorStatus::GENERAL_FAILURE, status); in TEST_F()
1762 const auto ret = makePreparedModel_1_3Return(V1_3::ErrorStatus::NONE, V1_3::ErrorStatus::NONE, in TEST_F()
1801 const auto ret = [this]() -> Return<V1_3::ErrorStatus> { in TEST_F()
1803 return V1_3::ErrorStatus::NONE; in TEST_F()
1887 const auto retV1_0 = makePreparedModelReturn(V1_0::ErrorStatus::NONE, V1_0::ErrorStatus::NONE, in makeVersionedIPreparedModelSuccessfulInitializationFrom()
1889 const auto retV1_1 = makePreparedModel_1_1Return(V1_0::ErrorStatus::NONE, in makeVersionedIPreparedModelSuccessfulInitializationFrom()
1890 V1_0::ErrorStatus::NONE, mockPreparedModel); in makeVersionedIPreparedModelSuccessfulInitializationFrom()
1891 const auto retV1_2 = makePreparedModel_1_2Return(V1_0::ErrorStatus::NONE, in makeVersionedIPreparedModelSuccessfulInitializationFrom()
1892 V1_0::ErrorStatus::NONE, mockPreparedModel); in makeVersionedIPreparedModelSuccessfulInitializationFrom()
1893 const auto retV1_3 = makePreparedModel_1_3Return(V1_3::ErrorStatus::NONE, in makeVersionedIPreparedModelSuccessfulInitializationFrom()
1894 V1_3::ErrorStatus::NONE, mockPreparedModel); in makeVersionedIPreparedModelSuccessfulInitializationFrom()
1944 const auto ret = makePreparedModel_1_3Return(V1_3::ErrorStatus::NONE, V1_3::ErrorStatus::NONE, in TEST_F()
1964 const auto ret = makePreparedModel_1_3Return(V1_3::ErrorStatus::NONE, V1_3::ErrorStatus::NONE, in TEST_F()
1984 const auto ret = makePreparedModel_1_3Return(V1_3::ErrorStatus::NONE, V1_3::ErrorStatus::NONE, in TEST_F()
2003 const auto ret = makeExecuteReturn(V1_0::ErrorStatus::NONE, V1_0::ErrorStatus::NONE); in TEST_F()
2018 const auto ret = makeExecuteReturn(V1_0::ErrorStatus::NONE, V1_0::ErrorStatus::NONE); in TEST_F()
2034 makeExecute_1_2Return(V1_0::ErrorStatus::NONE, V1_0::ErrorStatus::NONE, {}, kNoTiming); in TEST_F()
2050 makeExecute_1_3Return(V1_3::ErrorStatus::NONE, V1_3::ErrorStatus::NONE, {}, kNoTiming); in TEST_F()
2065 const auto ret = makeExecuteReturn(V1_0::ErrorStatus::NONE, V1_0::ErrorStatus::NONE); in TEST_F()
2080 const auto ret = makeExecuteReturn(V1_0::ErrorStatus::NONE, V1_0::ErrorStatus::NONE); in TEST_F()
2095 const auto ret = makeExecuteSynchronouslyReturn(V1_0::ErrorStatus::NONE, {}, kNoTiming); in TEST_F()
2110 const auto ret = makeExecuteSynchronously_1_3Return(V1_3::ErrorStatus::NONE, {}, kNoTiming); in TEST_F()
2127 const auto ret = makeExecuteReturn(V1_0::ErrorStatus::NONE, V1_0::ErrorStatus::NONE); in TEST_F()
2143 const auto ret = makeExecuteReturn(V1_0::ErrorStatus::NONE, V1_0::ErrorStatus::NONE); in TEST_F()
2159 const auto ret = makeExecuteSynchronouslyReturn(V1_0::ErrorStatus::NONE, {}, kNoTiming); in TEST_F()
2178 const auto ret = makeExecuteFencedReturn(V1_3::ErrorStatus::NONE, fakeSyncFence, callback); in TEST_F()
2215 const auto ret = makeConfigureExecutionBurst(V1_0::ErrorStatus::NONE, burstContext); in TEST_F()
2231 const auto ret = makeConfigureExecutionBurst(V1_0::ErrorStatus::NONE, burstContext); in TEST_F()
2248 const auto ret = makeExecuteReturn(V1_0::ErrorStatus::GENERAL_FAILURE, V1_0::ErrorStatus::NONE); in TEST_F()
2263 const auto ret = makeExecuteReturn(V1_0::ErrorStatus::GENERAL_FAILURE, V1_0::ErrorStatus::NONE); in TEST_F()
2278 const auto ret = makeExecute_1_2Return(V1_0::ErrorStatus::GENERAL_FAILURE, in TEST_F()
2279 V1_0::ErrorStatus::NONE, {}, kNoTiming); in TEST_F()
2294 const auto ret = makeExecute_1_3Return(V1_3::ErrorStatus::GENERAL_FAILURE, in TEST_F()
2295 V1_3::ErrorStatus::NONE, {}, kNoTiming); in TEST_F()
2310 const auto ret = makeExecuteReturn(V1_0::ErrorStatus::NONE, V1_0::ErrorStatus::GENERAL_FAILURE); in TEST_F()
2325 const auto ret = makeExecuteReturn(V1_0::ErrorStatus::NONE, V1_0::ErrorStatus::GENERAL_FAILURE); in TEST_F()
2340 const auto ret = makeExecute_1_2Return(V1_0::ErrorStatus::NONE, in TEST_F()
2341 V1_0::ErrorStatus::GENERAL_FAILURE, {}, kNoTiming); in TEST_F()
2356 const auto ret = makeExecute_1_3Return(V1_3::ErrorStatus::NONE, in TEST_F()
2357 V1_3::ErrorStatus::GENERAL_FAILURE, {}, kNoTiming); in TEST_F()
2372 const auto ret = makeExecuteReturn(V1_0::ErrorStatus::GENERAL_FAILURE, in TEST_F()
2373 V1_0::ErrorStatus::GENERAL_FAILURE); in TEST_F()
2388 const auto ret = makeExecuteReturn(V1_0::ErrorStatus::GENERAL_FAILURE, in TEST_F()
2389 V1_0::ErrorStatus::GENERAL_FAILURE); in TEST_F()
2405 makeExecuteSynchronouslyReturn(V1_0::ErrorStatus::GENERAL_FAILURE, {}, kNoTiming); in TEST_F()
2421 makeExecuteSynchronously_1_3Return(V1_3::ErrorStatus::GENERAL_FAILURE, {}, kNoTiming); in TEST_F()
2438 const auto ret = makeExecuteReturn(V1_0::ErrorStatus::GENERAL_FAILURE, in TEST_F()
2439 V1_0::ErrorStatus::GENERAL_FAILURE); in TEST_F()
2455 const auto ret = makeExecuteReturn(V1_0::ErrorStatus::GENERAL_FAILURE, in TEST_F()
2456 V1_0::ErrorStatus::GENERAL_FAILURE); in TEST_F()
2473 makeExecuteSynchronouslyReturn(V1_0::ErrorStatus::GENERAL_FAILURE, {}, kNoTiming); in TEST_F()
2493 makeExecuteFencedReturn(V1_3::ErrorStatus::GENERAL_FAILURE, fakeSyncFence, callback); in TEST_F()
2512 const auto ret = makeConfigureExecutionBurst(V1_0::ErrorStatus::GENERAL_FAILURE, burstContext); in TEST_F()
2528 const auto ret = makeConfigureExecutionBurst(V1_0::ErrorStatus::GENERAL_FAILURE, burstContext); in TEST_F()
2543 const auto ret = makeConfigureExecutionBurst(V1_0::ErrorStatus::NONE, nullptr); in TEST_F()
2558 const auto ret = makeConfigureExecutionBurst(V1_0::ErrorStatus::NONE, nullptr); in TEST_F()
2897 const auto ret = [this]() -> Return<V1_3::ErrorStatus> { in TEST_F()
2899 return V1_3::ErrorStatus::NONE; in TEST_F()