/packages/modules/Virtualization/tests/hostside/helper/java/com/android/microdroid/test/host/ |
D | CommandResultSubject.java | 32 private final CommandResult mActual; field in CommandResultSubject 44 this.mActual = actual; in CommandResultSubject() 48 check("isSuccess()").that(mActual.getStatus()).isEqualTo(CommandStatus.SUCCESS); in isSuccess() 52 check("isFailed()").that(mActual.getStatus()).isEqualTo(CommandStatus.FAILED); in isFailed() 56 check("isTimedOut()").that(mActual.getStatus()).isEqualTo(CommandStatus.TIMED_OUT); in isTimedOut() 60 check("isException()").that(mActual.getStatus()).isEqualTo(CommandStatus.EXCEPTION); in isException() 64 return check("exitCode()").that(mActual.getExitCode()); in exitCode() 68 return check("stdout()").that(mActual.getStdout().trim()); in stdoutTrimmed() 72 return check("stderr()").that(mActual.getStderr().trim()); in stderrTrimmed()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
D | IoOveruseStatsSubject.java | 35 private final IoOveruseStats mActual; field in IoOveruseStatsSubject 55 this.mActual = subject; in IoOveruseStatsSubject() 60 if (mActual == expected) { in isEqualTo() 63 check("getStartTime()").that(mActual.getStartTime()).isEqualTo(expected.getStartTime()); in isEqualTo() 64 check("getDurationInSeconds()").that(mActual.getDurationInSeconds()) in isEqualTo() 66 check("getTotalOveruses()").that(mActual.getTotalOveruses()) in isEqualTo() 68 check("getTotalTimesKilled()").that(mActual.getTotalTimesKilled()) in isEqualTo() 70 check("getTotalBytesWritten()").that(mActual.getTotalBytesWritten()) in isEqualTo() 72 check("isKillableOnOveruse()").that(mActual.isKillableOnOveruse()) in isEqualTo() 75 .about(PerStateBytesSubject.perStateBytes()).that(mActual.getRemainingWriteBytes()) in isEqualTo()
|
D | PerStateBytesSubject.java | 33 private final PerStateBytes mActual; field in PerStateBytesSubject 48 this.mActual = subject; in PerStateBytesSubject() 53 if (mActual == expected) { in isEqualTo() 56 check("getForegroundModeBytes()").that(mActual.getForegroundModeBytes()) in isEqualTo() 58 check("getBackgroundModeBytes()").that(mActual.getBackgroundModeBytes()) in isEqualTo() 60 check("getGarageModeBytes()").that(mActual.getGarageModeBytes()) in isEqualTo()
|
D | InternalPerStateBytesSubject.java | 35 private final PerStateBytes mActual; field in InternalPerStateBytesSubject 56 this.mActual = subject; in InternalPerStateBytesSubject() 61 if (mActual == expected) { in isEqualTo() 64 check("foregroundBytes").that(mActual.foregroundBytes).isEqualTo(expected.foregroundBytes); in isEqualTo() 65 check("backgroundBytes").that(mActual.backgroundBytes).isEqualTo(expected.backgroundBytes); in isEqualTo() 66 check("garageModeBytes").that(mActual.garageModeBytes).isEqualTo(expected.garageModeBytes); in isEqualTo()
|
D | PackageKillableStateSubject.java | 38 private final Iterable<PackageKillableState> mActual; field in PackageKillableStateSubject 56 Truth.assertThat(mActual) in containsExactlyElementsIn() 75 this.mActual = iterableSubject; in PackageKillableStateSubject()
|
D | ResourceOveruseStatsSubject.java | 38 private final Iterable<ResourceOveruseStats> mActual; field in ResourceOveruseStatsSubject 59 this.mActual = iterableSubject; in ResourceOveruseStatsSubject() 67 Truth.assertThat(mActual) in containsExactlyElementsIn()
|
D | ResourceOveruseConfigurationSubject.java | 40 private final Iterable<ResourceOveruseConfiguration> mActual; field in ResourceOveruseConfigurationSubject 58 Truth.assertThat(mActual) in containsExactlyElementsIn() 83 this.mActual = iterableSubject; in ResourceOveruseConfigurationSubject()
|
D | InternalIoOveruseConfigurationSubject.java | 43 private final Iterable<IoOveruseConfiguration> mActual; field in InternalIoOveruseConfigurationSubject 62 + mActual.toString()).that(mActual) in containsExactlyElementsIn() 124 this.mActual = iterableSubject; in InternalIoOveruseConfigurationSubject()
|
D | InternalResourceOveruseConfigurationSubject.java | 55 private final Iterable<ResourceOveruseConfiguration> mActual; field in InternalResourceOveruseConfigurationSubject 74 + toString(mActual)).that(mActual) in containsExactlyElementsIn() 133 this.mActual = iterableSubject; in InternalResourceOveruseConfigurationSubject()
|
D | IoUsageStatsEntrySubject.java | 39 private final Iterable<WatchdogStorage.IoUsageStatsEntry> mActual; field in IoUsageStatsEntrySubject 70 toString(mActual)).that(mActual).comparingElementsUsing(Correspondence.from( in containsExactlyElementsIn() 156 mActual = iterableSubject; in IoUsageStatsEntrySubject()
|
D | IoOveruseConfigurationSubject.java | 60 private final Iterable<IoOveruseConfiguration> mActual; field in IoOveruseConfigurationSubject 78 Truth.assertThat(mActual) in containsExactlyElementsIn() 103 this.mActual = iterableSubject; in IoOveruseConfigurationSubject()
|
/packages/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/testing/ |
D | LogEntry.java | 97 @Nullable private final LogEntry mActual; field in LogEntry.Subject 101 mActual = (LogEntry) actual; in Subject() 106 check("level").that(mActual.level).isEqualTo(expected); in hasLevel() 112 check("tag").that(mActual.tag).isEqualTo(expected); in hasTag() 118 check("throwable").that(mActual.throwable).isSameInstanceAs(expected); in hasThrowable() 124 check("message").that(mActual.message).isEqualTo(expected); in hasMessage()
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/ |
D | CustomAudienceSubject.java | 49 @Nullable private final JSONObject mActual; field in CustomAudienceSubject 53 this.mActual = actual; in CustomAudienceSubject() 59 Instant.parse(mActual.getString(ACTIVATION_TIME)); in hasValidActivationTime() 109 return mActual.getJSONObject(DAILY_UPDATE); in getBackgroundFetchData()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | AppImportanceFilterTest.java | 354 @Nullable private final ApiCallStats mActual; field in AppImportanceFilterTest.ApiCallStatsSubject 358 this.mActual = (ApiCallStats) actual; in ApiCallStatsSubject() 362 check("getCode()").that(mActual.getCode()).isEqualTo(code); in hasCode() 367 check("getApiClass()").that(mActual.getApiClass()).isEqualTo(apiClass); in hasApiClass() 372 check("getApiName()").that(mActual.getApiName()).isEqualTo(apiName); in hasApiName() 377 check("getResultCode()").that(mActual.getResultCode()).isEqualTo(resultCode); in hasResultCode() 383 .that(mActual.getSdkPackageName()) in hasSdkPackageName() 390 .that(mActual.getAppPackageName()) in hasAppPackageName()
|