Commit graph

4669 commits

Author SHA1 Message Date
Chia-I Wu
15e33c6d17 Merge "graphics: set maxThreads to 4 for the composer" into oc-dev 2017-05-12 19:50:57 +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
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
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
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
Steven Moreland
8e91873df3 Update makefiles from anywhere.
Test: with update-all-google-makefiles.sh
Change-Id: I373e270b481d9074f440c3c0826199a207e654f7
2017-05-11 15:42:32 -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
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
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
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
7780055fd1 Add CleanSpec to hardware/interfaces.
am: e468cf8004

Change-Id: If1978c73a668dacaf8f3b2842a704c5b28d5135e
2017-05-10 20:55:36 +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
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
Steven Moreland
8716f3063e Update makefiles for c++-sources and c++-headers.
Test: pass
Bug: 38174080
Merged-In: I683455736eed35e6ced24e2763c2bdb5fb6c9601
Change-Id: I683455736eed35e6ced24e2763c2bdb5fb6c9601
2017-05-09 19:58:45 -07:00
Steven Moreland
bc71124120 Update makefiles for c++-sources and c++-headers. (2/2)
Test: pass
Bug: 38174080
Change-Id: Icad451f9f9ad5f46412356a4171a8a1222f8e545
2017-05-09 19:58:43 -07:00
Steven Moreland
8e89a43590 Update makefiles for c++-sources and c++-headers. am: cb360c60d8 am: 4bd4e7fb3b
am: 127b116fe5

Change-Id: I3a2aa76acef0f0d1455bfad775e87e8089d357e8
2017-05-10 02:58:00 +00:00
Steven Moreland
127b116fe5 Update makefiles for c++-sources and c++-headers. am: cb360c60d8
am: 4bd4e7fb3b

Change-Id: Ief274574dda12a38f62f49953a88f612d5b3586c
2017-05-10 02:52:52 +00:00
Steven Moreland
4bd4e7fb3b Update makefiles for c++-sources and c++-headers.
am: cb360c60d8

Change-Id: If0f0c69fa29a8c1cbd0d5b4e53e386ef8b68757e
2017-05-10 02:47:25 +00:00
PO HUNG CHEN
9a520b0524 Merge "Bugfix: Add HIDL_FETCH_IScheduleTest declaration" into oc-dev
am: c365952316

Change-Id: If6399162d868c7498ca6e4a5d9453b4425ab77cc
2017-05-10 02:42:02 +00:00
Sanket Padawe
3ea42032f4 Merge "Update IRadioResponse.hal documentation to fix failing VTS" into oc-dev
am: 41ea816c9d

Change-Id: I3f9efd6422652efc967a9c8a5bda284f87a4a458
2017-05-10 02:41:46 +00:00
PO HUNG CHEN
c365952316 Merge "Bugfix: Add HIDL_FETCH_IScheduleTest declaration" into oc-dev 2017-05-10 02:28:11 +00:00
Sanket Padawe
41ea816c9d Merge "Update IRadioResponse.hal documentation to fix failing VTS" into oc-dev 2017-05-10 02:27:04 +00:00
Naina Nalluri
9cc29c8f57 Update IRadioResponse.hal documentation to fix failing VTS
update IRadioResponse.hal documentation with
nas/data error codes

Bug: 35671595
Test: Only doc update.
Change-Id: I5a106e05b487f7deecb208af6465e5ea5238b26e
2017-05-09 15:23:48 -07:00
Steven Moreland
cb360c60d8 Update makefiles for c++-sources and c++-headers.
Test: pass
Bug: 38174080
Change-Id: I683455736eed35e6ced24e2763c2bdb5fb6c9601
2017-05-09 14:34:19 -07:00
Eino-Ville Talvala
569dbdc90e Camera: Remove TODOs in interfaces
am: 71619beef7

Change-Id: I43e85210ab1972f8245376831f578816be4dea78
2017-05-09 21:32:28 +00:00
Eino-Ville Talvala
e643da4e19 Merge "Camera: Clean up TODOs that aren't going to be addressed." into oc-dev
am: 0b3d86e05a

Change-Id: Ic0ca4e1eff6716466ef86bc6a660bc371da875d6
2017-05-09 21:32:10 +00:00
Ram Periathiruvadi
4f65adf509 Merge "Add DOOR_LOCK to default config." into oc-dev
am: c63bdfbd74

Change-Id: I2386d09d237957da9f7ea146412b5a36cbf208a6
2017-05-09 21:31:44 +00:00
Etan Cohen
d810874948 [WIFI] Remove dependency on vendor-specific library
The libcld80211 is vendor-specific. Remove from dependecy list.

(cherry-pick of commit aa281aa266)

Bug: 37901207
Test: builds and runs
Merged-In: If251002c2dd7a0e30ca18620edd905a63217f28a
Change-Id: If251002c2dd7a0e30ca18620edd905a63217f28a
2017-05-09 13:55:36 -07:00
Eino-Ville Talvala
71619beef7 Camera: Remove TODOs in interfaces
These are tracked elsewhere and won't be addresed for the initial
interface versions.

Update current.txt hashes; comment-only update

Test: Compiles
Bug: 34108979
Bug: 33269977
Bug: 33262893
Change-Id: I0c0521cf69649d871f64a67773ce822db2487044
2017-05-09 11:32:27 -07:00
Jeff Tinker
4e1fe736af Fix resource leaks in drm hal
bug:36408047
test: manual tests to verify leaks are fixed
Change-Id: Idd79e99e211d81f8b3e58cf52c9b01ce9d370dc4
2017-05-09 11:24:49 -07:00
TreeHugger Robot
0b3d86e05a Merge "Camera: Clean up TODOs that aren't going to be addressed." into oc-dev 2017-05-09 17:30:36 +00:00
TreeHugger Robot
c63bdfbd74 Merge "Add DOOR_LOCK to default config." into oc-dev 2017-05-09 17:21:14 +00:00
Martijn Coenen
f9b3fb49df Start processes that need real-time with CAP_SYS_NICE.
Bug: 37293077
Test: verified CAP_SYS_NICE granted in /proc/pid/status
Change-Id: If404450cbeb077d331b231bda1af2d6eae774b75
2017-05-09 09:57:00 -07:00