Commit Graph

4842 Commits

Author SHA1 Message Date
Chia-I Wu
2c3a6cd3cd Merge "graphics: set maxThreads to 4 for the composer" into oc-dev am: 15e33c6d17
am: b8b218b88b

Change-Id: Icb85078986c8453498c1ef2ee5dbb5c58f7fc6a0
2017-05-12 20:02:37 +00:00
Chia-I Wu
b8b218b88b Merge "graphics: set maxThreads to 4 for the composer" into oc-dev
am: 15e33c6d17

Change-Id: I4e5c759f467d6085e9dc1d57ca65db0273343eef
2017-05-12 19:59:18 +00:00
Chia-I Wu
15e33c6d17 Merge "graphics: set maxThreads to 4 for the composer" into oc-dev 2017-05-12 19:50:57 +00:00
TreeHugger Robot
060e3c72b4 Merge "Eliminate redundant #includes and a missing one" 2017-05-12 19:24:57 +00:00
TreeHugger Robot
95c62992c0 Merge "Add evs and vehicle hal to compatibility matrix" 2017-05-12 18:29:13 +00:00
Myles Watson
eb4bbc7933 Merge "Bluetooth: Add a second thread for the scheduler" am: 2709c56ad5 am: 31f6040908 am: f56e2909f9
am: 79e7dd9fca

Change-Id: I084dcfb0470131348ac7c6dfea3e1c1430e74b74
2017-05-12 18:23:54 +00:00
Myles Watson
79e7dd9fca Merge "Bluetooth: Add a second thread for the scheduler" am: 2709c56ad5 am: 31f6040908
am: f56e2909f9

Change-Id: Icd6191fb8f079126c1a4991683d9ee6b1015f18c
2017-05-12 18:15:30 +00:00
Myles Watson
ebce2c3822 Bluetooth: Add a second thread for the scheduler am: 33f36706d0
am: 6c4020d1d0

Change-Id: If5d7a2cbd6a32f6675c3b7c85abacc4170c2bf59
2017-05-12 18:13:55 +00:00
Myles Watson
f56e2909f9 Merge "Bluetooth: Add a second thread for the scheduler" am: 2709c56ad5
am: 31f6040908

Change-Id: I4fb1e8f7a8d011b4c1cb59245dce5c9d20a05b2d
2017-05-12 18:10:27 +00:00
Myles Watson
31f6040908 Merge "Bluetooth: Add a second thread for the scheduler"
am: 2709c56ad5

Change-Id: I0375940ba054d6b12d00957e96e0de860625c273
2017-05-12 18:08:28 +00:00
Treehugger Robot
2709c56ad5 Merge "Bluetooth: Add a second thread for the scheduler" 2017-05-12 18:03:56 +00:00
Myles Watson
6c4020d1d0 Bluetooth: Add a second thread for the scheduler
am: 33f36706d0

Change-Id: I4730416f799b0947690d4a4544be41bfed191afb
2017-05-12 18:01:57 +00:00
Chia-I Wu
ec71f00148 graphics: set maxThreads to 4 for the composer
There are implmentations that can dead lock when calling certain
functions in certain states.  It works fine before HIDL because
SurfaceFlinger calls those functions in another thread.  We allow
for 4 hwbinder threads in this commit to simulate how SurfaceFlinger
calls hwcomposer.

Bug: 38183197
Test: camera, videos, multi windows, screencap, screenrecord
Change-Id: Ie05b2ca349b8c1ed9a3ac962981434f2efee92d9
2017-05-12 08:40:48 -07:00
Kevin Rocard
38f4c6dff3 Merge changes from topic 'audio-primary-hal-vts-fix' into oc-dev am: 257c2f1a43
am: c8e1b1dadc

Change-Id: Ifb57505618923484ea469dcbf117f90d2cdd1f4b
2017-05-12 09:08:46 +00:00
Jaesoo Lee
e4b2eba30b configstore: include types.h instead of ISurfaceFlingerConfigs.h am: 92c77bd6e7 am: 4b1848247f am: d21a105380
am: 4c15eccb92

Change-Id: I99d8db9341bc683d87dea0149e46267587abf0c9
2017-05-12 09:08:21 +00:00
Kevin Rocard
c8e1b1dadc Merge changes from topic 'audio-primary-hal-vts-fix' into oc-dev
am: 257c2f1a43

Change-Id: Ic8850d915b5672e7529f99e7d57845b2de44857a
2017-05-12 06:57:47 +00:00
Jaesoo Lee
4c15eccb92 configstore: include types.h instead of ISurfaceFlingerConfigs.h am: 92c77bd6e7 am: 4b1848247f
am: d21a105380

Change-Id: I1a674bd0827b0dccdb01fded168cf3122de81afa
2017-05-12 05:16:36 +00:00
Jaesoo Lee
d21a105380 configstore: include types.h instead of ISurfaceFlingerConfigs.h am: 92c77bd6e7
am: 4b1848247f

Change-Id: I7563d66174d3fd5c6c7a35389bb5d5ed78c7ac3c
2017-05-12 05:12:35 +00:00
Jaesoo Lee
4b1848247f configstore: include types.h instead of ISurfaceFlingerConfigs.h
am: 92c77bd6e7

