Home
last modified time | relevance | path

Searched refs:encryptionType (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DHostapdHal.java343 nwParams.encryptionType = getEncryptionType(config); in addAccessPoint()
534 int encryptionType; in getEncryptionType() local
537 encryptionType = IHostapd.EncryptionType.NONE; in getEncryptionType()
540 encryptionType = IHostapd.EncryptionType.WPA; in getEncryptionType()
543 encryptionType = IHostapd.EncryptionType.WPA2; in getEncryptionType()
548 encryptionType = IHostapd.EncryptionType.NONE; in getEncryptionType()
551 return encryptionType; in getEncryptionType()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DHostapdHalTest.java244 assertEquals(IHostapd.EncryptionType.WPA2, mNetworkParamsCaptor.getValue().encryptionType); in testAddAccessPointSuccess_Psk_Band2G()
277 assertEquals(IHostapd.EncryptionType.NONE, mNetworkParamsCaptor.getValue().encryptionType); in testAddAccessPointSuccess_Open_Band5G()
311 assertEquals(IHostapd.EncryptionType.WPA2, mNetworkParamsCaptor.getValue().encryptionType); in testAddAccessPointSuccess_Psk_Band5G_Hidden()
348 assertEquals(IHostapd.EncryptionType.WPA2, mNetworkParamsCaptor.getValue().encryptionType); in testAddAccessPointSuccess_Psk_Band2G_WithACS()
386 assertEquals(IHostapd.EncryptionType.WPA2, mNetworkParamsCaptor.getValue().encryptionType); in testAddAccessPointSuccess_Psk_Band2G_WithIeee80211AC()
423 assertEquals(IHostapd.EncryptionType.WPA2, mNetworkParamsCaptor.getValue().encryptionType); in testAddAccessPointSuccess_Psk_BandAny_WithACS()
462 assertEquals(IHostapd.EncryptionType.WPA2, mNetworkParamsCaptor.getValue().encryptionType); in testAddAccessPointSuccess_Psk_BandAny_Downgraded_WithoutACS()
529 assertEquals(IHostapd.EncryptionType.WPA2, mNetworkParamsCaptor.getValue().encryptionType); in testAddAccessPointSuccess_Psk_BandAny_WithACS_AcsChannels()