Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/aidl/utils/test/
DExecutionTest.cpp43 constexpr auto makeStatusOk = [] { return ndk::ScopedAStatus::ok(); }; in __anon0a2c05930202() variable
89 DoAll(SetArgPointee<1>(mockExecutionResult), InvokeWithoutArgs(makeStatusOk))); in TEST()
155 SetArgPointee<2>(ErrorStatus::NONE), Invoke(makeStatusOk))); in TEST()
185 Invoke(makeStatusOk)))); in TEST()
DBufferTest.cpp46 constexpr auto makeStatusOk = [] { return ndk::ScopedAStatus::ok(); }; in __anon134c93590202() variable
98 EXPECT_CALL(*mockBuffer, copyTo(_)).Times(1).WillOnce(InvokeWithoutArgs(makeStatusOk)); in TEST()
155 EXPECT_CALL(*mockBuffer, copyFrom(_, _)).Times(1).WillOnce(InvokeWithoutArgs(makeStatusOk)); in TEST()
DPreparedModelTest.cpp47 constexpr auto makeStatusOk = [] { return ndk::ScopedAStatus::ok(); }; in __anon04312a030202() variable
113 DoAll(SetArgPointee<4>(mockExecutionResult), InvokeWithoutArgs(makeStatusOk))); in TEST_P()
187 SetArgPointee<2>(ErrorStatus::NONE), Invoke(makeStatusOk))); in TEST_P()
219 Invoke(makeStatusOk)))); in TEST_P()
309 DoAll(SetArgPointee<4>(mockExecutionResult), InvokeWithoutArgs(makeStatusOk))); in TEST_P()
402 SetArgPointee<2>(ErrorStatus::NONE), Invoke(makeStatusOk))); in TEST_P()
440 Invoke(makeStatusOk)))); in TEST_P()
545 DoAll(SetArgPointee<3>(mockExecutionResult), InvokeWithoutArgs(makeStatusOk))); in TEST_P()
619 SetArgPointee<2>(ErrorStatus::NONE), Invoke(makeStatusOk))); in TEST_P()
652 Invoke(makeStatusOk)))); in TEST_P()
[all …]
DDeviceTest.cpp64 constexpr auto makeStatusOk = [] { return ndk::ScopedAStatus::ok(); }; in __anon40c1850f0202() variable
71 .WillByDefault(DoAll(SetArgPointee<0>(kName), InvokeWithoutArgs(makeStatusOk))); in createMockDevice()
74 DoAll(SetArgPointee<0>(DeviceType::OTHER), InvokeWithoutArgs(makeStatusOk))); in createMockDevice()
77 InvokeWithoutArgs(makeStatusOk))); in createMockDevice()
80 DoAll(SetArgPointee<0>(kNumberOfCacheFiles), InvokeWithoutArgs(makeStatusOk))); in createMockDevice()
89 InvokeWithoutArgs(makeStatusOk))); in createMockDevice()
355 InvokeWithoutArgs(makeStatusOk))); in TEST_P()
373 InvokeWithoutArgs(makeStatusOk))); in TEST_P()
512 InvokeWithoutArgs(makeStatusOk))); in TEST_P()
998 .WillOnce(DoAll(SetArgPointee<4>(mockBuffer), InvokeWithoutArgs(makeStatusOk))); in TEST_P()