Commit Graph

1877 Commits

Author SHA1 Message Date
Todd Poynor
de912858f8 thermal: update to Thermal HAL v1.1
Updates for IThermal V1.1, add IThermalCallback registration method.

Bug: 30982366
Test: VtsHalThermalV1_1Target on walleye
Change-Id: I71d2a14c669c66bf69608735c68350141bf647e9
2017-09-20 18:04:32 +00:00
Todd Poynor
5017c68f1d thermal: convert Thermal HAL from standalone service to library
Thermal HAL to be loaded by the vendor thermal-engine executable, in
prep for notifications of thermal events from thermal-engine via
Thermal HAL.

Bug: 30982366
Test: VtsHalThermalV1_0Target on walleye
Change-Id: Ie95d90b79bf6ed10593ebf3ec5accc278fda8720
2017-09-20 18:03:55 +00:00
Todd Poynor
c447163a83 sepolicy: use context thermal_device for thermal driver device file
File /dev/msm_thermal_query is labeled with audio_device context,
which isn't accurate and triggers a neverallow rule when
thermal-engine is modified (in a future commit) to serve the
Thermal HAL.  Use thermal_device context like other devices.

Bug: 30982366
Test: manual on walleye: logcat messages for device open OK
Change-Id: I62b995f90d034ddd4f80378d197d9206e2f96748
2017-09-20 18:03:03 +00:00
TreeHugger Robot
9f21003724 Merge "media: update codec performance data (OPM1.170912.002)" into oc-mr1-dev 2017-09-20 15:12:06 +00:00
Wei Wang
cd6f8d52a4 Merge "dumpstate: Add UFS debug output to dumpstate_board.txt" into oc-mr1-dev 2017-09-20 02:39:12 +00:00
Lajos Molnar
7a311b27ef media: update codec performance data (OPM1.170912.002)
Performance data based on releases OPM1.170815.001 to OPM1.170912.002.

Bug: 64392992
Change-Id: I44b19e371eebe8ee1787a20a2cf27bb2540df2e1
2017-09-19 17:47:51 -07:00
Wei Wang
8fd5d9eb86 dumpstate: Add UFS debug output to dumpstate_board.txt
Bug: 65848498
Test: adb bugreport
Change-Id: I0df04fdabf085341ba679ffedf06dcdea407e322
(cherry picked from commit 383c58d861)
2017-09-19 15:41:15 +00:00
Petri Gynther
50ecd957e6 Bluetooth sepolicy: Move BT dumps to /data/vendor/ssrdump
1. Move BT dumps to /data/vendor/ssrdump
2. Don't allow wcnss_filter to read /data/vendor/ssrdump
3. Allow wcnss_filter to set SSR properties

Bug: 37298084
Bug: 65402355

Change-Id: I39afdd00df86957dcec77b905344f9d131b1a44a
2017-09-18 22:37:34 -07:00
TreeHugger Robot
184b48438c Merge "Camera: The ensemble detector. - Default persist.camera.gcam.fd.ensemble to 1." into oc-mr1-dev 2017-09-16 01:06:18 +00:00
Chia-Kai Liang
3371ea7622 Add camera HAL to be client of thermal HAL.
am: 3c875504cc

Change-Id: Ibaf893a9bb6ecc975196d159b63b31cbda592d43
2017-09-15 23:01:36 +00:00
Chia-Kai Liang
3c875504cc Add camera HAL to be client of thermal HAL.
Test: Run and build locally with ag/2824593
Bug: 65099590
Change-Id: I4a52b6fc083875c005633cd56d93b125ed720c35
(cherry picked from commit e9627865a7)
2017-09-15 05:39:29 +00:00
rago
1c1439d67b Fixed virtualizer boost
Virtualizer was adding too much energy to the effects if enabled.

Bug: 65529284
Test: manual testing with SoloTester, play music and headphone load.
Change-Id: Ifea0995380a28239a0cec185c63425aac74a39c5
2017-09-14 20:13:01 -07:00
ruiduoy
1fa492715d Camera: The ensemble detector.
- Default persist.camera.gcam.fd.ensemble to 1.

