Prashant Malani
2c9b11f029
surfaceflinger: Replace blank/unblank with setPowerMode
...
We replace the blank/unblank calls in surfaceFlinger with a more generic
setPowerMode() routine.
Some displays support different power modes (for example, with reduced
color palettes). Depending on the use case we should be able to toggle
these modes, so as to achieve incremental power savings.
Initially, three power modes will be supported:
- HWC_POWER_MODE_OFF
- HWC_POWER_MODE_DOZE
- HWC_POWER_MODE_NORMAL
HWC_POWER_MODE_OFF will correspond to blanking the display, while
HWC_POWER_MODE_NORMAL will correspond to unblanking. HWC_POWER_MODE_DOZE
will put the display into a low power setting, if it is supported in
hardware.
If such a low power mode is not supported, it should be treated as a
call to set the mode to HWC_POWER_MODE_NORMAL.
As a consequence of adding the mPowerMode field, the mScreenAcquired is
no longer required, and thus references to it are removed and replaced
equivalent references to mPowerMode.
We also add the glue code to connect the services invocation of setting
a power mode and the HAL implementation in HWComposer.
Bug: 13472578
Change-Id: I431595ecf16d2f2c94259272db3dd42f29636204
Signed-off-by: Prashant Malani <pmalani@google.com>
2014-06-05 16:35:52 -07:00
Mark Salyzyn
edcf7f4d3a
binder: rm utils/Debug.h as unutilized
...
Change-Id: I52eb8b64b71cec7ffd4560e902daf358fda98b4a
2014-05-30 16:51:18 +00:00
Mark Salyzyn
b8b3c536f4
am ea3f1da9
: am 1ce5ecbe
: am 63645c69
: Merge "binder: rm utils/Debug.h"
...
* commit 'ea3f1da9013b33ecf3f3f8771393c1754a9aec59':
binder: rm utils/Debug.h
2014-05-29 21:09:57 +00:00
Brian Carlstrom
f1e77f1a99
am 823bcce3
: am 4ae6a267
: am f3e4fda0
: Merge "Remove dependencies on runtime_libdvm and libdvm.so in general"
...
* commit '823bcce3abf536ee130a50551130d10589547cf4':
Remove dependencies on runtime_libdvm and libdvm.so in general
2014-05-29 21:09:39 +00:00
Mark Salyzyn
ea3f1da901
am 1ce5ecbe
: am 63645c69
: Merge "binder: rm utils/Debug.h"
...
* commit '1ce5ecbe3286380f5ff7ace289369ed006e9b40a':
binder: rm utils/Debug.h
2014-05-29 21:06:36 +00:00
Mark Salyzyn
1ce5ecbe32
am 63645c69
: Merge "binder: rm utils/Debug.h"
...
* commit '63645c69e03cf3862c52cfde6cbd5f5143ccd38a':
binder: rm utils/Debug.h
2014-05-29 20:29:32 +00:00
Mark Salyzyn
63645c69e0
Merge "binder: rm utils/Debug.h"
2014-05-29 20:26:49 +00:00
Mark Salyzyn
317ff37cf7
binder: rm utils/Debug.h
...
Change-Id: I16931919a26c16a0d701771c93fa7fe1c6f60ef8
2014-05-29 13:10:03 -07:00
Brian Carlstrom
823bcce3ab
am 4ae6a267
: am f3e4fda0
: Merge "Remove dependencies on runtime_libdvm and libdvm.so in general"
...
* commit '4ae6a26719feb21b7fa1cc5f307b591858a30f26':
Remove dependencies on runtime_libdvm and libdvm.so in general
2014-05-29 19:43:02 +00:00
Brian Carlstrom
4ae6a26719
am f3e4fda0
: Merge "Remove dependencies on runtime_libdvm and libdvm.so in general"
...
* commit 'f3e4fda09106cb93bddea35a2cc7dbd4b2c281e9':
Remove dependencies on runtime_libdvm and libdvm.so in general
2014-05-29 19:39:48 +00:00
Brian Carlstrom
f3e4fda091
Merge "Remove dependencies on runtime_libdvm and libdvm.so in general"
2014-05-29 19:36:41 +00:00
Simon Wilson
7ef56b7315
am ad8d25e8
: am 90654afb
: Revert "Enable OMAP4 SGX workaround for OMAP3 too"
...
* commit 'ad8d25e812d8842298de92657158a0325c42cdbd':
Revert "Enable OMAP4 SGX workaround for OMAP3 too"
2014-05-29 17:58:30 +00:00
Simon Wilson
ad8d25e812
am 90654afb
: Revert "Enable OMAP4 SGX workaround for OMAP3 too"
...
* commit '90654afb3aeac78916f2a53fe689a087c0e283c9':
Revert "Enable OMAP4 SGX workaround for OMAP3 too"
2014-05-29 17:54:34 +00:00
Brian Carlstrom
617f974e63
Remove dependencies on runtime_libdvm and libdvm.so in general
...
Bug: 14298175
(cherry picked from commit aefe55f0fb
)
Change-Id: I05b1a7dd1ef30b3366b52b46bfc7b39cfb3be198
2014-05-29 09:39:26 -07:00
Brian Carlstrom
5cd72e457e
am aefe55f0
: Remove dependencies on runtime_libdvm and libdvm.so in general
...
* commit 'aefe55f0fb9e69be205497ef4fc3432d2f7a2d8b':
Remove dependencies on runtime_libdvm and libdvm.so in general
2014-05-29 16:37:18 +00:00
Simon Wilson
90654afb3a
Revert "Enable OMAP4 SGX workaround for OMAP3 too"
...
Since the new TI SGX DDK 1.12 has fixed support for RGBA8888,
the workaround can be reverted. This may help with CTS issues.
Bug: 14995811
This reverts commit 6e79cb81d0
.
Change-Id: Id8160ebe577d7009d2dd5eb4501ec40356a4274d
2014-05-29 08:55:27 -07:00
Brian Carlstrom
aefe55f0fb
Remove dependencies on runtime_libdvm and libdvm.so in general
...
Bug: 14298175
Change-Id: I74b4a3dabf89c6b53bfe688c45d6e1167880fd95
2014-05-28 21:27:47 -07:00
Elliott Hughes
3e54077d42
am e77cb931
: am 259c2508
: am 03e2f8fa
: Merge "Modified atrace.cpp to recognize ATRACE_TAG_BIONIC."
...
* commit 'e77cb9317de54ea0041eeef7966b818257158f64':
Modified atrace.cpp to recognize ATRACE_TAG_BIONIC.
2014-05-29 01:08:06 +00:00
Elliott Hughes
e77cb9317d
am 259c2508
: am 03e2f8fa
: Merge "Modified atrace.cpp to recognize ATRACE_TAG_BIONIC."
...
* commit '259c25080d8b7f3b66e27e4d8ac3a268738ebe3f':
Modified atrace.cpp to recognize ATRACE_TAG_BIONIC.
2014-05-29 01:04:28 +00:00
Elliott Hughes
259c25080d
am 03e2f8fa
: Merge "Modified atrace.cpp to recognize ATRACE_TAG_BIONIC."
...
* commit '03e2f8fa13a791d744758ec9ffe27f52cab730d0':
Modified atrace.cpp to recognize ATRACE_TAG_BIONIC.
2014-05-29 01:02:16 +00:00
Elliott Hughes
03e2f8fa13
Merge "Modified atrace.cpp to recognize ATRACE_TAG_BIONIC."
2014-05-29 00:59:01 +00:00
Brian Carlstrom
4b0af48a21
am 28ec0303
: am e67810fd
: am 97a51ad4
: Merge "Move to dalvik.vm.lib.2 to force default to libart"
...
* commit '28ec03035d61828047f6bbc57be3b71f4c57b7fb':
Move to dalvik.vm.lib.2 to force default to libart
2014-05-28 23:18:49 +00:00
Brian Carlstrom
28ec03035d
am e67810fd
: am 97a51ad4
: Merge "Move to dalvik.vm.lib.2 to force default to libart"
...
* commit 'e67810fd7a00ffa92337c6f3aa6114136ce12613':
Move to dalvik.vm.lib.2 to force default to libart
2014-05-28 23:13:27 +00:00
Brian Carlstrom
e67810fd7a
am 97a51ad4
: Merge "Move to dalvik.vm.lib.2 to force default to libart"
...
* commit '97a51ad44ae3dcf4976076382923ddcae16233ee':
Move to dalvik.vm.lib.2 to force default to libart
2014-05-28 22:31:43 +00:00
Brian Carlstrom
97a51ad44a
Merge "Move to dalvik.vm.lib.2 to force default to libart"
2014-05-28 22:28:41 +00:00
Brian Carlstrom
856bc78efc
Move to dalvik.vm.lib.2 to force default to libart
...
Bug: 14298175
(cherry picked from commit c4ac3124ff
)
Change-Id: I97cc3ff7a269e671b315afa8673dae43d1f86bf1
2014-05-28 14:48:36 -07:00
Brian Carlstrom
96d34ff2c3
am c4ac3124
: Move to dalvik.vm.lib.2 to force default to libart
...
* commit 'c4ac3124ffb51f13bb4206e9f8452a3712eb09cb':
Move to dalvik.vm.lib.2 to force default to libart
2014-05-28 21:44:58 +00:00
Brigid Smith
750aa9743c
Modified atrace.cpp to recognize ATRACE_TAG_BIONIC.
...
Bug: 15116468
Change-Id: I621532fb53b8317f5a513edfbeb0c50c265342fc
2014-05-28 14:42:09 -07:00
Brian Carlstrom
c4ac3124ff
Move to dalvik.vm.lib.2 to force default to libart
...
Bug: 14298175
Change-Id: Id3892a32848fb22fbf4c2861218b51f68e830b34
2014-05-28 14:31:47 -07:00
Dan Stoza
3d5c8a98c1
Merge "SurfaceFlinger: Add sourceCrop to screenshot"
2014-05-28 18:31:40 +00:00
Santos Cordon
7eb2a1566a
am 203fe88e
: (-s ours) DO NOT MERGE Allow "telecomm" service to be registered with the phone UID.
...
* commit '203fe88ed8a47a370d07d69d14db2fb58f5a26ee':
DO NOT MERGE Allow "telecomm" service to be registered with the phone UID.
2014-05-28 18:20:13 +00:00
The Android Automerger
104513804e
am cfe99e79
: merge in master-release history after reset to 102a072d90
...
* commit 'cfe99e79a6ae4d9fd08d09ecd66cee5da8a5fb95':
frameworks/native: Rename persist.sys.dalvik.vm.lib to allow new default
releax wait timeout on start of dumpstate service
2014-05-28 18:20:13 +00:00
Santos Cordon
203fe88ed8
DO NOT MERGE Allow "telecomm" service to be registered with the phone UID.
...
Change-Id: I9180797451dcb2e9029b20bed47f5d5cb8cddb9f
(cherry picked from commit 3fb4de7193
)
2014-05-28 04:50:04 +00:00
Jesse Hall
c2774f9b73
am 92374318
: am 618c78c0
: am dc273621
: Merge "EGL: add x86/64 assembly code for EGL/GLES wrappers"
...
* commit '92374318b82945f3d03461f3d0c659adb8409fc5':
EGL: add x86/64 assembly code for EGL/GLES wrappers
2014-05-27 23:35:10 +00:00
Jesse Hall
92374318b8
am 618c78c0
: am dc273621
: Merge "EGL: add x86/64 assembly code for EGL/GLES wrappers"
...
* commit '618c78c032ce84c02724a1e5a7f439fa788ecf3a':
EGL: add x86/64 assembly code for EGL/GLES wrappers
2014-05-27 23:31:32 +00:00
Jesse Hall
618c78c032
am dc273621
: Merge "EGL: add x86/64 assembly code for EGL/GLES wrappers"
...
* commit 'dc2736219fa897840d1ff12b11cd7defb636f845':
EGL: add x86/64 assembly code for EGL/GLES wrappers
2014-05-27 23:29:20 +00:00
Jesse Hall
dc2736219f
Merge "EGL: add x86/64 assembly code for EGL/GLES wrappers"
2014-05-27 23:26:15 +00:00
Aravind Akella
812f15f2f9
Merge "Surface maxDelay and isWakeUpSensor flag in Sensor.java."
2014-05-27 19:38:00 +00:00
Etienne Le Grand
03b1a9db9d
am b3a65bb0
: am 9dcd38ad
: Merge "Add heart rate to ASensorEvent" into klp-modular-dev
...
* commit 'b3a65bb0c2d2f6e660510efe0d93b3d26b0b2bf9':
Add heart rate to ASensorEvent
2014-05-27 18:14:51 +00:00
Etienne Le Grand
b3a65bb0c2
am 9dcd38ad
: Merge "Add heart rate to ASensorEvent" into klp-modular-dev
...
* commit '9dcd38ad3b8335308b59932718e3f145aa50d318':
Add heart rate to ASensorEvent
2014-05-27 18:10:16 +00:00
Etienne Le Grand
9dcd38ad3b
Merge "Add heart rate to ASensorEvent" into klp-modular-dev
2014-05-27 18:02:49 +00:00
mwajdecz
c80aafa61d
EGL: add x86/64 assembly code for EGL/GLES wrappers
...
There was no explicit support for x86/64 architecture in EGL/GLES wrappers.
This resulted either in failures or sub-optimal implementation of the wrapper functions.
Change-Id: I20d99d7372fbf642ee4b94a05c8cb971cba29988
Signed-off-by: Wajdeczko, Michal <michal.wajdeczko@intel.com>
2014-05-27 09:26:21 -07:00
Aravind Akella
d9441e4c27
Surface maxDelay and isWakeUpSensor flag in Sensor.java.
...
Change-Id: Idd1e9045190beeca87b086b272e8cbf0bed05bae
2014-05-23 18:58:01 -07:00
Etienne Le Grand
630e31d6ed
Add heart rate to ASensorEvent
...
Change-Id: Ic82838b17a575de93d499e44a454bb382f17678f
2014-05-23 12:35:10 -07:00
Aravind Akella
72c524dd8c
am 040730e8
: am 1236710b
: Remove getRequiredPermission from NDK.
...
* commit '040730e8954b2f686390434646f82bc333de7058':
Remove getRequiredPermission from NDK.
2014-05-23 18:04:27 +00:00
Dan Stoza
c18790018b
SurfaceFlinger: Add sourceCrop to screenshot
...
Adds a sourceCrop Rect parameter to screenshot commands, which allows
clients to capture only a portion of the screen instead of the whole
screen.
Bug: 15137922
Change-Id: I629447573cd34ffb96334cde7ba02490b9ea06d8
2014-05-23 09:19:03 -07:00
Aravind Akella
040730e895
am 1236710b
: Remove getRequiredPermission from NDK.
...
* commit '1236710bccd8f5870c0281e24a899c3d58f708e6':
Remove getRequiredPermission from NDK.
2014-05-22 22:44:55 +00:00
Santos Cordon
9bf29a81df
Merge "Allow "telecomm" service to be registered with the phone UID."
2014-05-22 21:21:29 +00:00
Aravind Akella
1236710bcc
Remove getRequiredPermission from NDK.
...
Change-Id: Ic967adde89f30261c75fca67c09d14d35bd1cdb3
2014-05-22 13:19:49 -07:00
The Android Automerger
cfe99e79a6
merge in master-release history after reset to 102a072d90
2014-05-22 07:22:05 -07:00