Add first stub methods to send window status updates from Android to host

This commit is contained in:
Simon Fels 2016-11-11 09:41:10 +01:00
commit 6ee8734cf3
10 changed files with 130 additions and 18 deletions

View file

@ -34,9 +34,13 @@ public:
enum {
BOOT_FINISHED = IBinder::FIRST_CALL_TRANSACTION,
UPDATE_WINDOW_STATE = IBinder::FIRST_CALL_TRANSACTION + 1,
REMOVE_WINDOW = IBinder::FIRST_CALL_TRANSACTION + 2,
};
virtual status_t boot_finished() = 0;
virtual status_t update_window_state() = 0;
virtual status_t remove_window() = 0;
};
class BpPlatformService : public BpInterface<IPlatformService> {
@ -44,6 +48,8 @@ public:
BpPlatformService(const sp<IBinder> &binder);
status_t boot_finished() override;
status_t update_window_state() override;
status_t remove_window() override;
};
class BnPlatformService : public BnInterface<IPlatformService> {