/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigStoreTest.java | 160 private WifiConfigStore mWifiConfigStore; field in WifiConfigStoreTest 191 mWifiConfigStore = new WifiConfigStore(mContext, mLooper.getLooper(), mClock, mWifiMetrics, in setUp() 194 mWifiConfigStore.enableVerboseLogging(true); in setUp() 214 mWifiConfigStore.setUserStores(mUserStores); in testWriteWithNoStoreData() 215 mWifiConfigStore.write(true); in testWriteWithNoStoreData() 232 mWifiConfigStore.registerStoreData(mSharedStoreData); in testForceWrite() 233 mWifiConfigStore.registerStoreData(mUserStoreData); in testForceWrite() 235 mWifiConfigStore.switchUserStoresAndRead(mUserStores); in testForceWrite() 236 mWifiConfigStore.write(true); in testForceWrite() 253 mWifiConfigStore.registerStoreData(mSharedStoreData); in testBufferedWrite() [all …]
|
D | WifiConfigManagerTest.java | 121 @Mock private WifiConfigStore mWifiConfigStore; field in WifiConfigManagerTest 155 mContextConfigStoreMockOrder = inOrder(mContext, mWifiConfigStore); in setUp() 203 when(mWifiConfigStore.areStoresPresent()).thenReturn(true); in setUp() 275 mContextConfigStoreMockOrder.verify(mWifiConfigStore, never()).write(anyBoolean()); in testSaveToStoreIsRejectedBeforeLoadFromStore() 278 mContextConfigStoreMockOrder.verify(mWifiConfigStore).read(); in testSaveToStoreIsRejectedBeforeLoadFromStore() 281 mContextConfigStoreMockOrder.verify(mWifiConfigStore).write(anyBoolean()); in testSaveToStoreIsRejectedBeforeLoadFromStore() 355 mContextConfigStoreMockOrder.verify(mWifiConfigStore, never()).write(anyBoolean()); in testAddEphemeralNetworkWhenCorrespondingEphemeralNetworkExists() 431 verify(mWifiConfigStore).read(); in testRandomizedMacAddressIsGeneratedForConfigurationReadFromStore() 896 mContextConfigStoreMockOrder.verify(mWifiConfigStore, never()).write(anyBoolean()); in testRemovePasspointNetworkAddedByOther() 1151 mContextConfigStoreMockOrder.verify(mWifiConfigStore).write(eq(true)); in testEnableDisableNetwork() [all …]
|
D | WakeupControllerTest.java | 72 @Mock private WifiConfigStore mWifiConfigStore; field in WakeupControllerTest 134 mWifiConfigStore, in initializeWakeupController() 143 verify(mWifiConfigStore).registerStoreData(captor.capture()); in initializeWakeupController() 204 verify(mWifiConfigStore).registerStoreData(any(WakeupConfigStoreData.class)); in registersWakeupConfigStoreData()
|
D | OpenNetworkNotifierTest.java | 83 @Mock private WifiConfigStore mWifiConfigStore; field in OpenNetworkNotifierTest 120 mWifiConfigManager, mWifiConfigStore, mClientModeImpl, mNotificationBuilder); in setUp()
|
D | CarrierNetworkNotifierTest.java | 83 @Mock private WifiConfigStore mWifiConfigStore; field in CarrierNetworkNotifierTest 121 mWifiConfigManager, mWifiConfigStore, mClientModeImpl, mNotificationBuilder); in setUp()
|
D | WifiNetworkSuggestionsManagerTest.java | 99 private @Mock WifiConfigStore mWifiConfigStore; field in WifiNetworkSuggestionsManagerTest 160 mWifiInjector, mWifiPermissionsUtil, mWifiConfigManager, mWifiConfigStore, in setUp()
|
D | WifiNetworkFactoryTest.java | 118 @Mock WifiConfigStore mWifiConfigStore; field in WifiNetworkFactoryTest 180 mWifiInjector, mWifiConnectivityManager, mWifiConfigManager, mWifiConfigStore, in setUp()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiInjector.java | 119 private final WifiConfigStore mWifiConfigStore; field in WifiInjector 240 mWifiConfigStore = new WifiConfigStore( in WifiInjector() 248 mWifiKeyStore, mWifiConfigStore, mWifiPermissionsUtil, in WifiInjector() 273 mWifiPermissionsUtil, mWifiConfigManager, mWifiConfigStore, mWifiMetrics); in WifiInjector() 284 mSimAccessor, new PasspointObjectFactory(), mWifiConfigManager, mWifiConfigStore, in WifiInjector() 324 mWifiConfigStore, mWifiNetworkSuggestionsManager, mWifiMetrics.getWakeupMetrics(), in WifiInjector() 602 mWifiConfigManager, mWifiConfigStore, clientModeImpl, in makeWifiConnectivityManager() 606 mWifiConfigManager, mWifiConfigStore, clientModeImpl, in makeWifiConnectivityManager() 631 mWifiConfigStore, mWifiPermissionsUtil, mWifiMetrics); in makeWifiNetworkFactory()
|
D | WifiConfigManager.java | 270 private final WifiConfigStore mWifiConfigStore; field in WifiConfigManager 397 mWifiConfigStore = wifiConfigStore; in WifiConfigManager() 412 mWifiConfigStore.registerStoreData(mNetworkListSharedStoreData); in WifiConfigManager() 413 mWifiConfigStore.registerStoreData(mNetworkListUserStoreData); in WifiConfigManager() 414 mWifiConfigStore.registerStoreData(mDeletedEphemeralSsidsStoreData); in WifiConfigManager() 415 mWifiConfigStore.registerStoreData(mRandomizedMacStoreData); in WifiConfigManager() 473 mWifiConfigStore.enableVerboseLogging(mVerboseLoggingEnabled); in enableVerboseLogging() 3096 mWifiConfigStore.setUserStores(userStoreFiles); in loadFromStore() 3100 mWifiConfigStore.read(); in loadFromStore() 3135 mWifiConfigStore.switchUserStoresAndRead(userStoreFiles); in loadFromUserStoreAfterUnlockOrSwitch() [all …]
|
D | WifiNetworkFactory.java | 110 private final WifiConfigStore mWifiConfigStore; field in WifiNetworkFactory 387 mWifiConfigStore = configStore; in WifiNetworkFactory()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointManagerTest.java | 175 @Mock WifiConfigStore mWifiConfigStore; field in PasspointManagerTest 221 mWifiConfigStore, mWifiMetrics, mTelephonyManager, mSubscriptionManager); in setUp() 1633 mWifiConfigManager, mWifiConfigStore, mWifiMetrics, mTelephonyManager, in verifyCreateEphemeralPasspointConfigurationWithNonCarrierEapMethod() 1651 mWifiConfigManager, mWifiConfigStore, mWifiMetrics, mTelephonyManager, in verifyCreateEphemeralPasspointConfigurationWithCarrierEapMethod() 1752 mWifiConfigManager, mWifiConfigStore, mWifiMetrics, mTelephonyManager, in verifyFindEapMethodFromNAIRealmMatchedWithCarrierWithMatch() 1781 mWifiConfigManager, mWifiConfigStore, mWifiMetrics, mTelephonyManager, in verifyFindEapMethodFromNAIRealmMatchedWithCarrierWithNoMatch()
|