Searched refs:testConfig (Results 1 – 5 of 5) sorted by relevance
102 WifiConfiguration testConfig = WifiConfigurationTestUtil.createOpenNetwork(); in testCarrierMergedNetworkWithMatchingSubscriptionIdIsEnabled() local103 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 …]
2538 SoftApConfiguration testConfig = new SoftApConfiguration.Builder() in testUpdateConfigInSoftApActiveMode() local2541 mActiveModeWarden.updateSoftApConfiguration(testConfig); in testUpdateConfigInSoftApActiveMode()2543 verify(mSoftApManager).updateConfiguration(testConfig); in testUpdateConfigInSoftApActiveMode()2557 SoftApConfiguration testConfig = new SoftApConfiguration.Builder() in testUpdateConfigInNonSoftApActiveMode() local2560 mActiveModeWarden.updateSoftApConfiguration(testConfig); in testUpdateConfigInNonSoftApActiveMode()
2870 WifiConfiguration testConfig = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkDisableReasonInUserActionEvent() local2871 NetworkSelectionStatus status = testConfig.getNetworkSelectionStatus(); in testNetworkDisableReasonInUserActionEvent()2876 when(mWcm.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(testConfig); in testNetworkDisableReasonInUserActionEvent()2909 WifiConfiguration testConfig = WifiConfigurationTestUtil.createOpenNetwork(); in testNetworkDisableReasonDisableAutojoinInUserActionEvent() local2910 NetworkSelectionStatus status = testConfig.getNetworkSelectionStatus(); in testNetworkDisableReasonDisableAutojoinInUserActionEvent()2915 when(mWcm.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(testConfig); in testNetworkDisableReasonDisableAutojoinInUserActionEvent()2918 testConfig.allowAutojoin = false; in testNetworkDisableReasonDisableAutojoinInUserActionEvent()
4400 SoftApConfiguration testConfig = new SoftApConfiguration.Builder().setSsid("test").build(); in testRestoreSoftApBackupData() local4401 byte[] testData = testConfig.toString().getBytes(); in testRestoreSoftApBackupData()4403 .thenReturn(testConfig); in testRestoreSoftApBackupData()4406 inorder.verify(mWifiApConfigStore).upgradeSoftApConfiguration(testConfig); in testRestoreSoftApBackupData()
205 private void serializeAndDeserializePasspointConfiguration(PasspointConfiguration testConfig) in serializeAndDeserializePasspointConfiguration() argument210 PasspointXmlUtils.serializePasspointConfiguration(out, testConfig); in serializeAndDeserializePasspointConfiguration()220 assertEquals(testConfig, deserializedConfig); in serializeAndDeserializePasspointConfiguration()