- 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.
21 lines
607 B
C++
21 lines
607 B
C++
#include "../Proxy.h"
|
|
|
|
#include <syslog.h>
|
|
|
|
// Not yet implemented on Android. A real port would use
|
|
// DevicePolicyManager.setRecommendedGlobalProxy()/ProxyInfo (device-owner) —
|
|
// no /etc/environment-equivalent to write.
|
|
|
|
namespace vesperos::profile::platform::proxy {
|
|
|
|
bool apply(const ParsedPayload& p) {
|
|
syslog(LOG_WARNING, "[proxy] not implemented on Android yet, uuid=%s", p.uuid.c_str());
|
|
return false;
|
|
}
|
|
|
|
void revert(const ParsedPayload& p) {
|
|
syslog(LOG_WARNING, "[proxy] not implemented on Android yet, uuid=%s", p.uuid.c_str());
|
|
}
|
|
|
|
} // namespace vesperos::profile::platform::proxy
|