/cts/tests/tests/os/src/android/os/cts/ |
D | FileUtilsTest.java | 39 private File mExpected; field in FileUtilsTest 46 mExpected = File.createTempFile("cts", "expected"); in setUp() 49 try (RandomAccessFile raf = new RandomAccessFile(mExpected, "rw")) { in setUp() 58 mExpected.delete(); in tearDown() 73 try (FileInputStream in = new FileInputStream(mExpected); in testCopyFileStream() 77 assertEquals(mExpected, mActual); in testCopyFileStream() 83 try (FileInputStream in = new FileInputStream(mExpected); in testCopyFileStreamListener() 89 assertEquals(mExpected, mActual); in testCopyFileStreamListener() 90 assertEquals(mExpected.length(), (long) event.get(1, TimeUnit.SECONDS)); in testCopyFileStreamListener() 94 try (FileInputStream in = new FileInputStream(mExpected); in testCopyFileDescriptor() [all …]
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/ |
D | MeanLargerThanVerification.java | 45 private final float[] mExpected; field in MeanLargerThanVerification 55 mExpected = expected; in MeanLargerThanVerification() 98 int meanSize = mExpected.length < means.length ? mExpected.length : means.length; in verify() 101 if ((Math.abs(means[i]) >= mExpected[i] + mThresholds[i])) { in verify() 114 SensorCtsHelper.formatFloatArray(mExpected), in verify() 121 return new MeanLargerThanVerification(mExpected, mThresholds);
|
D | MagnitudeVerification.java | 45 private final float mExpected; field in MagnitudeVerification 58 mExpected = expected; in MagnitudeVerification() 99 boolean failed = Math.abs(mean - mExpected) > mThreshold; in verify() 106 mean, mExpected, mThreshold)); in verify() 115 return new MagnitudeVerification(mExpected, mThreshold); in clone()
|
D | MeanVerification.java | 45 private final float[] mExpected; field in MeanVerification 57 mExpected = expected; in MeanVerification() 119 if (means[i] > mExpected[i] + mUpperThresholds[i]) { in verify() 122 if (means[i] < mExpected[i] - mLowerThresholds[i]) { in verify() 133 SensorCtsHelper.formatFloatArray(mExpected))); in verify() 139 return new MeanVerification(mExpected, mUpperThresholds, mLowerThresholds); in clone()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/ |
D | CharSequenceMatcher.java | 21 private final CharSequence mExpected; field in CharSequenceMatcher 24 mExpected = expected; in CharSequenceMatcher() 29 return actual.toString().equals(mExpected.toString()); in matches() 34 return mExpected.toString(); in toString()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | MultipleTimesRadioGroupListener.java | 36 private final int mExpected; field in MultipleTimesRadioGroupListener 42 mExpected = expectedAutoFilledValue; in MultipleTimesRadioGroupListener() 57 .that(actual).isEqualTo(mExpected); in assertAutoFilled()
|
D | MultipleTimesTextWatcher.java | 42 private final CharSequence mExpected; field in MultipleTimesTextWatcher 48 this.mExpected = expectedAutofillValue; in MultipleTimesTextWatcher() 74 .that(actual).isEqualTo(mExpected.toString()); in assertAutoFilled()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/ |
D | StateComparisonException.java | 26 private Persistence.StateDump mExpected; field in StateComparisonException 32 mExpected = expected; in StateComparisonException() 48 .append(mExpected.toJson().toString(2)) in getMessage()
|
/cts/hostsidetests/car/src/android/car/cts/powerpolicy/ |
D | PowerPolicyTestResult.java | 23 private final TestResultTable mExpected = new TestResultTable(); field in PowerPolicyTestResult 44 mExpected.add(testcase, action, subject, data); in addCriteria() 71 .that(mTestAnalyzer.checkIfTestResultMatch(mExpected, testResult, false)) in checkFullTestResult()
|
/cts/hostsidetests/theme/src/android/theme/cts/ |
D | ComparisonTask.java | 47 private final File mExpected; field in ComparisonTask 52 mExpected = expected; in ComparisonTask() 58 final BufferedImage expected = ImageIO.read(mExpected); in call() 61 final File diff = File.createTempFile("diff_" + mExpected.getName(), ".png"); in call()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | DragDropTest.java | 157 final private ArrayList<LogEntry> mExpected = new ArrayList<LogEntry> (); field in DragDropTest 187 mExpected.add(new LogEntry(v, action, 0, 0, obtainClipData(action), in expectEvent5() 195 mExpected.add(new LogEntry(v, action, x, y, obtainClipData(action), in expectEndEvent() 212 mExpected.add(new LogEntry(v, action, in expectEndEventFailure6() 226 mExpected.add(new LogEntry(v, action, in expectEventWithOffset() 286 fail(message + ":\nExpected event sequence:\n" + logToString(mExpected) + in failWithLogs() 300 if (mExpected.size() != mActual.size()) { in verifyEventLog() 305 if (!mActual.get(i).equals(mExpected.get(i))) { in verifyEventLog() 330 mExpected.clear(); in tearDown()
|
/cts/tests/media/jni/ |
D | NativeExtractorTest.cpp | 251 : mExpected{expected}, mTimeStamp{timeStamp}, mMode{mode} {} in SeekTestParams() 253 AMediaCodecBufferInfo mExpected; member in SeekTestParams 432 if (!isSampleInfoIdentical(&arg->mExpected, &received)) { in checkSeekPoints() 433 ALOGE(" flags exp/got: %d / %d", arg->mExpected.flags, received.flags); in checkSeekPoints() 434 ALOGE(" size exp/got: %d / %d ", arg->mExpected.size, received.size); in checkSeekPoints() 435 ALOGE(" ts exp/got: %" PRId64 " / %" PRId64 "", arg->mExpected.presentationTimeUs, in checkSeekPoints()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | ExtractorTest.java | 867 MediaCodec.BufferInfo mExpected; 872 mExpected = expected; 1005 if (!isSampleInfoIdentical(arg.mExpected, received)) { 1008 Log.d(LOG_TAG, " flags exp/got: " + arg.mExpected.flags + '/' + 1011 " size exp/got: " + arg.mExpected.size + '/' + received.size); 1013 " ts exp/got: " + arg.mExpected.presentationTimeUs + '/' +
|