Commit Graph

592 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
65dcfcad20 Merge "muskie/walleye: boot time optimization" 2017-04-05 14:33:42 +00:00
Thierry Strudel
315db2f651 Revert "Don't enforce RESTRICT_VENDOR_FILES := all"
This reverts commit 68eed12f64.
2017-04-04 16:38:07 -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
Thierry Strudel
84047e1fa7 power_profile: set battery.capacity
Change-Id: Icaf487dd10d757146dca7e58b635e8e0fbb958c9
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-03-31 14:33:20 -07:00
Thierry Strudel
1efebe3568 Merge changes from topic 'oemOverRide'
* changes:
  Reset gadget stack before configuring
  selinux policy for letting the system server set radio config
  Overlay for modem functions
2017-03-30 05:13:04 +00:00
Jibu Joseph
22070471c1 Merge "Use wahoo dumpstate" 2017-03-30 04:48:26 +00:00
vincent_tew
6ff73a38b9 muskie: audio: Update audio table
1. [Mixer path]
 i. Recording Dec gain adjustment
 ii. Camera record change to one channel only
 iii. Add TTY path
 iv. Add ull bt-sco path
2. [Audio_platform_info]
 i. Add TTYpath

Change-Id: Iee8626170fbe8d337633494039cf108bb6d7b771
Signed-off-by: vincent_tew <vincent_tew@htc.com>
2017-03-29 18:22:15 -07:00
TreeHugger Robot
21a21cd74e Merge "audio: specify the correct afe-proxy device id" 2017-03-29 22:49:54 +00:00
David Lin
3b1ab4a966 audio: specify the correct afe-proxy device id
Change-Id: Ie61dd370a0cd08674b0e9a8be89a42061cd6c684
Signed-off-by: David Lin <dtwlin@google.com>
2017-03-29 20:56:18 +00:00
Badhri Jagan Sridharan
bddf8f3163 Reset gadget stack before configuring
Gadget stack would be configured based on persist.sys.usb.config.
Reset the usb stack before configuring.

Test: Manually verify modem overlay functions for usbradio bootmode
Bug: 31947358
Change-Id: I9bf5c1ad1626bba90689d7abfeaa8c27e82a7ecb
2017-03-29 11:35:07 -07:00
Badhri Jagan Sridharan
e97ce188fb selinux policy for letting the system server set radio config
Test: Manually verify modem overlay functions for usbradio bootmode
Bug: 31947358
Change-Id: If598b5c464ebf1c24043df331e670f4d7c1af0a9
2017-03-29 11:28:36 -07:00
Badhri Jagan Sridharan
cdf1da74a5 Overlay for modem functions
Test: Manually verify modem overlay functions for usbradio bootmode
Bug: 31947358
Change-Id: I9e7449aab3f4b1d7fd9926338245cc5a5bdc191e
2017-03-29 11:12:07 -07: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
Sunny Goyal
9a58efb844 Including WallpaperPicker in aosp build am: ab68ae6c42
am: dc4f4c2c50

Change-Id: Ie8cfb47524e062de43ef756bdd3c84eadeac22d9
2017-03-29 06:54:43 +00:00
Sunny Goyal
dc4f4c2c50 Including WallpaperPicker in aosp build
am: ab68ae6c42

Change-Id: Id5cae458b28d108ad82731f7753585f6d956869f
2017-03-29 06:50:02 +00:00
Thierry Strudel
836db75274 muskie & walleye BoardConfig: set system partition size to 2.56 GiB
Change-Id: Icd29df64b062fc56fa123d615b23524a94d9b619
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-03-29 03:14:52 +00:00
Ruchi Kandoi
b88ac44c4f Merge "Add libnfc-nxp.conf for muskie" 2017-03-29 01:21:32 +00:00
Sunny Goyal
ab68ae6c42 Including WallpaperPicker in aosp build
Bug: 35724630
Test: None
Change-Id: Id619e51a3d1ae0c10a01a9a42b9d35c8c499a909
2017-03-28 16:59:12 +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
vivek mehta
682e730dde audio: add usb tty support
- add usb tty mixer path to enable usb tty feature

