Commit Graph

67 Commits

Author SHA1 Message Date
TreeHugger Robot
9e627ea90b Merge "power_profile: Fix overlays for wahoo" 2017-04-19 00:40:04 +00:00
TreeHugger Robot
7da32ac2d6 Merge "camera: enable TNR for preview and video" 2017-04-17 23:02:11 +00:00
Zhijun He
a19299f015 camera: enable TNR for preview and video
Bug: 36564404
Change-Id: I49d6653a659649ea5a8bbb722ad0e8bd65ecfef5
2017-04-17 14:15:23 -07:00
TreeHugger Robot
642c6681aa Merge "wahoo: enable audio rotation feature" 2017-04-17 18:35:04 +00:00
TreeHugger Robot
63df0e8632 Merge "soundfx: add audio effects to product package" 2017-04-17 17:24:23 +00:00
Jesse Hall
52e963c176 Set graphics driver package name
This has the side effect of disabling preloading of the EGL/GLES drivers
in Zygote.

Bug: 37323602
Test: confirm driver not loaded in zygote, run gles3jni + vulkanGears
Change-Id: I4231ada91ba7dda7f7d6f8cff1de7957c24f2d99
2017-04-14 14:55:51 -07:00
Vinay Kalia
d61b2c2cee power_profile: Fix overlays for wahoo
Muskie and Wallye overlays should override the overlays defined
in wahoo. Also, resources outside of the "values" directory are
overlayed by the file so there is no need of power_profile.xml
for wahoo since muskie and walleye will always override it completely.

BUG: 36796913
Test: Verified "App usage since last charge" under Settings->Battery
Change-Id: Idc0bbe8920bf209d7cd721ea2b7fb32647d30ec2
2017-04-14 13:29:45 -07:00
David Lin
f7d8d86b8e wahoo: enable audio rotation feature
Bug: 34897462

Signed-off-by: David Lin <dtwlin@google.com>
2017-04-12 19:25:44 -07:00
David Lin
ae092d8920 soundfx: add audio effects to product package
Test Done: dumpsys to check effects are loaded
Bug: 36865903

Change-Id: I10efc6921a95e96bfc29337b95275788b9780524
Signed-off-by: David Lin <dtwlin@google.com>
2017-04-12 12:44:41 -07:00
Andrew Scull
fdd3c83a20 Merge "Add eSE daemon." 2017-04-12 12:38:03 +00:00
Andrew Scull
2e50fd967f Add eSE daemon.
It managed the eSE by accessing the driver through the /dev/pn81a node.

Test: Boot brings up esed which connects to the eSE.
Bug: 35628284
Change-Id: I6fa3384169adb60095585856accd53bc61d06cf4
2017-04-11 14:32:10 +01:00
Ramanan Rajeswaran
702f9f4f44 Remove aosp bits.
Test: built muskie.
Change-Id: I30e09d990bb3d4e96f769075f0fb995f71fd35a0
2017-04-10 14:14:11 -07:00
TreeHugger Robot
f622c29a28 Merge "Add drm hal to wahoo" 2017-04-05 23:19:16 +00:00
Jeff Tinker
ea51adeb28 Add drm hal to wahoo
bug:35808472

Test: compiles, I don't have a device to test
Change-Id: I3839a5335f4fd976a6d668f037756bca00676bb8
2017-04-05 14:56:50 -07:00
David Lin
971ea5d074 vibrator hal: add support for drv2624 haptics driver on wahoo
This adds the vibrator HAL that implements the new setAmplitude and
perform(Effect) API.

Test done: vibrator_hidl_hal_test
Bug: 36782452

Change-Id: If9988434277790becb469d4dd928e75f7e6af41a
Signed-off-by: David Lin <dtwlin@google.com>
2017-04-05 12:44:20 -07:00
Wei Wang
e0fc600245 wahoo: improve boot time and pull in bootanim display time
1) separate fstab mount
2) launch bootanim early
3) boottime cpuset/io tune
4) parallel slow init operations: write sysfs and insmod

After CL:
Boot time saved 330ms, bootanim triggered early before data/ mounted

Bug: 36780513
Test: walleye boots
Change-Id: I02803179746710413f4b1e2372f3550cd95d1581
2017-04-04 19:11:21 -07:00
TreeHugger Robot
5cb55c5e82 Merge "Wifi Offload HAL implementation for V1.0 interface" 2017-04-04 23:10:35 +00:00
Sohani Rao
a25b59e448 Wifi Offload HAL implementation for V1.0 interface
Implements Offload HAL HIDL service for Wifi Offload v1.0 interface

