Home
last modified time | relevance | path

Searched refs:dispatchAll (Results 1 – 25 of 116) sorted by relevance

12345

/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DResendCecCommandActionPlaybackTest.java100 mTestLooper.dispatchAll(); in setUp()
103 mTestLooper.dispatchAll(); in setUp()
111 mTestLooper.dispatchAll(); in sendCecCommand_activeSource_sendMessageFails_resendMessage()
115 mTestLooper.dispatchAll(); in sendCecCommand_activeSource_sendMessageFails_resendMessage()
120 mTestLooper.dispatchAll(); in sendCecCommand_activeSource_sendMessageFails_resendMessage()
125 mTestLooper.dispatchAll(); in sendCecCommand_activeSource_sendMessageFails_resendMessage()
130 mTestLooper.dispatchAll(); in sendCecCommand_activeSource_sendMessageFails_resendMessage()
138 mTestLooper.dispatchAll(); in sendCecCommand_inactiveSource_sendMessageFails_resendMessage()
142 mTestLooper.dispatchAll(); in sendCecCommand_inactiveSource_sendMessageFails_resendMessage()
147 mTestLooper.dispatchAll(); in sendCecCommand_inactiveSource_sendMessageFails_resendMessage()
[all …]
DHdmiCecLocalDeviceTvTest.java232 mTestLooper.dispatchAll(); in setUp()
264 mTestLooper.dispatchAll(); in initiateArcAndValidate()
276 mTestLooper.dispatchAll(); in initiateArcAndValidate()
279 mTestLooper.dispatchAll(); in initiateArcAndValidate()
292 mTestLooper.dispatchAll(); in initateSamAndValidate()
307 mTestLooper.dispatchAll(); in initateSamAndValidate()
324 mTestLooper.dispatchAll(); in onAddressAllocated_invokesDeviceDiscovery()
353 mTestLooper.dispatchAll(); in getActiveSource_deviceInNetworkIsActiveSource()
408 mTestLooper.dispatchAll(); in tvWakeOnOneTouchPlay_TextViewOn_Enabled()
413 mTestLooper.dispatchAll(); in tvWakeOnOneTouchPlay_TextViewOn_Enabled()
[all …]
DResendCecCommandActionTvTest.java102 mTestLooper.dispatchAll(); in setUp()
105 mTestLooper.dispatchAll(); in setUp()
113 mTestLooper.dispatchAll(); in sendCecCommand_activeSource_sendMessageFails_resendMessage()
117 mTestLooper.dispatchAll(); in sendCecCommand_activeSource_sendMessageFails_resendMessage()
122 mTestLooper.dispatchAll(); in sendCecCommand_activeSource_sendMessageFails_resendMessage()
127 mTestLooper.dispatchAll(); in sendCecCommand_activeSource_sendMessageFails_resendMessage()
132 mTestLooper.dispatchAll(); in sendCecCommand_activeSource_sendMessageFails_resendMessage()
140 mTestLooper.dispatchAll(); in sendCecCommand_inactiveSource_sendMessageFails_resendMessage()
144 mTestLooper.dispatchAll(); in sendCecCommand_inactiveSource_sendMessageFails_resendMessage()
149 mTestLooper.dispatchAll(); in sendCecCommand_inactiveSource_sendMessageFails_resendMessage()
[all …]
DRequestSadActionTest.java140 mTestLooper.dispatchAll(); in setUp()
151 mTestLooper.dispatchAll(); in noResponse_queryAgainOnce_emptyResult()
160 mTestLooper.dispatchAll(); in noResponse_queryAgainOnce_emptyResult()
163 mTestLooper.dispatchAll(); in noResponse_queryAgainOnce_emptyResult()
179 mTestLooper.dispatchAll(); in noResponse_queryAgainOnce_emptyResult()
181 mTestLooper.dispatchAll(); in noResponse_queryAgainOnce_emptyResult()
183 mTestLooper.dispatchAll(); in noResponse_queryAgainOnce_emptyResult()
185 mTestLooper.dispatchAll(); in noResponse_queryAgainOnce_emptyResult()
187 mTestLooper.dispatchAll(); in noResponse_queryAgainOnce_emptyResult()
189 mTestLooper.dispatchAll(); in noResponse_queryAgainOnce_emptyResult()
[all …]
DHdmiControlServiceTest.java197 mTestLooper.dispatchAll(); in setUp()
230 mTestLooper.dispatchAll(); in playbackOnlyDevice_onStandbyCompleted_disableCecController()
243 mTestLooper.dispatchAll(); in playbackOnlyDevice_onStandbyCompleted_disableCecController()
265 mTestLooper.dispatchAll(); in playbackAndAudioDevice_onStandbyCompleted_doNotDisableCecController()
279 mTestLooper.dispatchAll(); in onStandby_acquireAndReleaseWakeLockSuccessfully()
349 mTestLooper.dispatchAll(); in normalBoot_queuedActionsStartedAfterBoot()
360 mTestLooper.dispatchAll(); in initialPowerStatus_normalBoot_goToStandby_broadcastsPowerStatus_2_0()
364 mTestLooper.dispatchAll(); in initialPowerStatus_normalBoot_goToStandby_broadcastsPowerStatus_2_0()
370 mTestLooper.dispatchAll(); in initialPowerStatus_normalBoot_goToStandby_broadcastsPowerStatus_2_0()
458 mTestLooper.dispatchAll(); in setRcProfileSourceDeviceTestHelper()
[all …]
DDevicePowerStatusActionTest.java117 mTestLooper.dispatchAll(); in setUp()
121 mTestLooper.dispatchAll(); in setUp()
128 mTestLooper.dispatchAll(); in queryDisplayStatus_sendsRequestAndHandlesResponse()
141 mTestLooper.dispatchAll(); in queryDisplayStatus_sendsRequestAndHandlesResponse()
152 mTestLooper.dispatchAll(); in queryDisplayStatus_sendsRequest_nack()
164 mTestLooper.dispatchAll(); in queryDisplayStatus_sendsRequest_timeout_retriesSuccessfully()
169 mTestLooper.dispatchAll(); in queryDisplayStatus_sendsRequest_timeout_retriesSuccessfully()
179 mTestLooper.dispatchAll(); in queryDisplayStatus_sendsRequest_timeout_retriesSuccessfully()
187 mTestLooper.dispatchAll(); in queryDisplayStatus_sendsRequest_timeout_retriesFailure()
195 mTestLooper.dispatchAll(); in queryDisplayStatus_sendsRequest_timeout_retriesFailure()
[all …]
DOneTouchPlayActionTest.java132 mTestLooper.dispatchAll(); in setUp()
148 mTestLooper.dispatchAll(); in succeedWithUnknownTvDevice()
156 mTestLooper.dispatchAll(); in succeedWithUnknownTvDevice()
180 mTestLooper.dispatchAll(); in succeedWithUnknownTvDevice()
193 mTestLooper.dispatchAll(); in succeedAfterGettingPowerStatusOn_Cec14b()
197 mTestLooper.dispatchAll(); in succeedAfterGettingPowerStatusOn_Cec14b()
205 mTestLooper.dispatchAll(); in succeedAfterGettingPowerStatusOn_Cec14b()
229 mTestLooper.dispatchAll(); in succeedAfterGettingPowerStatusOn_Cec14b()
242 mTestLooper.dispatchAll(); in succeedAfterGettingTransientPowerStatus_Cec14b()
246 mTestLooper.dispatchAll(); in succeedAfterGettingTransientPowerStatus_Cec14b()
[all …]
DHdmiCecControllerTest.java139 mTestLooper.dispatchAll(); in setUpForOnMessageTest()
142 mTestLooper.dispatchAll(); in setUpForOnMessageTest()
149 mTestLooper.dispatchAll(); in testAllocateLogicalAddress_TvDevicePreferredNotOccupied()
156 mTestLooper.dispatchAll(); in testAllocateLogicalAddress_TvDeviceNonPreferredNotOccupied()
164 mTestLooper.dispatchAll(); in testAllocateLogicalAddress_TvDeviceNonPreferredFirstOccupied()
173 mTestLooper.dispatchAll(); in testAllocateLogicalAddress_TvDeviceNonPreferredAllOccupied()
181 mTestLooper.dispatchAll(); in testAllocateLogicalAddress_AudioSystemNonPreferredNotOccupied()
190 mTestLooper.dispatchAll(); in testAllocateLogicalAddress_AudioSystemNonPreferredAllOccupied()
197 mTestLooper.dispatchAll(); in testAllocateLogicalAddress_PlaybackPreferredNotOccupied()
205 mTestLooper.dispatchAll(); in testAllocateLogicalAddress_PlaybackPreferredOccupied()
[all …]
DHdmiCecLocalDevicePlaybackTest.java186 mTestLooper.dispatchAll(); in setUp()
194 mTestLooper.dispatchAll(); in setUp()
215 mTestLooper.dispatchAll(); in handleRoutingChange_None()
237 mTestLooper.dispatchAll(); in handleRoutingInformation_None()
259 mTestLooper.dispatchAll(); in handleRoutingChange_WakeUpOnly()
281 mTestLooper.dispatchAll(); in handleRoutingInformation_WakeUpOnly()
305 mTestLooper.dispatchAll(); in handleRoutingChange_WakeUpAndSendActiveSource()
329 mTestLooper.dispatchAll(); in handleRoutingInformation_WakeUpAndSendActiveSource()
427 mTestLooper.dispatchAll(); in handleRoutingChange_toSwitchInActivePath_noStandby()
445 mTestLooper.dispatchAll(); in handleRoutingChange_toTv_StandbyNow()
[all …]
DSystemAudioAutoInitiationActionTest.java120 mTestLooper.dispatchAll(); in setUp()
144 mTestLooper.dispatchAll(); in testReceiveSystemAudioMode_systemAudioOn()
159 mTestLooper.dispatchAll(); in testReceiveSystemAudioMode_systemAudioOn()
174 mTestLooper.dispatchAll(); in testReceiveSystemAudioMode_systemAudioOnAndImpossibleToChangeSystemAudio()
189 mTestLooper.dispatchAll(); in testReceiveSystemAudioMode_systemAudioOnAndImpossibleToChangeSystemAudio()
202 mTestLooper.dispatchAll(); in testReceiveSystemAudioMode_systemAudioOnAndResponseOff()
217 mTestLooper.dispatchAll(); in testReceiveSystemAudioMode_systemAudioOnAndResponseOff()
233 mTestLooper.dispatchAll(); in testReceiveSystemAudioMode_settingOffAndResponseOn()
248 mTestLooper.dispatchAll(); in testReceiveSystemAudioMode_settingOffAndResponseOn()
264 mTestLooper.dispatchAll(); in testReceiveSystemAudioMode_settingOffAndResponseOff()
[all …]
DPowerStatusMonitorActionTest.java99 mTestLooper.dispatchAll(); in setUp()
120 mTestLooper.dispatchAll(); in setUp()
132 mTestLooper.dispatchAll(); in sourceDevice_1_4_updatesPowerState()
143 mTestLooper.dispatchAll(); in sourceDevice_1_4_updatesPowerState()
162 mTestLooper.dispatchAll(); in sourceDevice_2_0_doesNotUpdatePowerState()
165 mTestLooper.dispatchAll(); in sourceDevice_2_0_doesNotUpdatePowerState()
171 mTestLooper.dispatchAll(); in sourceDevice_2_0_doesNotUpdatePowerState()
180 mTestLooper.dispatchAll(); in sourceDevice_2_0_doesNotUpdatePowerState()
190 mTestLooper.dispatchAll(); in mixedSourceDevices_localDevice_1_4_updatesAll()
200 mTestLooper.dispatchAll(); in mixedSourceDevices_localDevice_1_4_updatesAll()
[all …]
DArcInitiationActionFromAvrTest.java120 mTestLooper.dispatchAll(); in setUp()
126 mTestLooper.dispatchAll(); in arcInitiation_initiated()
136 mTestLooper.dispatchAll(); in arcInitiation_initiated()
145 mTestLooper.dispatchAll(); in arcInitiation_sendFailed()
157 mTestLooper.dispatchAll(); in arcInitiation_terminated()
167 mTestLooper.dispatchAll(); in arcInitiation_terminated()
175 mTestLooper.dispatchAll(); in arcInitiation_abort()
187 mTestLooper.dispatchAll(); in arcInitiation_abort()
196 mTestLooper.dispatchAll(); in arcInitiation_timeout()
204 mTestLooper.dispatchAll(); in arcInitiation_timeout()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccConnectorTest.java97 mLooper.dispatchAll(); in testInitialState_unavailable_noPermission()
106 mLooper.dispatchAll(); in testInitialState_unavailable_noBindPermission()
115 mLooper.dispatchAll(); in testInitialState_unavailable_noPriority()
136 mLooper.dispatchAll(); in testInitialState_commandRejected()
166 mLooper.dispatchAll(); in testInitialState_forAvailableMemory_commandRejected()
188 mLooper.dispatchAll(); in testInitialState_switchCommandRejected()
197 mLooper.dispatchAll(); in testInitialState_available()
204 mLooper.dispatchAll(); in testPackageChange_unavailableToAvailable()
214 mLooper.dispatchAll(); in testPackageChange_unavailableToAvailable()
223 mLooper.dispatchAll(); in testPackageChange_availableToUnavailable()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DAbsoluteVolumeBehaviorTest.java111 mTestLooper.dispatchAll(); in setUp()
122 mTestLooper.dispatchAll(); in registerDispatcher_setsVolumeBehaviorToAbsolute()
139 mTestLooper.dispatchAll(); in registerDispatcherAfterSetDeviceVolumeBehavior_setsVolumeBehaviorToAbsolute()
144 mTestLooper.dispatchAll(); in registerDispatcherAfterSetDeviceVolumeBehavior_setsVolumeBehaviorToAbsolute()
162 mTestLooper.dispatchAll(); in registerDispatcher_setsVolume()
178 mTestLooper.dispatchAll(); in unregisterDispatcher_deviceBecomesVariableVolume_listenerNoLongerTriggered()
183 mTestLooper.dispatchAll(); in unregisterDispatcher_deviceBecomesVariableVolume_listenerNoLongerTriggered()
191 mTestLooper.dispatchAll(); in unregisterDispatcher_deviceBecomesVariableVolume_listenerNoLongerTriggered()
205 mTestLooper.dispatchAll(); in setDeviceVolumeBehavior_unregistersDispatcher()
209 mTestLooper.dispatchAll(); in setDeviceVolumeBehavior_unregistersDispatcher()
[all …]
DDeviceVolumeBehaviorTest.java82 mTestLooper.dispatchAll(); in setUp()
89 mTestLooper.dispatchAll(); in setDeviceVolumeBehavior_changesDeviceVolumeBehavior()
93 mTestLooper.dispatchAll(); in setDeviceVolumeBehavior_changesDeviceVolumeBehavior()
111 mTestLooper.dispatchAll(); in setToNewBehavior_triggersDeviceVolumeBehaviorDispatcher()
116 mTestLooper.dispatchAll(); in setToNewBehavior_triggersDeviceVolumeBehaviorDispatcher()
130 mTestLooper.dispatchAll(); in setToSameBehavior_doesNotTriggerDeviceVolumeBehaviorDispatcher()
138 mTestLooper.dispatchAll(); in setToSameBehavior_doesNotTriggerDeviceVolumeBehaviorDispatcher()
146 mTestLooper.dispatchAll(); in unregisterDeviceVolumeBehaviorDispatcher_noLongerTriggered()
155 mTestLooper.dispatchAll(); in unregisterDeviceVolumeBehaviorDispatcher_noLongerTriggered()
/frameworks/base/services/tests/servicestests/src/com/android/server/policy/
DSideFpsEventHandlerTest.java125 mLooper.dispatchAll(); in ignoresWithoutFingerprintFeature()
137 mLooper.dispatchAll(); in ignoresWithoutSfps()
150 mLooper.dispatchAll(); in ignoresWhileWaitingForSfps()
165 mLooper.dispatchAll(); in ignoresWhenIdleOrUnknown()
176 mLooper.dispatchAll(); in ignoresOnKeyguard()
187 mLooper.dispatchAll(); in doesNotpromptWhenBPisActive()
198 mLooper.dispatchAll(); in promptsWhenEnrolling()
209 mLooper.dispatchAll(); in dialogDismissesAfterTime_accessibilityDisabled()
212 mLooper.dispatchAll(); in dialogDismissesAfterTime_accessibilityDisabled()
224 mLooper.dispatchAll(); in dialogDoesNotDismissAfterTime_accessibilityEnabled()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/logcat/
DLogcatManagerServiceTest.java140 mTestLooper.dispatchAll(); in test_RequestFromBackground_DeclinedWithoutPrompt()
154 mTestLooper.dispatchAll(); in test_RequestFromBackground_ApprovedIfInstrumented()
166 mTestLooper.dispatchAll(); in test_RequestFromForegroundService_DeclinedWithoutPrompt()
178 mTestLooper.dispatchAll(); in test_RequestFromTop_ShowsPrompt()
191 mTestLooper.dispatchAll(); in test_RequestFromTop_NoInteractionWithPrompt_DeclinesAfterTimeout()
204 mTestLooper.dispatchAll(); in test_RequestFromTop_Approved()
208 mTestLooper.dispatchAll(); in test_RequestFromTop_Approved()
219 mTestLooper.dispatchAll(); in test_RequestFromTop_Declined()
223 mTestLooper.dispatchAll(); in test_RequestFromTop_Declined()
235 mTestLooper.dispatchAll(); in test_RequestFromTop_MultipleRequestsApprovedTogether()
[all …]
/frameworks/base/tests/vcn/java/com/android/server/vcn/
DVcnGatewayConnectionConnectingStateTest.java50 mTestLooper.dispatchAll(); in setUp()
69 mTestLooper.dispatchAll(); in testNullNetworkTriggersDisconnect()
81 mTestLooper.dispatchAll(); in testNewNetworkTriggersReconnect()
94 mTestLooper.dispatchAll(); in testSameNetworkDoesNotTriggerReconnect()
102 mTestLooper.dispatchAll(); in testChildSessionClosedTriggersDisconnect()
112 mTestLooper.dispatchAll(); in testIkeSessionClosedTriggersDisconnect()
128 mTestLooper.dispatchAll(); in testTeardown()
132 mTestLooper.dispatchAll(); in testTeardown()
141 mTestLooper.dispatchAll(); in testNonTeardownDisconnectRequest()
DVcnGatewayConnectionConnectedStateTest.java125 mTestLooper.dispatchAll(); in setUp()
145 mTestLooper.dispatchAll(); in testNullNetworkDoesNotTriggerDisconnect()
159 mTestLooper.dispatchAll(); in testNullNetworkAirplaneModeDisconnects()
170 mTestLooper.dispatchAll(); in testNewNetworkTriggersMigration()
182 mTestLooper.dispatchAll(); in testSameNetworkDoesNotTriggerMigration()
194 mTestLooper.dispatchAll(); in verifyDataStallTriggersMigration()
206 mTestLooper.dispatchAll(); in verifyDataStallTriggersMigration()
255 mTestLooper.dispatchAll(); in verifyVcnTransformsApplied()
294 mTestLooper.dispatchAll(); in testCreatedTransformsAreAppliedWithDun()
302 mTestLooper.dispatchAll(); in testMigration()
[all …]
DVcnGatewayConnectionRetryTimeoutStateTest.java53 mTestLooper.dispatchAll(); in setUp()
63 mTestLooper.dispatchAll(); in testNewNetworkTriggerRetry()
77 mTestLooper.dispatchAll(); in testSameNetworkDoesNotTriggerRetry()
91 mTestLooper.dispatchAll(); in testNullNetworkTriggersDisconnect()
95 mTestLooper.dispatchAll(); in testNullNetworkTriggersDisconnect()
115 mTestLooper.dispatchAll(); in testTimeoutElapsingTriggersRetry()
133 mTestLooper.dispatchAll(); in testTeardownDisconnectRequest()
145 mTestLooper.dispatchAll(); in testNonTeardownDisconnectRequest()
DVcnGatewayConnectionDisconnectedStateTest.java56 mTestLooper.dispatchAll(); in setUp()
73 mTestLooper.dispatchAll(); in testEnterWhileQuittingTriggersQuit()
83 mTestLooper.dispatchAll(); in testNetworkChangesTriggerStateTransitions()
94 mTestLooper.dispatchAll(); in testNullNetworkDoesNotTriggerStateTransition()
103 mTestLooper.dispatchAll(); in testTeardown()
107 mTestLooper.dispatchAll(); in testTeardown()
119 mTestLooper.dispatchAll(); in testNonTeardownDisconnectRequest()
DVcnGatewayConnectionDisconnectingStateTest.java48 mTestLooper.dispatchAll(); in setUp()
54 mTestLooper.dispatchAll(); in testIkeSessionClosed()
72 mTestLooper.dispatchAll(); in testTimeoutExpired()
80 mTestLooper.dispatchAll(); in testTeardown()
84 mTestLooper.dispatchAll(); in testTeardown()
101 mTestLooper.dispatchAll(); in testNonTeardownDisconnectRequest()
/frameworks/base/core/tests/hdmitests/src/android/hardware/hdmi/
DHdmiAudioSystemClientTest.java71 mTestLooper.dispatchAll(); in testMultipleCommands_longTimeBetweenCalls()
82 mTestLooper.dispatchAll(); in testMultipleCommands_shortTimeBetweenCalls()
87 mTestLooper.dispatchAll(); in testMultipleCommands_shortTimeBetweenCalls()
92 mTestLooper.dispatchAll(); in testMultipleCommands_shortTimeBetweenCalls()
96 mTestLooper.dispatchAll(); in testMultipleCommands_shortTimeBetweenCalls()
101 mTestLooper.dispatchAll(); in testMultipleCommands_shortTimeBetweenCalls()
106 mTestLooper.dispatchAll(); in testMultipleCommands_shortTimeBetweenCalls()
116 mTestLooper.dispatchAll(); in testMultipleCommands_shortTimeAndReturn()
121 mTestLooper.dispatchAll(); in testMultipleCommands_shortTimeAndReturn()
126 mTestLooper.dispatchAll(); in testMultipleCommands_shortTimeAndReturn()
[all …]
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DVibratorFrameworkStatsLoggerTest.java51 mTestLooper.dispatchAll(); in writeVibrationReportedAsync_afterMinInterval_writesRightAway()
66 mTestLooper.dispatchAll(); in writeVibrationReportedAsync_rightAfterLogging_schedulesToRunAfterRemainingDelay()
71 mTestLooper.dispatchAll(); in writeVibrationReportedAsync_rightAfterLogging_schedulesToRunAfterRemainingDelay()
76 mTestLooper.dispatchAll(); in writeVibrationReportedAsync_rightAfterLogging_schedulesToRunAfterRemainingDelay()
93 mTestLooper.dispatchAll(); in writeVibrationReportedAsync_tooFast_logsUsingIntervalAndDropsMessagesFromQueue()
100 mTestLooper.dispatchAll(); in writeVibrationReportedAsync_tooFast_logsUsingIntervalAndDropsMessagesFromQueue()
106 mTestLooper.dispatchAll(); in writeVibrationReportedAsync_tooFast_logsUsingIntervalAndDropsMessagesFromQueue()
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DLowPowerStandbyControllerTest.java259 mTestLooper.dispatchAll(); in awaitStandbyTimeoutAlarm()
269 mTestLooper.dispatchAll(); in testOnNonInteractive_notImmediatelyActive()
324 mTestLooper.dispatchAll(); in testOnInteractive_deactivate()
342 mTestLooper.dispatchAll(); in testOnDozeMaintenance_deactivate()
360 mTestLooper.dispatchAll(); in testOnDozeMaintenance_activeDuringMaintenance_staysActive()
379 mTestLooper.dispatchAll(); in testOnDozeMaintenanceEnds_activate()
497 mTestLooper.dispatchAll(); in testForceActive()
504 mTestLooper.dispatchAll(); in testForceActive()
542 mTestLooper.dispatchAll(); in testAddToAllowlist_ReasonIsAllowed_servicesAreNotified()
547 mTestLooper.dispatchAll(); in testAddToAllowlist_ReasonIsAllowed_servicesAreNotified()
[all …]

12345