Lines Matching refs:mockPreparedModel

73     const auto mockPreparedModel = createMockPreparedModel();  in TEST()  local
75 EXPECT_CALL(*mockPreparedModel, linkToDeathRet()).Times(1).WillOnce(InvokeWithoutArgs(ret)); in TEST()
78 const auto result = PreparedModel::create(mockPreparedModel); in TEST()
87 const auto mockPreparedModel = createMockPreparedModel(); in TEST() local
88 EXPECT_CALL(*mockPreparedModel, linkToDeathRet()) in TEST()
93 const auto result = PreparedModel::create(mockPreparedModel); in TEST()
102 const auto mockPreparedModel = createMockPreparedModel(); in TEST() local
103 EXPECT_CALL(*mockPreparedModel, linkToDeathRet()) in TEST()
108 const auto result = PreparedModel::create(mockPreparedModel); in TEST()
117 const auto mockPreparedModel = createMockPreparedModel(); in TEST() local
118 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST()
119 EXPECT_CALL(*mockPreparedModel, execute(_, _)) in TEST()
133 const auto mockPreparedModel = createMockPreparedModel(); in TEST() local
134 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST()
135 EXPECT_CALL(*mockPreparedModel, execute(_, _)) in TEST()
150 const auto mockPreparedModel = createMockPreparedModel(); in TEST() local
151 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST()
152 EXPECT_CALL(*mockPreparedModel, execute(_, _)) in TEST()
167 const auto mockPreparedModel = createMockPreparedModel(); in TEST() local
168 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST()
169 EXPECT_CALL(*mockPreparedModel, execute(_, _)) in TEST()
183 const auto mockPreparedModel = createMockPreparedModel(); in TEST() local
184 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST()
185 EXPECT_CALL(*mockPreparedModel, execute(_, _)) in TEST()
199 const auto mockPreparedModel = createMockPreparedModel(); in TEST() local
200 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST()
201 const auto ret = [&mockPreparedModel]() -> hardware::Return<V1_0::ErrorStatus> { in TEST()
202 mockPreparedModel->simulateCrash(); in TEST()
205 EXPECT_CALL(*mockPreparedModel, execute(_, _)).Times(1).WillOnce(InvokeWithoutArgs(ret)); in TEST()
217 const auto mockPreparedModel = createMockPreparedModel(); in TEST() local
218 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST()
231 const auto mockPreparedModel = createMockPreparedModel(); in TEST() local
232 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST()
233 EXPECT_CALL(*mockPreparedModel, execute(_, _)) in TEST()
253 const auto mockPreparedModel = createMockPreparedModel(); in TEST() local
254 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST()
255 EXPECT_CALL(*mockPreparedModel, execute(_, _)) in TEST()
274 const auto mockPreparedModel = createMockPreparedModel(); in TEST() local
275 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST()
276 EXPECT_CALL(*mockPreparedModel, execute(_, _)) in TEST()
295 const auto mockPreparedModel = createMockPreparedModel(); in TEST() local
296 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST()
297 EXPECT_CALL(*mockPreparedModel, execute(_, _)) in TEST()
315 const auto mockPreparedModel = createMockPreparedModel(); in TEST() local
316 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST()
317 EXPECT_CALL(*mockPreparedModel, execute(_, _)) in TEST()
335 const auto mockPreparedModel = createMockPreparedModel(); in TEST() local
336 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST()
337 const auto ret = [&mockPreparedModel]() -> hardware::Return<V1_0::ErrorStatus> { in TEST()
338 mockPreparedModel->simulateCrash(); in TEST()
341 EXPECT_CALL(*mockPreparedModel, execute(_, _)).Times(1).WillOnce(InvokeWithoutArgs(ret)); in TEST()
357 const auto mockPreparedModel = createMockPreparedModel(); in TEST() local
358 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST()
374 const auto mockPreparedModel = MockPreparedModel::create(); in TEST() local
375 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST()
388 const auto mockPreparedModel = createMockPreparedModel(); in TEST() local
389 const auto preparedModel = PreparedModel::create(mockPreparedModel).value(); in TEST()
397 EXPECT_EQ(maybeMock->get(), mockPreparedModel.get()); in TEST()