Change-Id: I2782872f927b8fa9a0cc1da877d0f1cac3680150
2017-05-12 05:10:34 +00:00
Scott Randolph
3446440623 Eliminate redundant #includes and a missing one
Minor cleanup that fell out of a debugging effort.
Test:  Build and run vehicle hal on gordon peak

Change-Id: I29bcb74f3eac96df303139b2717b06c8dfedb839
2017-05-11 17:43:14 -07:00
Myles Watson
33f36706d0 Bluetooth: Add a second thread for the scheduler
Test: service call bluetooth_manager 6 # (Stop Bluetooth)
      /data/nativetest64/VtsHalBluetoothV1_0TargetTest/\
          VtsHalBluetoothV1_0TargetTest
Bug: 38178265, 34461621
Change-Id: Ia8f6683ca47c9deac43d1047846caee5688f1eca
(cherry picked from commit 74c601361c)
2017-05-11 17:28:06 -07:00
Myles Watson
74c601361c Bluetooth: Add a second thread for the scheduler
Test: service call bluetooth_manager 6 # (Stop Bluetooth)
      /data/nativetest64/VtsHalBluetoothV1_0TargetTest/\
          VtsHalBluetoothV1_0TargetTest
Bug: 38178265, 34461621
Change-Id: Ia8f6683ca47c9deac43d1047846caee5688f1eca
2017-05-11 16:57:01 -07:00
Kevin Rocard
257c2f1a43 Merge changes from topic 'audio-primary-hal-vts-fix' into oc-dev
* changes:
  Audio HAL: A volume/gain outside of [0,1] is an error
  Audio HAL VTS: Log test unexpected behaviour
  Audio HAL VTS: Improve ASSERT of Result and Return
  Audio HAL VTS: stopped stream state getters may return INVALID_STATE
  Audio HAL VTS: setGain allow -0.0
  Audio HAL VTS: Some methods are optional
  Audio HAL VTS: GetPresentationPosition may return 0 on stop stream
  Audio HAL VTS: getDevice() == NONE => not supported
  Audio HAL VTS: Getter test assert logic was incorrect
  Audio HAL VTS: debugDump can only test for crash
  Audio HAL VTS: Sanitize prepareFor{Writing,Reading} input size
  Audio HAL VTS: refactor prepareFor{Reading,Writing}
  Audio HAL VTS: Sanitize setMode input
  Audio HAL VTS: Allow OK when setting a non existing parameter
  Audio HAL VTS: differentiate getParam success/failure/not_implemented
  Audio HAL VTS: Fix style on modified files
2017-05-11 22:34:40 +00:00
Scott Randolph
005d9767f8 Add evs and vehicle hal to compatibility matrix
Test:  none
Change-Id: I61dcc985d1d4dde4b4b53e36b0de1d4dcff8d3f4
2017-05-11 10:16:12 -07:00
Steven Moreland
eaebef21f0 Fix side branch build breakage.
Some branch is complaining:
error: undefined reference to 'android::hardware::power::V1_0::IPower::unlinkToDeath(android::sp<android::hardware::hidl_death_recipient> const&)'

Test: N/A
Test: works on master branch
Change-Id: Ifbd47fd47312e02e25eb326f374c71c7dceb2944
2017-05-11 09:16:25 -07:00
Steven Moreland
431de3ae0a Merge changes from topic 'fix-hidl-generate' into oc-dev am: 4be51a8512 -s ours
am: da36690e9b  -s ours

Change-Id: I2a0776d045cca8967c29643b4d3b4507f88384a9
2017-05-11 01:46:22 +00:00
Steven Moreland
d1de25c372 Update makefiles for c++-sources and c++-headers. am: 8716f3063e -s ours
am: 2b6a9e2213  -s ours

Change-Id: I9337dd2e4686519c9e955ccf685073ef4640ff85
2017-05-11 01:38:23 +00:00
Steven Moreland
d09cf863da Update makefiles for c++-sources and c++-headers. (2/2) am: bc71124120
am: a32ebce372

Change-Id: Ic1dd8f98e72656bc12a6e5224e541f75afb79daa
2017-05-11 01:38:14 +00:00
Martijn Coenen
ab97cef29e Merge "Start processes that need real-time with CAP_SYS_NICE." into oc-dev am: 6c062f77c1
am: b05e4c9414

Change-Id: I9fa6d2b4283ca50506ffcc6a665e6a2e46c4c2f9
2017-05-11 01:36:26 +00:00
Steven Moreland
da36690e9b Merge changes from topic 'fix-hidl-generate' into oc-dev
am: 4be51a8512  -s ours

Change-Id: I91054a4a0ffcf6ff117bd4b6c3dcc3a94e7231c2
2017-05-11 00:55:46 +00:00
Steven Moreland
2b6a9e2213 Update makefiles for c++-sources and c++-headers.
am: 8716f3063e  -s ours

