Home
last modified time | relevance | path

Searched refs:mSoftApConfiguration (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiTetherAutoOffPreferenceControllerTest.java54 private SoftApConfiguration mSoftApConfiguration; field in WifiTetherAutoOffPreferenceControllerTest
65 mSoftApConfiguration = new SoftApConfiguration.Builder().build(); in setup()
66 when(mWifiManager.getSoftApConfiguration()).thenReturn(mSoftApConfiguration); in setup()
145 mSoftApConfiguration = in setAutoOffSetting()
146 new SoftApConfiguration.Builder(mSoftApConfiguration) in setAutoOffSetting()
149 when(mWifiManager.getSoftApConfiguration()).thenReturn(mSoftApConfiguration); in setAutoOffSetting()
153 mSoftApConfiguration = in setConfigShutdownSecondarySap()
154 new SoftApConfiguration.Builder(mSoftApConfiguration) in setConfigShutdownSecondarySap()
157 when(mWifiManager.getSoftApConfiguration()).thenReturn(mSoftApConfiguration); in setConfigShutdownSecondarySap()
DWifiTetherPreferenceControllerTest.java79 private SoftApConfiguration mSoftApConfiguration; field in WifiTetherPreferenceControllerTest
91 mSoftApConfiguration = new SoftApConfiguration.Builder().setSsid(SSID).build(); in setUp()
92 when(mWifiManager.getSoftApConfiguration()).thenReturn(mSoftApConfiguration); in setUp()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DWifiTetherAutoOffPreferenceControllerTest.java52 private SoftApConfiguration mSoftApConfiguration; field in WifiTetherAutoOffPreferenceControllerTest
61 mSoftApConfiguration = new SoftApConfiguration.Builder().build(); in setUp()
62 when(mWifiManager.getSoftApConfiguration()).thenReturn(mSoftApConfiguration); in setUp()
112 mSoftApConfiguration = in setAutoOffSetting()
113 new SoftApConfiguration.Builder(mSoftApConfiguration) in setAutoOffSetting()
116 when(mWifiManager.getSoftApConfiguration()).thenReturn(mSoftApConfiguration); in setAutoOffSetting()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/repository/
DWifiHotspotRepositoryTest.java102 private SoftApConfiguration mSoftApConfiguration = new SoftApConfiguration.Builder().build(); field in WifiHotspotRepositoryTest
131 mSoftApConfiguration = new SoftApConfiguration.Builder() in queryLastPasswordIfNeeded_securityTypeIsOpen_queryLastPassword()
135 when(mWifiManager.getSoftApConfiguration()).thenReturn(mSoftApConfiguration); in queryLastPasswordIfNeeded_securityTypeIsOpen_queryLastPassword()
144 mSoftApConfiguration = new SoftApConfiguration.Builder() in queryLastPasswordIfNeeded_securityTypeIsNotOpen_notQueryLastPassword()
148 when(mWifiManager.getSoftApConfiguration()).thenReturn(mSoftApConfiguration); in queryLastPasswordIfNeeded_securityTypeIsNotOpen_notQueryLastPassword()
172 mSoftApConfiguration = new SoftApConfiguration.Builder() in generatePassword_configPasswordIsNotEmpty_returnConfigPassword()
176 assertThat(mRepository.generatePassword(mSoftApConfiguration)).isEqualTo(WIFI_PASSWORD); in generatePassword_configPasswordIsNotEmpty_returnConfigPassword()
181 mSoftApConfiguration = new SoftApConfiguration.Builder().build(); in generatePassword_configPasswordIsEmpty_returnConfigPassword()
184 assertThat(mRepository.generatePassword(mSoftApConfiguration)).isEqualTo(WIFI_PASSWORD); in generatePassword_configPasswordIsEmpty_returnConfigPassword()
196 mRepository.setSoftApConfiguration(mSoftApConfiguration); in setSoftApConfiguration_setConfigToWifiManager()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/
DHotspotRowTest.java63 private SoftApConfiguration mSoftApConfiguration; field in HotspotRowTest
70 when(mSoftApConfiguration.getSsid()).thenReturn(TEST_SSID); in setUp()
71 when(mSoftApConfiguration.getPassphrase()).thenReturn(TEST_PASSWORD); in setUp()
72 when(mSoftApConfiguration.getSecurityType()).thenReturn( in setUp()
74 when(mWifiManager.getSoftApConfiguration()).thenReturn(mSoftApConfiguration); in setUp()
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/
DFakeCarProjectionService.java55 private SoftApConfiguration mSoftApConfiguration; field in FakeCarProjectionService
120 if (mSoftApConfiguration != null) { in startProjectionAccessPoint()
122 message.obj = mSoftApConfiguration; in startProjectionAccessPoint()
194 mSoftApConfiguration = softApConfiguration; in setSoftApConfiguration()
/packages/services/Car/tests/CarLibTests/src/android/car/
DCarProjectionManagerTest.java121 assertThat(mApCallback.mSoftApConfiguration).isEqualTo(config); in startAp_success()
139 assertThat(mApCallback.mSoftApConfiguration).isNull(); in startAp_success_setWifiConfiguration()
287 SoftApConfiguration mSoftApConfiguration; field in CarProjectionManagerTest.ApCallback
298 mSoftApConfiguration = softApConfiguration; in onStarted()