Commit graph

30549 commits

Author SHA1 Message Date
Courtney Goeltzenleuchter
7ab0579800 Add dataspace to match upstream EGL extension
EGL's EGL_EXT_gl_colorspace_bt2020_pq extension
supports a bt2020 color space with a ST2084
transfer function (Dolby Perceptual Quantizer)
Test: make
Change-Id: Ibdacb00ce48189b1faf16fb8dd071caff2ec2a98
2017-03-01 18:25:15 -07:00
Bowgo Tsai
9cce616cea Merge "init: skip early mount in recovery mode" am: 8951c1313d am: 6befc485c7
am: f00d05610b

Change-Id: I8a7dd60f99cfcda88b01892c129af24e3f61a3aa
2017-03-01 18:36:48 +00:00
Bowgo Tsai
f00d05610b Merge "init: skip early mount in recovery mode" am: 8951c1313d
am: 6befc485c7

Change-Id: I5963d2f181fe9ce9bfed982f54a8e1b152d7dd26
2017-03-01 18:31:18 +00:00
Bowgo Tsai
6befc485c7 Merge "init: skip early mount in recovery mode"
am: 8951c1313d

Change-Id: Ie9e199acaa9577ad72c6d57cc6cbc1be895fb4a4
2017-03-01 18:28:48 +00:00
Treehugger Robot
8951c1313d Merge "init: skip early mount in recovery mode" 2017-03-01 18:21:17 +00:00
Bowgo Tsai
32232724fb init: skip early mount in recovery mode
We don't need early mount in recovery mode for security considerations,
e.g., users should explicitly select 'mount /system' from the recovery
menu. This CL checks the existence of file "/sbin/recovery" and skip
early mount when it is found.

Bug: 35853576
Test: early mount /vendor without dm-verity on sailfish
Test: early mount not happen in recovery mode on sailfish
Change-Id: I69cc96f6fd0de6ce493082921738a958dd571115
2017-03-02 00:30:58 +08:00
Elliott Hughes
b161357b1f Merge "There's no longer a limit to property names." am: b6cb9b0457 am: 734aacf679
am: fc41c88f26

Change-Id: I10b43a27c25cb917736a99877212ec180577d332
2017-03-01 00:10:42 +00:00
Elliott Hughes
fc41c88f26 Merge "There's no longer a limit to property names." am: b6cb9b0457
am: 734aacf679

Change-Id: Ia936f33eda1ba49f53ff0763938769c1dae1bc16
2017-03-01 00:08:40 +00:00
Elliott Hughes
734aacf679 Merge "There's no longer a limit to property names."
am: b6cb9b0457

Change-Id: I668c7298cdcb8b57f1397c3ef5469ad6f141ea66
2017-03-01 00:06:40 +00:00
Treehugger Robot
b6cb9b0457 Merge "There's no longer a limit to property names." 2017-03-01 00:03:58 +00:00
Ryan Campbell
a4f5d12b71 Merge "Add global GCOV_PREFIX option." am: df0f792a9e am: 2d3378350a
am: 11339c7e34

Change-Id: I10d53220ea5e433ae0f027bf21750a239a588e9c
2017-02-28 23:37:10 +00:00
Ryan Campbell
11339c7e34 Merge "Add global GCOV_PREFIX option." am: df0f792a9e
am: 2d3378350a

Change-Id: I43118ceb85d6acbd27ca3e65796c980dea9ac693
2017-02-28 23:34:41 +00:00
Ryan Campbell
2d3378350a Merge "Add global GCOV_PREFIX option."
am: df0f792a9e

Change-Id: Ia3c990cc5d3e838a92ecb7dd144843f872b1ae7e
2017-02-28 23:32:11 +00:00
Treehugger Robot
df0f792a9e Merge "Add global GCOV_PREFIX option." 2017-02-28 23:28:45 +00:00
Keun-young Park
75361b8d55 Merge "add base::WaitForPropertyCreation" am: 22a64b3a8a am: e3d4615f80
am: e861d362f8

Change-Id: Id35b59423b7e5b6515c8355d643563721773b55f
2017-02-28 22:46:45 +00:00
Keun-young Park
534aa7adab Merge "set ro.boottime.persistent_properties when persisted props are restored" am: 73c6544b08 am: bba9f8a9b2
am: 78a2947a64

Change-Id: I05af48cb79b3eaf9656302c8cdc6b94094b34655
2017-02-28 22:46:38 +00:00
Keun-young Park
e861d362f8 Merge "add base::WaitForPropertyCreation" am: 22a64b3a8a
am: e3d4615f80

