Home
last modified time | relevance | path

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

/cts/tests/tests/database/src/android/database/cts/
DAbstractWindowedCursorTest.java35 private CursorWindow mWindow; field in AbstractWindowedCursorTest
42 mWindow = new CursorWindow(false); in setUp()
48 mWindow.close(); in tearDown()
53 mCursor.setWindow(mWindow); in testIsNull()
55 assertTrue(mWindow.setNumColumns(TEST_COLUMN_COUNT)); in testIsNull()
58 assertTrue(mWindow.allocRow()); in testIsNull()
61 assertTrue(mWindow.putString(str, ROW_INDEX0, COLUMN_INDEX0)); in testIsNull()
66 mCursor.setWindow(mWindow); in testIsBlob()
67 assertTrue(mWindow.setNumColumns(TEST_COLUMN_COUNT)); in testIsBlob()
68 assertTrue(mWindow.allocRow()); in testIsBlob()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowTest.java97 private Window mWindow; field in WindowTest
113 mWindow = mActivity.getWindow(); in setup()
135 mWindow = new MockWindow(mActivity); in testConstructor()
136 assertSame(mActivity, mWindow.getContext()); in testConstructor()
149 mWindow = new MockWindow(mActivity); in testOpFlags()
150 final WindowManager.LayoutParams attrs = mWindow.getAttributes(); in testOpFlags()
153 mWindow.addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN); in testOpFlags()
156 mWindow.addFlags(WindowManager.LayoutParams.FLAG_DITHER); in testOpFlags()
160 mWindow.clearFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN); in testOpFlags()
162 mWindow.clearFlags(WindowManager.LayoutParams.FLAG_DITHER); in testOpFlags()
[all …]
/cts/tests/media/jni/
DNativeCodecEncoderSurfaceTest.cpp33 ANativeWindow* mWindow; member in CodecEncoderSurfaceTest
85 mWindow = nullptr;
99 if (mWindow) { in ~CodecEncoderSurfaceTest()
100 ANativeWindow_release(mWindow); in ~CodecEncoderSurfaceTest()
101 mWindow = nullptr; in ~CodecEncoderSurfaceTest()
170 CHECK_STATUS(AMediaCodec_createInputSurface(mEncoder, &mWindow), in configureCodec()
174 CHECK_STATUS(AMediaCodec_configure(mDecoder, mDecFormat, mWindow, nullptr, 0), in configureCodec()
265 CHECK_STATUS(AMediaCodec_releaseOutputBuffer(mDecoder, bufferIndex, mWindow != nullptr), in dequeueDecoderOutput()
546 ANativeWindow_release(mWindow); in testSimpleEncode()
547 mWindow = nullptr; in testSimpleEncode()
DNativeCodecDecoderTest.cpp40 ANativeWindow* mWindow; member in CodecDecoderTest
74 mWindow{window} {} in CodecDecoderTest()
156 CHECK_STATUS(AMediaCodec_configure(mCodec, format, mWindow, nullptr, in configureCodec()
234 CHECK_STATUS(AMediaCodec_releaseOutputBuffer(mCodec, bufferIndex, mWindow != nullptr), in dequeueOutput()
266 mSaveToMem = (mWindow == nullptr); in decodeToMemory()
290 mSaveToMem = (mWindow == nullptr); in testSimpleDecode()
454 mSaveToMem = (mWindow == nullptr); in testFlush()
503 mSaveToMem = (mWindow == nullptr); in testOnlyEos()
/cts/tests/tests/graphics/jni/
DVulkanPreTransformTestHelpers.cpp112 mWindow(nullptr), in DeviceInfo()
129 if (mWindow) { in ~DeviceInfo()
130 ANativeWindow_release(mWindow); in ~DeviceInfo()
131 mWindow = nullptr; in ~DeviceInfo()
138 mWindow = ANativeWindow_fromSurface(env, jSurface); in init()
139 ASSERT(mWindow); in init()
187 .window = mWindow, in init()
DVulkanPreTransformTestHelpers.h48 ANativeWindow* mWindow; variable
/cts/tests/openglperf2/jni/graphics/
DRenderer.cpp92 mEglContext(EGL_NO_CONTEXT), mWindow(window) { in Renderer()
108 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig, mWindow, NULL); in eglSetUp()
DRenderer.h55 EGLNativeWindowType mWindow;
/cts/tests/app/src/android/app/cts/
DInstrumentationTest.java313 assertEquals(id, mMockActivity.mWindow.mId); in testInvokeContextMenuAction()
314 assertEquals(flag, mMockActivity.mWindow.mFlags); in testInvokeContextMenuAction()
521 MockWindow mWindow = new MockWindow(mContext); field in InstrumentationTest.MockActivity
525 return mWindow; in getWindow()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioFrequencySpeakerActivity.java100 private DspWindow mWindow; field in AudioFrequencySpeakerActivity
159 mWindow = new DspWindow(DspWindow.WINDOW_HANNING, mBlockSizeSamples, overlap); in onCreate()
670 DspBufferMath.mult(mData, mData, mWindow.mBuffer); in onPeriodicNotification()
DAudioFrequencyLineActivity.java94 private DspWindow mWindow; field in AudioFrequencyLineActivity
173 mWindow = new DspWindow(DspWindow.WINDOW_HANNING, mBlockSizeSamples, overlap); in onCreate()
654 DspBufferMath.mult(mData, mData, mWindow.mBuffer); in onPeriodicNotification()
DAudioFrequencyMicActivity.java129 private DspWindow mWindow; field in AudioFrequencyMicActivity
192 mWindow = new DspWindow(DspWindow.WINDOW_HANNING, mBlockSizeSamples, overlap); in onCreate()
881 DspBufferMath.mult(mData, mData, mWindow.mBuffer); in onPeriodicNotification()
DAudioFrequencyVoiceRecognitionActivity.java119 private DspWindow mWindow; field in AudioFrequencyVoiceRecognitionActivity
185 DspBufferMath.mult(mData, mData, mWindow.mBuffer); in onCreate()
274 mWindow = new DspWindow(DspWindow.WINDOW_HANNING, BLOCK_SIZE_SAMPLES, overlap); in onCreate()
DAudioFrequencyUnprocessedActivity.java139 private DspWindow mWindow; field in AudioFrequencyUnprocessedActivity
234 mWindow = new DspWindow(DspWindow.WINDOW_HANNING, mBlockSizeSamples, overlap); in onCreate()
1115 DspBufferMath.mult(mData, mData, mWindow.mBuffer); in onPeriodicNotification()