Change-Id: If3655769859781369e8cb8456f133e0c35636254
2017-05-11 00:49:04 +00:00
Steven Moreland
a32ebce372 Update makefiles for c++-sources and c++-headers. (2/2)
am: bc71124120

Change-Id: Icf36068a4d863a8520854c7a83e51f960c188e12
2017-05-11 00:48:55 +00:00
Martijn Coenen
b05e4c9414 Merge "Start processes that need real-time with CAP_SYS_NICE." into oc-dev
am: 6c062f77c1

Change-Id: I921160390dc9f90e7872729194ed1d1240ce68b7
2017-05-11 00:47:30 +00:00
Jaesoo Lee
92c77bd6e7 configstore: include types.h instead of ISurfaceFlingerConfigs.h
Utils.h does not need to include ISurfaceFlingerConfigs.h.

Bug: 37727469
Test: successfully built sailfish-userdebug
Change-Id: I6650020bfc3b265d871ca3244b8900c336f98419
2017-05-11 09:37:03 +09:00
Steven Moreland
e7a87680d6 Actually fix build breakage with cleanspec. am: 319b8292be am: b16a4d26d3 am: 6ad2f6c984
am: ef8f6e8370

Change-Id: Idaef598fff95e2e8d384d6b427529956dd3b94b9
2017-05-10 23:48:25 +00:00
Steven Moreland
c8555098c7 Add CleanSpec to hardware/interfaces. am: e468cf8004 am: 7780055fd1 am: aae66d171a
am: 5e077fbd92  -s ours

Change-Id: I40c1636a49c883edfadf349f72494e9da27cd1de
2017-05-10 23:47:58 +00:00
Steven Moreland
ef8f6e8370 Actually fix build breakage with cleanspec. am: 319b8292be am: b16a4d26d3
am: 6ad2f6c984

Change-Id: I09a208dcd24cf17d3171ed5d4f64282a2642dd56
2017-05-10 22:51:15 +00:00
Steven Moreland
6ad2f6c984 Actually fix build breakage with cleanspec. am: 319b8292be
am: b16a4d26d3

Change-Id: I235f68723215a806317828b65d9b8905598b10eb
2017-05-10 22:48:44 +00:00
Steven Moreland
b16a4d26d3 Actually fix build breakage with cleanspec.
am: 319b8292be

Change-Id: Ic9dcbf28c238b30eba296fedcdef08af049aef31
2017-05-10 22:47:14 +00:00
Steven Moreland
3c1adcab91 Actually fix build breakage with cleanspec.
OUT_DIR instead of OUT

Test: manual
Change-Id: I2e48c6f2f39ff2318517ff55cbfa6ca912c05021
2017-05-10 15:36:43 -07:00
Steven Moreland
319b8292be Actually fix build breakage with cleanspec.
OUT_DIR instead of OUT

Test: manual
Change-Id: I2e48c6f2f39ff2318517ff55cbfa6ca912c05021
2017-05-10 22:35:20 +00:00
Steven Moreland
5e077fbd92 Add CleanSpec to hardware/interfaces. am: e468cf8004 am: 7780055fd1
am: aae66d171a

Change-Id: Id1a1c32443e342915dd40147560bb1987d782f9d
2017-05-10 21:03:08 +00:00
Steven Moreland
aae66d171a Add CleanSpec to hardware/interfaces. am: e468cf8004
am: 7780055fd1

Change-Id: I5d5f2618fc6d18034439d3cb1c31290d825f1c2e
2017-05-10 20:58:37 +00:00
Steven Moreland
0970abc75b Merge "Add CleanSpec to hardware/interfaces." 2017-05-10 20:56:00 +00:00
Steven Moreland
7780055fd1 Add CleanSpec to hardware/interfaces.
am: e468cf8004

Change-Id: If1978c73a668dacaf8f3b2842a704c5b28d5135e
2017-05-10 20:55:36 +00:00
Steven Moreland
19cc6a17a3 Add CleanSpec to hardware/interfaces.
Fixes build breakage from interface changing after -Lc++-sources
and -Lc++-headers was added to hidl-gen.

Test: manual
Change-Id: I9ee0a0e7b72f8f2a3253d205943a696c07129a64
2017-05-10 20:52:05 +00:00
Steven Moreland
e468cf8004 Add CleanSpec to hardware/interfaces.
Fixes build breakage from interface changing after -Lc++-sources
and -Lc++-headers was added to hidl-gen.

Test: wip
Change-Id: I9ee0a0e7b72f8f2a3253d205943a696c07129a64
2017-05-10 13:47:39 -07:00
Ahmed ElArabawy
905c492488 Merge "power hal: Add power HAL API 1.1" 2017-05-10 20:37:49 +00:00
Steven Moreland
4be51a8512 Merge changes from topic 'fix-hidl-generate' into oc-dev
* changes:
  Update makefiles for c++-sources and c++-headers.
  Update makefiles for c++-sources and c++-headers. (2/2)
2017-05-10 20:02:40 +00:00
Martijn Coenen
6c062f77c1 Merge "Start processes that need real-time with CAP_SYS_NICE." into oc-dev 2017-05-10 17:55:47 +00:00