Bug: 32842314
Test: Unit tests and Mannual test to ensure service is running
Change-Id: I9612ec28b9b042be10b7e022362124de906649ab
2017-04-04 14:29:20 -07:00
Wei Wang
0db68e8fe3 wahoo: include missing libwpa_client
Bug: 36893555
Test: build and boot muskie
Change-Id: I6cde962cebdfc15f377ca0d9f36aadeafedade06
2017-04-04 11:49:01 -07:00
Vineeta Srivastava
d2559c428d Merge "Split fstab from wahoo" 2017-04-04 05:14:17 +00:00
Vineeta Srivastava
6391a9f523 Split fstab from wahoo
Change-Id: I37ae0d2b5d1a12a513744b8f59cdc71aaf26dba1
2017-04-03 18:11:10 -07:00
Brian Duddie
dfdaceabf2 Add binderized context hub HAL
Add context hub HAL implementation to the build, with new sepolicy files
that resolve these denials:

type=1400 audit(4779207.059:418): avc: denied { write } for pid=809
comm="android.hardwar" name="chre" dev="tmpfs" ino=32491
scontext=u:r:hal_contexthub_default:s0
tcontext=u:object_r:socket_device:s0 tclass=sock_file permissive=1

type=1400 audit(5568590.159:45): avc: denied { connectto } for pid=734
comm="android.hardwar" path="/dev/socket/chre"
scontext=u:r:hal_contexthub_default:s0 tcontext=u:r:chre:s0
tclass=unix_stream_socket permissive=1

Bug: 35808469
Test: confirm HAL gets loaded, VTS passes, no denials from
      hal_contexthub_default
Change-Id: I1882571c0541de78242755cd4b3b1548365a388b
2017-04-03 11:49:09 -07:00
TreeHugger Robot
609f422c4d Merge "wahoo: Add libbt-vendor in device.mk" 2017-04-01 19:39:06 +00:00
TreeHugger Robot
ddcd856200 Merge "nfc: Enable Binderized NFC HAL" 2017-04-01 01:49:06 +00:00
Andrew Lehmer
99cbc8d596 Add support for folio cases
Bug: 35243564
Test: Used magnet to wake and lock device. Also tested during suspend.
Change-Id: I4b819e12cc23a3d7a8ce048e208c15eac4f8d6c5
2017-03-31 13:08:45 -07:00
Ruchi Kandoi
fd5682266a nfc: Enable Binderized NFC HAL
Test: Boots and NFC works
Bug: 36097473
Change-Id: I47a89b59fed2111f443960a5d0d2a0dcfa5bea5f
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2017-03-31 12:02:07 -07:00
Myles Watson
16ec889049 wahoo: Add libbt-vendor in device.mk
Bug: 36810308
Test: build
Change-Id: I9743958ac9e6325d69367573d30bd6e57edfe139
2017-03-31 11:49:33 -07:00
Jie Song
c6778b1de3 Merge "Enable persist.radio.sib16_support for Wahoo" 2017-03-31 01:58:37 +00:00
TreeHugger Robot
8f6890a219 Merge "Add additional XML files needed for sound trigger hal." 2017-03-30 21:02:22 +00:00
Jie Song
a940a544c3 Enable persist.radio.sib16_support for Wahoo
Bug: 36703499
Change-Id: I62ce4eee224a51d098081dd5efe1d844ed08d75f
2017-03-30 13:44:17 -07:00
Mikhail Naganov
689da96d32 Bring up binderized Audio and Soundtrigger services on new Pixels
Verified: audio in Hangouts, Play Music + EQ, YouTube,
    audio over A2DP and USB.

Soundtrigger seems to be working--the device wakes up to lockscreen,
need to dismiss it manually, and then Assistant prompt appears
immediately by itself. Looks to me more like an issue with Assistant
rather than with s/t.

Bug: 35808308
Bug: 36098105
Test: manual
Change-Id: I03c0e04a8f35b7da0bbef9dd32e606a07067ba36
2017-03-30 11:19:37 -07:00
Chris Thornton
120f6d1578 Add additional XML files needed for sound trigger hal.
Test: Build and check on device.
Change-Id: I65a43c164fb5e5a9a5d7b19529a7a4b94b613be4
2017-03-30 06:06:58 +00:00
Craig Donner
29a50004fa Add VR feature flags and HAL.
Bug: 36097960
Bug: 36462741
Test: adb shell lshal on device, successfully ran Daydream Home, though I'm
seeing some crashes in various things.
Change-Id: Id1af18701e2021ab8c3de7889ec71c316fe4420c
2017-03-29 21:51:11 -07:00
Thierry Strudel
c8490d4b7f Merge "power: import and enable binderized power hal" 2017-03-30 04:49:38 +00:00
Adrian Salido
fdfd0407a4 power: import and enable binderized power hal
Bug: 36096835
Test: boot, verify hal is loaded and taking power hints
Change-Id: I75d7ef2f378f6d71de1776f78726be4812bf196f
2017-03-29 21:04:32 -07:00
Jie Song
58d80579d9 Add wahoo dumpstate and sepolicy with smlog
Bug: 33820081

