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
Yang Sun 4e7baadc71 Use helper function getIndexForValue in MulticastRoutingCoordinator.
The SparseArray.indexOfValue() uses == to compare values,
MulticastRoutingCoordinator uses SparseArray with String type values,
and the indexOfValue function would sometimes return -1 when looking for
a value in the SparseArray.

Added a helper function getIndexForValue in CollectionUtils to get index
by comparing values with equals, and used this function in MulticastRoutingCoordinator.

Updated
MulticastRoutingCoordinatorServiceTest#testMulticastRouting_applyConfigNone_removesMfc
test case to use copies of interface names when updating the multicast
configs, so the test would fail without this fix.

Test: atest NetworkStaticLibTests:com.android.net.moduletests.util.CollectionUtilsTest#testGetIndexForValue
atest android.net.connectivity.com.android.server.connectivity.MulticastRoutingCoordinatorServiceTest#testMulticastRouting_applyConfigNone_removesMfc

Change-Id: I862242d6be01b8552cdd6af6c9691948a9f0bfe0
2024-04-23 17:22:15 +08:00
bpf_progs Merge "NetBpfLoad: enable mainline on T+" into main 2024-03-19 22:16:32 +00:00
clatd [DON'T BLOCK] Test ownership migration rules 2024-01-31 12:34:50 +00:00
common Merge "Separate Struct.java into its own lib." into main 2024-03-28 06:23:57 +00:00
Cronet Revert^2 "Revert "Revert "Revert "[Cronet] Disable one of setURLSt..." 2024-04-09 15:00:27 +00:00
DnsResolver [DON'T BLOCK] Test ownership migration rules 2024-01-31 12:34:50 +00:00
framework Merge "Revert^2 "Revert "Revert "Revert "cronet 121_0_6167_71: remove htt..."" into main 2024-04-09 18:24:33 +00:00
framework-t Merge "[mDNS] pretty print txt values in log" into main 2024-04-02 08:15:34 +00:00
nearby Test BluetoothFinderManager for SDK at least V 2024-03-02 22:11:44 +00:00
netbpfload NetBpfLoad: Get logs back 2024-03-25 22:49:56 +00:00
netd NetBpfLoad: avoid needlessly reloading bpf on netd/zygote restart 2024-03-28 22:57:33 -07:00
remoteauth Replace use of deprecated logging functions 2024-02-05 07:47:42 +01:00
service Use helper function getIndexForValue in MulticastRoutingCoordinator. 2024-04-23 17:22:15 +08:00
service-t Merge "Add current clients to servicediscovery dumpsys" into main 2024-04-05 02:25:36 +00:00
staticlibs Use helper function getIndexForValue in MulticastRoutingCoordinator. 2024-04-23 17:22:15 +08:00
tests Use helper function getIndexForValue in MulticastRoutingCoordinator. 2024-04-23 17:22:15 +08:00
Tethering Merge "Move setupOnce from EthernetTetheringTestBase to EthernetTetheringTest" into main 2024-04-09 07:42:11 +00:00
thread Merge "[Thread] ignore the flaky test case meshcopService_joinedNetwork_discoveredHasNetwork" into main 2024-04-10 10:17:31 +00:00
tools Merge "Add tests to confirm that genjarjar keeps excluded Tests." into main 2024-03-14 10:20:01 +00:00
.gitignore Ignores vim temporary files from git 2023-12-23 17:45:32 +08:00
OWNERS Move the owner of xfrm netlink source code to its own directory. 2023-11-22 18:50:00 +09:00
OWNERS_core_networking OWNERS: remove ex-employees 2024-01-22 22:24:54 +00:00
OWNERS_core_networking_xts xTS OWNERS: allow maze to +2 APF fw CTS tests 2024-03-12 02:42:59 +00:00
PREUPLOAD.cfg Enable tethering to perform its own hidden API processing 2021-06-28 23:41:38 +01:00
TEST_MAPPING Exclude NetworkStackModuleTest in mts CtsNetTestCasesLatestSdk case 2024-03-27 20:11:45 +09:00