Home
last modified time | relevance | path

Searched refs:dialogHandle (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiDialogManagerTest.java122 @NonNull DialogHandle dialogHandle, in launchDialogSynchronous()
125 dialogHandle.launchDialog(timeoutMs); in launchDialogSynchronous()
139 @NonNull DialogHandle dialogHandle, in dismissDialogSynchronous()
141 dialogHandle.dismissDialog(); in dismissDialogSynchronous()
250 DialogHandle dialogHandle = mDialogManager.createSimpleDialog(TEST_TITLE, TEST_MESSAGE, in testSimpleDialog_launchAndResponse_notifiesCallback() local
253 launchDialogSynchronous(dialogHandle, 0, mWifiThreadRunner); in testSimpleDialog_launchAndResponse_notifiesCallback()
273 dialogHandle = mDialogManager.createSimpleDialog(TEST_TITLE, TEST_MESSAGE, in testSimpleDialog_launchAndResponse_notifiesCallback()
276 launchDialogSynchronous(dialogHandle, 0, mWifiThreadRunner); in testSimpleDialog_launchAndResponse_notifiesCallback()
288 dialogHandle = mDialogManager.createSimpleDialog( in testSimpleDialog_launchAndResponse_notifiesCallback()
291 launchDialogSynchronous(dialogHandle, 0, mWifiThreadRunner); in testSimpleDialog_launchAndResponse_notifiesCallback()
[all …]
DWifiServiceImplTest.java1220 WifiDialogManager.DialogHandle dialogHandle = mock(WifiDialogManager.DialogHandle.class); in testSetWifiEnabledDialogForThirdPartyAppsTargetingBelowQSdk() local
1222 .thenReturn(dialogHandle); in testSetWifiEnabledDialogForThirdPartyAppsTargetingBelowQSdk()
1237 verify(dialogHandle).launchDialog(); in testSetWifiEnabledDialogForThirdPartyAppsTargetingBelowQSdk()
1259 dialogHandle = mock(WifiDialogManager.DialogHandle.class); in testSetWifiEnabledDialogForThirdPartyAppsTargetingBelowQSdk()
1261 .thenReturn(dialogHandle); in testSetWifiEnabledDialogForThirdPartyAppsTargetingBelowQSdk()
1276 verify(dialogHandle).launchDialog(); in testSetWifiEnabledDialogForThirdPartyAppsTargetingBelowQSdk()
1282 dialogHandle = mock(WifiDialogManager.DialogHandle.class); in testSetWifiEnabledDialogForThirdPartyAppsTargetingBelowQSdk()
1284 .thenReturn(dialogHandle); in testSetWifiEnabledDialogForThirdPartyAppsTargetingBelowQSdk()
1299 verify(dialogHandle).launchDialog(); in testSetWifiEnabledDialogForThirdPartyAppsTargetingBelowQSdk()
1306 dialogHandle = mock(WifiDialogManager.DialogHandle.class); in testSetWifiEnabledDialogForThirdPartyAppsTargetingBelowQSdk()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiDialogManager.java96 for (LegacySimpleDialogHandle dialogHandle :
98 dialogHandle.changeWindowType(
113 for (LegacySimpleDialogHandle dialogHandle :
115 dialogHandle.cancelDialog();
165 for (LegacySimpleDialogHandle dialogHandle : in handleScreenStateChanged()
167 dialogHandle.changeWindowType( in handleScreenStateChanged()
DWifiServiceImpl.java1428 WifiDialogManager.DialogHandle dialogHandle = mWifiDialogManager.createSimpleDialog( in showWifiEnableRequestDialog() local
1436 mWifiEnableRequestDialogHandles.put(uid, dialogHandle); in showWifiEnableRequestDialog()
1437 dialogHandle.launchDialog(); in showWifiEnableRequestDialog()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java3637 WifiDialogManager.DialogHandle dialogHandle = mock(WifiDialogManager.DialogHandle.class); in testAcceptFrequencyConflictDialogSendsDisconnectWifiRequest() local
3639 any(), any(), any(), any(), any(), any(), any())).thenReturn(dialogHandle); in testAcceptFrequencyConflictDialogSendsDisconnectWifiRequest()
3659 verify(dialogHandle).launchDialog(); in testAcceptFrequencyConflictDialogSendsDisconnectWifiRequest()
3706 WifiDialogManager.DialogHandle dialogHandle = mock(WifiDialogManager.DialogHandle.class); in testDeclineFrequencyConflictDialogEndsP2pConnectionEvent() local
3708 any(), any(), any(), any(), any(), any(), any())).thenReturn(dialogHandle); in testDeclineFrequencyConflictDialogEndsP2pConnectionEvent()
3728 verify(dialogHandle).launchDialog(); in testDeclineFrequencyConflictDialogEndsP2pConnectionEvent()
3745 WifiDialogManager.DialogHandle dialogHandle = mock(WifiDialogManager.DialogHandle.class); in testFrequencyConflictDialogDismissedOnStateExit() local
3747 any(), any(), any(), any(), any(), any(), any())).thenReturn(dialogHandle); in testFrequencyConflictDialogDismissedOnStateExit()
3771 verify(dialogHandle).launchDialog(); in testFrequencyConflictDialogDismissedOnStateExit()
3772 verify(dialogHandle).dismissDialog(); in testFrequencyConflictDialogDismissedOnStateExit()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java5997 WifiDialogManager.DialogHandle dialogHandle = mWifiInjector.getWifiDialogManager() in showInvitationSentDialog() local
5999 if (dialogHandle == null) { in showInvitationSentDialog()
6003 dialogHandle.launchDialog(); in showInvitationSentDialog()