display: Create QService binder interface.
Add QService binder interface to enable communication
to display by the mediaserver for Securing/Unsecuring start and end
notifications.
Create separate lib for external.
Clear reserved field before applying format.
Change-Id: I463c9c6deac7587bd0c4e0b84513b5d0b5dd7e98
diff --git a/libhwcomposer/hwc_utils.h b/libhwcomposer/hwc_utils.h
index 9cb6e15..184d967 100644
--- a/libhwcomposer/hwc_utils.h
+++ b/libhwcomposer/hwc_utils.h
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2010 The Android Open Source Project
- * Copyright (C) 2012, Code Aurora Forum. All rights reserved.
+ * Copyright (C) 2012, The Linux Foundation. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -32,6 +32,10 @@
struct hwc_context_t;
struct framebuffer_device_t;
+namespace qService {
+class QService;
+}
+
namespace overlay {
class Overlay;
}
@@ -151,12 +155,21 @@
//QueuedBufferStore to hold buffers for overlay
qhwc::QueuedBufferStore *qbuf;
+ //QService object
+ qService::QService *mQService;
+
// External display related information
qhwc::ExternalDisplay *mExtDisplay;
qhwc::MDPInfo mMDP;
bool isPoweredDown;
+
+ //Securing in progress indicator
+ bool mSecuring;
+
+ //Display in secure mode indicator
+ bool mSecureMode;
};
#endif //HWC_UTILS_H