Change-Id: I0d1370f9dbb11e605a511286f669cd2e0eb8b47b
2017-02-28 22:44:11 +00:00
Keun-young Park
78a2947a64 Merge "set ro.boottime.persistent_properties when persisted props are restored" am: 73c6544b08
am: bba9f8a9b2

Change-Id: Icb82fb72966431be856b202e113095c3f11920cc
2017-02-28 22:44:06 +00:00
Keun-young Park
e3d4615f80 Merge "add base::WaitForPropertyCreation"
am: 22a64b3a8a

Change-Id: I19719bf134fbd23a5473ecdeecc049c78a727028
2017-02-28 22:42:14 +00:00
Keun-young Park
bba9f8a9b2 Merge "set ro.boottime.persistent_properties when persisted props are restored"
am: 73c6544b08

Change-Id: I97c564b93fbc37a898ca937f2d28f372c6687fe7
2017-02-28 22:42:08 +00:00
Keun-young Park
22a64b3a8a Merge "add base::WaitForPropertyCreation" 2017-02-28 22:39:41 +00:00
Keun-young Park
73c6544b08 Merge "set ro.boottime.persistent_properties when persisted props are restored" 2017-02-28 22:39:41 +00:00
Mark Salyzyn
f06a515338 Merge "liblog: event log tags cache miss call logd for update" am: 364bf6db00 am: 119933f0a4
am: da37f07f31

Change-Id: I051ebba63a3c192e58e6ad30bf95696487c179a4
2017-02-28 22:30:36 +00:00
Mark Salyzyn
da37f07f31 Merge "liblog: event log tags cache miss call logd for update" am: 364bf6db00
am: 119933f0a4

Change-Id: If912675328cda388fd2fb77317a93e1699e6c7bc
2017-02-28 22:28:35 +00:00
Mark Salyzyn
119933f0a4 Merge "liblog: event log tags cache miss call logd for update"
am: 364bf6db00

Change-Id: Iec62a14af4d213caf4a26b838c8d5e74edb898be
2017-02-28 22:26:35 +00:00
Mark Salyzyn
364bf6db00 Merge "liblog: event log tags cache miss call logd for update" 2017-02-28 22:24:17 +00:00
Mark Salyzyn
2a0044e4b0 liblog: event log tags cache miss call logd for update
Deal with cache miss in the event tag map resources and switch to
"Plan B" to ask long-path to logd for a determination on the tag,
name and format.

logcat-unit-tests liblogcat.descriptive does an under-the-hood call
to logd to add a new logtag but the in-process mapping fails to
pick it up because the /dev/event-tag-map map is SHARED PRIVATE for a
few moments to garner some (linux) efficiency with other copies that
are in the process.  Without the workaround of marking the mapping
dirty to be reread, we are using this change as the proper workaround
that fixes the later parts of this test.

Test: gTest logcat-unit-tests --gtest_filter=liblogcat.descriptive
Bug: 31456426
Bug: 35326290
Change-Id: Ibe54d4df00ed92248e1e644ecebc95f60b222b4d
2017-02-28 14:23:18 -08:00
Elliott Hughes
b7788fd454 There's no longer a limit to property names.
Bug: http://b/33926793
Test: boots
Change-Id: I8554d7af74e064c114cf817f5a2ba1247fa2a2db
2017-02-28 14:12:54 -08:00
Colin Cross
a4ca06b3b3 Merge changes I975ba933,Ica9d211b am: a9ef4dc7a2 am: 9ece9401a4
am: f695f6e842

Change-Id: I570c55be7a7cf3ad44e32717040689a68f67ada2
2017-02-28 20:37:29 +00:00
Colin Cross
f695f6e842 Merge changes I975ba933,Ica9d211b am: a9ef4dc7a2
am: 9ece9401a4

Change-Id: I4aceabe7b0d39d0a2cf214577d6764d30fc95858
2017-02-28 20:34:58 +00:00
Colin Cross
9ece9401a4 Merge changes I975ba933,Ica9d211b
am: a9ef4dc7a2

Change-Id: I4e4effd0176bab0eff9b970702eac12fce3d69c5
2017-02-28 20:32:31 +00:00
Colin Cross
a9ef4dc7a2 Merge changes I975ba933,Ica9d211b
* changes:
  Add tests for multiton issue
  Add GetExecutableDirectory to libbase
2017-02-28 20:29:17 +00:00
Keun-young Park
e2d986daa6 add base::WaitForPropertyCreation
- unlike base::WaitForProperty, which waits for specific value to
  be set, this one only waits until the property is created.

bug: 35178781
Test: added unit test
Change-Id: Idbf98c2152fe768357302f6b69310c55305f5d54
2017-02-28 12:08:54 -08:00
Keun-young Park
7d3202650d set ro.boottime.persistent_properties when persisted props are restored
- allows components relying on persisted props to wait for this property.

