Commit Graph

609 Commits

Author SHA1 Message Date
Patrick Tjin
0d847cb23f muskie: move fluence config to common
Test: build
Change-Id: Ia6ce1218141a31b6d08acdb7b95e76b8d57e982e
2017-04-21 08:51:04 -07:00
Soroosh Mariooryad
4b2796fac7 updating auto-brightness control points.
- The new control points are obtained based on fitting a neural network
on data collected from marlin and sailfish devices.
- Based on evaluations, compared to the previous control points, the new
ones achieve lower rmse and higher r-squared values in predicting
desired brightness values.
- See go/autobrightness-predictions for more details

Bug: 31040639
Test: manual

Change-Id: I94770044c0501620ae591b73020c3c45a366cd02
2017-04-19 19:33:45 -07:00
Vinay Kalia
270bb04874 power_profile: Fix device overlays
Overlays listed first take precedence over overlays listed later.
List muskie/walleye overlays before adding common overlays. Also,
resources outside of the "values" directory are overlayed by the
file so copy the data in power_profile.xml under wahoo to
muskie/walleye.

BUG: 36796913
Test: Verified "App usage since last charge" under Settings->Battery
Change-Id: I96c08a30f0ea9392a0867ee78039567d6661c754
2017-04-19 11:55:03 -07:00
TreeHugger Robot
c744240966 Merge "audio: config: add support for speaker sawp" 2017-04-17 18:35:04 +00:00
TreeHugger Robot
1ca8b75839 Merge "soundfx: add msm voice processing audio effects" 2017-04-17 17:24:22 +00:00
TreeHugger Robot
f47c95be9f Merge "power_profile: add screen.on and screen.full power stats" 2017-04-14 01:59:00 +00:00
David Lin
f0b9cd6c9d soundfx: add msm voice processing audio effects
Bug: 36865903

Change-Id: I56441244b208af93d654c5020b81df1f7b1800e8
Signed-off-by: David Lin <dtwlin@google.com>
2017-04-13 14:30:04 -07:00
Vinay Kalia
8031a2aa13 power_profile: add screen.on and screen.full power stats
Test: Compilation

BUG: 36796913
Change-Id: If05698a35e81c2506b951c7aaee6cf58dcd0b2d3
2017-04-13 14:03:14 -07:00
TreeHugger Robot
8d91391986 Merge "muskie cleanspec: remove old sensor registry copy" 2017-04-13 20:50:50 +00:00
Max Shi
8e623e9fbd muskie cleanspec: remove old sensor registry copy
Test: Make
Bug: 37292029
Change-Id: I9f24b9fbd3930574f99e2438b2738eda92a9fdf5
2017-04-13 12:22:43 -07:00
vivek mehta
89968adb90 audio: config: add support for speaker sawp
- add mixer contol for speaker swap

Bug: 34897462

Change-Id: Icc81e24b60d8044d9babdf4c7cbec2cb81e0d8a5
2017-04-12 19:23:44 -07:00
Ramanan Rajeswaran
5c81ba3563 Add aosp bits.
Test: built muskie.
Change-Id: Idf5c79ea12b8ca67d747dde20173b2e58a413555
2017-04-11 07:28:09 -07:00
Thierry Strudel
68b2627e44 Don't enforce RESTRICT_VENDOR_FILES := all
To work around QCOM AU69 limitations,
   allow vendor files to be installed in system.

Change-Id: I6e61e919f7bd069a6d97768a2a784992b10f59dc
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-04-08 11:29:50 +00:00
Ed Tam
5f712ab894 Merge "thermal: add thermal conf with shutdown temps" 2017-04-07 03:13:31 +00:00
Connor O'Brien
62ff8905f7 Merge "muskie/walleye: add flash block sizes to fstab" 2017-04-06 23:20:58 +00:00
John Dias
13d5312c3d thermal: add thermal conf with shutdown temps
Bug: 35700896
Test: boot, check for thermal-engine messages
Change-Id: Ie8e7f03c8d54d1d2f10057171651785954b3fac1
2017-04-06 15:33:11 -07:00
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
Connor O'Brien
6556a807a6 muskie/walleye: add flash block sizes to fstab
In recovery, flash erase & logical block size can be used to tune the
stride and stripe-width parameters for the userdata partition on
factory reset. Add these sizes to the fstab file to make them
available for tuning.

Bug: 33243520
Test: factory reset walleye, check that stride & stripe-width are correct
Change-Id: I7fc3998ca001a0d46550bc2f3edd5100593b142f
Signed-off-by: Connor O'Brien <connoro@google.com>
2017-04-05 18:33:10 -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