Searched refs:mockIDevice (Results 1 – 4 of 4) sorted by relevance
33 sptr<INnrtDevice> mockIDevice = sptr<MockIDevice>(new (std::nothrow) MockIDevice()); in Get() local34 if (mockIDevice == nullptr) { in Get()37 return mockIDevice; in Get()
195 auto mockIDevice = OHOS::NeuralNetworkRuntime::CreateSharedPtr<MockIDeviceImp>(); in Get() local196 if (!mockIDevice) { in Get()202 EXPECT_CALL(*mockIDevice, GetDeviceName(::testing::_)) in Get()206 EXPECT_CALL(*mockIDevice, GetVendorName(::testing::_)) in Get()210 EXPECT_CALL(*mockIDevice, GetDeviceStatus(::testing::_)) in Get()212 return mockIDevice; in Get()