/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/ |
D | EventLogsTest.java | 83 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/ |
D | EventLibDeviceAdminReceiverTest.java | 108 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 …]
|
D | EventLibActivityTest.java | 73 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/ |
D | NotificationListener.java | 56 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/ |
D | TelephonyRegistryManagerTest.java | 73 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/ |
D | EventLogs.java | 75 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/ |
D | EventCapturingTouchListener.java | 61 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/ |
D | DeviceAdminChoosePrivateKeyAliasEventTest.java | 74 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 …]
|
D | DeviceAdminNetworkLogsAvailableEventTest.java | 71 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()
|
D | DeviceAdminOperationSafetyStateChangedEventTest.java | 69 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()
|
D | DeviceAdminPasswordChangedEventTest.java | 69 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()
|
D | DeviceAdminUserStartedEventTest.java | 69 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()
|
D | DeviceAdminPasswordSucceededEventTest.java | 69 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()
|
D | DeviceAdminPasswordExpiringEventTest.java | 69 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()
|
D | DeviceAdminSystemUpdatePendingEventTest.java | 70 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()
|
D | DeviceAdminUserSwitchedEventTest.java | 69 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()
|
D | DeviceAdminUserRemovedEventTest.java | 69 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()
|
D | DeviceAdminUserAddedEventTest.java | 70 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()
|
D | DeviceAdminBugreportFailedEventTest.java | 69 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()
|
D | DeviceAdminLockTaskModeEnteringEventTest.java | 69 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()
|
D | DeviceAdminBugreportSharedEventTest.java | 69 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()
|
D | DeviceAdminUserStoppedEventTest.java | 69 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()
|
D | DeviceAdminPasswordFailedEventTest.java | 69 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()
|
D | DeviceAdminTransferAffiliatedProfileOwnershipCompleteEventTest.java | 69 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()
|
D | DeviceAdminBugreportSharingDeclinedEventTest.java | 66 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()
|