Change-Id: Iff1da90e73491e3e40561125a1f54e290c80b71f
2017-03-23 10:55:57 -07:00
Sandeep Patil
5c713cd830 dumpstate: dump /proc/interrupts
default bugreport stops dumping /proc/interrupts but
devices still probably care about it.

Bug: 36486169

Change-Id: Ia498aa0925d7c5f892ee6a0de9a2a3479de945a4
Signed-off-by: Sandeep Patil <sspatil@google.com>
2017-03-22 13:23:26 -07:00
Shawn Yang
c9bb616ea9 Merge "Setup SMloging masks for Muskie/Walleye" 2017-03-20 16:28:55 +00:00
Thierry Strudel
68eed12f64 Don't enforce RESTRICT_VENDOR_FILES := all
To work around b/36413696 allow vendor files to be installed in system.

Change-Id: I4bd01c67f296fa11bbb5a8187fdd03d3480ac009
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-03-19 20:47:48 -07:00
TreeHugger Robot
53578417e1 Merge "muskie: muskie/walleye overlay changes for auto-brightness" 2017-03-18 00:52:20 +00:00
Steve Pfetsch
27a52f0b0e muskie: muskie/walleye overlay changes for auto-brightness
Enabled the muskie/walleye-specific overlay directories and added
auto-brightness values for muskie and walleye in their respective
config.xml overlays.

Bug: 35415845
Test: Manually verified adaptive brightness works.
Change-Id: Iaa0eac94ef275817ae85e2ed809a2ba036dd84a8
2017-03-17 23:34:41 +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
TreeHugger Robot
f886cc9976 Merge "audio: copy device specific audio xmls" 2017-03-14 22:54:42 +00: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
Chris Fries
86d221b812 CleanSpec: Blow away system/ vendor/ for recent treble file moves
Stale libraries in system/ will eclipse new ones in vendor/ which
can cause things (HWComposer) to fail to start.  Let's big-bang
the initial cleanspec to deal with this.

Change-Id: Ie80d4dec404f95cc37a89bf00918331c01cb57fb
2017-03-13 13:12:46 -05:00
vincent_tew
f962a79d64 muskie: audio: Update audio table
1.Add usb routing in mixer_paths/audio_platform_info/ ACDB
 -Adding USB headset and USB headphones scenario
 -Correct voicecall headphone TX routing path to slimbus
2.Add TAS2557 EC ref routing in mixer_paths

Change-Id: I055571cf4502b68bf7938a099a724a746a0e955c
Signed-off-by: vincent_tew <vincent_tew@htc.com>
2017-03-10 19:34:50 -08:00
Thierry Strudel
00fbe98de7 aosp_muskie/asop_walleye: add Dialer app
Bug: 34738705
Change-Id: Ifb5705b50bf96858a4a56abc06b96fcd6c544d1b
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-03-10 15:07:44 -08:00
Thierry Strudel
708ae13e39 define DEVICE_PACKAGE_OVERLAYS for muskie and walleye
Change-Id: I94385ece2d52083a2e014ea99fbd719db57a003a
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-03-10 11:59:03 -08:00
Thierry Strudel
d635fccde2 Move common inherit-product to wahoo
Change-Id: Ia0c692b6dda860d2663af96a2fed82806381e604
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-03-10 11:59:03 -08:00
Shawn Yang
b763f5e99c Merge "carrier related device overlay" 2017-03-09 18:56:53 +00: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
Nick Desaulniers
3d04197d02 muskie: fbe: share fstab with wahoo
Bug: 34250938
Change-Id: I23c74d0e14b93ebb345b145a882ae129bc1a5540
2017-03-06 14:07:01 -08:00