diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-04-22 01:28:04 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-04-22 01:28:04 +0000 |
commit | 6244bc49afa1851fc0c4d1afd8bdbb1173c4f547 (patch) | |
tree | b194904193eb826dd2123755a158819e1442e53f | |
parent | 6947fbf6b6cc9f797a1595a2884d60d1a7e42170 (diff) | |
parent | c1257c34e268452f6635a079cb5bda2cf602af10 (diff) | |
download | aemu-android14-s2-release.tar.gz |
Snap for 9990577 from c1257c34e268452f6635a079cb5bda2cf602af10 to udc-releaseandroid-vts-14.0_r4android-vts-14.0_r3android-vts-14.0_r2android-vts-14.0_r1android-security-14.0.0_r8android-security-14.0.0_r7android-security-14.0.0_r6android-security-14.0.0_r5android-security-14.0.0_r4android-security-14.0.0_r3android-security-14.0.0_r2android-security-14.0.0_r1android-platform-14.0.0_r7android-platform-14.0.0_r6android-platform-14.0.0_r5android-platform-14.0.0_r4android-platform-14.0.0_r3android-platform-14.0.0_r2android-platform-14.0.0_r1android-cts-14.0_r4android-cts-14.0_r3android-cts-14.0_r2android-cts-14.0_r1android-14.0.0_r28android-14.0.0_r2android-14.0.0_r15android-14.0.0_r14android-14.0.0_r13android-14.0.0_r1android14-tests-releaseandroid14-security-releaseandroid14-s2-releaseandroid14-s1-releaseandroid14-releaseandroid14-platform-release
Change-Id: Ie35319c4902f9efcd96b8cd3a0b5041cf7748466
-rw-r--r-- | host-common/include/host-common/vm_operations.h | 3 | ||||
-rw-r--r-- | host-common/include/host-common/window_agent.h | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/host-common/include/host-common/vm_operations.h b/host-common/include/host-common/vm_operations.h index 375d1bc..5dcd6c1 100644 --- a/host-common/include/host-common/vm_operations.h +++ b/host-common/include/host-common/vm_operations.h @@ -248,5 +248,8 @@ typedef struct QAndroidVmOperations { // virtio display bool (*setDisplay)(int32_t id, int32_t w, int32_t h, uint32_t dpi); + + // Reset the machine + void (*system_shutdown_request)(QemuShutdownCause reason); } QAndroidVmOperations; ANDROID_END_HEADER diff --git a/host-common/include/host-common/window_agent.h b/host-common/include/host-common/window_agent.h index a9489e0..be16f13 100644 --- a/host-common/include/host-common/window_agent.h +++ b/host-common/include/host-common/window_agent.h @@ -36,6 +36,9 @@ typedef enum { } WindowMessageType; typedef struct {} MultiDisplayPageChangeEvent; +typedef struct SkinLayout SkinLayout; +typedef struct QFrame QFrame; +typedef struct SkinEvent SKinEvent; static const int kWindowMessageTimeoutInfinite = -1; @@ -128,6 +131,9 @@ typedef struct QAndroidEmulatorWindowAgent { void (*quit_request)(void); void (*getWindowPosition)(int*, int*); bool (*hasWindow)(); + + bool (*userSettingIsDontSaveSnapshot)(void); + void (*setUserSettingIsDontSaveSnapshot)(bool); } QAndroidEmulatorWindowAgent; #ifndef USING_ANDROID_BP |