Home
last modified time | relevance | path

Searched refs:mObjectFactory (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointManagerTest.java169 @Mock PasspointObjectFactory mObjectFactory; field in PasspointManagerTest
202 when(mObjectFactory.makeAnqpCache(mClock)).thenReturn(mAnqpCache); in setUp()
203 when(mObjectFactory.makeANQPRequestManager(any(), eq(mClock))) in setUp()
205 when(mObjectFactory.makeCertificateVerifier()).thenReturn(mCertVerifier); in setUp()
206 when(mObjectFactory.makeOsuNetworkConnection(any(Context.class))) in setUp()
208 when(mObjectFactory.makeOsuServerConnection()) in setUp()
210 when(mObjectFactory.makeWfaKeyStore()).thenReturn(mWfaKeyStore); in setUp()
212 when(mObjectFactory.makePasspointProvisioner(any(Context.class), any(WifiNative.class), in setUp()
220 mWifiKeyStore, mClock, mSimAccessor, mObjectFactory, mWifiConfigManager, in setUp()
224 verify(mObjectFactory).makePasspointEventHandler(any(WifiNative.class), in setUp()
[all …]
DPasspointProvisionerTest.java171 @Mock PasspointObjectFactory mObjectFactory; field in PasspointProvisionerTest
211 when(mObjectFactory.makeOsuNetworkConnection(any(Context.class))) in setUp()
213 when(mObjectFactory.makeOsuServerConnection()).thenReturn(mOsuServerConnection); in setUp()
215 when(mObjectFactory.makeWfaKeyStore()).thenReturn(mWfaKeyStore); in setUp()
216 when(mObjectFactory.getSSLContext(any(String.class))).thenReturn(mTlsContext); in setUp()
217 when(mObjectFactory.getTrustManagerImpl(any(KeyStore.class))).thenReturn(mDelegate); in setUp()
218 when(mObjectFactory.getSystemInfo(any(Context.class), any(WifiNative.class))).thenReturn( in setUp()
222 mPasspointProvisioner = new PasspointProvisioner(mContext, mWifiNative, mObjectFactory, in setUp()
232 when(mObjectFactory.getTrustManagerImpl(any(KeyStore.class))).thenReturn(mDelegate); in setUp()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvisioner.java85 private final PasspointObjectFactory mObjectFactory; field in PasspointProvisioner
106 mObjectFactory = objectFactory; in PasspointProvisioner()
124 mOsuServerConnection.init(mObjectFactory.getSSLContext(TLS_VERSION), in init()
125 mObjectFactory.getTrustManagerImpl(mWfaKeyStore.get())); in init()
DPasspointManager.java121 private final PasspointObjectFactory mObjectFactory; field in PasspointManager
347 mObjectFactory = objectFactory; in PasspointManager()
426 PasspointProvider newProvider = mObjectFactory.makePasspointProvider( in addOrUpdateProvider()
653 PasspointProvider newProvider = mObjectFactory.makePasspointProvider( in installEphemeralPasspointConfigForCarrier()