summaryrefslogtreecommitdiff
path: root/apexd/apex_database_test.cpp
diff options
context:
space:
mode:
authorNikita Ioffe <ioffe@google.com>2020-04-22 01:01:17 +0100
committerNikita Ioffe <ioffe@google.com>2020-04-22 20:34:15 +0100
commitdee4b6e6845c9401e76dca679114b9b8ada6d916 (patch)
treeac0c22cd34938416a7e71a5f8d88bc75a068a0ef /apexd/apex_database_test.cpp
parentc5717341efabc9c0feeec80fcd8872f3122ff6cc (diff)
apexd: only run full boot sequence when device is booting
With apexd becoming a lazy aidl, it can be stopped and restarted multiple times now. With every restart it will be running the whole "bring up" logic a, which is quite wasteful. With this CL, it will instead only run necessary initialization logic on every restart after boot sequence is finished (e.g. apexd.status="activated" or "ready"). Since I was there, added some documentation on all the functions that participate in apexd startup. Test: adb shell cmd -w apexservice getActivePackages Test: verified in logs that apexd didn't do the whole starting sequence Test: atest apexservice_test Bug: 149060287 Change-Id: Iba42d435600727b1cf25141e5d0a59fc6a984e23
Diffstat (limited to 'apexd/apex_database_test.cpp')
0 files changed, 0 insertions, 0 deletions