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
Islam Elbanna 5965628f5e Add ART profile to Connectivity service.
This CL adds an ART profile to the Connectivity service. The profile was
generated by profiling the Connectivity service on Droidfood population.

The ART profile is expected to reduce the size of the Connectivity
service generated code size by 3.9MB!

Background: A profile is a list of classes and methods that are
frequently used, which ART uses to compile parts of the code ahead of
time, and the rest of the code can be interpreted and Jitted on the fly
if needed, this improves app-startup, memory and disk space
significantly!

For system server modules (like Connectivity), the current behavoir is
to Speed compile (compile everything), which for sure compiles
unnecessary code. By moving the speed-profile mode we are saving around
3.9MB of disk space which also decreases the load on memory!

The new behavior is guarded by a new build feature
`RELEASE_ART_COMPILE_CONNECTIVITY_SERVICE_SPEED_PROFILE`

Bug: 241823638
Flag: build.RELEASE_ART_COMPILE_CONNECTIVITY_SERVICE_SPEED_PROFILE
Test: `m`
Test: with flag on: go/art-benchmark?p=BootImageProfileId:54912&f=CandidateName:in:54914 (code size reduction by -3.9MB)
Test: with flag off: go/art-benchmark?p=BootImageProfileId:54912&f=CandidateName:in:54913 (no code change or metric changes)
Change-Id: I5d44eaaa77c5241403d6e75b05d28d6256b6df68
2025-07-29 07:12:08 -07:00
bpf NetBpfLoad: eliminate 'domain' concept 2025-07-28 18:45:12 -07:00
clatd clatd: disable seccomp 2025-06-04 00:54:30 -07:00
common Add beta flag for lnp developer opt in 2025-07-17 21:37:37 +00:00
framework Merge "Prepare to move VCN: Add visibilities for tests" into main 2025-07-15 13:09:27 -07:00
framework-t Merge changes I12e4d492,I4c787e9c,I52a36ebb into main 2025-07-23 14:16:42 -07:00
nearby Replace .toList() with .collect() am: 725078a6bd am: 6586d080f6 2025-02-03 17:40:50 -08:00
networksecurity Propagate system broadcast after log list install 2025-07-24 11:14:28 +00:00
remoteauth [owners] Remove derekjedral@google.com from remoteauth/OWNERS 2025-05-25 09:49:50 -07:00
service Add ART profile to Connectivity service. 2025-07-29 07:12:08 -07:00
service-b Conditionally include VCN in Tethering module 2024-12-09 12:04:12 -08:00
service-t Merge "Add proto to store network configuration" into main 2025-07-25 16:48:31 -07:00
staticlibs Make APF packet count assertion more robust 2025-07-29 08:56:35 +00:00
tests Merge "Add proto to store network configuration" into main 2025-07-25 16:48:31 -07:00
Tethering Merge "Create CommonConnectivityJni to share between modules" into main 2025-07-24 09:56:39 -07:00
thread [Thread] enable border router in InternetAccessTest 2025-06-30 19:01:14 -07:00
tools Add a tool to generate hidden module API lists 2025-04-24 09:05:08 +09:00
.clang-format Add .clang-format 2025-03-23 19:59:10 -07: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 Add jimictw@ to core networking OWNERS. 2025-01-24 01:06:33 -08:00
OWNERS_core_networking_xts Add yuyanghuang@ to OWNERS_core_networking_xts for APF firmware tests 2025-03-14 13:16:04 +09:00
PREUPLOAD.cfg Add alint hook to Connectivity repo 2025-05-30 11:36:49 +00:00
preupload_hook_script.py Refactor: apply pyformat for coding style consistency 2025-05-28 12:44:57 +00:00
rustfmt.toml Add rustfmt to p/m/C 2025-03-28 10:06:13 -07:00
TEST_MAPPING Add Wear TEST_MAPPING for Connectivity module 2025-07-15 23:05:13 -07:00