Test: Verify dumpstate service running
Change-Id: I2dffdb063aa3291b1c9ee95df903977d6a928d1e
2017-03-30 02:53:48 +00:00
Brian Carlstrom
921b1fdad0 Set wahoo default log size to 1M on userdebug/eng builds
Test: m -j32
Bug: 36703476
Change-Id: Ia2a8ef5777ede9ce3dbc4c27fb095c905b69ca62
2017-03-29 05:01:46 +00:00
Ruchi Kandoi
50cc0a03c2 Merge "Remove libnfc-nxp.conf" 2017-03-29 01:21:32 +00:00
Ruchi Kandoi
4fd68ab1ff Remove libnfc-nxp.conf
The config files are device specific in terms of the
clock the NFC controller uses.

Test: NFC is enabled on both the devices
Bug: 36163226
Change-Id: I805e4581216d673741777a1aea5baa16d5c96f99
Signed-off-by: Ruchi Kandoi<kandoiruchi@google.com>
2017-03-28 22:43:32 +00:00
Connor O'Brien
314713bf96 Merge "Add binderized memtrack HAL service" 2017-03-28 22:24:27 +00:00
Badhri Jagan Sridharan
1cf5094895 USB HAL: type-c hal for muskie/walleye
Bug: 36097487
Test: Manually tested role swap and UI behavior
Change-Id: I5ce520da521e0714001b60164ac850dddbd644c3
2017-03-27 20:18:35 +00:00
TreeHugger Robot
ccfe224b18 Merge "Add SIP feature to makefile" 2017-03-27 19:33:48 +00:00
Connor O'Brien
a202169318 Add binderized memtrack HAL service
Test: Boots and passes memtrack VTS with no memtrack-related SELinux
denials; dumpsys meminfo reports reasonable values for graphics memory
usage.
Bug: 36097468
Change-Id: I878bf682a74d479011e0435a427551ec606d032f
Signed-off-by: Connor O'Brien <connoro@google.com>
2017-03-27 11:53:48 -07:00
Hall Liu
e696ee5edf Add SIP feature to makefile
Change-Id: I9feee40d1defce93e4fc7bec997f8fe8af745424
Test: manual
Fixes: 36454749
2017-03-24 15:05:34 -07:00
Badhri Jagan Sridharan
7a7be27f91 usb.rc: separate out common usb scripts
The root directly will now contain init.muskie.usb.rc which would
be included into target specific files.

Change-Id: I9334ae4c1a7b48ac08faca4d8a267fa68e512141
2017-03-24 11:44:19 -07:00
Patrick Tjin
14026bea4f Wahoo: move configs from device to board, remove inodes/journal
Move filesystem configs from device.mk to BoardConfig.mk.
Move vendor partition configs to vendor/BoardConfigVendor.mk
Remove unused inodes and journal from system.

Test: Build system and vendor image, verify more space available
Change-Id: Ib98f21ff64f2dc189395db68db10ffe14b5e3c56
2017-03-21 13:27:31 -07:00
TreeHugger Robot
c62260cb10 Merge "Disable NFC while camera is active" 2017-03-21 19:30:50 +00:00
TreeHugger Robot
ba6590e438 Merge "Camera: Switch to binderized camera HAL" 2017-03-21 01:51:51 +00:00
Daniel Rosenberg
b1c4b0de92 Sdcardfs is now the default. Remove unnecessary line
Test: Boot device. Ensure device boots using sdcardfs
Change-Id: I6f480a45144aef8557953f03d4669d5e36f6f1f2
2017-03-20 21:07:23 +00:00
Eino-Ville Talvala
13c84e19c6 Camera: Switch to binderized camera HAL
- Switch to hwbinder mode for wahoo camera
- Add hal_camera.te from marlin, with sections not ported over yet commented out

Test: No regressions in camera CTS
Bug: 35807481
Change-Id: I789a1d3caf52eecabfa08c5269a8fa964a410926
2017-03-20 12:37:02 -07:00