/cts/libs/install/src/com/android/cts/install/lib/ |
D | PackageInstallerSessionInfoSubject.java | 28 private final PackageInstaller.SessionInfo mActual; field in PackageInstallerSessionInfoSubject 33 mActual = subject; in PackageInstallerSessionInfoSubject() 54 check(failureMessage("in state READY")).that(mActual.isStagedSessionReady()).isTrue(); 58 check(failureMessage("in state APPLIED")).that(mActual.isStagedSessionApplied()).isTrue(); 62 check(failureMessage("in state FAILED")).that(mActual.isStagedSessionFailed()).isTrue(); 70 return "{" + "appPackageName = " + mActual.getAppPackageName() + "; " 71 + "sessionId = " + mActual.getSessionId() + "; " 72 + "isStagedSessionReady = " + mActual.isStagedSessionReady() + "; " 73 + "isStagedSessionApplied = " + mActual.isStagedSessionApplied() + "; " 74 + "isStagedSessionFailed = " + mActual.isStagedSessionFailed() + "; " [all …]
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/notifications/ |
D | NotificationListenerQuerySubject.kt | 28 private val mActual: NotificationListenerQuery in <lambda>() constant 29 ) : Subject(metadata, mActual) { in <lambda>() 35 if (mActual.poll() == null) { in <lambda>() 39 + mActual + " but it was not posted. Did see: " in <lambda>() 40 + mActual.nonMatchingNotifications() in <lambda>() 51 if (mActual.poll(timeout!!) == null) { in <lambda>() 55 + mActual + " but it was not posted. Did see: " in <lambda>() 56 + mActual.nonMatchingNotifications() in <lambda>()
|
/cts/common/device-side/bedstead/metricsrecorder/src/main/java/com/android/bedstead/metricsrecorder/truth/ |
D | MetricQueryBuilderSubject.java | 47 @Nullable private final MetricQueryBuilder mActual; field in MetricQueryBuilderSubject 51 this.mActual = actual; in MetricQueryBuilderSubject() 58 if (mActual.poll() == null) { in wasLogged() 61 … + mActual + " but it was not logged. Did see: " + mActual.nonMatchingMetrics())); in wasLogged() 69 if (mActual.poll(timeout) == null) { in wasLoggedWithin() 72 + mActual + " but it was not logged.")); in wasLoggedWithin()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | FileUtilsTest.java | 42 private File mActual; field in FileUtilsTest 49 mActual = File.createTempFile("cts", "actual"); in setUp() 61 mActual.delete(); in tearDown() 76 FileOutputStream out = new FileOutputStream(mActual)) { in testCopyFileStream() 79 assertEquals(mExpected, mActual); in testCopyFileStream() 86 FileOutputStream out = new FileOutputStream(mActual)) { in testCopyFileStreamListener() 91 assertEquals(mExpected, mActual); in testCopyFileStreamListener() 97 FileOutputStream out = new FileOutputStream(mActual)) { in testCopyFileDescriptor() 100 assertEquals(mExpected, mActual); in testCopyFileDescriptor() 107 FileOutputStream out = new FileOutputStream(mActual)) { in testCopyFileDescriptorListener() [all …]
|
/cts/libs/rollback/src/com/android/cts/rollback/lib/ |
D | RollbackInfoSubject.java | 36 private final RollbackInfo mActual; field in RollbackInfoSubject 62 mActual = subject; in RollbackInfoSubject() 69 check("getRollbackId()").that(mActual.getRollbackId()).isEqualTo(rollbackId); in hasRollbackId() 76 check("isStaged()").that(mActual.isStaged()).isTrue(); in isStaged() 83 check("isStaged()").that(mActual.isStaged()).isFalse(); in isNotStaged() 92 for (PackageRollbackInfo info : mActual.getPackages()) { in packagesContainsExactly() 108 check("getCausePackages()").that(mActual.getCausePackages()) in causePackagesContainsExactly()
|
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/truth/ |
D | EventLogsSubject.java | 49 @Nullable private final EventLogs<E> mActual; field in EventLogsSubject 53 this.mActual = actual; in EventLogsSubject() 60 E event = mActual.poll(); in eventOccurred() 73 E event = mActual.poll(timeout); in eventOccurredWithin() 85 + mActual + " but it did not occur.")); in fail()
|
/cts/tests/tests/nativemedia/aaudio/jni/ |
D | utils.cpp | 104 mActual{0, 0, AAUDIO_FORMAT_INVALID, -1, -1}, mFramesPerBurst{-1}, 143 mActual.sharingMode = AAudioStream_getSharingMode(mStream); in createAndVerifyStream() 144 if (mActual.sharingMode != mRequested.sharingMode) { in createAndVerifyStream() 153 mActual.sampleRate = AAudioStream_getSampleRate(mStream); in createAndVerifyStream() 154 ASSERT_GE(mActual.sampleRate, kMinValidSampleRate); in createAndVerifyStream() 155 ASSERT_LE(mActual.sampleRate, kMaxValidSampleRate); in createAndVerifyStream() 160 mActual.channelCount = AAudioStream_getChannelCount(mStream); in createAndVerifyStream() 161 ASSERT_GE(mActual.channelCount, kMinValidChannelCount); in createAndVerifyStream() 162 ASSERT_LE(mActual.channelCount, kMaxValidChannelCount); in createAndVerifyStream() 167 mActual.dataFormat = AAudioStream_getFormat(mStream); in createAndVerifyStream() [all …]
|
D | utils.h | 88 const Parameters& actual() const { return mActual; } in actual() 105 Parameters mActual; variable
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/ |
D | StateComparisonException.java | 27 private Persistence.StateDump mActual; field in StateComparisonException 33 mActual = actual; in StateComparisonException() 53 .append(mActual.toJson().toString(2)) in getMessage()
|
/cts/tests/tests/car/src/android/car/cts/utils/watchdog/ |
D | ResourceOveruseConfigurationSubject.java | 39 private final Iterable<ResourceOveruseConfiguration> mActual; field in ResourceOveruseConfigurationSubject 57 Truth.assertThat(mActual) in containsExactlyElementsIn() 82 this.mActual = iterableSubject; in ResourceOveruseConfigurationSubject()
|
D | IoOveruseConfigurationSubject.java | 59 private final Iterable<IoOveruseConfiguration> mActual; field in IoOveruseConfigurationSubject 77 Truth.assertThat(mActual) in containsExactlyElementsIn() 102 this.mActual = iterableSubject; in IoOveruseConfigurationSubject()
|
/cts/hostsidetests/car/app/src/android/car/cts/app/watchdog/ |
D | ResourceOveruseConfigurationSubject.java | 40 private final Iterable<ResourceOveruseConfiguration> mActual; field in ResourceOveruseConfigurationSubject 64 Truth.assertThat(mActual) in containsExactlyElementsIn() 89 this.mActual = iterableSubject; in ResourceOveruseConfigurationSubject()
|
D | IoOveruseConfigurationSubject.java | 59 private final Iterable<IoOveruseConfiguration> mActual; field in IoOveruseConfigurationSubject 77 Truth.assertThat(mActual) in containsExactlyElementsIn() 102 this.mActual = iterableSubject; in IoOveruseConfigurationSubject()
|
/cts/hostsidetests/theme/src/android/theme/cts/ |
D | ComparisonTask.java | 48 private final File mActual; field in ComparisonTask 53 mActual = actual; in ComparisonTask() 59 final BufferedImage actual = ImageIO.read(mActual); in call()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/ |
D | DragDropTest.java | 175 final private ArrayList<LogEntry> mActual = new ArrayList<LogEntry> (); field in DragDropTest 199 mActual.add(new LogEntry(v, ev.getAction(), ev.getX(), ev.getY(), ev.getClipData(), in logEvent() 309 "\nActual event sequence:\n" + logToString(mActual)); in failWithLogs() 322 if (mExpected.size() != mActual.size()) { in verifyEventLog() 326 for (int i = 0; i < mActual.size(); ++i) { in verifyEventLog() 327 if (!mActual.get(i).equals(mExpected.get(i))) { in verifyEventLog() 353 mActual.clear(); in tearDown()
|