Home
last modified time | relevance | path

Searched refs:mTestLooper (Results 1 – 25 of 79) sorted by relevance

1234

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
H A DRequestSadActionTest.java133 mTestLooper.dispatchAll(); in setUp()
144 mTestLooper.dispatchAll(); in noResponse_queryAgainOnce_emptyResult()
153 mTestLooper.dispatchAll(); in noResponse_queryAgainOnce_emptyResult()
156 mTestLooper.dispatchAll(); in noResponse_queryAgainOnce_emptyResult()
172 mTestLooper.dispatchAll(); in noResponse_queryAgainOnce_emptyResult()
174 mTestLooper.dispatchAll(); in noResponse_queryAgainOnce_emptyResult()
176 mTestLooper.dispatchAll(); in noResponse_queryAgainOnce_emptyResult()
178 mTestLooper.dispatchAll(); in noResponse_queryAgainOnce_emptyResult()
180 mTestLooper.dispatchAll(); in noResponse_queryAgainOnce_emptyResult()
182 mTestLooper.dispatchAll(); in noResponse_queryAgainOnce_emptyResult()
[all …]
H A DHdmiCecLocalDeviceTvTest.java214 mTestLooper.dispatchAll(); in setUp()
246 mTestLooper.dispatchAll(); in initiateArcAndValidate()
258 mTestLooper.dispatchAll(); in initiateArcAndValidate()
261 mTestLooper.dispatchAll(); in initiateArcAndValidate()
274 mTestLooper.dispatchAll(); in initateSamAndValidate()
289 mTestLooper.dispatchAll(); in initateSamAndValidate()
306 mTestLooper.dispatchAll(); in onAddressAllocated_invokesDeviceDiscovery()
335 mTestLooper.dispatchAll(); in getActiveSource_deviceInNetworkIsActiveSource()
390 mTestLooper.dispatchAll(); in tvWakeOnOneTouchPlay_TextViewOn_Enabled()
395 mTestLooper.dispatchAll(); in tvWakeOnOneTouchPlay_TextViewOn_Enabled()
[all …]
H A DDevicePowerStatusActionTest.java110 mTestLooper.dispatchAll(); in setUp()
114 mTestLooper.dispatchAll(); in setUp()
121 mTestLooper.dispatchAll(); in queryDisplayStatus_sendsRequestAndHandlesResponse()
134 mTestLooper.dispatchAll(); in queryDisplayStatus_sendsRequestAndHandlesResponse()
145 mTestLooper.dispatchAll(); in queryDisplayStatus_sendsRequest_nack()
157 mTestLooper.dispatchAll(); in queryDisplayStatus_sendsRequest_timeout_retriesSuccessfully()
162 mTestLooper.dispatchAll(); in queryDisplayStatus_sendsRequest_timeout_retriesSuccessfully()
172 mTestLooper.dispatchAll(); in queryDisplayStatus_sendsRequest_timeout_retriesSuccessfully()
180 mTestLooper.dispatchAll(); in queryDisplayStatus_sendsRequest_timeout_retriesFailure()
188 mTestLooper.dispatchAll(); in queryDisplayStatus_sendsRequest_timeout_retriesFailure()
[all …]
H A DSystemAudioAutoInitiationActionTest.java113 mTestLooper.dispatchAll(); in setUp()
137 mTestLooper.dispatchAll(); in testReceiveSystemAudioMode_systemAudioOn()
152 mTestLooper.dispatchAll(); in testReceiveSystemAudioMode_systemAudioOn()
167 mTestLooper.dispatchAll(); in testReceiveSystemAudioMode_systemAudioOnAndImpossibleToChangeSystemAudio()
182 mTestLooper.dispatchAll(); in testReceiveSystemAudioMode_systemAudioOnAndImpossibleToChangeSystemAudio()
195 mTestLooper.dispatchAll(); in testReceiveSystemAudioMode_systemAudioOnAndResponseOff()
210 mTestLooper.dispatchAll(); in testReceiveSystemAudioMode_systemAudioOnAndResponseOff()
226 mTestLooper.dispatchAll(); in testReceiveSystemAudioMode_settingOffAndResponseOn()
241 mTestLooper.dispatchAll(); in testReceiveSystemAudioMode_settingOffAndResponseOn()
257 mTestLooper.dispatchAll(); in testReceiveSystemAudioMode_settingOffAndResponseOff()
[all …]
H A DOneTouchPlayActionTest.java122 mTestLooper.dispatchAll(); in setUp()
138 mTestLooper.dispatchAll(); in succeedWithUnknownTvDevice()
146 mTestLooper.dispatchAll(); in succeedWithUnknownTvDevice()
170 mTestLooper.dispatchAll(); in succeedWithUnknownTvDevice()
183 mTestLooper.dispatchAll(); in succeedAfterGettingPowerStatusOn_Cec14b()
187 mTestLooper.dispatchAll(); in succeedAfterGettingPowerStatusOn_Cec14b()
195 mTestLooper.dispatchAll(); in succeedAfterGettingPowerStatusOn_Cec14b()
219 mTestLooper.dispatchAll(); in succeedAfterGettingPowerStatusOn_Cec14b()
232 mTestLooper.dispatchAll(); in succeedAfterGettingTransientPowerStatus_Cec14b()
236 mTestLooper.dispatchAll(); in succeedAfterGettingTransientPowerStatus_Cec14b()
[all …]
H A DHdmiCecLocalDevicePlaybackTest.java160 mTestLooper.dispatchAll(); in setUp()
188 mTestLooper.dispatchAll(); in handleRoutingChange_None()
210 mTestLooper.dispatchAll(); in handleRoutingInformation_None()
232 mTestLooper.dispatchAll(); in handleRoutingChange_WakeUpOnly()
254 mTestLooper.dispatchAll(); in handleRoutingInformation_WakeUpOnly()
278 mTestLooper.dispatchAll(); in handleRoutingChange_WakeUpAndSendActiveSource()
302 mTestLooper.dispatchAll(); in handleRoutingInformation_WakeUpAndSendActiveSource()
426 mTestLooper.dispatchAll(); in handleRoutingChange_otherDevice_ActiveSource_mediaSessionsPaused()
438 mTestLooper.dispatchAll(); in handleRoutingChange_otherDevice_InactiveSource_mediaSessionsNotPaused()
450 mTestLooper.dispatchAll(); in handleRoutingChange_sameDevice_ActiveSource_mediaSessionsNotPaused()
[all …]
H A DHdmiControlServiceTest.java172 mTestLooper.dispatchAll(); in setUp()
254 mTestLooper.dispatchAll(); in normalBoot_queuedActionsStartedAfterBoot()
265 mTestLooper.dispatchAll(); in initialPowerStatus_normalBoot_goToStandby_broadcastsPowerStatus_2_0()
269 mTestLooper.dispatchAll(); in initialPowerStatus_normalBoot_goToStandby_broadcastsPowerStatus_2_0()
275 mTestLooper.dispatchAll(); in initialPowerStatus_normalBoot_goToStandby_broadcastsPowerStatus_2_0()
377 mTestLooper.dispatchAll(); in addHdmiCecVolumeControlFeatureListener_emitsCurrentState_enabled()
391 mTestLooper.dispatchAll(); in addHdmiCecVolumeControlFeatureListener_emitsCurrentState_disabled()
408 mTestLooper.dispatchAll(); in addHdmiCecVolumeControlFeatureListener_notifiesStateUpdate()
422 mTestLooper.dispatchAll(); in addHdmiCecVolumeControlFeatureListener_honorsUnregistration()
427 mTestLooper.dispatchAll(); in addHdmiCecVolumeControlFeatureListener_honorsUnregistration()
[all …]
H A DHdmiEarcLocalDeviceTxTest.java136 mTestLooper.dispatchAll(); in setUp()
145 mTestLooper.dispatchAll(); in earcGetsConnected_capsReportedInTime_sad()
151 mTestLooper.dispatchAll(); in earcGetsConnected_capsReportedInTime_sad()
178 mTestLooper.dispatchAll(); in earcGetsConnected_capsReportedInTime_sad_sadb()
183 mTestLooper.dispatchAll(); in earcGetsConnected_capsReportedInTime_sad_sadb()
212 mTestLooper.dispatchAll(); in earcGetsConnected_capsReportedInTime_sad_sadb_vsadb()
242 mTestLooper.dispatchAll(); in earcGetsConnected_capsReportedInTime_sad_sadb_vsadb()
273 mTestLooper.dispatchAll(); in earcGetsConnected_capsReportedTooLate()
282 mTestLooper.dispatchAll(); in earcGetsConnected_capsReportedTooLate()
289 mTestLooper.dispatchAll(); in earcGetsConnected_earcGetsDisconnectedBeforeCapsReported()
[all …]
H A DArcInitiationActionFromAvrTest.java113 mTestLooper.dispatchAll(); in setUp()
119 mTestLooper.dispatchAll(); in arcInitiation_initiated()
129 mTestLooper.dispatchAll(); in arcInitiation_initiated()
138 mTestLooper.dispatchAll(); in arcInitiation_sendFailed()
150 mTestLooper.dispatchAll(); in arcInitiation_terminated()
160 mTestLooper.dispatchAll(); in arcInitiation_terminated()
168 mTestLooper.dispatchAll(); in arcInitiation_abort()
180 mTestLooper.dispatchAll(); in arcInitiation_abort()
189 mTestLooper.dispatchAll(); in arcInitiation_timeout()
196 mTestLooper.moveTimeForward(1001); in arcInitiation_timeout()
[all …]
H A DPowerStatusMonitorActionTest.java92 mTestLooper.dispatchAll(); in setUp()
113 mTestLooper.dispatchAll(); in setUp()
125 mTestLooper.dispatchAll(); in sourceDevice_1_4_updatesPowerState()
136 mTestLooper.dispatchAll(); in sourceDevice_1_4_updatesPowerState()
155 mTestLooper.dispatchAll(); in sourceDevice_2_0_doesNotUpdatePowerState()
158 mTestLooper.dispatchAll(); in sourceDevice_2_0_doesNotUpdatePowerState()
164 mTestLooper.dispatchAll(); in sourceDevice_2_0_doesNotUpdatePowerState()
173 mTestLooper.dispatchAll(); in sourceDevice_2_0_doesNotUpdatePowerState()
183 mTestLooper.dispatchAll(); in mixedSourceDevices_localDevice_1_4_updatesAll()
193 mTestLooper.dispatchAll(); in mixedSourceDevices_localDevice_1_4_updatesAll()
[all …]
H A DHdmiCecControllerTest.java136 mTestLooper.dispatchAll(); in setUpForOnMessageTest()
139 mTestLooper.dispatchAll(); in setUpForOnMessageTest()
146 mTestLooper.dispatchAll(); in testAllocateLogicalAddress_TvDevicePreferredNotOccupied()
153 mTestLooper.dispatchAll(); in testAllocateLogicalAddress_TvDeviceNonPreferredNotOccupied()
161 mTestLooper.dispatchAll(); in testAllocateLogicalAddress_TvDeviceNonPreferredFirstOccupied()
170 mTestLooper.dispatchAll(); in testAllocateLogicalAddress_TvDeviceNonPreferredAllOccupied()
178 mTestLooper.dispatchAll(); in testAllocateLogicalAddress_AudioSystemNonPreferredNotOccupied()
187 mTestLooper.dispatchAll(); in testAllocateLogicalAddress_AudioSystemNonPreferredAllOccupied()
194 mTestLooper.dispatchAll(); in testAllocateLogicalAddress_PlaybackPreferredNotOccupied()
202 mTestLooper.dispatchAll(); in testAllocateLogicalAddress_PlaybackPreferredOccupied()
[all …]
H A DArcTerminationActionFromAvrTest.java60 private TestLooper mTestLooper = new TestLooper(); field in ArcTerminationActionFromAvrTest
95 Looper looper = mTestLooper.getLooper(); in setUp()
121 mTestLooper.dispatchAll(); in setUp()
143 mTestLooper.dispatchAll(); in testSendMessage_sendFailed()
156 mTestLooper.dispatchAll(); in testReportArcTerminated_timeout()
161 mTestLooper.dispatchAll(); in testReportArcTerminated_timeout()
164 mTestLooper.dispatchAll(); in testReportArcTerminated_timeout()
173 mTestLooper.dispatchAll(); in testReportArcTerminated_received()
183 mTestLooper.dispatchAll(); in testReportArcTerminated_received()
192 mTestLooper.dispatchAll(); in testReportArcTerminated_featureAbort()
[all …]
H A DSetAudioVolumeLevelDiscoveryActionTest.java91 mLooper = mTestLooper.getLooper(); in setUp()
110 mTestLooper.dispatchAll(); in setUp()
118 mTestLooper.dispatchAll(); in setUp()
127 mTestLooper.dispatchAll(); in sendsSetAudioVolumeLevel()
138 mTestLooper.dispatchAll(); in noMatchingFeatureAbortReceived_actionSucceedsAndSetsFeatureSupported()
152 mTestLooper.dispatchAll(); in noMatchingFeatureAbortReceived_actionSucceedsAndSetsFeatureSupported()
155 mTestLooper.dispatchAll(); in noMatchingFeatureAbortReceived_actionSucceedsAndSetsFeatureSupported()
168 mTestLooper.dispatchAll(); in matchingFeatureAbortReceived_actionSucceedsAndSetsFeatureNotSupported()
175 mTestLooper.dispatchAll(); in matchingFeatureAbortReceived_actionSucceedsAndSetsFeatureNotSupported()
189 mTestLooper.dispatchAll(); in messageFailedToSend_actionFailsAndDoesNotUpdateFeatureSupport()
[all …]
/aosp14/frameworks/base/core/tests/hdmitests/src/android/hardware/hdmi/
H A DHdmiAudioSystemClientTest.java45 private TestLooper mTestLooper; field in HdmiAudioSystemClientTest
71 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()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
H A DVibratorFrameworkStatsLoggerTest.java43 private TestLooper mTestLooper; field in VibratorFrameworkStatsLoggerTest
48 mTestLooper = new TestLooper(); in setUp()
59 mTestLooper.dispatchAll(); in writeVibrationReportedAsync_afterMinInterval_writesRightAway()
74 mTestLooper.dispatchAll(); in writeVibrationReportedAsync_rightAfterLogging_schedulesToRunAfterRemainingDelay()
79 mTestLooper.dispatchAll(); in writeVibrationReportedAsync_rightAfterLogging_schedulesToRunAfterRemainingDelay()
83 mTestLooper.moveTimeForward(100); in writeVibrationReportedAsync_rightAfterLogging_schedulesToRunAfterRemainingDelay()
84 mTestLooper.dispatchAll(); in writeVibrationReportedAsync_rightAfterLogging_schedulesToRunAfterRemainingDelay()
101 mTestLooper.dispatchAll(); in writeVibrationReportedAsync_tooFast_logsUsingIntervalAndDropsMessagesFromQueue()
107 mTestLooper.moveTimeForward(100); in writeVibrationReportedAsync_tooFast_logsUsingIntervalAndDropsMessagesFromQueue()
108 mTestLooper.dispatchAll(); in writeVibrationReportedAsync_tooFast_logsUsingIntervalAndDropsMessagesFromQueue()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
H A DAbsoluteVolumeBehaviorTest.java72 private TestLooper mTestLooper; field in AbsoluteVolumeBehaviorTest
105 mTestLooper.dispatchAll(); in setUp()
116 mTestLooper.dispatchAll(); in registerDispatcher_setsVolumeBehaviorToAbsolute()
133 mTestLooper.dispatchAll(); in registerDispatcherAfterSetDeviceVolumeBehavior_setsVolumeBehaviorToAbsolute()
138 mTestLooper.dispatchAll(); in registerDispatcherAfterSetDeviceVolumeBehavior_setsVolumeBehaviorToAbsolute()
156 mTestLooper.dispatchAll(); in registerDispatcher_setsVolume()
172 mTestLooper.dispatchAll(); in unregisterDispatcher_deviceBecomesVariableVolume_listenerNoLongerTriggered()
177 mTestLooper.dispatchAll(); in unregisterDispatcher_deviceBecomesVariableVolume_listenerNoLongerTriggered()
185 mTestLooper.dispatchAll(); in unregisterDispatcher_deviceBecomesVariableVolume_listenerNoLongerTriggered()
199 mTestLooper.dispatchAll(); in setDeviceVolumeBehavior_unregistersDispatcher()
[all …]
H A DDeviceVolumeBehaviorTest.java53 private TestLooper mTestLooper; field in DeviceVolumeBehaviorTest
69 mTestLooper = new TestLooper(); in setUp()
76 mTestLooper.dispatchAll(); in setUp()
83 mTestLooper.dispatchAll(); in setDeviceVolumeBehavior_changesDeviceVolumeBehavior()
87 mTestLooper.dispatchAll(); in setDeviceVolumeBehavior_changesDeviceVolumeBehavior()
105 mTestLooper.dispatchAll(); in setToNewBehavior_triggersDeviceVolumeBehaviorDispatcher()
110 mTestLooper.dispatchAll(); in setToNewBehavior_triggersDeviceVolumeBehaviorDispatcher()
124 mTestLooper.dispatchAll(); in setToSameBehavior_doesNotTriggerDeviceVolumeBehaviorDispatcher()
132 mTestLooper.dispatchAll(); in setToSameBehavior_doesNotTriggerDeviceVolumeBehaviorDispatcher()
140 mTestLooper.dispatchAll(); in unregisterDeviceVolumeBehaviorDispatcher_noLongerTriggered()
[all …]
/aosp14/frameworks/base/tests/utils/testutils/java/android/os/test/
H A DTestLooperTest.java51 private TestLooper mTestLooper; field in TestLooperTest
63 mTestLooper = new TestLooper(); in setUp()
86 mTestLooper.dispatchAll(); in testNoTimeMovement()
116 mTestLooper.dispatchAll(); in testNoTimeMovementExecutor()
144 mTestLooper.dispatchAll(); in testDelayedDispatchNoTimeMove()
173 mTestLooper.dispatchAll(); in testDelayedDispatchAdvanceTimeOnce()
207 mTestLooper.dispatchAll(); in testDelayedDispatchAdvanceTimeTwice()
243 mTestLooper.dispatchAll(); in testDelayedDispatchReverseOrder()
276 mTestLooper.dispatchAll(); in testDelayedDispatchAllMultipleTimes()
286 mTestLooper.dispatchAll(); in testDelayedDispatchAllMultipleTimes()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DShortcutManagerTest11.java68 mTestLooper.dispatchAll(); in testShortcutChangeCallback_setDynamicShortcuts()
95 mTestLooper.dispatchAll(); in testShortcutChangeCallback_setDynamicShortcuts_replaceSameId()
137 mTestLooper.dispatchAll(); in testShortcutChangeCallback_setDynamicShortcuts_pinnedAndCached()
161 mTestLooper.dispatchAll(); in testShortcutChangeCallback_pinShortcuts()
193 mTestLooper.dispatchAll(); in testShortcutChangeCallback_pinShortcuts_unpinOthers()
229 mTestLooper.dispatchAll(); in testShortcutChangeCallback_cacheShortcuts()
262 mTestLooper.dispatchAll(); in testShortcutChangeCallback_cacheShortcuts_alreadyCached()
291 mTestLooper.dispatchAll(); in testShortcutChangeCallback_uncacheShortcuts()
330 mTestLooper.dispatchAll(); in testShortcutChangeCallback_uncacheShortcuts_causeDeletion()
367 mTestLooper.dispatchAll(); in testShortcutChangeCallback_updateShortcuts()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/logcat/
H A DLogcatManagerServiceTest.java81 private TestLooper mTestLooper; field in LogcatManagerServiceTest
140 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()
[all …]
/aosp14/frameworks/base/services/tests/mockingservicestests/src/android/service/dreams/
H A DDreamOverlayConnectionHandlerTest.java67 private TestLooper mTestLooper; field in DreamOverlayConnectionHandlerTest
92 mTestLooper.dispatchAll(); in consumerShouldRunImmediatelyWhenClientAvailable()
103 mTestLooper.dispatchAll(); in consumerShouldRunAfterClientAvailable()
108 mTestLooper.dispatchAll(); in consumerShouldRunAfterClientAvailable()
119 mTestLooper.dispatchAll(); in consumerShouldNeverRunIfClientConnectsAndDisconnects()
126 mTestLooper.dispatchAll(); in consumerShouldNeverRunIfClientConnectsAndDisconnects()
139 mTestLooper.dispatchAll(); in consumerShouldNeverRunIfUnbindCalled()
158 mTestLooper.dispatchAll(); in consumersOnlyRunOnceIfUnbound()
171 mTestLooper.dispatchAll(); in consumerShouldRunAgainAfterReconnect()
175 mTestLooper.dispatchAll(); in consumerShouldRunAgainAfterReconnect()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/
H A DLowPowerStandbyControllerTest.java120 private TestLooper mTestLooper; field in LowPowerStandbyControllerTest
243 mTestLooper.dispatchAll(); in awaitStandbyTimeoutAlarm()
253 mTestLooper.dispatchAll(); in testOnNonInteractive_notImmediatelyActive()
308 mTestLooper.dispatchAll(); in testOnInteractive_deactivate()
326 mTestLooper.dispatchAll(); in testOnDozeMaintenance_deactivate()
344 mTestLooper.dispatchAll(); in testOnDozeMaintenance_activeDuringMaintenance_staysActive()
363 mTestLooper.dispatchAll(); in testOnDozeMaintenanceEnds_activate()
442 mTestLooper.dispatchAll(); in testForceActive()
449 mTestLooper.dispatchAll(); in testForceActive()
487 mTestLooper.dispatchAll(); in testAddToAllowlist_ReasonIsAllowed_servicesAreNotified()
[all …]
/aosp14/frameworks/base/tests/vcn/java/com/android/server/vcn/
H A 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()
H A DVcnGatewayConnectionConnectedStateTest.java121 mTestLooper.dispatchAll(); in setUp()
141 mTestLooper.dispatchAll(); in testNullNetworkDoesNotTriggerDisconnect()
155 mTestLooper.dispatchAll(); in testNullNetworkAirplaneModeDisconnects()
166 mTestLooper.dispatchAll(); in testNewNetworkTriggersMigration()
178 mTestLooper.dispatchAll(); in testSameNetworkDoesNotTriggerMigration()
190 mTestLooper.dispatchAll(); in verifyDataStallTriggersMigration()
202 mTestLooper.dispatchAll(); in verifyDataStallTriggersMigration()
289 mTestLooper.dispatchAll(); in testCreatedTransformsAreAppliedWithDun()
297 mTestLooper.dispatchAll(); in testMigration()
310 mTestLooper.dispatchAll(); in testMigration()
[all …]
/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
H A DBrightnessThrottlerTest.java66 private TestLooper mTestLooper; field in BrightnessThrottlerTest
176 mTestLooper.dispatchAll(); in testThermalThrottlingSingleLevel()
183 mTestLooper.dispatchAll(); in testThermalThrottlingSingleLevel()
191 mTestLooper.dispatchAll(); in testThermalThrottlingSingleLevel()
199 mTestLooper.dispatchAll(); in testThermalThrottlingSingleLevel()
207 mTestLooper.dispatchAll(); in testThermalThrottlingSingleLevel()
234 mTestLooper.dispatchAll(); in testThermalThrottlingMultiLevel()
241 mTestLooper.dispatchAll(); in testThermalThrottlingMultiLevel()
249 mTestLooper.dispatchAll(); in testThermalThrottlingMultiLevel()
257 mTestLooper.dispatchAll(); in testThermalThrottlingMultiLevel()
[all …]

1234