Home
last modified time | relevance | path

Searched refs:mOsuNetworkConnection (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvisioner.java85 private final OsuNetworkConnection mOsuNetworkConnection; field in PasspointProvisioner
103 mOsuNetworkConnection = objectFactory.makeOsuNetworkConnection(context); in PasspointProvisioner()
123 mOsuNetworkConnection.init(mProvisioningStateMachine.getHandler()); in init()
139 mOsuNetworkConnection.enableVerboseLogging(level); in enableVerboseLogging()
270 mOsuNetworkConnection.setEventCallback(mOsuNetworkCallbacks); in startProvisioning()
275 if (!mOsuNetworkConnection.connect(mOsuProvider.getOsuSsid(), in startProvisioning()
991 mOsuNetworkConnection.setEventCallback(null); in resetStateMachine()
992 mOsuNetworkConnection.disconnectIfNeeded(); in resetStateMachine()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProvisionerTest.java175 @Mock OsuNetworkConnection mOsuNetworkConnection; field in PasspointProvisionerTest
211 .thenReturn(mOsuNetworkConnection); in setUp()
222 when(mOsuNetworkConnection.connect(any(WifiSsid.class), any(), any())).thenReturn(true); in setUp()
294 verify(mOsuNetworkConnection).init(mHandlerCaptor.capture()); in initAndStartProvisioning()
308 verify(mOsuNetworkConnection, atLeastOnce()) in initAndStartProvisioning()
516 verify(mOsuNetworkConnection, atLeastOnce()).connect(wifiSsidArgumentCaptor.capture(), in verifySelectBestOsuProviderForProvisioning()
544 verify(mOsuNetworkConnection).init(mHandlerCaptor.capture()); in verifyRedirectStartFailure()
570 when(mOsuNetworkConnection.connect(any(WifiSsid.class), any(), any())).thenReturn(false); in verifyConnectAttemptFailure()
DPasspointManagerTest.java179 @Mock OsuNetworkConnection mOsuNetworkConnection; field in PasspointManagerTest
207 .thenReturn(mOsuNetworkConnection); in setUp()