No description. Add one?
  • Java 78%
  • Kotlin 11.8%
  • AIDL 4.4%
  • C++ 3.7%
  • C 1.5%
  • Other 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Aaron Huang 8ac1143594 Remove requireNonNull check from matchesWifiNetworkKey
matchesWifiNetworkKey expects a non-null value of the
wifiNetworkKey, however, it might be null in practice
and the null wifiNetworkKey will be stored into disk.
And then when the matchesWifiNetworkKey is called, the
requireNonNull will crash the system. Thus, remove the
requireNonNull from matchesWifiNetworkKey to avoid
system crash and handle if the wifiNetworkKey is null
then it should not match a template with non-empty
mMatchWifiNetworkKeys.

Check if WifiInfo contains a null network key then skip it
to prevent adding the identity to the network identity set.
Also, add a Log.wtf when setWifiNetworkKey(info.getNetworkKey()),
this might be useful to catch why the wifiNetworkKey is
null.

Bug: 267815242
Bug: 266598304
Test: FrmeworksNetTests
Change-Id: I9c21f7e3dca9482133c7e331741cf808105414e9
2023-03-07 18:16:55 +08:00
bpf_progs Merge "bpf netd - minor perf improvement - move uid check first" 2023-03-03 08:04:49 +00:00
common Fix errorprone warnings that should be errors 2022-11-02 10:13:14 -07:00
Cronet Merge "cronet: Fix ListenerInterface API linter error" 2023-03-07 01:55:56 +00:00
framework Improve doc for NetCaps and NetRequest, and add slice XML docs 2023-03-03 16:10:37 +09:00
framework-t Remove requireNonNull check from matchesWifiNetworkKey 2023-03-07 18:16:55 +08:00
nearby Merge "Import translations. DO NOT MERGE ANYWHERE" 2023-03-01 00:44:41 +00:00
netd enforce 4.14+ instead of program being present 2023-02-22 22:10:48 +00:00
service Remove log spam of binderDied 2023-03-03 11:49:24 +08:00
service-t Remove requireNonNull check from matchesWifiNetworkKey 2023-03-07 18:16:55 +08:00
tests Remove requireNonNull check from matchesWifiNetworkKey 2023-03-07 18:16:55 +08:00
Tethering cronet: Fixed AcronymName API linter issue 2023-03-06 17:15:38 +09:00
tools gn2bp: Convert cc_objects to cc_static_library 2023-03-02 11:33:19 +00:00
.gitignore Add a .gitignore in packages/modules/Connectivity. 2020-11-27 18:09:21 +09:00
OWNERS Add additional IPsec owners 2021-12-08 06:57:51 +00:00
OWNERS_core_networking Cleanup OWNERS 2023-01-23 15:55:23 +00:00
OWNERS_core_networking_xts Allow jchalard@, maze@ and reminv@ to approve fixes for flaky tests. 2022-10-06 09:06:20 +00:00
PREUPLOAD.cfg Enable tethering to perform its own hidden API processing 2021-06-28 23:41:38 +01:00
TEST_MAPPING Add NetHttpCoverageTests to mainline presubmit 2023-03-06 08:20:56 +00:00