commit | 21089f8b46f5f415fb3944bf8e774f4d09cb3f5c | [log] [tgz] |
---|---|---|
author | David Anderson <dvander@google.com> | Fri Feb 17 01:20:52 2023 -0800 |
committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Fri Jul 14 17:58:07 2023 +0000 |
tree | 046baaa630ab5a8b30408a5c6facecfce5540039 | |
parent | 47b4e97693f02e63d26316c19f144a5ce070ac2f [diff] |
snapuserd: Split the server into two classes. This splits server into two classes: one that handles the IPC requests, and one that managers snapshot handlers. This will allow embedding of the snapshot handling code, without booting up a server. It'll also make testing much easier. The handler code has been further placed behind a virtual interface, though this is likely unnecessary unless we start testing the server logic itself (or attempt to unify the S and T+ versions of snapuserd). Bug: 269361087 Test: ota Ignore-AOSP-First: cherry-pick from aosp (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:8bb751dc8a1499f24add9e0831ab347feb2c3878) Merged-In: I3ca3ad9c8c1fb910a1c7bf9f44165e2f44c930c9 Change-Id: I3ca3ad9c8c1fb910a1c7bf9f44165e2f44c930c9