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.java170 @Mock PasspointObjectFactory mObjectFactory; field in PasspointManagerTest
203 when(mObjectFactory.makeAnqpCache(mClock)).thenReturn(mAnqpCache); in setUp()
204 when(mObjectFactory.makeANQPRequestManager(any(), eq(mClock))) 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()
225 mWifiKeyStore, mClock, mObjectFactory, mWifiConfigManager, in setUp()
229 verify(mObjectFactory).makePasspointEventHandler(any(WifiNative.class), in setUp()
233 verify(mObjectFactory).makePasspointConfigSharedStoreData(sharedDataSource.capture()); in setUp()
[all …]
DPasspointProvisionerTest.java170 @Mock PasspointObjectFactory mObjectFactory; field in PasspointProvisionerTest
210 when(mObjectFactory.makeOsuNetworkConnection(any(Context.class))) in setUp()
212 when(mObjectFactory.makeOsuServerConnection()).thenReturn(mOsuServerConnection); in setUp()
214 when(mObjectFactory.makeWfaKeyStore()).thenReturn(mWfaKeyStore); in setUp()
215 when(mObjectFactory.getSSLContext(any(String.class))).thenReturn(mTlsContext); in setUp()
216 when(mObjectFactory.getSystemInfo(any(Context.class), any(WifiNative.class))).thenReturn( in setUp()
220 mPasspointProvisioner = new PasspointProvisioner(mContext, mWifiNative, mObjectFactory, in setUp()
231 when(mObjectFactory.getTrustManagerFactory(any(KeyStore.class))).thenReturn(mDelegate); in setUp()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvisioner.java88 private final PasspointObjectFactory mObjectFactory; field in PasspointProvisioner
109 mObjectFactory = objectFactory; in PasspointProvisioner()
127 mOsuServerConnection.init(mObjectFactory.getSSLContext(TLS_VERSION), in init()
128 mObjectFactory.getTrustManagerFactory(mWfaKeyStore.get())); in init()
DPasspointManager.java111 private final PasspointObjectFactory mObjectFactory; field in PasspointManager
313 mObjectFactory = objectFactory; in PasspointManager()
412 PasspointProvider newProvider = mObjectFactory.makePasspointProvider(config, mKeyStore, in addOrUpdateProvider()
1258 PasspointProvider provider = mObjectFactory.makePasspointProvider(passpointConfiguration, in getMatchingScanResults()