Commit Graph

117 Commits

Author SHA1 Message Date
Nick Desaulniers
4de5f32ff2 wahoo: clang: use kernel modules built with clang
Test: <device>_clang-userdebug lunch target has touchscreen support
Bug: 33244601
Change-Id: I11a19c68eea3caa897730a861f760dab85ca2a9b
2017-04-06 13:57:15 -07:00
Wei Wang
2b9bd3ff9a muskie/walleye: boot time optimization
Bug: 36780513
Test: walleye boots and touch screen works
Change-Id: Ib3ff955886109a000ab43dc6013540bb03a31b78
2017-04-04 09:48:28 -07:00
Vineeta Srivastava
6580d7e510 Split fstab from wahoo
Change-Id: I5dc5defc969b6d380a47feab957680d9d7f4270f
2017-04-04 04:04:24 +00:00
Jie Song
7fdb93de6d Use wahoo dumpstate
Bug: 33820081

Test: Verify dumpstate service running
Change-Id: I9276a1b7a9b50473b12298315fba75dca38404b0
2017-03-29 09:14:10 -07:00
Ruchi Kandoi
b88ac44c4f Merge "Add libnfc-nxp.conf for muskie" 2017-03-29 01:21:32 +00:00
Ruchi Kandoi
7fb8d28212 Add libnfc-nxp.conf for muskie
Test: NFC powers up
Bug: 36163226
Change-Id: I5142c606ffa928fd1566cca508a12a3a993633be
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2017-03-28 09:55:01 -07:00
Badhri Jagan Sridharan
da1bdf28b0 Copy init.common.usb.rc to root
Bug: 36659044
Change-Id: I04034e629435ab03ba48ea87bb64502d51a206d0
2017-03-28 00:16:39 +00:00
Thierry Strudel
1db28dc80b init-common.rc: add muskie/walleye specific rc file
Change-Id: I4ef62518124a8c78dbb940e8f533704f9ee8fcb8
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-03-27 20:47:11 +00:00
Shawn Yang
974850dca4 Change init.logging.rc sequence and modify SMLoging location
-Load blank init.logging.rc for user build
-Start SMLoging after PerMgr service running
-Change SMLoging location to /vendor/bin

Test: Verified in device by manually trigger SMLog

Change-Id: I622106e7a8023770bbe5ea4224ce2905c2647768
2017-03-24 17:54:28 -07:00
Badhri Jagan Sridharan
59414164c9 Merge "usb.rc: create common scripts for mukie/walleye" 2017-03-24 23:03:59 +00:00
Badhri Jagan Sridharan
ce7bf846be usb.rc: create common scripts for mukie/walleye
Creating a common script for M/W which would copied into target's
root as init.muskie.usb.rc or init.walleye.usb.rc. We can extend
this another level deeper if required.

Bug: 31947358
Change-Id: Ie10248ac4ba0f97c32de8758c89bd9b893615cda
2017-03-24 21:58:47 +00:00
Alex Klyubin
36d2527720 Switch to split SELinux policy
This switches this device from monolithic to split sepolicy.

Test: Device boots, dmesg says "SELinux: Loaded policy from
      /vendor/etc/selinux/precompiled_sepolicy" which means split
      SELinux policy is being used.
Bug: 35809750

Change-Id: I3bac7306313a0688eb80ee858a051282657919cd
2017-03-24 15:41:05 +00:00
Shawn Yang
48db8269b2 Setup SMloging masks for Muskie/Walleye
Bug: 35647551

Test: Make build for Muskie/Walleye verify logging.rc file loaded
correctly.

Change-Id: I9dad9d8bb530949731c087f98af9d917a433ee85
2017-03-17 16:09:27 -07:00
TreeHugger Robot
a2ed37d437 Merge "device-common: moving to wahoo kernel prebuilt" 2017-03-15 23:08:09 +00:00
Shawn Yang
4373bc2bfb Merge changes from topic 'smlog_htc'
* changes:
  dump state for Muskie/Walleye
  ril: Enable the feature of modem runtime QXDM log by default
2017-03-15 21:46:18 +00:00
Thierry Strudel
553765edce device-common: moving to wahoo kernel prebuilt
Change-Id: I37c24be9a6461417f0a2aa07f03d9404d9d30561
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-03-15 14:20:07 -07:00
Shawn Yang
949c0f9b5c dump state for Muskie/Walleye
Change-Id: Ifcb7134a745475dd03ddd1bee71509a62a2a981
2017-03-14 16:57:33 -07:00
terry.cr_huang
e14f52d62a ril: Enable the feature of modem runtime QXDM log by default
Set the property persist.radio.smlog_switch to 1 to enable smlog by default

