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
Motomu Utsumi c298cf0c2d Remove locks from LegacyNetworkActivityTracker
Following CLs update LegacyNetworkActivityTracker to support multiple
network activity tracking on U+ devices.
This CL is a preparation for them.

Reasons for having locks in LegacyNetworkActivityTracker were 1)
mNetworkActive can be updated from non handler thread 2)
isDefaultNetworkActive can be called from non handler thread and this
return boolean based on mNetworkActive and mActiveIdleTimers.

aosp/2606673 moves the activity change processing to handler thread
and resolved the first reason.
This CL updates isDefaultNetworkActive to just return
mNetworkActive and resolved the second reason.

So, now LegacyNetworkActivityTracker doesn't need locks and this CL
removed the locks.

Bug: 267870186
Bug: 279380356
Test: atest FrameworksNetTests
Change-Id: I12e3a00c6f8c4a0c40b45b9461860fe2e82fe22a
2023-06-19 16:03:29 +09:00
bpf_progs Merge "netd.c: simplify impossible code path" 2023-05-22 17:44:16 +00:00
common Fix errorprone warnings that should be errors 2022-11-02 10:13:14 -07:00
Cronet Merge "cronet tests: Do not run integration tests on R" 2023-06-06 03:03:12 +00:00
framework Set DF flag on NAT-T keepalive packet 2023-06-07 02:05:27 +00:00
framework-t Remove the ServiceTypeClient after socket destroyed 2023-05-11 15:17:21 +08:00
nearby Merge "Update the instructions for configuring Fast Pair provider simulator." 2023-04-25 09:05:35 +00:00
netd Merge "Added additional logging to bpf handler" 2023-06-05 21:39:41 +00:00
service Remove locks from LegacyNetworkActivityTracker 2023-06-19 16:03:29 +09:00
service-t Merge "Update record receipt time on records updated" 2023-06-06 08:34:39 +00:00
tests Add test for default network activity APIs 2023-06-09 17:28:44 +09:00
Tethering Add NetworkStackModuleTest annotation on the specific test case. 2023-06-01 18:16:24 +09:00
tools gn2bp: delete obsolete version in p/m/C 2023-03-29 16:23:45 -07: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 NetworkStackModuleTest annotation on the specific test case. 2023-06-01 18:16:24 +09:00