Home
last modified time | relevance | path

Searched refs:dispatchAll (Results 1 – 25 of 66) 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 …]
DActiveModeWardenTest.java111 mLooper.dispatchAll(); in setUp()
176 mLooper.dispatchAll(); in enterClientModeActiveState()
178 mLooper.dispatchAll(); in enterClientModeActiveState()
204 mLooper.dispatchAll(); in enterScanOnlyModeActiveState()
206 mLooper.dispatchAll(); in enterScanOnlyModeActiveState()
236 mLooper.dispatchAll(); in enterSoftApActiveMode()
278 mLooper.dispatchAll(); in testEnterSoftApModeFromDifferentState()
292 mLooper.dispatchAll(); in testDisableWifiFromScanOnlyModeActiveState()
307 mLooper.dispatchAll(); in testDisableWifiFromSoftApModeActiveStateDoesNotStopSoftAp()
323 mLooper.dispatchAll(); in testSwitchModeWhenScanOnlyModeActiveState()
[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 …]
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 …]
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 …]
DSoftApManagerTest.java140 mLooper.dispatchAll(); in createSoftApManager()
213 mLooper.dispatchAll(); in startSoftApDefaultConfigFailedToLoad()
215 mLooper.dispatchAll(); in startSoftApDefaultConfigFailedToLoad()
256 mLooper.dispatchAll(); in testSetupForSoftApModeNullApInterfaceNameFailureIncrementsMetrics()
258 mLooper.dispatchAll(); in testSetupForSoftApModeNullApInterfaceNameFailureIncrementsMetrics()
298 mLooper.dispatchAll(); in testSetupForSoftApModeEmptyInterfaceNameFailureIncrementsMetrics()
300 mLooper.dispatchAll(); in testSetupForSoftApModeEmptyInterfaceNameFailureIncrementsMetrics()
339 mLooper.dispatchAll(); in startSoftApOn5GhzFailGeneralErrorForNoCountryCode()
341 mLooper.dispatchAll(); in startSoftApOn5GhzFailGeneralErrorForNoCountryCode()
385 mLooper.dispatchAll(); in startSoftApOn5GhzFailGeneralErrorForCountryCodeSetFailure()
[all …]
DClientModeImplTest.java537 mLooper.dispatchAll(); in registerAsyncChannel()
560 mLooper.dispatchAll(); in initializeCmi()
592 mLooper.dispatchAll(); in createNew()
604 mLooper.dispatchAll(); in checkInitialStateStickyWhenDisabledMode()
609 mLooper.dispatchAll(); in checkInitialStateStickyWhenDisabledMode()
617 mLooper.dispatchAll(); in shouldStartSupplicantWhenConnectModeRequested()
623 mLooper.dispatchAll(); in shouldStartSupplicantWhenConnectModeRequested()
633 mLooper.dispatchAll(); in checkIsWifiEnabledForModeChanges()
652 mLooper.dispatchAll(); in checkIsWifiEnabledForModeChanges()
706 mLooper.dispatchAll(); in canForgetNetwork()
[all …]
DWifiServiceImplTest.java443 mLooper.dispatchAll(); in verifyAsyncChannelHalfConnected()
899 mLooper.dispatchAll(); in testSetWifiApConfigurationSuccess()
979 mLooper.dispatchAll(); in testGetWifiApEnabled()
991 mLooper.dispatchAll(); in testGetWifiApEnabled()
1478 mLooper.dispatchAll(); in testTetheringDoesNotStartWhenAlreadyTetheringActive()
1496 mLooper.dispatchAll(); in testHotspotDoesNotStartWhenAlreadyTethering()
1717 mLooper.dispatchAll(); in registerSoftApCallbackFailureOnLinkToDeath()
1739 mLooper.dispatchAll(); in registerSoftApCallbackAndVerify()
1763 mLooper.dispatchAll(); in replacesOldCallbackWithNewCallbackWhenRegisteringTwice()
1780 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.java172 mMockLooper.dispatchAll(); in setUp()
213 mMockLooper.dispatchAll(); in testCreateDeleteAllInterfaces()
216 mMockLooper.dispatchAll(); in testCreateDeleteAllInterfaces()
220 mMockLooper.dispatchAll(); in testCreateDeleteAllInterfaces()
227 mMockLooper.dispatchAll(); in testCreateDeleteAllInterfaces()
235 mMockLooper.dispatchAll(); in testCreateDeleteAllInterfaces()
247 mMockLooper.dispatchAll(); in testCreateDeleteAllInterfaces()
255 mMockLooper.dispatchAll(); in testCreateDeleteAllInterfaces()
263 mMockLooper.dispatchAll(); in testCreateDeleteAllInterfaces()
270 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/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.java210 mTestLooper.dispatchAll(); in setUp()
230 mTestLooper.dispatchAll(); in handleGiveAudioStatus_volume_10_mute_true()
243 mTestLooper.dispatchAll(); in handleGiveSystemAudioModeStatus_originalOff()
261 mTestLooper.dispatchAll(); in handleRequestShortAudioDescriptor_featureDisabled()
279 mTestLooper.dispatchAll(); in handleRequestShortAudioDescriptor_samOff()
299 mTestLooper.dispatchAll(); in handleRequestShortAudioDescriptor_noAudioDeviceInfo()
315 mTestLooper.dispatchAll(); in handleSetSystemAudioMode_setOn_orignalOff()
322 mTestLooper.dispatchAll(); in handleSetSystemAudioMode_setOn_orignalOff()
325 mTestLooper.dispatchAll(); in handleSetSystemAudioMode_setOn_orignalOff()
344 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/base/tests/net/java/com/android/server/connectivity/tethering/
DEntitlementManagerTest.java259 mLooper.dispatchAll(); in testGetLastEntitlementCacheValue()
274 mLooper.dispatchAll(); in testGetLastEntitlementCacheValue()
288 mLooper.dispatchAll(); in testGetLastEntitlementCacheValue()
302 mLooper.dispatchAll(); in testGetLastEntitlementCacheValue()
316 mLooper.dispatchAll(); in testGetLastEntitlementCacheValue()
330 mLooper.dispatchAll(); in testGetLastEntitlementCacheValue()
343 mLooper.dispatchAll(); in testGetLastEntitlementCacheValue()
361 mLooper.dispatchAll(); in verifyPermissionResult()
364 mLooper.dispatchAll(); in verifyPermissionResult()
367 mLooper.dispatchAll(); in verifyPermissionResult()
[all …]
/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.java394 mLooper.dispatchAll(); in testCorrectLooperIsUsedForHandler()
412 altLooper.dispatchAll(); in testMainLooperIsUsedWhenHandlerNotProvided()
430 callbackLooper.dispatchAll(); in testOnStartedIsCalledWithReservation()
431 mLooper.dispatchAll(); in testOnStartedIsCalledWithReservation()
439 mLooper.dispatchAll(); in testOnStartedIsCalledWithReservation()
440 callbackLooper.dispatchAll(); in testOnStartedIsCalledWithReservation()
457 callbackLooper.dispatchAll(); in testOnStartedIsCalledWithNullConfig()
458 mLooper.dispatchAll(); in testOnStartedIsCalledWithNullConfig()
465 mLooper.dispatchAll(); in testOnStartedIsCalledWithNullConfig()
466 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/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()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProvisionerTest.java303 mLooper.dispatchAll(); in initAndStartProvisioning()
309 mLooper.dispatchAll(); in initAndStartProvisioning()
339 mLooper.dispatchAll(); in stopAfterStep()
347 mLooper.dispatchAll(); in stopAfterStep()
357 mLooper.dispatchAll(); in stopAfterStep()
373 mLooper.dispatchAll(); in stopAfterStep()
384 mLooper.dispatchAll(); in stopAfterStep()
395 mLooper.dispatchAll(); in stopAfterStep()
410 mLooper.dispatchAll(); in stopAfterStep()
535 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()
276 mTestLooper.dispatchAll(); in testNoPackageFailureBeforeThreshold()
303 mTestLooper.dispatchAll(); in testPackageFailureDifferentPackageNotifyNone()
338 mTestLooper.dispatchAll(); in testPackageFailureDifferentVersionNotifyNone()
379 mTestLooper.dispatchAll(); in testPackageFailureNotifyAllDifferentImpacts()
428 mTestLooper.dispatchAll(); in testPackageFailureNotifyLeastImpactSuccessively()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pMonitorTest.java65 mLooper.dispatchAll(); in testBroadcastSupplicantDisconnectionEvent()
81 mLooper.dispatchAll(); in testBroadcastEventToTwoHandlers()
97 mLooper.dispatchAll(); in testBroadcastEventWhenIfaceIsNull()
111 mLooper.dispatchAll(); in testBroadcastEventWhenIfaceHandlerIsNull()

123