Bug: 35647551
Change-Id: I598cbab0abc2d7c78b4946d2f87b7af476a296cb
2017-03-14 16:55:32 -07:00
David Lin
1529a759a0 audio: copy device specific audio xmls
This fixes issue that Muskie/Walleye is not using their device specific
configs for audio.

Change-Id: I9175a2c6092e27d4b8640b242d68551280860180
Signed-off-by: David Lin <dtwlin@google.com>
2017-03-14 11:42:19 -07:00
jasmine cha
ab5322f6ad audio: Update audio tables and set fluence config
[mixer_paths]
1.modify camcorder for WNR function

[audio_platform_info]
1.modify device name ID for used scenario

Change-Id: I0415196d420962c8f509f6216126665aa12ad992
Signed-off-by: jasmine cha <jasmine_cha@htc.com>
2017-03-07 16:25:23 -08:00
Thierry Strudel
6bcc7cb7a9 add back device-common.mk for muskie/walleye to share things
Change-Id: Ie754ffa678e8f604973125ed7a3c472d01586f95
2017-03-07 16:24:54 -08:00
Thierry Strudel
14876b88f0 Migrate common files to device/google/wahoo
Test: boot, basic functionality
Change-Id: I9edff53d7be158a60914335e755ded652d247db8
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-03-05 13:18:44 -08:00
Vineeta Srivastava
75646ac8e5 Merge "Fix QC proprietary path" 2017-03-04 06:55:05 +00:00
Chia-I Wu
51b89c489b Enable and binderize gralloc hal
Bug: 35809668
Test: boots
Change-Id: I3a024ed6561b520080b703529f1e6c101826cd20
2017-03-03 14:06:50 -08:00
Vineeta Srivastava
6d054c01b0 Fix QC proprietary path
Test: build muskie
Change-Id: If88712bfbb029efa27293e30eb94a1015f89b62b
2017-03-01 20:35:54 -08:00
Yifan Hong
109edcc2ec vintf.xml => manifest.xml.
Bug: 35870239
Test: m installed-file-list -j64
Change-Id: I6837924cfae732b084d25660e9ea761b453be7f9
2017-03-01 17:58:22 -08:00
TreeHugger Robot
65efd88f4a Merge "Camera: Enable Treble passthrough mode." 2017-03-01 01:49:56 +00:00
Thierry Strudel
1dd8ee840d kernel-headers: use the ones from hardware/qcom/msm8998
Change-Id: Icf484e56b52bfb537f5ac537ff9e794d4e671865
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-02-28 11:46:23 -08:00
Shawn Yang
8dcd469205 Merge "RIL support for Muskie/Walleye" 2017-02-28 18:29:49 +00:00
TreeHugger Robot
5dd6f7bf9c Merge "Copy vendor seccomp policy to vendor partion" 2017-02-28 07:57:05 +00:00
Shawn Yang
5a9e0e1518 RIL support for Muskie/Walleye
-allow rild to use HTC proprietary QMI
-set sanpshot timer to 3 second
-not power down SIM during APM
-set ims property for VoLTE/VT/VoWLAN
-enable WPS feature
-limit the DSD indication during screen off

bug:34210655

Change-Id: I17c8a38a51d4f5c2747670cf04be740e27a0474c

Author tim.tm_lin <tim.tm_lin@htc.com>
2017-02-27 19:28:25 -08:00
Shawn Yang
ab296f2969 Enable SSRestartDetector in Muskie
BUG=35138780

Change-Id: I0712462afa800880efbd4d646cd6d3f713318772
2017-02-27 15:54:51 -08:00
Eino-Ville Talvala
cfc0c62b13 Camera: Enable Treble passthrough mode.
Initially muskie opted-out of camera Treble enable due to other
bringup instability. Now that things are looking more stable, enable
passthrough mode.

Add the wrapper libraries for legacy camera HAL, and remove the
disable setprop.

Test: Manual camera app use, camera CTS don't seem to regress.
Bug: 32991422
Change-Id: I84c813c433c74afce64308414a597097b6f98e58
2017-02-27 14:39:11 -08:00
Jeff Vander Stoep
f7f53ace0b Copy vendor seccomp policy to vendor partion
Bug: 34723744
Test: Muskie builds and boots.
Test: For both mediacodec and mediaextractor verify
"cat proc/<pid>/status | grep Seccomp" == "Seccomp: 2"

