Searched refs:mockDevice (Results 1 – 3 of 3) sorted by relevance
/external/deqp/android/cts/runner/tests/src/com/drawelements/deqp/runner/ |
D | DeqpTestRunnerTest.java | 223 ITestDevice mockDevice = EasyMock.createMock(ITestDevice.class); in testGlesVersion() local 233 EasyMock.expect(mockDevice.getProperty("ro.opengles.version")) in testGlesVersion() 240 …EasyMock.expect(mockDevice.executeShellCommand(EasyMock.eq("settings delete global angle_gl_driver… in testGlesVersion() 242 …EasyMock.expect(mockDevice.executeShellCommand(EasyMock.eq("settings delete global angle_gl_driver… in testGlesVersion() 244 …EasyMock.expect(mockDevice.executeShellCommand(EasyMock.eq("settings delete global angle_gl_driver… in testGlesVersion() 246 …EasyMock.expect(mockDevice.executeShellCommand(EasyMock.eq("settings delete global angle_gl_driver… in testGlesVersion() 249 expectRenderConfigQuery(mockDevice, requiredMajorVersion, in testGlesVersion() 260 runInstrumentationLineAndAnswer(mockDevice, mockIDevice, testTrie, commandLine, in testGlesVersion() 276 EasyMock.replay(mockDevice, mockIDevice); in testGlesVersion() 279 deqpTest.setDevice(mockDevice); in testGlesVersion() [all …]
|
/external/webrtc/sdk/objc/unittests/ |
D | avformatmappertests.mm | 112 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/ |
D | Renderer11.cpp | 2291 angle::ComPtr<ID3D11Device> mockDevice; in testDeviceResettable() local 2299 static_cast<unsigned int>(mAvailableFeatureLevels.size()), D3D11_SDK_VERSION, &mockDevice, in testDeviceResettable()
|