Commit graph

27 commits

Author SHA1 Message Date
Elliott Hughes
643268f325 Move system/core/ off NO_ERROR.
It causes trouble for Windows, and OK already exists.

Bug: N/A
Test: builds
Change-Id: Ida22fd658b0ebb259c710ba39049b07c9e495d9c
2018-10-08 11:15:52 -07:00
Yin-Chia Yeh
8791ac2470 Camera: add DISABLE error code
am: c5c84baaf8

Change-Id: Icdff7f6112dc331ce63c284ecaf7671c4e6cf5b8
2018-05-31 15:12:19 -07:00
Yin-Chia Yeh
c5c84baaf8 Camera: add DISABLE error code
Test: CTS CameraEvictionTest + IdleUidTest
Bug: 77486868
Change-Id: I1411d6667776963435ce25bd643a33c41d224921
2018-05-31 12:14:14 -07:00
Jiyong Park
dfe433db47 Merge "Mark as recovery_available: true" am: 9f6f8bf0dc
am: d7fece5d91

Change-Id: Id59445da13aeef13784f04daebc8a96a7d506cbb
2018-05-21 22:32:36 -07:00
Jiyong Park
612210c75b Mark as recovery_available: true
Libraries that are direct or indirect dependencies of modules installed
to recovery partition (e.g. toybox) are marked as recovery_available:
true. This allows a recovery variant of the lib is created when it is
depended by other recovery or recovery_available modules.

Bug: 67916654
Bug: 64960723
Test: m -j
Change-Id: Ie59155c08890e96ce1893fa3687afcf763d7aea3
2018-05-15 09:47:04 +09:00
Chia-I Wu
7d940ae4af graphics: add render intents and new color modes
Adds

  HAL_COLOR_MODE_BT2020 = 10,
  HAL_COLOR_MODE_BT2100_PQ = 11,
  HAL_COLOR_MODE_BT2100_HLG = 12,
  HAL_DATASPACE_BT2020_ITU_HLG = 302383104,
  HAL_DATASPACE_BT2020_HLG = 168165376,
  HAL_RENDER_INTENT_COLORIMETRIC = 0,
  HAL_RENDER_INTENT_ENHANCE = 1,
  HAL_RENDER_INTENT_TONE_MAP_COLORIMETRIC = 2,
  HAL_RENDER_INTENT_TONE_MAP_ENHANCE = 3,

by running update-base-files.sh.

Bug: 73824924
Test: manual
Change-Id: Ifde249074abf2228ebe016a38b5bcea8bccb5e9d
2018-03-28 10:23:09 -07:00
Chia-I Wu
9bae89be3a graphics: include graphics-sw.h from graphics.h
This reverts commit 94f641c33 in effect.  The way for framework to
avoid including graphics-sw.h is

 - include graphics-base.h directly
 - do not include HAL headers

Bug: 70526789
Test: builds
Change-Id: I3cd0fbdce2605a59c24f83c680bede95693abfcf
2018-03-13 10:13:51 -07:00
Chia-I Wu
94f641c333 graphics: move some flex pixel formats to graphcis-sw.h
Some of the flex pixel formats are software-only.  Move them to
graphics-sw.h to identify files that use them.

Bug: 70526789
Test: builds
Change-Id: I42757af810028f53bb6389c637a00c493041a4fb
2018-03-09 12:26:45 -08:00
Elliott Hughes
4c33b88c4b Merge "bpfmt." am: 0609e8d231 am: b57755c429
am: a91867a788

Change-Id: Ieb0985434e2464e47b3adb93fb27fe5042e91657
2018-02-20 02:24:45 +00:00
Elliott Hughes
dc699a269f bpfmt.
Bug: N/A
Test: builds
Change-Id: I89ad00e1c4c7e0767bc80a7ac7935a4d55e090ac
2018-02-16 17:58:14 -08:00
Elliott Hughes
d70259274a Merge "Add a graphics owner for graphics.h." am: 3303c5d520 am: ca8ffc893b
am: a82f7a0fe5

Change-Id: I39ba58ee9d74781897bcc55cc34e624cee389b1f
2018-01-25 01:46:19 +00:00
Elliott Hughes
f2f049f27a Add a graphics owner for graphics.h.
Bug: N/A
Test: N/A
Change-Id: I91c07531ba8a2da0187b7411b9c11dc3191dcede
2018-01-24 11:08:54 -08:00
Courtney Goeltzenleuchter
e1128319c4 Add Dataspace and PixelFormats to support HDR
Bug: 63710530
Test: make
Change-Id: I40c668978972598d057e4302f27ebc65f59cf895
2018-01-23 16:15:27 -08:00
Craig Donner
efe9fc5bf7 Create versioned graphics-base-* files.
Rather than constantly updating the one file as HAL change,
have a header per version. For now, the old file just includes
the new ones, until all the usage of graphics-base.h can be
cleaned up.

