Home
last modified time | relevance | path

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

/external/deqp/android/cts/runner/tests/src/com/drawelements/deqp/runner/
DDeqpTestRunnerTest.java214 ITestDevice mockDevice = EasyMock.createMock(ITestDevice.class); in testGlesVersion() local
224 EasyMock.expect(mockDevice.getProperty("ro.opengles.version")) in testGlesVersion()
231 …EasyMock.expect(mockDevice.executeShellCommand(EasyMock.eq("settings delete global angle_gl_driver… in testGlesVersion()
233 …EasyMock.expect(mockDevice.executeShellCommand(EasyMock.eq("settings delete global angle_gl_driver… in testGlesVersion()
235 …EasyMock.expect(mockDevice.executeShellCommand(EasyMock.eq("settings delete global angle_gl_driver… in testGlesVersion()
237 …EasyMock.expect(mockDevice.executeShellCommand(EasyMock.eq("settings delete global angle_gl_driver… in testGlesVersion()
240 expectRenderConfigQuery(mockDevice, requiredMajorVersion, in testGlesVersion()
251 runInstrumentationLineAndAnswer(mockDevice, mockIDevice, testTrie, commandLine, in testGlesVersion()
267 EasyMock.replay(mockDevice, mockIDevice); in testGlesVersion()
270 deqpTest.setDevice(mockDevice); in testGlesVersion()
[all …]
/external/webrtc/sdk/objc/unittests/
Davformatmappertests.mm112 id mockDevice = OCMClassMock([AVCaptureDevice class]);
117 OCMStub([mockDevice formats]).andReturn(@[ mock ]);
121 webrtc::GetSupportedVideoFormatsForDevice(mockDevice);
129 id mockDevice = OCMClassMock([AVCaptureDevice class]);
134 OCMStub([mockDevice formats]).andReturn(@[ mock ]);
138 webrtc::GetSupportedVideoFormatsForDevice(mockDevice);
146 id mockDevice = OCMClassMock([AVCaptureDevice class]);
150 OCMStub([mockDevice formats]).andReturn(@[ mock ]);
154 webrtc::GetSupportedVideoFormatsForDevice(mockDevice);
164 id mockDevice = OCMClassMock([AVCaptureDevice class]);
[all …]
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DRenderer11.cpp2164 ID3D11Device *mockDevice; in testDeviceResettable() local
2172 static_cast<unsigned int>(mAvailableFeatureLevels.size()), D3D11_SDK_VERSION, &mockDevice, in testDeviceResettable()
2181 SafeRelease(mockDevice); in testDeviceResettable()