250
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 10 Dec 2023
250 points (87.4% liked)
AssholeDesign
6779 readers
15 users here now
This is a community for designs specifically crafted to make the experience worse for the user. This can be due to greed, apathy, laziness or just downright scumbaggery.
founded 1 year ago
MODERATORS
I've done a dive of the source code and I can provide a partial answer.
The execution logging functionality is publicly available source code right here.. The code reveals how Android decides what and when to save hot methods.
Dex2oat uses the profile data. You can see references here to the profile directory.
Now, where is the code that ships and downloads these profiles? I can't find it. I suspect it's part of Play services. Thus, AOSP provides all the machinery, but Play probably handles the actual profile data delivery.
Thats what I feared. Its either ptrace, root file access or a non public android API