Home
last modified time | relevance | path

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

1234

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DActiveModeWardenTest.java182 mLooper.dispatchAll(); in setUp()
224 mLooper.dispatchAll(); in cleanUp()
235 mLooper.dispatchAll(); in enterClientModeActiveState()
237 mLooper.dispatchAll(); in enterClientModeActiveState()
259 mLooper.dispatchAll(); in enterScanOnlyModeActiveState()
261 mLooper.dispatchAll(); in enterScanOnlyModeActiveState()
290 mLooper.dispatchAll(); in enterSoftApActiveMode()
292 mLooper.dispatchAll(); in enterSoftApActiveMode()
309 mLooper.dispatchAll(); in enterStaDisabledMode()
312 mLooper.dispatchAll(); in enterStaDisabledMode()
[all …]
DClientModeManagerTest.java223 mLooper.dispatchAll(); in setUp()
240 mLooper.dispatchAll(); in startClientInScanOnlyModeAndVerifyEnabled()
250 mLooper.dispatchAll(); in startClientInScanOnlyModeAndVerifyEnabled()
263 mLooper.dispatchAll(); in startClientInConnectModeAndVerifyEnabled()
269 mLooper.dispatchAll(); in startClientInConnectModeAndVerifyEnabled()
272 mLooper.dispatchAll(); in startClientInConnectModeAndVerifyEnabled()
281 mLooper.dispatchAll(); in startClientInConnectModeAndVerifyEnabled()
362 mLooper.dispatchAll(); in switchFromScanOnlyModeToConnectMode()
396 mLooper.dispatchAll(); in switchFromConnectModeToScanOnlyMode()
428 mLooper.dispatchAll(); in detectAndReportErrorWhenSetupForClientInConnectivityModeWifiNativeFailure()
[all …]
DClientModeImplTest.java602 mLooper.dispatchAll(); in registerAsyncChannel()
626 mLooper.dispatchAll(); in initializeCmi()
635 mLooper.dispatchAll(); in initializeCmi()
661 mLooper.dispatchAll(); in createNew()
673 mLooper.dispatchAll(); in checkInitialStateStickyWhenDisabledMode()
678 mLooper.dispatchAll(); in checkInitialStateStickyWhenDisabledMode()
686 mLooper.dispatchAll(); in shouldStartSupplicantWhenConnectModeRequested()
692 mLooper.dispatchAll(); in shouldStartSupplicantWhenConnectModeRequested()
702 mLooper.dispatchAll(); in checkIsWifiEnabledForModeChanges()
717 mLooper.dispatchAll(); in checkIsWifiEnabledForModeChanges()
[all …]
DSoftApManagerTest.java204 mLooper.dispatchAll(); in createSoftApManager()
284 mLooper.dispatchAll(); in startSoftApDefaultConfigFailedToLoad()
286 mLooper.dispatchAll(); in startSoftApDefaultConfigFailedToLoad()
332 mLooper.dispatchAll(); in testSetupForSoftApModeNullApInterfaceNameFailureIncrementsMetrics()
334 mLooper.dispatchAll(); in testSetupForSoftApModeNullApInterfaceNameFailureIncrementsMetrics()
379 mLooper.dispatchAll(); in testSetupForSoftApModeEmptyInterfaceNameFailureIncrementsMetrics()
381 mLooper.dispatchAll(); in testSetupForSoftApModeEmptyInterfaceNameFailureIncrementsMetrics()
424 mLooper.dispatchAll(); in startSoftApOn5GhzFailGeneralErrorForNoCountryCode()
426 mLooper.dispatchAll(); in startSoftApOn5GhzFailGeneralErrorForNoCountryCode()
473 mLooper.dispatchAll(); in startSoftApOn5GhzFailGeneralErrorForCountryCodeSetFailure()
[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 …]
DWifiServiceImplTest.java471 mLooper.dispatchAll(); in makeWifiServiceImpl()
809 mLooper.dispatchAll(); in testSetWifiEnabledFromNetworkSettingsHolderWhenApEnabled()
834 mLooper.dispatchAll(); in testSetWifiEnabledFromAppFailsWhenApEnabled()
1023 mLooper.dispatchAll(); in testSetWifiApConfigurationSuccess()
1076 mLooper.dispatchAll(); in testSetSoftApConfigurationSuccess()
1188 mLooper.dispatchAll(); in testGetWifiApEnabled()
1197 mLooper.dispatchAll(); in testGetWifiApEnabled()
1225 mLooper.dispatchAll(); in testWifiControllerStartsWhenDeviceBootsWithWifiDisabled()
1236 mLooper.dispatchAll(); in testWifiVerboseLoggingInitialization()
1254 mLooper.dispatchAll(); in testWifiFullyStartsWhenDeviceBootsWithWifiEnabled()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java173 mMockLooper.dispatchAll(); in setUp()
261 mMockLooper.dispatchAll(); in testRequestMacAddresses()
264 mMockLooper.dispatchAll(); in testRequestMacAddresses()
269 mMockLooper.dispatchAll(); in testRequestMacAddresses()
273 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.java171 mMockLooper.dispatchAll(); in setUp()
209 mMockLooper.dispatchAll(); in testCreateDeleteAllInterfaces()
212 mMockLooper.dispatchAll(); in testCreateDeleteAllInterfaces()
216 mMockLooper.dispatchAll(); in testCreateDeleteAllInterfaces()
223 mMockLooper.dispatchAll(); in testCreateDeleteAllInterfaces()
231 mMockLooper.dispatchAll(); in testCreateDeleteAllInterfaces()
243 mMockLooper.dispatchAll(); in testCreateDeleteAllInterfaces()
251 mMockLooper.dispatchAll(); in testCreateDeleteAllInterfaces()
259 mMockLooper.dispatchAll(); in testCreateDeleteAllInterfaces()
266 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 …]
DHdmiCecLocalDevicePlaybackTest.java125 mTestLooper.dispatchAll(); in setUp()
145 mTestLooper.dispatchAll(); in handleRoutingChange_None()
166 mTestLooper.dispatchAll(); in handleRoutingInformation_None()
187 mTestLooper.dispatchAll(); in handleRoutingChange_WakeUpOnly()
208 mTestLooper.dispatchAll(); in handleRoutingInformation_WakeUpOnly()
229 mTestLooper.dispatchAll(); in handleRoutingChange_WakeUpAndSendActiveSource()
250 mTestLooper.dispatchAll(); in handleRoutingInformation_WakeUpAndSendActiveSource()
324 mTestLooper.dispatchAll(); in handleOnStandby_ScreenOff_NotActiveSource()
337 mTestLooper.dispatchAll(); in handleOnStandby_ScreenOff_ActiveSource()
353 mTestLooper.dispatchAll(); in handleActiveSource_ActiveSource_None()
[all …]
DHdmiCecLocalDeviceAudioSystemTest.java217 mTestLooper.dispatchAll(); in setUp()
237 mTestLooper.dispatchAll(); in handleGiveAudioStatus_volume_10_mute_true()
251 mTestLooper.dispatchAll(); in handleGiveSystemAudioModeStatus_originalOff()
269 mTestLooper.dispatchAll(); in handleRequestShortAudioDescriptor_featureDisabled()
287 mTestLooper.dispatchAll(); in handleRequestShortAudioDescriptor_samOff()
307 mTestLooper.dispatchAll(); in handleRequestShortAudioDescriptor_noAudioDeviceInfo()
324 mTestLooper.dispatchAll(); in handleSetSystemAudioMode_setOn_orignalOff()
331 mTestLooper.dispatchAll(); in handleSetSystemAudioMode_setOn_orignalOff()
334 mTestLooper.dispatchAll(); in handleSetSystemAudioMode_setOn_orignalOff()
354 mTestLooper.dispatchAll(); in handleSystemAudioModeRequest_turnOffByTv()
[all …]
DSystemAudioInitiationActionFromAvrTest.java196 mTestLooper.dispatchAll(); in testNoActiveSourceMessageReceived()
215 mTestLooper.dispatchAll(); in testTvNotSupport()
232 mTestLooper.dispatchAll(); in testTvSupport()
251 mTestLooper.dispatchAll(); in testKnownActiveSource()
272 mTestLooper.dispatchAll(); in testRetry()
290 mTestLooper.dispatchAll(); in testIsPlaybackDevice_cannotReceiveActiveSource()
/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DWifiScanningServiceTest.java222 mLooper.dispatchAll(); in connectChannel()
444 mLooper.dispatchAll(); in startServiceAndLoadDriver()
463 mLooper.dispatchAll(); in setupAndLoadDriver()
504 mLooper.dispatchAll(); in startService()
512 mLooper.dispatchAll(); in startService()
519 mLooper.dispatchAll(); in disconnectClientBeforeWifiEnabled()
522 mLooper.dispatchAll(); in disconnectClientBeforeWifiEnabled()
525 mLooper.dispatchAll(); in disconnectClientBeforeWifiEnabled()
541 mLooper.dispatchAll(); in loadDriver()
556 mLooper.dispatchAll(); in duplicateScanEnableIsIgnored()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttServiceImplTest.java230 mMockLooper.dispatchAll(); in setUp()
277 mMockLooper.dispatchAll(); in testRangingFlow()
287 mMockLooper.dispatchAll(); in testRangingFlow()
295 mMockLooper.dispatchAll(); in testRangingFlow()
340 mMockLooper.dispatchAll(); in testRangingFlowUsingAwarePeerHandles()
365 mMockLooper.dispatchAll(); in testRangingFlowUsingAwarePeerHandles()
404 mMockLooper.dispatchAll(); in testRangingFlowNativeFailure()
412 mMockLooper.dispatchAll(); in testRangingFlowNativeFailure()
428 mMockLooper.dispatchAll(); in testRangingFlowNativeFailure()
464 mMockLooper.dispatchAll(); in testRangingRequestWithoutRuntimePermission()
[all …]
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java514 mLooper.dispatchAll(); in testCorrectLooperIsUsedForHandler()
533 altLooper.dispatchAll(); in testMainLooperIsUsedWhenHandlerNotProvided()
554 callbackLooper.dispatchAll(); in testOnStartedIsCalledWithReservation()
555 mLooper.dispatchAll(); in testOnStartedIsCalledWithReservation()
560 mLooper.dispatchAll(); in testOnStartedIsCalledWithReservation()
561 callbackLooper.dispatchAll(); in testOnStartedIsCalledWithReservation()
586 callbackLooper.dispatchAll(); in testOnStartedIsCalledWithReservationAndSaeSoftApConfig()
587 mLooper.dispatchAll(); in testOnStartedIsCalledWithReservationAndSaeSoftApConfig()
592 mLooper.dispatchAll(); in testOnStartedIsCalledWithReservationAndSaeSoftApConfig()
593 callbackLooper.dispatchAll(); in testOnStartedIsCalledWithReservationAndSaeSoftApConfig()
[all …]
DWifiScannerTest.java106 mLooper.dispatchAll(); in setUp()
255 mLooper.dispatchAll(); in testStartScan()
285 mLooper.dispatchAll(); in testStopScan()
288 mLooper.dispatchAll(); in testStopScan()
314 mLooper.dispatchAll(); in testStartScanListenerOnSuccess()
329 mLooper.dispatchAll(); in testStartScanListenerOnSuccess()
344 mLooper.dispatchAll(); in testStartScanListenerOnResults()
362 mLooper.dispatchAll(); in testStartScanListenerOnResults()
380 mLooper.dispatchAll(); in testStartDisconnectedPnoScan()
411 mLooper.dispatchAll(); in testStartConnectedPnoScan()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProvisionerTest.java299 mLooper.dispatchAll(); in initAndStartProvisioning()
305 mLooper.dispatchAll(); in initAndStartProvisioning()
335 mLooper.dispatchAll(); in stopAfterStep()
343 mLooper.dispatchAll(); in stopAfterStep()
353 mLooper.dispatchAll(); in stopAfterStep()
369 mLooper.dispatchAll(); in stopAfterStep()
380 mLooper.dispatchAll(); in stopAfterStep()
391 mLooper.dispatchAll(); in stopAfterStep()
406 mLooper.dispatchAll(); in stopAfterStep()
531 mLooper.dispatchAll(); in verifyProvisioningAbort()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest11.java66 mTestLooper.dispatchAll(); in testShortcutChangeCallback_setDynamicShortcuts()
93 mTestLooper.dispatchAll(); in testShortcutChangeCallback_setDynamicShortcuts_replaceSameId()
134 mTestLooper.dispatchAll(); in testShortcutChangeCallback_setDynamicShortcuts_pinnedAndCached()
158 mTestLooper.dispatchAll(); in testShortcutChangeCallback_pinShortcuts()
190 mTestLooper.dispatchAll(); in testShortcutChangeCallback_pinShortcuts_unpinOthers()
225 mTestLooper.dispatchAll(); in testShortcutChangeCallback_cacheShortcuts()
257 mTestLooper.dispatchAll(); in testShortcutChangeCallback_cacheShortcuts_alreadyCached()
285 mTestLooper.dispatchAll(); in testShortcutChangeCallback_uncacheShortcuts()
323 mTestLooper.dispatchAll(); in testShortcutChangeCallback_uncacheShortcuts_causeDeletion()
360 mTestLooper.dispatchAll(); in testShortcutChangeCallback_updateShortcuts()
[all …]
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DSavedNetworkTrackerTest.java120 mTestLooper.dispatchAll(); in testOnStart_setsWifiState()
128 mTestLooper.dispatchAll(); in testOnStart_setsWifiState()
170 mTestLooper.dispatchAll(); in testWifiStateChangeBroadcast_notifiesListener()
188 mTestLooper.dispatchAll(); in testConfiguredNetworksChanged_notifiesListener()
207 mTestLooper.dispatchAll(); in testGetSavedWifiEntries_onStart_entryForEachConfiguredNetwork()
226 mTestLooper.dispatchAll(); in testGetSavedWifiEntries_configuredNetworksChanged_addsEntry()
256 mTestLooper.dispatchAll(); in testGetSavedWifiEntries_configuredNetworksChanged_removesEntry()
281 mTestLooper.dispatchAll(); in testScanResultsAvailableAction_notifiesListener()
298 mTestLooper.dispatchAll(); in testGetSavedWifiEntries_scanResultsAvailableAction_changesLevel()
332 mTestLooper.dispatchAll(); in testGetSubscriptionWifiEntries_returnsPasspointEntries()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/
DRedirectListenerTest.java93 mLooper.dispatchAll(); in verifyStartServer()
100 mLooper.dispatchAll(); in verifyStopServer()
122 mLooper.dispatchAll(); in timeOutForKnownGetRequest()
144 mLooper.dispatchAll(); in receiveUnknownGetRequest()
165 mLooper.dispatchAll(); in receiveKnownGetRequest()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DSIMRecordsTest.java103 mTestLooper.dispatchAll(); in setUp()
117 mTestLooper.dispatchAll(); in testSetForbiddenPlmnsPad()
132 mTestLooper.dispatchAll(); in testSetForbiddenPlmnsTruncate()
147 mTestLooper.dispatchAll(); in testSetForbiddenPlmnsClear()
193 mTestLooper.dispatchAll(); in testGetForbiddenPlmns()
216 mTestLooper.dispatchAll(); in testGetForbiddenPlmnsException()
239 mTestLooper.dispatchAll(); in testGetForbiddenPlmnsNull()
261 mTestLooper.dispatchAll(); in testGetForbiddenPlmnsEmptyList()
283 mTestLooper.dispatchAll(); in testGetForbiddenPlmnsInvalidLength()

1234