/cts/tests/tests/gesture/src/android/gesture/cts/ |
D | GestureStrokeTest.java | 32 private LineGestureStrokeHelper mHelper; field in GestureStrokeTest 36 mHelper = new LineGestureStrokeHelper(); in setUp() 43 GestureStroke emptyStroke = mHelper.createGestureStroke(); in testGetPath_empty() 52 GestureStroke emptyStroke = mHelper.createGestureStroke(new GesturePoint(0, 0, 0)); in testGetPath_singlePoint() 62 GestureStroke lineStroke = mHelper.createLineGesture(); in testGetPath_line() 64 mHelper.assertLineBoundingBox(linePath); in testGetPath_line() 73 GestureStroke lineStroke = mHelper.createLineGesture(); in testToPath_line() 79 mHelper.assertLineBoundingBox(linePath); in testToPath_line() 90 GestureStroke lineStroke = mHelper.createLineGesture(); in testToPath_boundedLine() 110 GestureStroke line = mHelper.createLineGesture(); in testComputeOrientedBoundingBox() [all …]
|
/cts/tests/tests/util/src/android/util/cts/ |
D | MonthDisplayHelperTest.java | 160 MonthDisplayHelper mHelper = new MonthDisplayHelper(2007, Calendar.SEPTEMBER, in testPrevMonth() local 163 assertArrayEquals(new int[] { 26, 27, 28, 29, 30, 31, 1 }, mHelper.getDigitsForRow(0)); in testPrevMonth() 165 mHelper.previousMonth(); in testPrevMonth() 167 assertEquals(Calendar.AUGUST, mHelper.getMonth()); in testPrevMonth() 168 assertArrayEquals(new int[] { 29, 30, 31, 1, 2, 3, 4 }, mHelper.getDigitsForRow(0)); in testPrevMonth() 170 mHelper = new MonthDisplayHelper(2007, Calendar.JANUARY); in testPrevMonth() 172 mHelper.previousMonth(); in testPrevMonth() 174 assertEquals(2006, mHelper.getYear()); in testPrevMonth() 175 assertEquals(Calendar.DECEMBER, mHelper.getMonth()); in testPrevMonth() 180 MonthDisplayHelper mHelper = new MonthDisplayHelper(2007, Calendar.SEPTEMBER, in testIsWithinCurrentMonth() local [all …]
|
/cts/tests/tests/nativemedia/aaudio/jni/ |
D | test_aaudio.cpp | 50 AAudioStreamBuilder* builder() const { return mHelper->builder(); } in builder() 51 AAudioStream* stream() const { return mHelper->stream(); } in stream() 52 const StreamBuilderHelper::Parameters& actual() const { return mHelper->actual(); } in actual() 53 int32_t framesPerBurst() const { return mHelper->framesPerBurst(); } in framesPerBurst() 106 aaudio_format_t format = AAudioStream_getFormat(mHelper->stream()); in getDataBuffer() 122 aaudio_format_t format = AAudioStream_getFormat(mHelper->stream()); in allocateDataBuffer() 149 mHelper->startStream(); in testTimestamp() 181 mHelper->stopStream(); in testTimestamp() 191 std::unique_ptr<T> mHelper; member in AAudioStreamTest 211 mHelper.reset(new InputStreamBuilderHelper( in SetUp() [all …]
|
D | test_aaudio_callback.cpp | 147 AAudioStreamBuilder* builder() const { return mHelper->builder(); } in builder() 148 AAudioStream* stream() const { return mHelper->stream(); } in stream() 149 const StreamBuilderHelper::Parameters& actual() const { return mHelper->actual(); } in actual() 151 std::unique_ptr<T> mHelper; member in AAudioStreamCallbackTest 186 mHelper.reset(new InputStreamBuilderHelper( in SetUp() 191 mHelper->initBuilder(); in SetUp() 208 mHelper->createAndVerifyStream(&mSetupSuccesful); in SetUp() 215 ASSERT_FALSE(AAudioExtensions::getInstance().isMMapUsed(mHelper->stream())); in SetUp() 241 mHelper->startStream(); in TEST_P() 253 mHelper->waitForState(AAUDIO_STREAM_STATE_STOPPED); in TEST_P() [all …]
|
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/db/ |
D | Database.java | 34 private final SQLiteOpenHelper mHelper; field in Database 44 mHelper = new SQLiteOpenHelper(context, name, null /* factory */, version) { in Database() 90 return mHelper.getReadableDatabase() in query() 104 return mHelper.getWritableDatabase().insert(table, null /* nullColumnHack */, values); in insert() 119 return mHelper.getWritableDatabase().delete(table, selection, selectionArgs); in delete() 136 return mHelper.getWritableDatabase().update(table, values, selection, selectionArgs); in update() 143 mHelper.close(); in close()
|
/cts/tests/camera/src/android/hardware/cts/ |
D | LegacyCameraPerformanceTest.java | 52 private CameraPerformanceTestHelper mHelper; field in LegacyCameraPerformanceTest 58 mHelper = new CameraPerformanceTestHelper(); in setUp() 64 if (mHelper.getCamera() != null) { in tearDown() 65 mHelper.getCamera().release(); in tearDown() 93 mHelper.initializeMessageLooper(id); in testLegacyApiPerformance() 96 Parameters parameters = mHelper.getCamera().getParameters(); in testLegacyApiPerformance() 108 mHelper.getCamera().setParameters(parameters); in testLegacyApiPerformance() 112 mHelper.getCamera().setPreviewTexture(previewTexture); in testLegacyApiPerformance() 114 mHelper.startPreview(); in testLegacyApiPerformance() 119 mHelper.autoFocus(); in testLegacyApiPerformance() [all …]
|
/cts/libs/helpers/core/src/com/android/cts/helpers/ |
D | DeviceInteractionHelperRule.java | 81 private T mHelper; field in DeviceInteractionHelperRule 122 if (mHelper == null) { in getHelper() 125 return mHelper; in getHelper() 227 mHelper = mHelperManager.get(mHelperClass, classMatch); in evaluate() 234 if (mHelper == null) { in evaluate()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | VideoCodecTestBase.java | 907 private MediaEncoderAsyncHelper mHelper; field in VideoCodecTestBase.MediaEncoderAsync 915 if (mHelper == null) { 920 byte[] encFrame = mHelper.getInputFrame(); 953 if (mHelper == null) { 998 if (mHelper.saveOutputFrame(out)) { 1030 mHelper = helper; in setAsyncHelper()
|