Test: Run Camera CTS
Bug: 35924895
Change-Id: I9c956108cb10c8f750093c4aa0c25e757c70e800
2017-09-14 19:59:03 -07:00
Hangyu Kuang
b60224513d Merge "media: Remove the disable PQ and enable PQ by default." into oc-mr1-dev 2017-09-13 21:01:38 +00:00
Lajos Molnar
624648f748 media: update codec performance data (OPM1.170908.002)
Performance data based on releases OPD1.170804.003/OPD1.170814.001 to OPM1.170908.002.

Bug: 64392992
Change-Id: I477b479571ccae5fe3945c5122c7efb81a259897
2017-09-12 15:24:27 -07:00
TreeHugger Robot
a4ac0a68a5 Merge "Add OS Descriptors to MTP and PTP interfaces" into oc-mr1-dev 2017-09-12 21:17:17 +00:00
Hangyu Kuang
69cade5d35 media: Remove the disable PQ and enable PQ by default.
Bug: 64157695
Test: Video recording
Change-Id: Id8a886ac9c1b287e8586b2dc3960bf60039d354d
2017-09-11 18:28:06 -07:00
sam.ch_chang
52771419aa walleye:Add permission for camera
Add radio permission for camera send message to modem by qmi

bug:65232576
Signed-off-by: sam.ch_chang <sam.ch_chang@htc.com>

Change-Id: Ibd6dab6a46ad785df050148c778369585d7d91bc
2017-09-10 16:50:08 -07:00
Jerry Zhang
74ee24a5a4 Add OS Descriptors to MTP and PTP interfaces
Test: usb sniffer, verify descriptors are sent
Bug: 64790536
Change-Id: If138d74dafe72e1f7dc166b5dc83d4325b32ff4a
2017-09-08 10:46:24 -07:00
TreeHugger Robot
211f213136 Merge "camera HAL is a client of configstore" into oc-mr1-dev 2017-09-08 03:30:29 +00:00
Jeff Vander Stoep
5372e457d4 camera HAL is a client of configstore
Addresses:
avc:  denied  { find } for
interface=android.hardware.configstore::ISurfaceFlingerConfigs pid=817
scontext=u:r:hal_camera_default:s0
tcontext=u:object_r:hal_configstore_ISurfaceFlingerConfigs:s0
tclass=hwservice_manager permissive=0

Bug: 65454046
Test: camera app
Change-Id: I84b92e5809b89b7f755322d485b92f5e7175a06a
2017-09-07 17:38:05 -07:00
TreeHugger Robot
914355939d Merge "Remove bt_firmware from android_device_dirs" into oc-mr1-dev 2017-09-07 14:59:43 +00:00
Lajos Molnar
369914e3e7 media: update codec performance data (OPM1.170904.001)
Performance data based on releases OPM1.170803.002/OPD1.170810.002 to OPM1.170904.001.

Bug: 38280830
Change-Id: I56f7c0941ff75eaba31b1b9da325034f1568986d
2017-09-06 14:55:53 -07:00
TreeHugger Robot
7c6c93c916 Merge "Remove the tricky *.vndk-sp modules" into oc-mr1-dev 2017-09-06 19:06:47 +00:00
Andrew Hsieh
5831f316e2 Remove bt_firmware from android_device_dirs
BT firmware has been moved to /vendor/firmware. In fact,
$OUT/root/bt_firmware never exists at all for wahoo