bug: 35178781
Test: reboots
Change-Id: I06cbf2a6b375654fcc277a2699fceeb23846a241
2017-02-28 11:31:54 -08:00
Mark Salyzyn
f83bc4ca3c Merge "liblogcat: measure performance" am: 8a3a166066 am: 38d33010d0
am: 825a2a0b9d

Change-Id: I0ab2ebef3df2fc6d68e1fcb92f46274baeb75749
2017-02-28 17:28:47 +00:00
Mark Salyzyn
825a2a0b9d Merge "liblogcat: measure performance" am: 8a3a166066
am: 38d33010d0

Change-Id: Ib034328eb52c69123fe24db9f12c663f5319510a
2017-02-28 17:27:15 +00:00
Mark Salyzyn
38d33010d0 Merge "liblogcat: measure performance"
am: 8a3a166066

Change-Id: I2b294ea7477a079ee3f6d35f5fc6e7a4c8592196
2017-02-28 17:25:15 +00:00
Mark Salyzyn
9b7bd6b9f5 Merge "liblogcat: add simple stdout redirection" am: 1f8aa4cffd am: e69148271c
am: 92451e2388

Change-Id: I75309177653a1f2dfc09886ccbfd5fc2b4eb3ef8
2017-02-28 17:23:19 +00:00
Treehugger Robot
8a3a166066 Merge "liblogcat: measure performance" 2017-02-28 17:18:46 +00:00
Mark Salyzyn
92451e2388 Merge "liblogcat: add simple stdout redirection" am: 1f8aa4cffd
am: e69148271c

Change-Id: I232ec3658c3e829598355b60b943e47ebcd79b3d
2017-02-28 17:18:33 +00:00
Mark Salyzyn
e69148271c Merge "liblogcat: add simple stdout redirection"
am: 1f8aa4cffd

Change-Id: Id1944628c42ae21b4514a3cb314c5f9df8d12934
2017-02-28 17:13:47 +00:00
Treehugger Robot
1f8aa4cffd Merge "liblogcat: add simple stdout redirection" 2017-02-28 17:06:13 +00:00
Colin Cross
a0931ebd64 Add tests for multiton issue
Test accessing a singleton from two libraries, the second of which
depends on the first but is dlopen'd after the first is already
loaded.

Bug: 35674422
Test: out/host/linux-x86/nativetest64/libutils_tests/libutils_tests
Change-Id: I975ba933a19b941a52bdb6e9c221a6910ffb8081
2017-02-28 16:34:35 +00:00
Colin Cross
bb3a515f46 Add GetExecutableDirectory to libbase
Tests will often want to get the executable directory in order to
find test data.

Test: out/host/linux-x86/nativetest64/libbase_tests/libbase_tests
Change-Id: Ica9d211bcd039fcf83a22fd494816abd01b97aa3
2017-02-28 16:34:04 +00:00
Colin Cross
fb23fa81d1 Merge "Move adb_dirname and adb_basename to libbase" am: 5a8db38b01 am: e5dd37ec35
am: 532b617050

Change-Id: Ia454d38c70626180c9bbf33e35ec8008bd272941
2017-02-28 07:36:14 +00:00
Colin Cross
532b617050 Merge "Move adb_dirname and adb_basename to libbase" am: 5a8db38b01
am: e5dd37ec35

Change-Id: Iaca05587879d400f05cff297cd63aa56507492fc
2017-02-28 07:34:13 +00:00
Colin Cross
e5dd37ec35 Merge "Move adb_dirname and adb_basename to libbase"
am: 5a8db38b01

Change-Id: Ie0eaffca15f0e85c9134352a09f2dab919801da7
2017-02-28 07:31:43 +00:00
Treehugger Robot
5a8db38b01 Merge "Move adb_dirname and adb_basename to libbase" 2017-02-28 07:28:54 +00:00
Steven Moreland
a2e18cd5ae Merge "Bluetooth hal: moved to vendor partition." am: 1e48879b6c am: 109aa756c3
am: 5824abad4d

Change-Id: If7f193c77c6e69ac5e885a3f08dbdadeddee10c3
2017-02-28 04:20:42 +00:00
Jesse Hall
7f6ce4dce1 Merge changes Id210f009,I548a499d,Ic672d1c8,I0ea37067,Ieb3649b8, ...
* changes:
  sync: rename sync/sync.h to android/sync.h
  sync: move declarations from sync/sync.h to sync.c
  sync: implement sync_file_info
  sync: refactor sync_fence_info
  sync: Add NDK sync.h and libsync
  sync: Use correct type in size calculation
2017-02-28 04:12:24 +00:00