Home
last modified time | relevance | path

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

123

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiControllerTest.java126 mLooper.dispatchAll(); in setUp()
147 mLooper.dispatchAll(); in cleanUp()
159 mLooper.dispatchAll(); in enableWifi()
170 mLooper.dispatchAll(); in enableScanMode()
190 mLooper.dispatchAll(); in testEnterScanModeAtStartWhenSet()
213 mLooper.dispatchAll(); in testDoesNotEnterScanModeWhenLocationModeDisabled()
220 mLooper.dispatchAll(); in testDoesNotEnterScanModeWhenLocationModeDisabled()
241 mLooper.dispatchAll(); in testEnterScanModeWhenLocationModeEnabled()
254 mLooper.dispatchAll(); in testEnterScanModeWhenLocationModeEnabled()
274 mLooper.dispatchAll(); in testExitScanModeWhenLocationModeDisabled()
[all …]
DScanOnlyModeManagerTest.java80 mLooper.dispatchAll(); in setUp()
92 mLooper.dispatchAll(); in startScanOnlyModeAndVerifyEnabled()
99 mLooper.dispatchAll(); in startScanOnlyModeAndVerifyEnabled()
132 mLooper.dispatchAll(); in scanModeStartDoesNotSendScanningActiveWhenClientInterfaceNameIsEmpty()
146 mLooper.dispatchAll(); in scanOnlyModeStartCalledTwice()
158 mLooper.dispatchAll(); in scanModeStopCleansUpState()
173 mLooper.dispatchAll(); in scanModeStopsOnInterfaceDestroyed()
184 mLooper.dispatchAll(); in scanModeStopWhenNotStartedDoesNotUpdateScanStateUpdates()
189 mLooper.dispatchAll(); in scanModeStopWhenNotStartedDoesNotUpdateScanStateUpdates()
203 mLooper.dispatchAll(); in scanModeStartedStopsWhenInterfaceDown()
[all …]
DActiveModeWardenTest.java124 mLooper.dispatchAll(); in setUp()
189 mLooper.dispatchAll(); in enterClientModeActiveState()
191 mLooper.dispatchAll(); in enterClientModeActiveState()
217 mLooper.dispatchAll(); in enterScanOnlyModeActiveState()
219 mLooper.dispatchAll(); in enterScanOnlyModeActiveState()
249 mLooper.dispatchAll(); in enterSoftApActiveMode()
291 mLooper.dispatchAll(); in testEnterSoftApModeFromDifferentState()
305 mLooper.dispatchAll(); in testDisableWifiFromScanOnlyModeActiveState()
320 mLooper.dispatchAll(); in testDisableWifiFromSoftApModeActiveStateDoesNotStopSoftAp()
336 mLooper.dispatchAll(); in testSwitchModeWhenScanOnlyModeActiveState()
[all …]
DWifiMonitorTest.java83 mLooper.dispatchAll(); in testBroadcastWpsEventFailDueToErrorTkipOnlyProhibhited()
101 mLooper.dispatchAll(); in testBroadcastWpsEventFailDueToErrorWepProhibhited()
120 mLooper.dispatchAll(); in testBroadcastWpsEventFailDueToConfigAuthError()
137 mLooper.dispatchAll(); in testBroadcastWpsEventFailDueToConfigPbcOverlapError()
155 mLooper.dispatchAll(); in testBroadcastWpsEventFailDueToConfigError()
172 mLooper.dispatchAll(); in testBroadcastWpsEventSuccess()
187 mLooper.dispatchAll(); in testBroadcastWpsEventOverlap()
202 mLooper.dispatchAll(); in testBroadcastWpsEventTimeout()
218 mLooper.dispatchAll(); in testBroadcastAnqpDoneEvent()
239 mLooper.dispatchAll(); in testBroadcastIconDoneEvent()
[all …]
DSoftApManagerTest.java169 mLooper.dispatchAll(); in createSoftApManager()
243 mLooper.dispatchAll(); in startSoftApDefaultConfigFailedToLoad()
245 mLooper.dispatchAll(); in startSoftApDefaultConfigFailedToLoad()
287 mLooper.dispatchAll(); in testSetupForSoftApModeNullApInterfaceNameFailureIncrementsMetrics()
289 mLooper.dispatchAll(); in testSetupForSoftApModeNullApInterfaceNameFailureIncrementsMetrics()
330 mLooper.dispatchAll(); in testSetupForSoftApModeEmptyInterfaceNameFailureIncrementsMetrics()
332 mLooper.dispatchAll(); in testSetupForSoftApModeEmptyInterfaceNameFailureIncrementsMetrics()
372 mLooper.dispatchAll(); in startSoftApOn5GhzFailGeneralErrorForNoCountryCode()
374 mLooper.dispatchAll(); in startSoftApOn5GhzFailGeneralErrorForNoCountryCode()
419 mLooper.dispatchAll(); in startSoftApOn5GhzFailGeneralErrorForCountryCodeSetFailure()
[all …]
DClientModeManagerTest.java77 mLooper.dispatchAll(); in setUp()
91 mLooper.dispatchAll(); in startClientModeAndVerifyEnabled()
98 mLooper.dispatchAll(); in startClientModeAndVerifyEnabled()
174 mLooper.dispatchAll(); in detectAndReportErrorWhenSetupForClientWifiNativeFailure()
194 mLooper.dispatchAll(); in clientModeStartDoesNotSendScanningActiveWhenClientInterfaceNameIsEmpty()
215 mLooper.dispatchAll(); in clientModeStartCalledTwice()
227 mLooper.dispatchAll(); in clientModeStopCleansUpState()
243 mLooper.dispatchAll(); in clientModeStopWhenNotStartedDoesNotUpdateScanStateUpdates()
249 mLooper.dispatchAll(); in clientModeStopWhenNotStartedDoesNotUpdateScanStateUpdates()
263 mLooper.dispatchAll(); in clientModeStartedStopsWhenInterfaceDown()
[all …]
DClientModeImplTest.java548 mLooper.dispatchAll(); in registerAsyncChannel()
571 mLooper.dispatchAll(); in initializeCmi()
603 mLooper.dispatchAll(); in createNew()
615 mLooper.dispatchAll(); in checkInitialStateStickyWhenDisabledMode()
620 mLooper.dispatchAll(); in checkInitialStateStickyWhenDisabledMode()
628 mLooper.dispatchAll(); in shouldStartSupplicantWhenConnectModeRequested()
634 mLooper.dispatchAll(); in shouldStartSupplicantWhenConnectModeRequested()
644 mLooper.dispatchAll(); in checkIsWifiEnabledForModeChanges()
663 mLooper.dispatchAll(); in checkIsWifiEnabledForModeChanges()
717 mLooper.dispatchAll(); in canForgetNetwork()
[all …]
DWifiServiceImplTest.java450 mLooper.dispatchAll(); in verifyAsyncChannelHalfConnected()
1011 mLooper.dispatchAll(); in testSetWifiApConfigurationSuccess()
1091 mLooper.dispatchAll(); in testGetWifiApEnabled()
1103 mLooper.dispatchAll(); in testGetWifiApEnabled()
1630 mLooper.dispatchAll(); in testTetheringDoesNotStartWhenAlreadyTetheringActive()
1647 mLooper.dispatchAll(); in testHotspotDoesNotStartWhenAlreadyTethering()
1862 mLooper.dispatchAll(); in registerSoftApCallbackFailureOnLinkToDeath()
1884 mLooper.dispatchAll(); in registerSoftApCallbackAndVerify()
1910 mLooper.dispatchAll(); in replacesOldCallbackWithNewCallbackWhenRegisteringTwice()
1927 mLooper.dispatchAll(); in unregisterSoftApCallbackRemovesCallback()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java176 mMockLooper.dispatchAll(); in setUp()
263 mMockLooper.dispatchAll(); in testRequestMacAddresses()
266 mMockLooper.dispatchAll(); in testRequestMacAddresses()
270 mMockLooper.dispatchAll(); in testRequestMacAddresses()
274 mMockLooper.dispatchAll(); in testRequestMacAddresses()
278 mMockLooper.dispatchAll(); in testRequestMacAddresses()
283 mMockLooper.dispatchAll(); in testRequestMacAddresses()
287 mMockLooper.dispatchAll(); in testRequestMacAddresses()
291 mMockLooper.dispatchAll(); in testRequestMacAddresses()
295 mMockLooper.dispatchAll(); in testRequestMacAddresses()
[all …]
DWifiAwareDataPathStateManagerTest.java173 mMockLooper.dispatchAll(); in setUp()
214 mMockLooper.dispatchAll(); in testCreateDeleteAllInterfaces()
217 mMockLooper.dispatchAll(); in testCreateDeleteAllInterfaces()
221 mMockLooper.dispatchAll(); in testCreateDeleteAllInterfaces()
228 mMockLooper.dispatchAll(); in testCreateDeleteAllInterfaces()
236 mMockLooper.dispatchAll(); in testCreateDeleteAllInterfaces()
248 mMockLooper.dispatchAll(); in testCreateDeleteAllInterfaces()
256 mMockLooper.dispatchAll(); in testCreateDeleteAllInterfaces()
264 mMockLooper.dispatchAll(); in testCreateDeleteAllInterfaces()
271 mMockLooper.dispatchAll(); in testCreateDeleteAllInterfaces()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccConnectorTest.java91 mLooper.dispatchAll(); in testInitialState_unavailable_noPermission()
100 mLooper.dispatchAll(); in testInitialState_unavailable_noBindPermission()
109 mLooper.dispatchAll(); in testInitialState_unavailable_noPriority()
130 mLooper.dispatchAll(); in testInitialState_commandRejected()
152 mLooper.dispatchAll(); in testInitialState_switchCommandRejected()
161 mLooper.dispatchAll(); in testInitialState_available()
168 mLooper.dispatchAll(); in testPackageChange_unavailableToAvailable()
178 mLooper.dispatchAll(); in testPackageChange_unavailableToAvailable()
187 mLooper.dispatchAll(); in testPackageChange_availableToUnavailable()
198 mLooper.dispatchAll(); in testPackageChange_availableToUnavailable()
[all …]
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DEntitlementManagerTest.java306 mLooper.dispatchAll(); in testRequestLastEntitlementCacheValue()
319 mLooper.dispatchAll(); in testRequestLastEntitlementCacheValue()
331 mLooper.dispatchAll(); in testRequestLastEntitlementCacheValue()
344 mLooper.dispatchAll(); in testRequestLastEntitlementCacheValue()
356 mLooper.dispatchAll(); in testRequestLastEntitlementCacheValue()
368 mLooper.dispatchAll(); in testRequestLastEntitlementCacheValue()
379 mLooper.dispatchAll(); in testRequestLastEntitlementCacheValue()
391 mLooper.dispatchAll(); in testRequestLastEntitlementCacheValue()
411 mLooper.dispatchAll(); in verifyPermissionResult()
417 mLooper.dispatchAll(); in verifyPermissionResult()
[all …]
DTetheringTest.java687 mLooper.dispatchAll(); in failingLocalOnlyHotspotLegacyApBroadcast()
706 mLooper.dispatchAll(); in prepareNcmTethering()
717 mLooper.dispatchAll(); in prepareUsbTethering()
733 mLooper.dispatchAll(); in testUsbConfiguredBroadcastStartsTethering()
762 mLooper.dispatchAll(); in workingLocalOnlyHotspotEnrichedApBroadcast()
783 mLooper.dispatchAll(); in workingLocalOnlyHotspotEnrichedApBroadcast()
817 mLooper.dispatchAll(); in sendIPv6TetherUpdates()
823 mLooper.dispatchAll(); in runUsbTethering()
919 mLooper.dispatchAll(); in workingMobileUsbTethering_v6Then464xlat()
952 mLooper.dispatchAll(); in runNcmTethering()
[all …]
/frameworks/base/core/tests/hdmitests/src/android/hardware/hdmi/
DHdmiAudioSystemClientTest.java68 mTestLooper.dispatchAll(); in testMultipleCommands_longTimeBetweenCalls()
79 mTestLooper.dispatchAll(); in testMultipleCommands_shortTimeBetweenCalls()
84 mTestLooper.dispatchAll(); in testMultipleCommands_shortTimeBetweenCalls()
89 mTestLooper.dispatchAll(); in testMultipleCommands_shortTimeBetweenCalls()
93 mTestLooper.dispatchAll(); in testMultipleCommands_shortTimeBetweenCalls()
98 mTestLooper.dispatchAll(); in testMultipleCommands_shortTimeBetweenCalls()
103 mTestLooper.dispatchAll(); in testMultipleCommands_shortTimeBetweenCalls()
113 mTestLooper.dispatchAll(); in testMultipleCommands_shortTimeAndReturn()
118 mTestLooper.dispatchAll(); in testMultipleCommands_shortTimeAndReturn()
123 mTestLooper.dispatchAll(); in testMultipleCommands_shortTimeAndReturn()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecControllerTest.java98 mTestLooper.dispatchAll(); in testAllocatLogicalAddress_TvDevicePreferredNotOcupied()
106 mTestLooper.dispatchAll(); in testAllocatLogicalAddress_TvDeviceNonPreferredNotOcupied()
114 mTestLooper.dispatchAll(); in testAllocatLogicalAddress_TvDeviceNonPreferredFirstOcupied()
123 mTestLooper.dispatchAll(); in testAllocatLogicalAddress_TvDeviceNonPreferredAllOcupied()
131 mTestLooper.dispatchAll(); in testAllocatLogicalAddress_AudioSystemNonPreferredNotOcupied()
140 mTestLooper.dispatchAll(); in testAllocatLogicalAddress_AudioSystemNonPreferredAllOcupied()
147 mTestLooper.dispatchAll(); in testAllocatLogicalAddress_PlaybackPreferredNotOccupied()
155 mTestLooper.dispatchAll(); in testAllocatLogicalAddress_PlaybackPreferredOcuppied()
162 mTestLooper.dispatchAll(); in testAllocatLogicalAddress_PlaybackNoPreferredNotOcuppied()
170 mTestLooper.dispatchAll(); in testAllocatLogicalAddress_PlaybackNoPreferredFirstOcuppied()
[all …]
DHdmiCecLocalDeviceAudioSystemTest.java207 mTestLooper.dispatchAll(); in setUp()
226 mTestLooper.dispatchAll(); in handleGiveAudioStatus_volume_10_mute_true()
239 mTestLooper.dispatchAll(); in handleGiveSystemAudioModeStatus_originalOff()
257 mTestLooper.dispatchAll(); in handleRequestShortAudioDescriptor_featureDisabled()
275 mTestLooper.dispatchAll(); in handleRequestShortAudioDescriptor_samOff()
295 mTestLooper.dispatchAll(); in handleRequestShortAudioDescriptor_noAudioDeviceInfo()
311 mTestLooper.dispatchAll(); in handleSetSystemAudioMode_setOn_orignalOff()
318 mTestLooper.dispatchAll(); in handleSetSystemAudioMode_setOn_orignalOff()
321 mTestLooper.dispatchAll(); in handleSetSystemAudioMode_setOn_orignalOff()
340 mTestLooper.dispatchAll(); in handleSystemAudioModeRequest_turnOffByTv()
[all …]
DSystemAudioInitiationActionFromAvrTest.java196 mTestLooper.dispatchAll(); in testNoActiveSourceMessageReceived()
215 mTestLooper.dispatchAll(); in testTvNotSupport()
231 mTestLooper.dispatchAll(); in testTvSupport()
250 mTestLooper.dispatchAll(); in testKnownActiveSource()
271 mTestLooper.dispatchAll(); in testRetry()
289 mTestLooper.dispatchAll(); in testIsPlaybackDevice_cannotReceiveActiveSource()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DWifiScanningServiceTest.java192 mLooper.dispatchAll(); in connectChannel()
427 mLooper.dispatchAll(); in setupAndLoadDriver()
475 mLooper.dispatchAll(); in startService()
484 mLooper.dispatchAll(); in disconnectClientBeforeWifiEnabled()
487 mLooper.dispatchAll(); in disconnectClientBeforeWifiEnabled()
503 mLooper.dispatchAll(); in loadDriver()
518 mLooper.dispatchAll(); in duplicateScanEnableIsIgnored()
530 mLooper.dispatchAll(); in disconnectClientAfterStartingWifi()
535 mLooper.dispatchAll(); in disconnectClientAfterStartingWifi()
544 mLooper.dispatchAll(); in connectAndDisconnectClientAfterStartingWifi()
[all …]
DWificondScannerTest.java89 mLooper.dispatchAll(); in singleScanNotIssuedIfNoAvailableChannels()
100 mLooper.dispatchAll(); in externalScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
125 mLooper.dispatchAll(); in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash()
147 mLooper.dispatchAll(); in lateScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
151 mLooper.dispatchAll(); in lateScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
155 mLooper.dispatchAll(); in lateScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java395 mLooper.dispatchAll(); in testCorrectLooperIsUsedForHandler()
413 altLooper.dispatchAll(); in testMainLooperIsUsedWhenHandlerNotProvided()
431 callbackLooper.dispatchAll(); in testOnStartedIsCalledWithReservation()
432 mLooper.dispatchAll(); in testOnStartedIsCalledWithReservation()
440 mLooper.dispatchAll(); in testOnStartedIsCalledWithReservation()
441 callbackLooper.dispatchAll(); in testOnStartedIsCalledWithReservation()
458 callbackLooper.dispatchAll(); in testOnStartedIsCalledWithNullConfig()
459 mLooper.dispatchAll(); in testOnStartedIsCalledWithNullConfig()
466 mLooper.dispatchAll(); in testOnStartedIsCalledWithNullConfig()
467 callbackLooper.dispatchAll(); in testOnStartedIsCalledWithNullConfig()
[all …]
DWifiScannerTest.java98 mLooper.dispatchAll(); in setUp()
256 mLooper.dispatchAll(); in testStartScan()
284 mLooper.dispatchAll(); in testStopScan()
287 mLooper.dispatchAll(); in testStopScan()
312 mLooper.dispatchAll(); in testStartScanListenerOnSuccess()
327 mLooper.dispatchAll(); in testStartScanListenerOnSuccess()
342 mLooper.dispatchAll(); in testStartScanListenerOnResults()
360 mLooper.dispatchAll(); in testStartScanListenerOnResults()
377 mLooper.dispatchAll(); in testStartDisconnectedPnoScan()
407 mLooper.dispatchAll(); in testStartConnectedPnoScan()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttServiceImplTest.java227 mMockLooper.dispatchAll(); in setUp()
270 mMockLooper.dispatchAll(); in testRangingFlow()
279 mMockLooper.dispatchAll(); in testRangingFlow()
287 mMockLooper.dispatchAll(); in testRangingFlow()
328 mMockLooper.dispatchAll(); in testRangingFlowUsingAwarePeerHandles()
352 mMockLooper.dispatchAll(); in testRangingFlowUsingAwarePeerHandles()
389 mMockLooper.dispatchAll(); in testRangingFlowNativeFailure()
396 mMockLooper.dispatchAll(); in testRangingFlowNativeFailure()
412 mMockLooper.dispatchAll(); in testRangingFlowNativeFailure()
447 mMockLooper.dispatchAll(); in testRangingRequestWithoutRuntimePermission()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProvisionerTest.java302 mLooper.dispatchAll(); in initAndStartProvisioning()
308 mLooper.dispatchAll(); in initAndStartProvisioning()
338 mLooper.dispatchAll(); in stopAfterStep()
346 mLooper.dispatchAll(); in stopAfterStep()
356 mLooper.dispatchAll(); in stopAfterStep()
372 mLooper.dispatchAll(); in stopAfterStep()
383 mLooper.dispatchAll(); in stopAfterStep()
394 mLooper.dispatchAll(); in stopAfterStep()
409 mLooper.dispatchAll(); in stopAfterStep()
534 mLooper.dispatchAll(); in verifyProvisioningAbort()
[all …]
/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DPackageWatchdogTest.java162 mTestLooper.dispatchAll(); in testRegistration()
175 mTestLooper.dispatchAll(); in testRegistration()
197 mTestLooper.dispatchAll(); in testObserveAlreadyObservedPackage()
204 mTestLooper.dispatchAll(); in testObserveAlreadyObservedPackage()
233 mTestLooper.dispatchAll(); in testPersistence()
277 mTestLooper.dispatchAll(); in testNoPackageFailureBeforeThreshold()
305 mTestLooper.dispatchAll(); in testPackageFailureDifferentPackageNotifyNone()
341 mTestLooper.dispatchAll(); in testPackageFailureDifferentVersionNotifyNone()
383 mTestLooper.dispatchAll(); in testPackageFailureNotifyAllDifferentImpacts()
433 mTestLooper.dispatchAll(); in testPackageFailureNotifyLeastImpactSuccessively()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/
DRedirectListenerTest.java91 mLooper.dispatchAll(); in verifyStartServer()
98 mLooper.dispatchAll(); in verifyStopServer()
120 mLooper.dispatchAll(); in timeOutForKnownGetRequest()
142 mLooper.dispatchAll(); in receiveUnknownGetRequest()
163 mLooper.dispatchAll(); in receiveKnownGetRequest()

123