Change-Id: I414b02f8f49f4d225ef0e8e85b4265ad5cea2281
2017-02-23 13:01:02 -08:00
Nick Desaulniers
dc6cafdb24 Revert "device-common: don't build fingerprint HAL+service"
This reverts commit 109d659016.

Bug: 34795013
Bug: 35390533
Change-Id: I8a5117e513496ee5b2c3d7b9e5fd0f24c18f9924
2017-02-22 19:07:24 -08:00
Thierry Strudel
109d659016 device-common: don't build fingerprint HAL+service
Bug: 35390533
Change-Id: I266159e3ecdd8ac1120be48dfdd772153c6c26c6
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-02-16 13:49:07 -08:00
Thierry Strudel
e53d50dcea define path to hardware/qcom/{display,camera}
Change-Id: I3904861ac63e9ddcd7020aa109756b6154b1b11d
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-02-16 09:47:11 -08:00
TreeHugger Robot
b48a769451 Merge "lights hal: fully binderized" 2017-02-15 23:45:51 +00:00
Ashutosh Joshi
0a3d67c7ff Merge "Add support for passthrough sensors through HIDL." 2017-02-15 20:29:46 +00:00
Ashutosh Joshi
3ad512504c Add support for passthrough sensors through HIDL.
Enable sensors hal support for hidl passthrough mode.

Test: Ensure sensors stream in passthrough mode.
Change-Id: I70aa1293e7469ebb889c37acc3ea8ed849b19d82
2017-02-14 18:28:57 -08:00
Steven Moreland
5e9b3914a7 lights hal: fully binderized
Muskie device will have all hals binderized.

Bug: 32022100
Bug: 35356977
Test: led lights work
Change-Id: I4a1a7b54af5b7d92b4ed167bcf9d517fbff70111
2017-02-14 14:44:30 -08:00
Steven Moreland
708736ade6 vintf: init
Empty init for people to start working off of.

Test: copies.
Change-Id: Ia0eb91bcca530852c3f1a75278977a2afe3e6b54
2017-02-13 20:53:58 -08:00
Jakub Pawlowski
414f8310cf Build the Bluetooth HAL for Muskie
Test: VTS test passes on Marlin, Bluetooth starts/stops
Change-Id: I537a0eb4bc0862f6685fbdb2f50d4d36669202c4
2017-02-08 13:18:26 -08:00
Thierry Strudel
fb9a516ac9 device-common: prebuilt image now uses LZ4
Change-Id: I06028c8ab83f84c1ef5561c3b842660503cc6666
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-02-06 00:32:19 +00:00
David Lin
0cc2da2fed muskie: touchscreen driver now loaded as kernel module
Install the touch driver kernel modules to muskie vendor image and
insert them once filesystem is ready. Also enable insmod sepolicy for
init process.

Bug: 32574003
Change-Id: I2ad9969816e5ebd98b53d07bd3b55c533b8997b2
Signed-off-by: David Lin <dtwlin@google.com>
2017-02-06 00:32:01 +00:00
Thierry Strudel
c4b107ab4c remove vintf.xml
Change-Id: Ia78789d92054a5e8c631a0f4dfae0d60f7aa2462
2017-02-02 17:43:24 -08:00
Thierry Strudel
f0f938b171 audio: increase card open retries
On some platforms, it sometimes takes a longer than expected time for
the codec to be registered after a firmware download. This patch
increases the number of retries to accommodate the long wait time.

Bug: 34620515
Test: audio playback and record on Muskie and Walleye

Change-Id: I63e952db9b59a8bab35a899d110a329930b4525c
Signed-off-by: David Lin <dtwlin@google.com>
2017-01-31 10:38:11 -08:00
David Lin
a5e2f784c4 system_prop: specify share target system.prop location
Device specific system.prop file has to be resided under the
TARGET_DEVICE_DIR folder, or else its location has to be specified using
the TARGET_SYSTEM_PROP build bariable.

Test: build, flash & getprop

Change-Id: I4cf062fe8136305710b3ebc3339ff52fe57fae18
Signed-off-by: David Lin <dtwlin@google.com>
2017-01-30 22:15:55 -08:00
Ranjith Kagathi Ananda
5f8145aa6b device-common.mk: Set default sensor hdr mode as zigZag HDR
Set default sensor hdr mode as zigZag HDR

Change-Id: I3f7a649a5a8c717dd7a11c9fc13d107df8444988
2017-01-30 14:22:13 -08:00
Eino-Ville Talvala
a1c052b96b Merge "Camera: Keep using legacy camera service path for now" 2017-01-28 00:16:24 +00:00