Bug: 64905218
Test: Built successfully; BT works fine.
Change-Id: I6d5fbf3f46215536da59215def8eabbec9364ad3
2017-09-06 10:18:31 -07:00
TreeHugger Robot
a5d2a58cc1 Merge "Declare Vulkan compute level 0 system feature" into oc-mr1-dev 2017-09-05 21:06:48 +00:00
TreeHugger Robot
6ada147166 Merge "Add easel debug output to dumpstate_board.txt" into oc-mr1-dev 2017-09-02 19:02:35 +00:00
Maggie White
0f1c9a667d Add easel debug output to dumpstate_board.txt
Bug: 64975902
Change-Id: I6354c1f19d38611cd2c2edf149d35355f6ce99a7
Test: adb bugreport
Signed-off-by: Maggie White <maggiewhite@google.com>
2017-09-01 15:03:24 -07:00
TreeHugger Robot
9f03b08673 Merge "Revert "Enable haptic text handle on muskie/walleye/taimen"" into oc-mr1-dev 2017-09-01 21:28:35 +00:00
TreeHugger Robot
0dd4cf8157 Merge "More reliable NTP server for GPS HAL" into oc-mr1-dev 2017-09-01 20:12:33 +00:00
Yohei Yukawa
a178328127 Revert "Enable haptic text handle on muskie/walleye/taimen"
This reverts commit "Enable haptic text handle on muskie/walleye/taimen" [1]

We decided to not enable this on O MR1.

 [1]: I5ec238870329b1a234df955d9dd1541a9ae26d82
      d30e0d7350

Test: Manually made sure that haptic feedback is no longer triggered
      when moving text handle on Walleye.
Bug: 62454887
Fixes: 65291208
Change-Id: I82121f3907215e31750a10344e795ad1e60dbaad
2017-09-01 11:54:33 -07:00
Jiyong Park
67049066a8 Remove the tricky *.vndk-sp modules
Since BOARD_VNDK_VERSION is turned on, the tricky *.vndk-sp modules
aren't needed anymore. Remove them.

Bug: 63866913
Test: build 2017 pixel, boots to the UI
Merged-In: I07703f57da22d965c6ee43a672aacce0970fa0c4
Change-Id: I07703f57da22d965c6ee43a672aacce0970fa0c4
2017-09-01 13:15:29 +09:00
Wyatt Riley
c38242f432 More reliable NTP server for GPS HAL
Bug: 65124542
Test: Cold-start GPS test on device (see bug for details)
Change-Id: I36a9dc9f6919444058d83c340542597cd48c05a7
2017-08-31 16:06:58 -07:00
Shuzhen Wang
e48809c1b0 Camera: Enable saturated ae stats
Test: Camera CTS
Bug: 64988253
Change-Id: I70d29df9dff5668e318f346f35feaf3073c5a017
2017-08-31 13:40:27 -07:00
Chia-kai Liang
0c3aeadab9 Merge "Add camera HAL to be client of thermal HAL." into oc-mr1-dev 2017-08-31 04:57:17 +00:00
Chia-Kai Liang
e9627865a7 Add camera HAL to be client of thermal HAL.
Test: Run and build locally with ag/2824593
Bug: 65099590
Change-Id: I4a52b6fc083875c005633cd56d93b125ed720c35
2017-08-30 16:54:29 -07:00
Sohani Rao
9fc75ff97e Merge changes I13bba845,Ic48071c8,Ie5834b80,I562b2bcf,I441522f5, ... into oc-mr1-dev
* changes:
  Offload HAL service: Fix running unit tests
  Offload HAL Service: Enable errors for warnings
  Offload HAL Service: Reset Nano app upon Error
  Offload HAL Service: Handle messages from Nano app
  Offload HAL Service: Send messages to CHRE
  Offload HAL Service: Utilities
2017-08-30 22:11:42 +00:00
Jesse Hall
aabb6c8811 Declare Vulkan compute level 0 system feature
Bug: 38396207 (VK_KHR_variable_pointers)
Bug: 64982680 (maxPerStageDescriptorStorageBuffers >= 16)
Test: CtsGraphicsTestCases:.VulkanFeaturesTest (ag/2810565)
Change-Id: I65f151ac996d09d2be210fb6d27431461e2a14e8
2017-08-29 15:53:50 -07:00
TreeHugger Robot
7c7fafb478 Merge "media_codecs: advertise vertical video support" into oc-mr1-dev 2017-08-29 22:51:13 +00:00
Sohani Rao
404b3242a9 Offload HAL service: Fix running unit tests
Update the location from which runtest.sh will fetch the unit test
binary. The binary is now located in vendor data.

