Home
last modified time | relevance | path

Searched refs:mInput (Results 1 – 19 of 19) sorted by relevance

/cts/tests/tests/content/src/android/content/res/cts/
DAssetFileDescriptor_AutoCloseInputStreamTest.java39 private AssetFileDescriptor.AutoCloseInputStream mInput; field in AssetFileDescriptor_AutoCloseInputStreamTest
62 assertEquals(FILE_DATA[0], mInput.read()); in testSkip()
63 assertEquals(0, mInput.skip(0)); in testSkip()
64 assertEquals(FILE_DATA[1], mInput.read()); in testSkip()
65 assertEquals(3, mInput.skip(3)); in testSkip()
66 assertEquals(FILE_DATA[5], mInput.read()); in testSkip()
67 assertEquals(3, mInput.skip(10)); in testSkip()
68 assertEquals(FILE_END, mInput.read()); in testSkip()
74 assertEquals(FILE_DATA[i], mInput.read()); in testRead()
76 assertEquals(FILE_END, mInput.read()); in testRead()
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/
DSimpleSaveActivityTest.java117 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testAutoFillOneDatasetAndSave()
126 mActivity.mInput.setText("ID"); in testAutoFillOneDatasetAndSave()
147 () -> mActivity.mInput.setAutofillHints(LARGE_STRING, LARGE_STRING, LARGE_STRING)); in testAutoFillOneDatasetAndSave_largeAssistStructure()
163 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testAutoFillOneDatasetAndSave_largeAssistStructure()
179 mActivity.mInput.setText("ID"); in testAutoFillOneDatasetAndSave_largeAssistStructure()
288 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in saveTest()
293 mActivity.mInput.setText("108"); in saveTest()
333 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testPartitionedSave()
337 mActivity.syncRunOnUiThread(() -> mActivity.mInput.setText("108")); in testPartitionedSave()
389 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testDelayedSave()
[all …]
DSimpleSaveActivity.java41 EditText mInput; field in SimpleSaveActivity
64 mInput = findViewById(R.id.input); in onCreate()
87 mInput.setText(""); in resetFields()
108 mInput.addTextChangedListener(expectation.mInputWatcher); in expectAutoFill()
114 mInput.addTextChangedListener(expectation.mInputWatcher); in expectAutoFill()
120 return mInput; in getInput()
128 mInputWatcher = new OneTimeTextWatcher("input", mInput, input); in FillExpectation()
DAttachedContextActivity.java33 EditText mInput; field in AttachedContextActivity
41 mInput = findViewById(R.id.input); in onCreate()
59 mInput.addTextChangedListener(expectation.mInputWatcher); in expectAutoFill()
67 mInputWatcher = new OneTimeTextWatcher("input", mInput, input); in FillExpectation()
DMultiScreenDifferentActivitiesTest.java61 activity2.syncRunOnUiThread(() -> activity2.mInput.requestFocus()); in testActivityNotDelayedIsNotMerged()
66 activity2.mInput.setText("ID"); in testActivityNotDelayedIsNotMerged()
109 activity2.syncRunOnUiThread(() -> activity2.mInput.requestFocus()); in testDelayedActivityIsMerged()
114 activity2.mInput.setText("ID"); in testDelayedActivityIsMerged()
DFatActivity.java72 private EditText mInput; field in FatActivity
98 mInput = findViewById(R.id.input); in onCreate()
128 assertThat(mInput.getImportantForAutofill()).isEqualTo(IMPORTANT_FOR_AUTOFILL_YES); in onCreate()
164 v.visit(mInput); in onInput()
DDisableAutofillTest.java96 activity.syncRunOnUiThread(() -> activity.mInput.requestFocus()); in launchSimpleSaveActivity()
99 callback.assertUiUnavailableEvent(activity.mInput); in launchSimpleSaveActivity()
107 activity.getAutofillManager().requestAutofill(activity.mInput); in launchSimpleSaveActivity()
110 callback.assertUiShownEvent(activity.mInput); in launchSimpleSaveActivity()
DPreSimpleSaveActivityTest.java188 newActivty.getAutofillManager().requestAutofill(newActivty.mInput); in tapLinkThenTapBackThenStartOverTest()
197 newActivty.mInput.setText("42"); in tapLinkThenTapBackThenStartOverTest()
317 newActivty.getAutofillManager().requestAutofill(newActivty.mInput); in tapLinkLaunchTrampolineActivityThenTapBackAndStartNewSessionTest()
323 newActivty.mInput.setText("42"); in tapLinkLaunchTrampolineActivityThenTapBackAndStartNewSessionTest()
DAttachedContextActivityTest.java56 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus());
DOnClickActionTest.java110 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus());
115 mActivity.mInput.setText("42");
/cts/tests/camera/src/android/hardware/camera2/cts/
Dmeans_yuvx_444_2d_to_1d.rscript22 rs_allocation mInput;
26 uint32_t src_x; // x-offset from mInput
27 uint32_t src_y; // y-offset from mInput
30 // Input: mInput must be yuvf_420
38 uchar py = rsGetElementAtYuv_uchar_Y(mInput, src_x + i, src_y + x);
39 uchar pu = rsGetElementAtYuv_uchar_U(mInput, src_x + i, src_y + x);
40 uchar pv = rsGetElementAtYuv_uchar_V(mInput, src_x + i, src_y + x);
61 // Input: mInput must be yuvx_444
69 yuvx_444 elem = rsGetElementAt_yuvx_444(mInput, src_x + i, src_y + x);
Dcrop_yuvf_420_to_yuvx_444.rscript20 rs_allocation mInput;
26 // Crop each pixel from mInput
29 uchar py = rsGetElementAtYuv_uchar_Y(mInput, x + src_x, y + src_y);
30 uchar pu = rsGetElementAtYuv_uchar_U(mInput, x + src_x, y + src_y);
31 uchar pv = rsGetElementAtYuv_uchar_V(mInput, x + src_x, y + src_y);
Dmeans_yuvx_444_1d_to_single.rscript22 rs_allocation mInput;
28 // Input: mInput must be yuvx_444
36 yuvx_444 elem = rsGetElementAt_yuvx_444(mInput, i);
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DFloat16ArithmeticTest.java42 private Allocation mInput; field in Float16ArithmeticTest
61 mInput = Allocation.createSized(mRS, f16, numInputs); in setUp()
65 mInput.copyFromUnchecked(Float16TestData.input); in setUp()
72 mInput.destroy(); in tearDown()
135 script.set_gInput(mInput); in testFloat16Add()
153 script.set_gInput(mInput); in testFloat16Sub()
171 script.set_gInput(mInput); in testFloat16Mul()
189 script.set_gInput(mInput); in testFloat16Div()
Dyuv.rscript21 rs_allocation mInput;
123 uchar py = rsGetElementAtYuv_uchar_Y(mInput, x, y);
124 uchar pu = rsGetElementAtYuv_uchar_U(mInput, x, y);
125 uchar pv = rsGetElementAtYuv_uchar_V(mInput, x, y);
136 uchar py = rsGetElementAtYuv_uchar_Y(mInput, x, y);
137 uchar pu = rsGetElementAtYuv_uchar_U(mInput, x, y);
138 uchar pv = rsGetElementAtYuv_uchar_V(mInput, x, y);
/cts/suite/audio_quality/lib/src/task/
DTaskProcess.cpp160 if (mInput.size() != info->mNInput) { in doRun()
161 LOGE("TaskProcess::runBuiltin size mismatch %d vs %d", mInput.size(), info->mNInput); in doRun()
182 if (!prepareParams(mInput, builtIn ? info->mInputTypes : NULL, inputs, inputValues, in doRun()
196 std::unique_ptr<bool[]> inputTypes(new bool[mInput.size()]); in doRun()
197 for (size_t i = 0; i < mInput.size(); i++) { in doRun()
198 (inputTypes.get())[i] = mInput[i].isIdType(); in doRun()
205 mInput.size(), inputTypes.get(), inputs.get(), in doRun()
320 return parseParams(mInput, value, true); in parseAttribute()
/cts/suite/audio_quality/client/src/com/android/cts/audiotest/
DAudioProtocol.java69 private InputStream mInput = null; field in AudioProtocol
190 mInput = null; in reset()
222 read(mInput, mDataBuffer, 4); // only for id in handleDownload()
226 read(mInput, data, dataLength); in handleDownload()
235 read(mInput, mDataBuffer, len); in handleStartPlayback()
332 read(mInput, mDataBuffer, len); in handleStartRecording()
520 mInput = mClient.getInputStream(); in run()
531 read(mInput, mHeaderBuffer, PROTOCOL_HEADER_SIZE); in run()
/cts/suite/audio_quality/lib/include/task/
DTaskProcess.h86 std::vector<Param> mInput; variable
/cts/tests/tests/media/src/android/media/cts/
DMediaCodecTest.java2225 ByteBufferStream mInput; field in MediaCodecTest.ByteBufferInputStream
2229 mInput = in; in ByteBufferInputStream()
2237 mBuffer = mInput.read(); in read()