Files
profiled/src/platform/android/Ethernet.cpp
T
oxmc 3007839721 Add Android Binder dispatch, platform/linux+platform/android split, and PawletOS content-cache support
- VesperProfileBinderService + main_android.cpp: real Android AIDL Binder
  service backing IVesperProfileService, wired into Android.bp's srcs
  (previously declared but never implemented).
- SignatureVerifier: real CMS verification on Android too, via a vendored
  static OpenSSL (see third_party/openssl-android/README.md) since
  BoringSSL has no CMS/PKCS#7 support.
- ProfileStore: Android-appropriate data paths.
- Every payload handler split into src/platform/<Name>.h (shared contract)
  + src/platform/linux/<Name>.cpp + src/platform/android/<Name>.cpp, so the
  build system picks the platform instead of #ifdef. Android side is an
  honest "not implemented yet" stub per handler, logged rather than silent.
- content-cache payload + handler: PawletOS-fork-specific, talks to
  PawletCache/pawletcache-server. Not part of vesperprofiled's own
  upstream default.
2026-07-25 00:05:38 -07:00

20 lines
592 B
C++

#include "../Ethernet.h"
#include <syslog.h>
// Not yet implemented on Android. A real port would use the hidden/system
// android.net.EthernetManager API — no NetworkManager equivalent exists.
namespace vesperos::profile::platform::ethernet {
bool apply(const ParsedPayload& p) {
syslog(LOG_WARNING, "[ethernet] not implemented on Android yet, uuid=%s", p.uuid.c_str());
return false;
}
void revert(const ParsedPayload& p) {
syslog(LOG_WARNING, "[ethernet] not implemented on Android yet, uuid=%s", p.uuid.c_str());
}
} // namespace vesperos::profile::platform::ethernet