/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | InterfaceConflictManagerTest.java | 85 @Mock WifiDialogManager mWifiDialogManager; field in InterfaceConflictManagerTest 121 when(mWifiDialogManager.createSimpleDialog( in setup() 136 new WifiThreadRunner(new Handler(mTestLooper.getLooper())), mWifiDialogManager, in initInterfaceConflictManager() 159 verify(mWifiDialogManager, never()).createSimpleDialog( in testUserApprovalDisabled() 182 verify(mWifiDialogManager, never()).createSimpleDialog( in testUserApprovalDisabledForSpecificPackage() 200 verify(mWifiDialogManager, never()).createSimpleDialog( in testBypassDialog() 225 verify(mWifiDialogManager, never()).createSimpleDialog( in testUserApprovalNeededButCommandCanProceed() 238 verify(mWifiDialogManager, never()).createSimpleDialog( in testUserApprovalNeededButCommandCanProceed() 264 verify(mWifiDialogManager).createSimpleDialog( in testUserApproved() 278 verify(mWifiDialogManager, times(1)).createSimpleDialog( in testUserApproved() [all …]
|
D | ConnectionFailureNotifierTest.java | 66 @Mock private WifiDialogManager mWifiDialogManager; field in ConnectionFailureNotifierTest 85 when(mWifiDialogManager.createSimpleDialog(any(), any(), any(), any(), any(), any(), any())) in setUp() 90 mConnectionFailureNotificationBuilder, mWifiDialogManager); in setUp() 149 verify(mWifiDialogManager).createSimpleDialog( in testConnectionFailureSendRandomizationSettingsNotification() 189 verify(mWifiDialogManager, never()) in testWifiConfigurationMismatch()
|
D | InsecureEapNetworkHandlerTest.java | 324 @Mock WifiDialogManager mWifiDialogManager; field in InsecureEapNetworkHandlerTest 374 when(mWifiDialogManager.createLegacySimpleDialogWithUrl( in setUp() 377 when(mWifiDialogManager.createLegacySimpleDialog( in setUp() 740 mWifiDialogManager, in setupTest() 1000 mWifiDialogManager, in verifySetPendingCertificateNoCrashWithNoConfig() 1090 verify(mWifiDialogManager).createLegacySimpleDialogWithUrl( in verifyTrustOnFirstUseFlow() 1118 verify(mWifiDialogManager).createLegacySimpleDialogWithUrl( in verifyTrustOnFirstUseFlow() 1183 verify(mWifiDialogManager).createLegacySimpleDialogWithUrl( in verifyTrustOnFirstUseFlow() 1257 mWifiDialogManager, in configureTofuWithAidlVersion2Value()
|
D | WifiConnectivityManagerTest.java | 225 when(mWifiDialogManager.createSimpleDialog(any(), any(), any(), any(), any(), any(), any())) in setUp() 326 @Mock private WifiDialogManager mWifiDialogManager; field in WifiConnectivityManagerTest 648 mWifiDialogManager, in createConnectivityManager() 4132 verify(mWifiDialogManager, never()).createSimpleDialog(any(), any(), any(), any(), any(), in testSufficiencyCheckDisabledDoesNotShowNetworkSwitchDialog() 4163 verify(mWifiDialogManager).createSimpleDialog(any(), any(), any(), any(), any(), in testUserApprovedNetworkSwitch() 4201 verify(mWifiDialogManager).createSimpleDialog(any(), any(), any(), any(), any(), in testUserRejectedNetworkSwitch() 4217 verify(mWifiDialogManager, times(1)).createSimpleDialog(any(), any(), any(), any(), any(), in testUserRejectedNetworkSwitch() 4231 verify(mWifiDialogManager, times(2)).createSimpleDialog(any(), any(), any(), any(), any(), in testUserRejectedNetworkSwitch() 4262 verify(mWifiDialogManager).createSimpleDialog(any(), any(), any(), any(), any(), in testNetworkSwitchDialogUpdated() 4271 verify(mWifiDialogManager).createSimpleDialog(any(), any(), any(), any(), any(), in testNetworkSwitchDialogUpdated() [all …]
|
D | WifiCarrierInfoManagerTest.java | 171 @Mock WifiDialogManager mWifiDialogManager; field in WifiCarrierInfoManagerTest 223 when(mWifiDialogManager.createSimpleDialog(any(), any(), any(), any(), any(), any(), any())) in setUp() 229 when(mWifiInjector.getWifiDialogManager()).thenReturn(mWifiDialogManager); in setUp() 1997 verify(mWifiDialogManager).createSimpleDialog( in testSendImsiProtectionExemptionConfirmationDialogWithUserDisallowed() 2037 verify(mWifiDialogManager).createSimpleDialog( in testSendImsiProtectionExemptionConfirmationDialogWithUserDismissal() 2086 verify(mWifiDialogManager).createSimpleDialog( in testSendImsiProtectionExemptionDialogWithUserAllowed() 2235 verify(mWifiDialogManager, atLeastOnce()).createSimpleDialog( in validateUserApprovalDialog()
|
D | WifiNetworkSuggestionsManagerTest.java | 170 private @Mock WifiDialogManager mWifiDialogManager; field in WifiNetworkSuggestionsManagerTest 234 when(mWifiInjector.getWifiDialogManager()).thenReturn(mWifiDialogManager); in setUp() 247 when(mWifiDialogManager.createSimpleDialog(any(), any(), any(), any(), any(), any(), any())) in setUp() 3021 verify(mWifiDialogManager).createSimpleDialog( in testUserApprovalDialogClickOnAllowDuringAddingSuggestionsFromFgApp() 3063 verify(mWifiDialogManager).createSimpleDialog( in testUserApprovalDialogClickOnDisallowWhenAddSuggestionsFromFgApp() 3124 verify(mWifiDialogManager).createSimpleDialog( in testUserApprovalDialiogDismissDuringAddingSuggestionsFromFgApp() 3316 verify(mWifiDialogManager, atLeastOnce()).createSimpleDialog( in validateUserApprovalDialog()
|
D | WifiServiceImplTest.java | 492 @Mock WifiDialogManager mWifiDialogManager; field in WifiServiceImplTest 684 when(mWifiInjector.getWifiDialogManager()).thenReturn(mWifiDialogManager); in setUp() 1221 when(mWifiDialogManager.createSimpleDialog(any(), any(), any(), any(), any(), any(), any())) in testSetWifiEnabledDialogForThirdPartyAppsTargetingBelowQSdk() 1229 verify(mWifiDialogManager, times(1)).createSimpleDialog( in testSetWifiEnabledDialogForThirdPartyAppsTargetingBelowQSdk() 1244 verify(mWifiDialogManager, times(1)).createSimpleDialog( in testSetWifiEnabledDialogForThirdPartyAppsTargetingBelowQSdk() 1260 when(mWifiDialogManager.createSimpleDialog(any(), any(), any(), any(), any(), any(), any())) in testSetWifiEnabledDialogForThirdPartyAppsTargetingBelowQSdk() 1268 verify(mWifiDialogManager, times(2)).createSimpleDialog( in testSetWifiEnabledDialogForThirdPartyAppsTargetingBelowQSdk() 1283 when(mWifiDialogManager.createSimpleDialog(any(), any(), any(), any(), any(), any(), any())) in testSetWifiEnabledDialogForThirdPartyAppsTargetingBelowQSdk() 1291 verify(mWifiDialogManager, times(3)).createSimpleDialog( in testSetWifiEnabledDialogForThirdPartyAppsTargetingBelowQSdk() 1307 when(mWifiDialogManager.createSimpleDialog(any(), any(), any(), any(), any(), any(), any())) in testSetWifiEnabledDialogForThirdPartyAppsTargetingBelowQSdk() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ConnectionFailureNotifier.java | 46 private final WifiDialogManager mWifiDialogManager; field in ConnectionFailureNotifier 64 mWifiDialogManager = wifiDialogManager; in ConnectionFailureNotifier() 125 mWifiDialogManager.createSimpleDialog( in showRandomizationSettingsDialog()
|
D | WifiInjector.java | 266 @NonNull private final WifiDialogManager mWifiDialogManager; field in WifiInjector 328 mWifiDialogManager = new WifiDialogManager(mContext, mWifiThreadRunner, mFrameworkFacade, in WifiInjector() 342 mHalDeviceManager, mWifiThreadRunner, mWifiDialogManager, new LocalLog( in WifiInjector() 541 mWifiCarrierInfoManager, mCountryCode, mWifiDialogManager, in WifiInjector() 549 mWifiDialogManager); in WifiInjector() 687 mWifiDialogManager.enableVerboseLogging(verboseEnabled); in enableVerboseLogging() 1203 return mWifiDialogManager; in getWifiDialogManager()
|
D | InterfaceConflictManager.java | 74 private final WifiDialogManager mWifiDialogManager; field in InterfaceConflictManager 103 mWifiDialogManager = wifiDialogManager; in InterfaceConflictManager() 428 return mWifiDialogManager.createSimpleDialog( in createUserApprovalDialog()
|
D | InsecureEapNetworkHandler.java | 87 private final WifiDialogManager mWifiDialogManager; field in InsecureEapNetworkHandler 161 mWifiDialogManager = wifiDialogManager; in InsecureEapNetworkHandler() 430 mTofuAlertDialog = mWifiDialogManager.createLegacySimpleDialog( in createCertificateErrorNotification() 739 mTofuAlertDialog = mWifiDialogManager.createLegacySimpleDialogWithUrl( in askForUserApprovalForCaCertificate()
|
D | WifiShellCommand.java | 213 private final @NonNull WifiDialogManager mWifiDialogManager; field in WifiShellCommand 464 mWifiDialogManager = wifiInjector.getWifiDialogManager(); in WifiShellCommand() 1522 simpleDialogHandle = mWifiDialogManager.createLegacySimpleDialogWithUrl( in onCommand() 1534 simpleDialogHandle = mWifiDialogManager.createSimpleDialogWithUrl( in onCommand() 1594 mWifiDialogManager.createP2pInvitationSentDialog(deviceName, displayPin, in onCommand() 1652 mWifiDialogManager.createP2pInvitationReceivedDialog( in onCommand()
|
D | WifiConnectivityManager.java | 186 private final WifiDialogManager mWifiDialogManager; field in WifiConnectivityManager 1389 mWifiDialogManager = wifiDialogManager; in WifiConnectivityManager() 1664 mNetworkSwitchDialog = mWifiDialogManager.createSimpleDialog( in connectToNetworkForPrimaryCmmUsingMbbIfAvailable()
|
D | WifiServiceImpl.java | 391 private final @NonNull WifiDialogManager mWifiDialogManager; field in WifiServiceImpl 572 mWifiDialogManager = mWifiInjector.getWifiDialogManager(); in WifiServiceImpl() 1428 WifiDialogManager.DialogHandle dialogHandle = mWifiDialogManager.createSimpleDialog( in showWifiEnableRequestDialog() 7813 mWifiThreadRunner.post(() -> mWifiDialogManager.replyToSimpleDialog(dialogId, reply), 7832 mWifiThreadRunner.post(() -> mWifiDialogManager.replyToP2pInvitationReceivedDialog(
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImplTest.java | 286 @Mock WifiDialogManager mWifiDialogManager; field in WifiP2pServiceImplTest 1445 when(mWifiInjector.getWifiDialogManager()).thenReturn(mWifiDialogManager); in setUpWifiP2pServiceImpl() 1449 when(mWifiDialogManager.createP2pInvitationReceivedDialog(any(), anyBoolean(), any(), in setUpWifiP2pServiceImpl() 1451 when(mWifiDialogManager.createP2pInvitationSentDialog(any(), any(), anyInt())) in setUpWifiP2pServiceImpl() 3638 when(mWifiDialogManager.createSimpleDialog( in testAcceptFrequencyConflictDialogSendsDisconnectWifiRequest() 3657 verify(mWifiDialogManager).createSimpleDialog( in testAcceptFrequencyConflictDialogSendsDisconnectWifiRequest() 3707 when(mWifiDialogManager.createSimpleDialog( in testDeclineFrequencyConflictDialogEndsP2pConnectionEvent() 3726 verify(mWifiDialogManager).createSimpleDialog( in testDeclineFrequencyConflictDialogEndsP2pConnectionEvent() 3746 when(mWifiDialogManager.createSimpleDialog( in testFrequencyConflictDialogDismissedOnStateExit() 3769 verify(mWifiDialogManager).createSimpleDialog( in testFrequencyConflictDialogDismissedOnStateExit() [all …]
|