Bug: 66900669
Test: build
Change-Id: I396ce24f8e62b52c129a2b276698e4f00b1993f7
2018-01-19 10:16:22 -08:00
Courtney Goeltzenleuchter
b6eedba8a1 Add CTA 861.3 info to HDR struct
Test: make
Bug: 63710530
Exempt-From-Owner-Approval: this adds a standard-defined struct
Change-Id: I51aba346f407c1c15d5af2b6fd855db6d3563735
2018-01-04 11:35:58 -08:00
Jeff Tinker
17ffcc4280 Define priority for video threads
Video threads have soft realtime requirements that
must be met in order to maintain reliable frame delivery
even when the system is under high load. This CL
defines a new priority that can be used by video
threads, enabling them to be scheduled appropriately
relative to other system threads.

Change-Id: Idd57207e30309dfdff24389db0acf107532f9e5a
related-to-bug:63898080
2017-09-07 16:14:07 -07:00
Mathias Agopian
324a309cfe fix circular dependency libnativewindow <-> libui
Bug: 37647680, 37648355
Test: compile, manual
Change-Id: Ie0d20e6fe7d64641a2b84f536ec17f3e7971f559
2017-05-09 15:15:50 -07:00
Jiwen Cai
6f273c95de Merge "Add NATIVE_WINDOW_CONSUMER_IS_PROTECTED enum" into oc-dev am: 6399d45725
am: 9815189c9d

Change-Id: Ie349a765da66ae6b140a17d9062c180a52e77cb3
2017-05-02 16:25:11 +00:00
Jiwen 'Steve' Cai
faa4c188d0 Add NATIVE_WINDOW_CONSUMER_IS_PROTECTED enum
The enum is being introduced into libnativewindow, but back ported here
since window-deprecated.h is still being depended by other system
componenets.

Bug: 35726763
Test: videoplayer-nodrm-protected.apk and videoplayer-drm-protected.apk
both works.

Change-Id: I9298ff9b1ddd7f868e59db41e1a84e2cdd3d02b5
2017-05-01 16:41:26 -07:00
Colin Cross
bd6ee7a502 Merge "Revert "libsystem_headers: export libaudio_system_headers"" into oc-dev am: 76db3a5234
am: 0410d3a44b

Change-Id: Iedc1a0720f906c67d8c618e82c43c2801c16210f
2017-04-14 23:14:03 +00:00
Colin Cross
fc57708aeb Revert "libsystem_headers: export libaudio_system_headers"
This reverts commit c83ea95654.

Change-Id: I86d89381257e975654bbd0d4e71c35ca77e87228
2017-04-14 21:02:49 +00:00
Steven Moreland
526d8c5cb5 libsystem_headers: export libaudio_system_headers am: c83ea95654
am: 5b099bc1c9

Change-Id: If98b13d1789968892812d58c180c50499eb4c745
2017-04-14 18:49:51 +00:00
Steven Moreland
c83ea95654 libsystem_headers: export libaudio_system_headers
These headers are used in headers in libsystem_headers and must be
re-exported.

Test: modules using libsystem_headers don't have to have
libaudio_system_headers include dirs set.
Bug: 33241851

Change-Id: Ic2d842a4c97b3e3fed770249f0cc33a399f3cead
2017-04-13 19:39:28 -07:00
Steven Moreland
5c75fd4b4f Merge "libutils: export system_headers" into oc-dev am: e003513ccf
am: 220e6d824c

Change-Id: Ide0ddea7fc3bf2b1a0c46df7dd0d0704c36fc237
2017-04-14 02:04:43 +00:00
Steven Moreland
b084bc3545 libutils: export system_headers
vendor + vendor_available modules built with BOARD_VNDK_VERSION :=
current aren't allowed to use global headers. Since libutils uses
system headers itself, it should export them as well.

Also added some items into windows-deprecated.h. This file is supposed
to be in sync with the libnativewindow variant until all dependencies on
it can be fixed. However, it is missing some updates. This matters when
including libsystem_headers adds system headers before libnativewindow
headers in the lookup paths.

Bug: 33241851
Test: building with BOARD_VNDK_VERSION := current produces many fewer
errors.

Change-Id: I950821f1dae3ddc110db50869247913d5b1aa638
2017-04-13 12:05:16 -07:00
Vijay Venkatraman
88bff3613e Moved all files from include/system to libsystem/include/system
Bug: 33241851
Test: No changes for modules not using VNDK. For compiling with VNDK,
add libsystem_headers as dependency for using these headers

Merged-In: I2acce0ab771e10ac83461c2f931e2c19e922089e
Change-Id: I2acce0ab771e10ac83461c2f931e2c19e922089e
2017-04-11 16:13:42 +00:00
Vijay Venkatraman
49abdb96d2 Moved all files from include/system to libsystem/include/system
Bug: 33241851
Test: No changes for modules not using VNDK. For compiling with VNDK,
add libsystem_headers as dependency for using these headers

Change-Id: I2acce0ab771e10ac83461c2f931e2c19e922089e
2017-04-05 16:45:44 -07:00