Bug: 32842314
Test: VTS and Unit tests
Change-Id: I13bba845e121a31f4763584e593fdda374701dd7
2017-08-28 14:05:26 -07:00
Sohani Rao
105360ed45 Offload HAL Service: Enable errors for warnings
Update compile flags for this module so that warnings will report errors
during compilation. Also fixed one unused variable.

Bug: 32842314
Test: VTS
Change-Id: Ic48071c86bc81c93c44a4b0645134dc028f96b9e
Merged-In: Ic48071c86bc81c93c44a4b0645134dc028f96b9e
2017-08-28 14:01:25 -07:00
Sohani Rao
708ae27dd0 Offload HAL Service: Reset Nano app upon Error
Offload HAL service reports all errors to the client. To bring Wifi Nano
app to a known state, also send a RESET command to the Nano app.

Bug: 32842314
Test: VTS
Change-Id: Ie5834b80e545e9099e3492b0354fefc2bc82ef8c
Merged-In: Ie5834b80e545e9099e3492b0354fefc2bc82ef8c
2017-08-28 14:01:18 -07:00
Sohani Rao
0619a41f5d Offload HAL Service: Handle messages from Nano app
The following messages from Nano app
- Error, Scan stats, Scan Results

Also invoke the appropriate callback to the client.

Bug: 32842314
Test: VTS
Change-Id: I562b2bcf149f8eab1cddc094a7b976aa56bdb9c8
Merged-In: I562b2bcf149f8eab1cddc094a7b976aa56bdb9c8
2017-08-28 14:01:11 -07:00
Sohani Rao
75e7db3fc3 Offload HAL Service: Send messages to CHRE
The following messages are to be sent to the nano app in response to
invocation of the Offload HAL APIs from the client
- subscribe, unsubsuscribe, configure scans

CHRE interface will send the following commands to context hub
- Get hub info and nano app list requests
The callbacks from the socket will handle responses to these requests

Bug: 32842314
Test: VTS
Change-Id: I441522f5014317b7ac625742ab9782eeba5d78c8
Merged-In: I441522f5014317b7ac625742ab9782eeba5d78c8
2017-08-28 14:01:03 -07:00
Sohani Rao
2611844e98 Offload HAL Service: Utilities
Provides the implementation of utilities to convert between
HIDL format of data types used in Offload HAL service and the format
used by CHRE. Added unit tests to verify conversions.

Bug: 32842314
Test: VTS and Unit tests
Change-Id: I26a1d9a8efe68cdacacd8226d0739ad40d2b339f
Merged-In: I26a1d9a8efe68cdacacd8226d0739ad40d2b339f
2017-08-28 14:00:55 -07:00
TreeHugger Robot
661be98e67 Merge "Revert "configstore: applied uprev of configstore"" into oc-mr1-dev 2017-08-28 04:52:23 +00:00
Lajos Molnar
80630fb078 media_codecs: advertise vertical video support
Bug: 65044765
Change-Id: Id8a09539cbc97d5c7c77ee54ea6f79b8e6a235d5
2017-08-25 16:21:09 -07:00
Sundong Ahn
abcd27e3e8 Revert "configstore: applied uprev of configstore"
This reverts commit aee1b828f7.

Configstore was up-revisioned from 1.0 to 1.1. However no new
APIs were added to 1.1. Therefore configstore in mr1 will be down
revisioned to 1.0.

Bug: 64999074
Test: build & run
Change-Id: I5713c6f38a18b2669eb9514f7f7c84359e736e52
2017-08-25 16:59:52 +00:00
TreeHugger Robot
45d69d4b0a Merge "Remove dup file_contexts label" into oc-mr1-dev 2017-08-25 01:13:25 +00:00
Jeff Vander Stoep
1fa31288a0 Remove dup file_contexts label
/dev/input(/.*)? u:object_r:input_device:s0

Is now in core policy. Remove from device specific policy.

Bug: 64954704
Test: build
Change-Id: Id16dccff58843e619e5197661f7ffabc22c3e213
2017-08-24 15:25:20 -07:00