Home
last modified time | relevance | path

Searched refs:testConfig (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DNonCarrierMergedNetworksStatusTrackerTest.java102 WifiConfiguration testConfig = WifiConfigurationTestUtil.createOpenNetwork(); in testCarrierMergedNetworkWithMatchingSubscriptionIdIsEnabled() local
103 testConfig.carrierMerged = true; in testCarrierMergedNetworkWithMatchingSubscriptionIdIsEnabled()
104 testConfig.subscriptionId = INVALID_SUBSCRIPTION_ID; in testCarrierMergedNetworkWithMatchingSubscriptionIdIsEnabled()
105 assertTrue(mNonCarrierMergedNetworksStatusTracker.isNetworkDisabled(testConfig)); in testCarrierMergedNetworkWithMatchingSubscriptionIdIsEnabled()
108 testConfig.carrierMerged = false; in testCarrierMergedNetworkWithMatchingSubscriptionIdIsEnabled()
109 testConfig.subscriptionId = TEST_SUBSCRIPTION_ID; in testCarrierMergedNetworkWithMatchingSubscriptionIdIsEnabled()
110 assertTrue(mNonCarrierMergedNetworksStatusTracker.isNetworkDisabled(testConfig)); in testCarrierMergedNetworkWithMatchingSubscriptionIdIsEnabled()
113 testConfig.carrierMerged = true; in testCarrierMergedNetworkWithMatchingSubscriptionIdIsEnabled()
114 testConfig.subscriptionId = TEST_SUBSCRIPTION_ID; in testCarrierMergedNetworkWithMatchingSubscriptionIdIsEnabled()
115 assertFalse(mNonCarrierMergedNetworksStatusTracker.isNetworkDisabled(testConfig)); in testCarrierMergedNetworkWithMatchingSubscriptionIdIsEnabled()
[all …]
DActiveModeWardenTest.java2538 SoftApConfiguration testConfig = new SoftApConfiguration.Builder() in testUpdateConfigInSoftApActiveMode() local
2541 mActiveModeWarden.updateSoftApConfiguration(testConfig); in testUpdateConfigInSoftApActiveMode()
2543 verify(mSoftApManager).updateConfiguration(testConfig); in testUpdateConfigInSoftApActiveMode()
2557 SoftApConfiguration testConfig = new SoftApConfiguration.Builder() in testUpdateConfigInNonSoftApActiveMode() local
2560 mActiveModeWarden.updateSoftApConfiguration(testConfig); in testUpdateConfigInNonSoftApActiveMode()
DWifiMetricsTest.java2870 WifiConfiguration testConfig = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkDisableReasonInUserActionEvent() local
2871 NetworkSelectionStatus status = testConfig.getNetworkSelectionStatus(); in testNetworkDisableReasonInUserActionEvent()
2876 when(mWcm.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(testConfig); in testNetworkDisableReasonInUserActionEvent()
2909 WifiConfiguration testConfig = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkDisableReasonDisableAutojoinInUserActionEvent() local
2910 NetworkSelectionStatus status = testConfig.getNetworkSelectionStatus(); in testNetworkDisableReasonDisableAutojoinInUserActionEvent()
2915 when(mWcm.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(testConfig); in testNetworkDisableReasonDisableAutojoinInUserActionEvent()
2918 testConfig.allowAutojoin = false; in testNetworkDisableReasonDisableAutojoinInUserActionEvent()
DWifiServiceImplTest.java4400 SoftApConfiguration testConfig = new SoftApConfiguration.Builder().setSsid("test").build(); in testRestoreSoftApBackupData() local
4401 byte[] testData = testConfig.toString().getBytes(); in testRestoreSoftApBackupData()
4403 .thenReturn(testConfig); in testRestoreSoftApBackupData()
4406 inorder.verify(mWifiApConfigStore).upgradeSoftApConfiguration(testConfig); in testRestoreSoftApBackupData()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointXmlUtilsTest.java205 private void serializeAndDeserializePasspointConfiguration(PasspointConfiguration testConfig) in serializeAndDeserializePasspointConfiguration() argument
210 PasspointXmlUtils.serializePasspointConfiguration(out, testConfig); in serializeAndDeserializePasspointConfiguration()
220 assertEquals(testConfig, deserializedConfig); in serializeAndDeserializePasspointConfiguration()