android_packages_modules_Co.../framework
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Chalard Jean 75349105d1 Fix NetworkAgent 4-way binder interlock
System server        |    Client (e.g. phone)
------------------------------|-----------------------------
                              |
NetworkAgentMessageHandler ←--|--- INetworkAgentRegistry
              ↓               |              ↑
                              |         NetworkAgent
        NetworkAgentInfo      |              ↑
              ↓               |      NetworkAgentHandler
                              |              ↑
         INetworkAgent     ---|--→   NetworkAgentBinder

The simplest artifact is observed by watching the output of
adb shell dumpsys meminfo -d phone | grep 'Proxy Binders'
while turning airplane mode on and off (slowly, to allow the
cell network to connect and disconnect).
This will display the number of binder proxies. Before this, the binder
proxy count increases by 2 with each connection and never goes down (there
is some noise, as proxy objects are sometimes created for other reasons,
and get GC'd eventually). After this, the binder proxy count is always
eventually stable.

Also see b/133174607.

Bug: 400358935
Flag: EXEMPT bugfix
Test: manual, also regression test on the way
Change-Id: I1dcdaec1f3bd42bc2a406c9e9318208f96266bd6
2025-05-26 11:16:51 +09:00
..
aidl-export/android/net Make TetheringRequest parcelable 2024-02-15 10:15:05 +09:00
api Extend QosFilter address matching function 2025-05-08 22:37:32 -07:00
jni Add method to get socket cookie from socket FileDescriptor 2025-03-03 17:23:04 -08:00
proto [MS54.3] Move NetworkStats to updatable sources 2022-02-28 03:24:19 +00:00
src/android/net Fix NetworkAgent 4-way binder interlock 2025-05-26 11:16:51 +09:00
Android.bp Remove -stubs-including-flagged 2025-02-28 10:47:40 +00:00
jarjar-excludes.txt Add LocalNetworkInfo and send callbacks when it changes 2023-11-07 17:29:38 +09:00
lint-baseline.xml Baseline Lint FlaggedApi violations 2024-06-20 09:05:51 +02:00