Home
last modified time | relevance | path

Searched refs:poll (Results 1 – 25 of 194) sorted by relevance

12345678

/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/
DEventLogsTest.java83 CustomEvent.queryPackage(sContext.getPackageName()).poll(); in teardown()
87 CustomEvent.queryPackage(TEST_APP_PACKAGE_NAME).poll(); in teardown()
100 assertThat(eventLogs.poll(VERY_SHORT_POLL_WAIT)).isNull(); in resetLogs_poll_doesNotReturnLogs()
110 assertThat(eventLogs.poll(VERY_SHORT_POLL_WAIT)).isNull(); in resetLogs_differentPackage_poll_doesNotReturnLogs()
118 assertThat(eventLogs.poll(VERY_SHORT_POLL_WAIT)).isNull(); in poll_nothingLogged_returnsNull()
127 assertThat(eventLogs.poll(VERY_SHORT_POLL_WAIT)).isNull(); in poll_loggedAfter_returnsNull()
135 assertThat(eventLogs.poll(VERY_SHORT_POLL_WAIT)).isNull(); in poll_differentPackage_nothingLogged_returnsNull()
144 assertThat(eventLogs.poll(VERY_SHORT_POLL_WAIT)).isNull(); in poll_differentPackage_loggedAfter_returnsNull()
155 assertThat(eventLogs.poll().data()).isEqualTo(DATA_2); in poll_loggedOnTwoPackages_returnsEventFromQueriedPackage()
172 assertThat(eventLogs.poll().data()).isEqualTo(DATA_1); in poll_alreadyLogged_returnsFirstEvent()
[all …]
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/premade/
DEventLibDeviceAdminReceiverTest.java108 assertThat(eventLogs.poll()).isNotNull(); in enableDeviceOwner_logsEnabledEvent()
124 assertThat(eventLogs.poll()).isNotNull(); in enableProfileOwner_logsEnabledEvent()
138 assertThat(eventLogs.poll().intent()).isEqualTo(sIntent); in disableProfileOwner_logsDisableRequestedEvent()
149 assertThat(eventLogs.poll().intent()).isEqualTo(sIntent); in disableProfileOwner_logsDisabledEvent()
160 assertThat(eventLogs.poll().intent()).isEqualTo(sIntent); in changePassword_logsPasswordChangedEvent()
171 DeviceAdminPasswordChangedEvent event = eventLogs.poll(); in changePasswordWithUserHandle_logsPasswordChangedEvent()
184 assertThat(eventLogs.poll().intent()).isEqualTo(sIntent); in failPassword_logsPasswordFailedEvent()
195 DeviceAdminPasswordFailedEvent event = eventLogs.poll(); in failPasswordWithUserHandle_logsPasswordFailedEvent()
208 assertThat(eventLogs.poll().intent()).isEqualTo(sIntent); in succeedPassword_logsPasswordSucceededEvent()
219 DeviceAdminPasswordSucceededEvent event = eventLogs.poll(); in succeedPasswordWithUserHandle_logsPasswordSucceededEvent()
[all …]
DEventLibActivityTest.java73 assertThat(eventLogs.poll()).isNotNull(); in launchEventLibActivity_logsActivityCreatedEvent()
87 assertThat(eventLogs.poll()).isNotNull(); in launchEventLibActivity_withGeneratedActivityClass_logsActivityCreatedEventWithCorrectClassName()
104 assertThat(eventLogs.poll()).isNotNull(); in startEventLibActivity_logsActivityStartedEvent()
121 assertThat(eventLogs.poll()).isNotNull(); in startEventLibActivity_withGeneratedActivityClass_logsActivityStartedEventWithCorrectClassName()
138 assertThat(eventLogs.poll()).isNotNull(); in stopEventLibActivity_logsActivityStoppedEvent()
155 assertThat(eventLogs.poll()).isNotNull(); in stopEventLibActivity_withGeneratedActivityClass_logsActivityStoppedEventWithCorrectClassName()
172 assertThat(eventLogs.poll()).isNotNull(); in destroyEventLibActivity_logsActivityDestroyedEvent()
189 assertThat(eventLogs.poll()).isNotNull(); in destroyEventLibActivity_withGeneratedActivityClass_logsActivityDestroyedEventWithCorrectClassName()
208 assertThat(eventLogs.poll()).isNotNull(); in pauseEventLibActivity_logsActivityPausedEvent()
227 assertThat(eventLogs.poll()).isNotNull(); in pauseEventLibActivity_withGeneratedActivityClass_logsActivityPausedEventWithCorrectClassName()
[all …]
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/notifications/
DNotificationListener.java56 public @Nullable StatusBarNotification poll() { in poll() method in NotificationListener
57 return query().poll(); in poll()
63 public @Nullable StatusBarNotification poll(Duration duration) { in poll() method in NotificationListener
64 return query().poll(duration); in poll()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DTelephonyRegistryManagerTest.java73 queue.poll(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in testNotifyCallStateChangedForAllSubscriptions()
80 Pair<Integer, String> result = queue.poll(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in testNotifyCallStateChangedForAllSubscriptions()
101 queue.poll(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in testNotifyCallStateChanged()
111 Pair<Integer, String> result = queue.poll(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in testNotifyCallStateChanged()
131 queue.poll(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in testNotifyServiceStateChanged()
142 ServiceState result = queue.poll(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in testNotifyServiceStateChanged()
161 queue.poll(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in testNotifySignalStrengthChanged()
171 SignalStrength result = queue.poll(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in testNotifySignalStrengthChanged()
190 queue.poll(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in testNotifyMessageWaitingChanged()
200 boolean result = queue.poll(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in testNotifyMessageWaitingChanged()
[all …]
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/
DEventLogs.java75 public E poll(Duration timeout) { in poll() method in EventLogs
76 return getQuerier().poll(sEarliestLogTime, timeout); in poll()
86 public E poll() { in poll() method in EventLogs
87 return poll(DEFAULT_POLL_TIMEOUT); in poll()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DEventCapturingTouchListener.java61 MotionEvent event = events.poll(MIN_WAIT_TIME_SECONDS, SECONDS); in assertNonePropagated()
82 ev = events.poll(WAIT_TIME_SECONDS, SECONDS); in assertPropagated()
89 ev = events.poll(WAIT_TIME_SECONDS, SECONDS); in assertPropagated()
101 ev = events.poll(WAIT_TIME_SECONDS, SECONDS); in assertPropagated()
113 ev = events.poll(WAIT_TIME_SECONDS, SECONDS); in getRawEvents()
116 ev = events.poll(WAIT_TIME_SECONDS, SECONDS); in getRawEvents()
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/events/deviceadminreceivers/
DDeviceAdminChoosePrivateKeyAliasEventTest.java74 assertThat(eventLogs.poll().intent()).isEqualTo(intent); in whereIntent_works()
91 assertThat(eventLogs.poll().intent()).isEqualTo(intent); in whereIntent_skipsNonMatching()
106 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_works()
126 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
140 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_works()
159 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
173 assertThat(eventLogs.poll().uid()).isEqualTo(UID); in whereUid_works()
189 assertThat(eventLogs.poll().uid()).isEqualTo(UID); in whereUid_skipsNonMatching()
202 assertThat(eventLogs.poll().uri()).isEqualTo(URI); in whereUri_works()
218 assertThat(eventLogs.poll().uri()).isEqualTo(URI); in whereUri_skipsNonMatching()
[all …]
DDeviceAdminNetworkLogsAvailableEventTest.java71 assertThat(eventLogs.poll().intent()).isEqualTo(intent); in whereIntent_works()
88 assertThat(eventLogs.poll().intent()).isEqualTo(intent); in whereIntent_skipsNonMatching()
102 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_works()
122 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
136 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_works()
155 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
168 assertThat(eventLogs.poll().batchToken()).isEqualTo(BATCH_TOKEN); in whereBatchToken_works()
182 assertThat(eventLogs.poll().batchToken()).isEqualTo(BATCH_TOKEN); in whereBatchToken_skipsNonMatching()
194 assertThat(eventLogs.poll().networkLogsCount()).isEqualTo(NETWORK_LOGS_COUNT); in whereNetworkLogsCount_works()
208 assertThat(eventLogs.poll().networkLogsCount()).isEqualTo(NETWORK_LOGS_COUNT); in whereNetworkLogsCount_skipsNonMatching()
DDeviceAdminOperationSafetyStateChangedEventTest.java69 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_works()
89 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
103 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_works()
122 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
135 assertThat(eventLogs.poll().reason()).isEqualTo(REASON); in whereReason_works()
149 assertThat(eventLogs.poll().reason()).isEqualTo(REASON); in whereReason_skipsNonMatching()
161 assertThat(eventLogs.poll().isSafe()).isEqualTo(IS_SAFE); in whereIsSafe_works()
175 assertThat(eventLogs.poll().isSafe()).isEqualTo(IS_SAFE); in whereIsSafe_skipsNonMatching()
DDeviceAdminPasswordChangedEventTest.java69 assertThat(eventLogs.poll().intent()).isEqualTo(intent); in whereIntent_works()
85 assertThat(eventLogs.poll().intent()).isEqualTo(intent); in whereIntent_skipsNonMatching()
99 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_works()
117 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
130 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_works()
147 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
161 assertThat(eventLogs.poll().userHandle()).isEqualTo(USER_HANDLE); in whereUserHandle_works()
177 assertThat(eventLogs.poll().userHandle()).isEqualTo(USER_HANDLE); in whereUserHandle_skipsNonMatching()
DDeviceAdminUserStartedEventTest.java69 assertThat(eventLogs.poll().intent()).isEqualTo(intent); in whereIntent_works()
85 assertThat(eventLogs.poll().intent()).isEqualTo(intent); in whereIntent_skipsNonMatching()
99 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_works()
117 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
130 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_works()
147 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
161 assertThat(eventLogs.poll().startedUser()).isEqualTo(USER_HANDLE); in whereStartedUser_works()
177 assertThat(eventLogs.poll().startedUser()).isEqualTo(USER_HANDLE); in whereStartedUser_skipsNonMatching()
DDeviceAdminPasswordSucceededEventTest.java69 assertThat(eventLogs.poll().intent()).isEqualTo(intent); in whereIntent_works()
85 assertThat(eventLogs.poll().intent()).isEqualTo(intent); in whereIntent_skipsNonMatching()
99 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_works()
117 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
130 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_works()
147 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
161 assertThat(eventLogs.poll().userHandle()).isEqualTo(USER_HANDLE); in whereUserHandle_works()
177 assertThat(eventLogs.poll().userHandle()).isEqualTo(USER_HANDLE); in whereUserHandle_skipsNonMatching()
DDeviceAdminPasswordExpiringEventTest.java69 assertThat(eventLogs.poll().intent()).isEqualTo(intent); in whereIntent_works()
85 assertThat(eventLogs.poll().intent()).isEqualTo(intent); in whereIntent_skipsNonMatching()
99 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_works()
117 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
130 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_works()
147 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
161 assertThat(eventLogs.poll().user()).isEqualTo(USER_HANDLE); in whereUserHandle_works()
177 assertThat(eventLogs.poll().user()).isEqualTo(USER_HANDLE); in whereUserHandle_skipsNonMatching()
DDeviceAdminSystemUpdatePendingEventTest.java70 assertThat(eventLogs.poll().intent()).isEqualTo(intent); in whereIntent_works()
88 assertThat(eventLogs.poll().intent()).isEqualTo(intent); in whereIntent_skipsNonMatching()
103 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_customValueOnLogger_works()
123 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
138 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_works()
157 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
172 assertThat(eventLogs.poll().receivedTime()).isEqualTo(RECEIVED_TIME); in whereReceivedTime_works()
190 assertThat(eventLogs.poll().receivedTime()).isEqualTo(RECEIVED_TIME); in whereReceivedTime_skipsNonMatching()
DDeviceAdminUserSwitchedEventTest.java69 assertThat(eventLogs.poll().intent()).isEqualTo(intent); in whereIntent_works()
85 assertThat(eventLogs.poll().intent()).isEqualTo(intent); in whereIntent_skipsNonMatching()
99 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_works()
117 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
130 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_works()
147 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
161 assertThat(eventLogs.poll().switchedUser()).isEqualTo(USER_HANDLE); in whereSwitchedUser_works()
177 assertThat(eventLogs.poll().switchedUser()).isEqualTo(USER_HANDLE); in whereSwitchedUser_skipsNonMatching()
DDeviceAdminUserRemovedEventTest.java69 assertThat(eventLogs.poll().intent()).isEqualTo(intent); in whereIntent_works()
85 assertThat(eventLogs.poll().intent()).isEqualTo(intent); in whereIntent_skipsNonMatching()
99 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_works()
117 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
130 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_works()
147 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
161 assertThat(eventLogs.poll().removedUser()).isEqualTo(USER_HANDLE); in whereRemovedUser_works()
177 assertThat(eventLogs.poll().removedUser()).isEqualTo(USER_HANDLE); in whereRemovedUser_skipsNonMatching()
DDeviceAdminUserAddedEventTest.java70 assertThat(eventLogs.poll().intent()).isEqualTo(intent); in whereIntent_works()
87 assertThat(eventLogs.poll().intent()).isEqualTo(intent); in whereIntent_skipsNonMatching()
101 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_works()
119 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
133 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_works()
150 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
164 assertThat(eventLogs.poll().addedUser()).isEqualTo(USER_HANDLE); in whereAddedUser_works()
180 assertThat(eventLogs.poll().addedUser()).isEqualTo(USER_HANDLE); in whereAddedUser_skipsNonMatching()
DDeviceAdminBugreportFailedEventTest.java69 assertThat(eventLogs.poll().intent()).isEqualTo(intent); in whereIntent_works()
86 assertThat(eventLogs.poll().intent()).isEqualTo(intent); in whereIntent_skipsNonMatching()
101 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_works()
121 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
135 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_works()
154 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
167 assertThat(eventLogs.poll().failureCode()).isEqualTo(FAILURE_CODE); in whereFailureCode_works()
181 assertThat(eventLogs.poll().failureCode()).isEqualTo(FAILURE_CODE); in whereFailureCode_skipsNonMatching()
DDeviceAdminLockTaskModeEnteringEventTest.java69 assertThat(eventLogs.poll().intent()).isEqualTo(intent); in whereIntent_works()
86 assertThat(eventLogs.poll().intent()).isEqualTo(intent); in whereIntent_skipsNonMatching()
100 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_works()
118 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
132 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_works()
149 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
162 assertThat(eventLogs.poll().pkg()).isEqualTo(PKG); in wherePkg_works()
177 assertThat(eventLogs.poll().pkg()).isEqualTo(PKG); in wherePkg_skipsNonMatching()
DDeviceAdminBugreportSharedEventTest.java69 assertThat(eventLogs.poll().intent()).isEqualTo(intent); in whereIntent_works()
86 assertThat(eventLogs.poll().intent()).isEqualTo(intent); in whereIntent_skipsNonMatching()
101 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_works()
121 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
135 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_works()
154 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
167 assertThat(eventLogs.poll().bugreportHash()).isEqualTo(BUGREPORT_HASH); in whereBugreportHash_works()
181 assertThat(eventLogs.poll().bugreportHash()).isEqualTo(BUGREPORT_HASH); in whereBugreportHash_skipsNonMatching()
DDeviceAdminUserStoppedEventTest.java69 assertThat(eventLogs.poll().intent()).isEqualTo(intent); in whereIntent_works()
85 assertThat(eventLogs.poll().intent()).isEqualTo(intent); in whereIntent_skipsNonMatching()
99 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_works()
117 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
130 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_works()
147 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
161 assertThat(eventLogs.poll().stoppedUser()).isEqualTo(USER_HANDLE); in whereStoppedUser_works()
177 assertThat(eventLogs.poll().stoppedUser()).isEqualTo(USER_HANDLE); in whereStoppedUser_skipsNonMatching()
DDeviceAdminPasswordFailedEventTest.java69 assertThat(eventLogs.poll().intent()).isEqualTo(intent); in whereIntent_works()
85 assertThat(eventLogs.poll().intent()).isEqualTo(intent); in whereIntent_skipsNonMatching()
99 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_works()
117 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
130 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_works()
147 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
161 assertThat(eventLogs.poll().userHandle()).isEqualTo(USER_HANDLE); in whereUserHandle_works()
177 assertThat(eventLogs.poll().userHandle()).isEqualTo(USER_HANDLE); in whereUserHandle_skipsNonMatching()
DDeviceAdminTransferAffiliatedProfileOwnershipCompleteEventTest.java69 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_works()
90 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
105 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_works()
125 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()
140 assertThat(eventLogs.poll().user()).isEqualTo(USER_HANDLE); in whereUser_works()
157 assertThat(eventLogs.poll().user()).isEqualTo(USER_HANDLE); in whereUserHandle_skipsNonMatching()
DDeviceAdminBugreportSharingDeclinedEventTest.java66 assertThat(eventLogs.poll().intent()).isEqualTo(intent); in whereIntent_works()
81 assertThat(eventLogs.poll().intent()).isEqualTo(intent); in whereIntent_skipsNonMatching()
95 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_works()
113 assertThat(eventLogs.poll().deviceAdminReceiver().className()).isEqualTo( in whereDeviceAdminReceiver_customValueOnLogger_skipsNonMatching()
126 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_works()
143 assertThat(eventLogs.poll().deviceAdminReceiver().className()) in whereDeviceAdminReceiver_defaultValue_skipsNonMatching()

12345678