android_packages_modules_Co.../framework
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Remi NGUYEN VAN c3621e6012 Add a CallbackQueue class
The class will be used to build memory-efficient objects (int arrays)
used to queue ConnectivityService callbacks while an app is frozen.

This is very similar to an ArrayList<Pair<Short, Short>>, but avoids
object boxing which would use a lot more memory.

This is intended to be used by ConnectivityService both as a builder,
and as a utility to read lists of callbacks that it stores. Long-lived
references to the CallbackQueue would not be kept to minimize memory
usage; only the array returned by toArray needs to be stored.

Test: atest
Bug: 327038794
Bug: 279392981
Change-Id: I187ea15d14dfd160e577e9e9e87b1aded27b1938
2024-07-16 13:36:49 +09:00
..
aidl-export/android/net Make TetheringRequest parcelable 2024-02-15 10:15:05 +09:00
api Introduce NET_CAPABILITY_NOT_BANDWIDTH_CONSTRAINED 2024-06-06 15:49:21 +09:00
jni Check whether kernel is for X86 via JNI 2024-02-09 19:13:07 +00:00
proto [MS54.3] Move NetworkStats to updatable sources 2022-02-28 03:24:19 +00:00
src/android/net Add a CallbackQueue class 2024-07-16 13:36:49 +09:00
Android.bp Refactor RoutingCoordinator 2024-07-05 05:26:54 +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