Home
last modified time | relevance | path

Searched refs:wrapper (Results 1 – 15 of 15) 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.java130 RunSignalAndCatch wrapper = new RunSignalAndCatch(() -> { in setWideColorGamut() local
133 runOnUiThread(wrapper); in setWideColorGamut()
137 if (wrapper.error != null) { in setWideColorGamut()
138 throw wrapper.error; in setWideColorGamut()
147 RunSignalAndCatch wrapper = new RunSignalAndCatch(() -> { in getContents() local
150 runOnUiThread(wrapper); in getContents()
154 if (wrapper.error != null) { in getContents()
155 throw wrapper.error; in getContents()
184 RunSignalAndCatch wrapper = new RunSignalAndCatch(r, fence); in runOnGLThread() local
185 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/tools/cts-api-coverage/
DAndroid.bp46 wrapper: "etc/cts-api-coverage",
52 wrapper: "etc/ndk-api-report",
/cts/tests/tests/media/src/android/media/cts/
DPresentationSyncTest.java266 ChoreographedWrapper wrapper = new ChoreographedWrapper(obj, output, frameDelay); in runTest() local
267 Thread th = new Thread(wrapper, "sync test"); in runTest()
270 if (wrapper.mThrowable != null) { in runTest()
271 throw wrapper.mThrowable; in runTest()
DEncodeVirtualDisplayTest.java159 EncodeVirtualWrapper wrapper = new EncodeVirtualWrapper(obj); in runTest() local
160 Thread th = new Thread(wrapper, "codec test"); in runTest()
163 if (wrapper.mThrowable != null) { in runTest()
164 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()
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/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/tools/cfassembler/
DAndroid.bp22 wrapper: "etc/cfassembler",
/cts/tools/dasm/
DAndroid.bp24 wrapper: "etc/dasm",
/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/vm-tests-tf/
DAndroid.bp34 wrapper: "etc/vmtests-buildutil.sh",