Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableWrapperTest.java70 DrawableWrapper wrapper = new MyWrapper(d); in testConstructor() local
71 assertSame(d, wrapper.getDrawable()); in testConstructor()
80 DrawableWrapper wrapper = new MyWrapper(d); in testGetDrawable() local
81 assertSame(d, wrapper.getDrawable()); in testGetDrawable()
88 DrawableWrapper wrapper = new MyWrapper(null); in testSetDrawable() local
89 assertSame(null, wrapper.getDrawable()); in testSetDrawable()
91 wrapper.setDrawable(d); in testSetDrawable()
92 assertSame(d, wrapper.getDrawable()); in testSetDrawable()
98 DrawableWrapper wrapper = new MyWrapper(new BitmapDrawable()); in testInvalidateDrawable() local
101 wrapper.setCallback(cb); in testInvalidateDrawable()
[all …]
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputConnectionWrapperTest.java60 InputConnectionWrapper wrapper = new InputConnectionWrapper(null, true); in testInputConnectionWrapper() local
62 wrapper.beginBatchEdit(); in testInputConnectionWrapper()
67 wrapper.setTarget(inputConnection); in testInputConnectionWrapper()
69 wrapper.beginBatchEdit(); in testInputConnectionWrapper()
72 wrapper.clearMetaKeyStates(KeyEvent.META_ALT_ON); in testInputConnectionWrapper()
75 wrapper.commitCompletion(new CompletionInfo(1, 1, "testText")); in testInputConnectionWrapper()
83 wrapper.commitCorrection(new CorrectionInfo(0, "oldText", "newText")); in testInputConnectionWrapper()
91 wrapper.commitText("Text", 1); in testInputConnectionWrapper()
94 wrapper.deleteSurroundingText(10, 100); in testInputConnectionWrapper()
97 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/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.java201 BufferToSurfaceWrapper wrapper = new BufferToSurfaceWrapper(obj); 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()
345 SurfaceToSurfaceWrapper wrapper = in runTest() local
347 Thread th = new Thread(wrapper, "codec test"); in runTest()
350 if (wrapper.mThrowable != null) { in runTest()
351 throw wrapper.mThrowable; in runTest()
DDecodeEditEncodeTest.java128 VideoEditWrapper wrapper = new VideoEditWrapper(obj); in runTest() local
129 Thread th = new Thread(wrapper, "codec test"); in runTest()
132 if (wrapper.mThrowable != null) { in runTest()
133 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/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/tests/libcore/javautilcollections/libs/
Dguava-testlib-20.0.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...