Commit Graph

25 Commits

Author SHA1 Message Date
John Dias
ce2a1baf2a thermal: specify location to load thermal config
Bug: 35700896
Test: boot, check for thermal-engine messages
Change-Id: I48c296f2751b8a5150dd7d37f89f29a688a6f949
2017-04-06 13:45:21 -07:00
TreeHugger Robot
4de588158d Merge "wahoo: Create PDX socket dirs and cpusets for VR services" 2017-04-05 21:27:01 +00:00
Alex Vakulenko
4633df33ed wahoo: Create PDX socket dirs and cpusets for VR services
Recent CL make VR services hard-fail (crash) on failed attempt to
create PDX sockets. Wahoo-based devices don't have socket directories
under /dev/socket/pdx/... to create those sockets, so they now crash
at boot (which includes surfaceflinger). This prevents the device from
even booting. Add init script to create those socket directories.

Also, create necessary cpusets used by VR services, similar to what
was done for marlin/sailfish (see this commit in device/google/marlin:
1cc612c4ee646e8fc6ae69e8837b9b0d0b2119ce).

Bug: 36977281
Test: `lunch walleye-eng && m -j32 && flash` - build succeeds, device boots
Change-Id: Ic458ceabb16917bcf574f6d8e2de864d41a44d96
2017-04-05 14:23:04 -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
matt_huang
2f747de0cd Change permissions of led driver
Change-Id: Ia9a8dd8d401d274a37820bdb30727eec8b1f54b3
Signed-off-by: matt_huang <matt_huang@htc.com>
2017-04-03 10:00:43 -07:00
TreeHugger Robot
9614e64032 Merge "Start CHRE daemon on boot" 2017-04-01 01:41:26 +00:00
TreeHugger Robot
dab7846483 Merge "Add support for folio cases" 2017-03-31 23:40:38 +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
Brian Duddie
f2f151eebe Start CHRE daemon on boot
Test: flash build, confirm CHRE daemon starts, SLPI does not crash, no
      SELinux denials, and context hub HAL connects to it and works
      normally
Change-Id: I7af26548ed6e5b0544db621468a8cb8839f878ed
2017-03-31 13:07:50 -07:00
Ruchi Kandoi
da8f1b44eb nfc: sepolicy: creates data/vendor/nfc/ for HAL specific data
Test: NFC powers up without any denials
Bug: 36686703
Change-Id: Ib33a0042c5d03d2b9ee8a02dac143da9c8c216a9
Signed-off-by: Ruchi Kandoi<kandoiruchi@google.com>
2017-03-31 12:02:03 -07:00
Thierry Strudel
d5dfd2260c init.hardware.rc: move out non common part
Change-Id: If2a580c53da0554748c22afded341c3ea98c6288
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-03-27 23:07:24 +00:00
Andres Oportus
cb3ed63677 Add SchedTune configuration
Bug: 36367381
Test: Boot and check stune configuration effect on sysfs

Change-Id: I838c31d164684a5d88550c92284b65bb50f2ed56
Signed-off-by: Andres Oportus <andresoportus@google.com>
2017-03-24 17:46:33 -07:00
Patrick Tjin
1b7c5dd537 wahoo: rename laser node to wahoo_laser
Test: check that permission is correctly applied
Change-Id: I8bed24ca1a2279d984e94c88f6210f02eaa4a106
2017-03-20 22:52:36 -07:00
Shawn Yang
ca7f6512a6 Merge "Set device spefific logging.rc file" 2017-03-20 16:28:55 +00:00
Shawn Yang
2dee01248f Set device spefific logging.rc file
Bug: 35647551

Test: Build on target hardware
Change-Id: I8a1d119f3cedab5f3bf2f2067680721cb2d49702
2017-03-17 23:12:20 +00:00
TreeHugger Robot
fc502754f1 Merge "Add cpusets initial configuration" 2017-03-17 20:42:50 +00:00
Andres Oportus
f5185dbdbd Add cpusets initial configuration
Bug: 36367381
Test: Boot
Change-Id: Ieffce3e87662e88e828bd259d336c0af11c48586
Signed-off-by: Andres Oportus <andresoportus@google.com>
2017-03-17 08:51:28 -07:00
Shawn Yang
70caec45b2 Merge "dumpstate clean up" 2017-03-15 21:46:18 +00:00
Shawn Yang
136ac6be8d dumpstate clean up
Change-Id: I9983b3ddcca6c6ee954620aefe1358ba1a540b2e
2017-03-14 16:58:38 -07:00
Ruchi Kandoi
e5bf808287 Add nfc conf files and policy files
Test: Read Nfc tag
Change-Id: Ifd6e5d26184dc36387be3092d8dac87994d7dcda
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2017-03-14 16:44:37 -07:00
Yueyao Zhu
a18de9021d Enable charger mode
1) device.mk: add charger_res_images to PRODUCT_PACKAGES
to use the default charger mode images
2) init.hardware.rc: configure charger service class
3) BoardConfig.mk: enable suspend in charger mode

Bug: 36046603
Change-Id: I3652a69784b8ecd4e670f26fdd66b7c68d578f9f
Signed-off-by: Yueyao Zhu <yueyao@google.com>
2017-03-14 16:44:37 -07:00
Vineeta Srivastava
409a5d3943 Remove unnecessary cache mount
Cache is not used on the device using AB update. In that case, init just
waits
for timeout 5s.

[   18.904216] init: Command 'mount_all fstab.${ro.hardware}' action=fs
(/init.taimen.rc:33) returned 1 took 767.808ms.
[   23.911072] init: Command 'wait /dev/block/bootdevice/by-name/cache'
action=fs (/init.taimen.rc:40) returned -1 took 5006.36ms.

Test: Build and tested on a device
Change-Id: Iaee76961c98b7b7873e532a7003d560ebf6c4752
2017-03-13 15:04:49 -07:00
Shawn Yang
de4541524a IMS config
Change-Id: Ic8587247eb105b2f479c124f9f01a7812b22cc3d
2017-03-10 01:00:18 -08:00
Thierry Strudel
4e18dc435b Import common file from device specific directory
Test: boot, basic functionality
Change-Id: I9c07718b481730c3388f99c5e1eff17c9fd75a7b
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-03-04 23:34:45 -08:00