Home
last modified time | relevance | path

Searched refs:EventLogsSubject (Results 1 – 23 of 23) sorted by relevance

/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/truth/
DEventLogsSubject.java33 public final class EventLogsSubject<E extends Event> extends Subject { class
38 public static <F extends Event> Factory<EventLogsSubject<F>, EventLogs<F>> eventLogs() { in eventLogs()
39 return EventLogsSubject::new; in eventLogs()
45 public static <F extends Event> EventLogsSubject<F> assertThat(@Nullable EventLogs<F> actual) { in assertThat()
46 return assertAbout(EventLogsSubject.<F>eventLogs()).that(actual); in assertThat()
51 private EventLogsSubject(FailureMetadata metadata, @Nullable EventLogs<E> actual) { in EventLogsSubject() method in EventLogsSubject
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/truth/
DEventLogsSubjectTest.java19 import static com.android.eventlib.truth.EventLogsSubject.assertThat;
20 import static com.android.eventlib.truth.EventLogsSubject.eventLogs;
78 (ExpectFailure.SimpleSubjectBuilderCallback<EventLogsSubject<CustomEvent>, in eventOccurredWithin_eventDidNotOccur_fails()
84 … ExpectFailure.SimpleSubjectBuilderCallback<EventLogsSubject<E>, EventLogs<E>> callback) { in expectFailure()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DDevicePolicyManagementRoleHolderTest.java61 import com.android.eventlib.truth.EventLogsSubject;
144 EventLogsSubject.assertThat(sDeviceState.dpmRoleHolder().events().broadcastReceived() in profileRemoved_roleHolderReceivesBroadcast()
161 EventLogsSubject.assertThat(sDeviceState.dpmRoleHolder().events().broadcastReceived() in profileEntersQuietMode_roleHolderReceivesBroadcast()
181 EventLogsSubject.assertThat(sDeviceState.dpmRoleHolder().events().broadcastReceived() in profileStarted_roleHolderReceivesBroadcast()
DTransferOwnershipTest.kt35 import com.android.eventlib.truth.EventLogsSubject in <lambda>()
36 import com.android.eventlib.truth.EventLogsSubject.assertThat in <lambda>()
DManagedProfileTest.java20 import static com.android.eventlib.truth.EventLogsSubject.assertThat;
DProfileOwnerTest.kt35 import com.android.eventlib.truth.EventLogsSubject in <lambda>()
301 EventLogsSubject.assertThat(it.events().deviceAdminEnabled()).eventOccurred() in <lambda>()
DPendingSystemUpdateTest.kt18 import com.android.eventlib.truth.EventLogsSubject.assertThat
DActivityTest.java21 import static com.android.eventlib.truth.EventLogsSubject.assertThat;
DCheckFinancedTest.java27 import static com.android.eventlib.truth.EventLogsSubject.assertThat;
DDelegationScopesTest.java51 import com.android.eventlib.truth.EventLogsSubject;
473 EventLogsSubject.assertThat(testApp.events().broadcastReceived() in setDelegatedScopes_delegatedPackageReceivesScopesFromBroadcast()
DBugReportTest.kt39 import com.android.eventlib.truth.EventLogsSubject.assertThat in <lambda>()
DUserTest.kt45 import com.android.eventlib.truth.EventLogsSubject.assertThat in <lambda>()
DDeviceOwnerTest.kt48 import com.android.eventlib.truth.EventLogsSubject.assertThat in <lambda>()
DCrossProfileIntentFiltersTest.java25 import static com.android.eventlib.truth.EventLogsSubject.assertThat;
DApplicationRestrictionsTest.java25 import static com.android.eventlib.truth.EventLogsSubject.assertThat;
DSecurityLoggingTest.kt47 import com.android.eventlib.truth.EventLogsSubject.assertThat in <lambda>()
DCrossProfileAppsTest.java34 import static com.android.eventlib.truth.EventLogsSubject.assertThat;
DLockTaskTest.kt67 import com.android.eventlib.truth.EventLogsSubject.assertThat in <lambda>()
DProvisioningTest.kt70 import com.android.eventlib.truth.EventLogsSubject.assertThat in <lambda>()
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/
DEventLogs.java19 import static com.android.eventlib.truth.EventLogsSubject.assertThat;
/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/
DTestAppAppComponentFactoryTest.java22 import static com.android.eventlib.truth.EventLogsSubject.assertThat;
DTestAppInstanceTest.java30 import static com.android.eventlib.truth.EventLogsSubject.assertThat;
/cts/tests/devicepolicy/telephony/src/android/devicepolicy/cts/telephony/
DWorkProfileTelephonyTest.java34 import static com.android.eventlib.truth.EventLogsSubject.assertThat;