Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableWrapperTest.java73 DrawableWrapper wrapper = new MyWrapper(d); in testConstructor() local
74 assertSame(d, wrapper.getDrawable()); in testConstructor()
83 DrawableWrapper wrapper = new MyWrapper(d); in testGetDrawable() local
84 assertSame(d, wrapper.getDrawable()); in testGetDrawable()
91 DrawableWrapper wrapper = new MyWrapper(null); in testSetDrawable() local
92 assertSame(null, wrapper.getDrawable()); in testSetDrawable()
94 wrapper.setDrawable(d); in testSetDrawable()
95 assertSame(d, wrapper.getDrawable()); in testSetDrawable()
101 DrawableWrapper wrapper = new MyWrapper(new BitmapDrawable()); in testInvalidateDrawable() local
104 wrapper.setCallback(cb); in testInvalidateDrawable()
[all …]
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputConnectionWrapperTest.java61 InputConnectionWrapper wrapper = new InputConnectionWrapper(null, true); in testInputConnectionWrapper() local
63 wrapper.beginBatchEdit(); in testInputConnectionWrapper()
68 wrapper.setTarget(inputConnection); in testInputConnectionWrapper()
70 wrapper.beginBatchEdit(); in testInputConnectionWrapper()
73 wrapper.clearMetaKeyStates(KeyEvent.META_ALT_ON); in testInputConnectionWrapper()
76 wrapper.commitCompletion(new CompletionInfo(1, 1, "testText")); in testInputConnectionWrapper()
84 wrapper.commitCorrection(new CorrectionInfo(0, "oldText", "newText")); in testInputConnectionWrapper()
92 wrapper.commitText("Text", 1); in testInputConnectionWrapper()
95 wrapper.deleteSurroundingText(10, 100); in testInputConnectionWrapper()
98 wrapper.deleteSurroundingTextInCodePoints(10, 100); in testInputConnectionWrapper()
[all …]
/cts/tests/tests/view/src/android/view/cts/
DTextureViewCtsActivity.java131 RunSignalAndCatch wrapper = new RunSignalAndCatch(() -> { in setWideColorGamut() local
134 runOnUiThread(wrapper); in setWideColorGamut()
138 if (wrapper.error != null) { in setWideColorGamut()
139 throw wrapper.error; in setWideColorGamut()
148 RunSignalAndCatch wrapper = new RunSignalAndCatch(() -> { in getContents() local
151 runOnUiThread(wrapper); in getContents()
155 if (wrapper.error != null) { in getContents()
156 throw wrapper.error; in getContents()
185 RunSignalAndCatch wrapper = new RunSignalAndCatch(r, fence); in runOnGLThread() local
186 mGLThread.post(wrapper); in runOnGLThread()
[all …]
/cts/tests/tests/speech/src/android/speech/tts/cts/
DTextToSpeechWrapper.java122 TextToSpeechWrapper wrapper = new TextToSpeechWrapper(context); in createTextToSpeechWrapper() local
123 if (wrapper.initTts()) { in createTextToSpeechWrapper()
124 return wrapper; in createTextToSpeechWrapper()
132 TextToSpeechWrapper wrapper = new TextToSpeechWrapper(context); in createTextToSpeechMockWrapper() local
133 if (wrapper.initTts(MOCK_TTS_ENGINE)) { in createTextToSpeechMockWrapper()
134 return wrapper; in createTextToSpeechMockWrapper()
/cts/tests/tests/media/src/android/media/cts/
DPresentationSyncTest.java267 ChoreographedWrapper wrapper = new ChoreographedWrapper(obj, output, frameDelay); in runTest() local
268 Thread th = new Thread(wrapper, "sync test"); in runTest()
271 if (wrapper.mThrowable != null) { in runTest()
272 throw wrapper.mThrowable; in runTest()
DEncodeDecodeTest.java203 BufferToSurfaceWrapper wrapper = new BufferToSurfaceWrapper(obj); in runTest() local
204 Thread th = new Thread(wrapper, "codec test"); in runTest()
207 if (wrapper.mThrowable != null) { in runTest()
208 throw wrapper.mThrowable; in runTest()
347 SurfaceToSurfaceWrapper wrapper = in runTest() local
349 Thread th = new Thread(wrapper, "codec test"); in runTest()
352 if (wrapper.mThrowable != null) { in runTest()
353 throw wrapper.mThrowable; in runTest()
DEncodeVirtualDisplayTest.java160 EncodeVirtualWrapper wrapper = new EncodeVirtualWrapper(obj); in runTest() local
161 Thread th = new Thread(wrapper, "codec test"); in runTest()
164 if (wrapper.mThrowable != null) { in runTest()
165 throw wrapper.mThrowable; in runTest()
DDecodeEditEncodeTest.java129 VideoEditWrapper wrapper = new VideoEditWrapper(obj); in runTest() local
130 Thread th = new Thread(wrapper, "codec test"); in runTest()
133 if (wrapper.mThrowable != null) { in runTest()
134 throw wrapper.mThrowable; in runTest()
DExtractDecodeEditEncodeMuxTest.java201 TestWrapper wrapper = new TestWrapper(test); in runTest() local
202 Thread th = new Thread(wrapper, "codec test"); in runTest()
205 if (wrapper.mThrowable != null) { in runTest()
206 throw wrapper.mThrowable; in runTest()
/cts/tools/cts-api-coverage/
DAndroid.bp44 wrapper: "etc/cts-api-coverage",
52 wrapper: "etc/ndk-api-report",
/cts/tests/vr/src/android/vr/cts/
DOpenGLESActivity.java103 RunSignalAndCatch wrapper = new RunSignalAndCatch(r, fence); in runOnGlThread() local
105 mView.queueEvent(wrapper); in runOnGlThread()
107 if (wrapper.error != null) { in runOnGlThread()
108 throw wrapper.error; in runOnGlThread()
/cts/tests/tests/content/src/android/content/cts/
DAsyncQueryHandlerTest.java263 MockAsyncQueryHandler wrapper = new MockAsyncQueryHandler(mResolver); in testCreateHandler() local
264 Handler result = wrapper.createHandler(Looper.getMainLooper()); in testCreateHandler()
269 wrapper.createHandler(null); in testCreateHandler()
/cts/tools/cfassembler/
DAndroid.bp22 wrapper: "etc/cfassembler",
/cts/tools/vm-tests-tf/
DAndroid.bp34 wrapper: "etc/vmtests-buildutil.sh",