Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/test/
DTestVersionedInterfaces.cpp538 const sp<MockDevice> kMockDevice = MockDevice::create(); member in android::nn::__anonc4f555280111::VersionedIDeviceTest
554 makeVersionedIDeviceSuccessfulInitializationFrom(kMockDevice, kMockMakeDevice.get(),
580 EXPECT_CALL(*kMockDevice, linkToDeathRet()) in TEST_F()
583 EXPECT_CALL(*kMockMakeDevice, Call(_)).Times(1).WillOnce(testing::Return(kMockDevice)); in TEST_F()
596 EXPECT_CALL(*kMockMakeDevice, Call(_)).Times(1).WillOnce(testing::Return(kMockDevice)); in TEST_F()
597 EXPECT_CALL(*kMockDevice, linkToDeathRet()).Times(1).WillOnce(InvokeWithoutArgs(ret)); in TEST_F()
610 EXPECT_CALL(*kMockDevice, getCapabilities(_)).Times(1).WillOnce(Invoke(ret)); in TEST_F()
613 const auto device = makeVersionedIDeviceFrom(kMockDevice, kMockMakeDevice.get(), Version::V1_0); in TEST_F()
622 EXPECT_CALL(*kMockDevice, getCapabilities_1_1(_)).Times(1).WillOnce(Invoke(ret)); in TEST_F()
625 const auto device = makeVersionedIDeviceFrom(kMockDevice, kMockMakeDevice.get(), Version::V1_1); in TEST_F()
[all …]