Commit Graph

80 Commits

Author SHA1 Message Date
Jorim Jaggi
692822aa88 Update vsync configuration to match new system
This isn't a semantic change, but rather a change how the
configuration is set because we changed how SF interprets these
offsets.

Test: Boot, inspect offsets in regular + transition scenario
Bug: 110112323
Change-Id: Iba61c1247328fc93abb068f59599872488c1e345
Merged-In: Iba61c1247328fc93abb068f59599872488c1e345
2018-06-21 12:19:47 +00:00
David Lin
4184969240 haptics: Specify playback duration for heavy click
This patch specifies the playback duration to 12 ms for a heavy click effect.

Bug: 77863933
Test: manual long press test
Change-Id: I625eacc631b639f161fcddd179623ef8a89db3e1
Signed-off-by: David Lin <dtwlin@google.com>
2018-04-17 10:27:26 -07:00
Qingxi Li
5e125bab59 Add a device flag to decide how eSIM UI shown
Add a device flag to decide whether by default, eSIM UI, including the
UI in settings, under Mobile network > Carrier, and eSIM setup flow in
Steup Wizard flow.

Bug: 77707568
Test: E2E
Change-Id: I15f2bc15f33d07a1471e20384aa92dfcfe88e5dd
2018-04-11 11:07:07 -07:00
Jorim Jaggi
b356d7f4e3 Enable early phase offsets for Taimen
Since we hit GL comp quite frequently during app transitions, we
need to enable early phase offsets to give it enough time for
composition.

Test: Open app, make sure vsync-offsets shift
Bug: 75985430
Change-Id: I2f85bf72a4b135dce664f7274848f3956a9aaf7a
2018-04-05 14:15:01 +02:00
Eran Messeri
fa5074a487 Indicate Taimen support Device ID attestation.
Bug: 72642093
Bug: 73448533
Test: Modified CTS tests
Change-Id: Ie6e26e1cde696fa5dea9e149102437525a39290d
2018-03-27 19:57:03 +01:00
Tom Cherry
c6e22f1e46 remove ro.hwui. properties from being set am: 584eb281e9 am: a4153695c1
am: 751958c809

Change-Id: Ibb5f963e9e01cafbc6d5d1816b1544fd0d3bbe77
2018-03-02 08:21:56 +00:00
Tom Cherry
584eb281e9 remove ro.hwui. properties from being set
These have migrated away from properties.

Bug: 73905119
Test: n/a
Change-Id: I83e0942c027defba02a037f9db684d42f5042bb9
2018-03-01 17:00:20 -08:00
Jaekyun Seok
fcafd650df Merge "Move the default value of persist.traced.enable to system partition (1/2)" am: 652e62ab0b am: 490bcd7ddf
am: 230a183ab8

Change-Id: I7d62297e628248c010411c04154a3571e56eb4bf
2018-02-27 23:15:59 +00:00
Jaekyun Seok
54f9a0bc39 Move the default value of persist.traced.enable to system partition (1/2)
persist.traced.enable isn't related to hardware, and so the default
value should exist in system partition.

Bug: 73905119
Test: succeeded building and test with taimen
Change-Id: Ie4dd5058e97b58bdff50733f90196c2e1315cce0
2018-02-27 19:49:52 +09:00
Primiano Tucci
0431963db9 Enable perfetto traced for taimen am: dabdeb782c am: 9e04b2c8a1
am: 50184b1872

Change-Id: If29aaf9a3069595201ca46a222aecac4d7978f54
2018-01-26 20:07:49 +00:00
Primiano Tucci
dabdeb782c Enable perfetto traced for taimen
Bug: 72484603
Test: builds and run (see go/perfetto-test-spec for test plan)
Change-Id: I2fa1d8aee0661903c8fdd634e16bc24763aa3a87
2018-01-26 17:58:18 +00:00
Steve Pfetsch
bcded7b25e Merge "taimen: add separate charger kernel module config" into oc-mr1-dev am: aac40f5af7
am: 3be38b2b0d

Change-Id: I4e638eaa02d4faa25b48f9187995cdea37e25891
2017-10-05 00:32:13 +00:00
Steve Pfetsch
016a2a13ba taimen: add separate charger kernel module config
Bug: 65154564
Change-Id: Ie1bec98f85801fdeaf77b87840b3ebfe2b13cd74
2017-10-04 12:39:39 -07:00
Jie Song
dce7e7537d Number of log files in Bugreport
Bug: 64329189
Test: Check number of log files in Bugreport
Change-Id: I2119f0dc898d67d6dab14fca7d2477997a7d559f
2017-09-26 03:30:49 +00:00
Phil Burk
5f696a66d8 aaudio: reenable MMAP mode for Taimen
Bug: 64955707
Test: "adb shell getprop aaudio.mmap_policy" should print 2
Change-Id: I6e1c90672bf8f7fa796fd6bdfdbf085963c2e0bc
2017-08-23 12:22:42 -07:00
Phil Burk
3580135436 aaudio: disable MMAP data path
Some bugs were found late in the release cycle for DR1.
It seems safer to simply disable MMAP mode for DR1
and enable it in MR1.

Developers can still experiment with MMAP mode by overriding the policy
using AAudio_setMmapPolicy().

Bug: 64316921
Bug: 64311216
Bug: 64494572
Test: "adb shell getprop aaudio.mmap_policy" should print 1
Change-Id: Ia8752693f4e58a27dd901148728543c8d0bb8259
2017-08-09 14:17:03 -07:00
Jie Song
28a5ca23c7 Disable QShrink for all subsys in mdlog
Bug: 62489031
Test: Modem logging is functional
Change-Id: I7159d8558ac702867dc5a4c85c34d311fa8819b9
2017-07-27 02:34:22 +00:00
TreeHugger Robot
b888a46a70 Merge "thermal: copy correct vr config" into oc-dr1-dev 2017-07-25 19:59:46 +00:00
John Dias
cb6bb96cdd thermal: copy correct vr config
The wrong thermal-config was copied for VR mode.

Bug: 37544246
Test: verify that the correct VR thermal config is on-device
Change-Id: I8605336c5fbdac7450036883a68f1f25f111d286
2017-07-25 10:55:33 -07:00
Phil Burk
13c79aa51d aaudio: increase burst size from 1 to 2 msec
One msec is on the edge and sometimes glitches.
Two msec is more stable and matches the FastMixer burst.

Bug: 63934178
Test: "adb shell getprop aaudio.hw_burst_min_usec" should be 2000
Change-Id: I9687f5822d0827032b93f98779f9dd6ef9ca074c
2017-07-24 12:22:54 -07:00
Phil Burk
928678226e taimen: enable aaudio MMAP mode
This will allow AAudio to route audio data through a new service
that uses ALSA MMAP/NOIRQ mode.

Bug: 63002656
Test: reboot, then "adb shell getprop aaudio.mmap_policy" should be 2

Change-Id: Id2f692ac9350e4c308f17d86ee8d5cbb858bb565
2017-07-21 03:48:43 +00:00
Glenn Kasten
c61eab8f4f Add another property to configure adm buffering
Keep the original property also, to make it easier to experiment
with old and new libadm.so

Bug: 63810681
Test: round-trip USB latency unchanged with old or new libadm.so
Change-Id: I3ba8a670f6d8498a5899c352c544cbd63d815169
2017-07-20 02:45:30 -07:00
Glenn Kasten
6997a821d1 Enable pro audio feature flag
Test: adb shell pm list features
Bug: 38463264
Change-Id: I3bf173bf49452288acef2f307236412bf4c59ab1
2017-07-17 14:57:55 -07:00
Glenn Kasten
ae0774857c Reduce USB audio latency on Taimen
Bug: 62375603
Bug: 63364644
Test: Loopback shows latency reduction and no glitches
Change-Id: I8ab3879ebb318b96e931976a206e866fd44754e4
2017-07-13 12:36:44 -07:00
Michael Wright
76ae3880be Add input device configuration for Taimen
This also provides tuning for touch size information.

Test: flash and look at touch size with pointer location enabled
Bug: 62871286
Change-Id: I1dafed6b482a74d9baeac162be1dc831370a5ebc
2017-07-11 14:09:20 +00:00
TreeHugger Robot
fa421c16cb Merge "Remove IMU cad calibration file" into oc-dr1-dev 2017-06-30 23:50:42 +00:00
Ranjith Kagathi Ananda
30d1312b77 Remove IMU cad calibration file
Remove the cad calibration file and use only factory calibration
file.

Test: Tested on Taimen

BUG=63146009

Change-Id: I3cf1a0084723b925eaa358830f76d48da0841b4e
2017-06-29 16:57:59 -07:00
Glenn Kasten
e49af3bf4d Reduce USB audio latency on Walleye only
No change in latency for Taimen

Bug: 62375603
Test: Loopback shows reduction and no glitches on Walleye, no change on Taimen
Change-Id: I6dc85ecdc825462acb4e1cda3227fb4d4f93c56e
2017-06-27 16:03:05 -07:00
John Dias
c9c0eb7264 Fix hwui settings
Bug: 62375787
Test: boot and basic use
Change-Id: I79216efdadfa929d0b60872ed5d137dbd5e62dcc
2017-06-19 17:23:00 -07:00
David Lin
92c6624540 haptics: update effect waveform
Set EFFECT_TICK duration to 4 ms.

Bug: 62176703
Test: VtsHalVibratorV1_1TargetTest
Change-Id: I0ff38adebcd1679b1fb8e061fa46db797a7b354b
Signed-off-by: David Lin <dtwlin@google.com>
2017-06-01 13:27:39 -07:00
David Lin
34b58e2077 haptics: update effect waveform
Make EFFECT_CLICK 10ms and LONG_PRESS 12ms.

Bug: 62176703

Change-Id: Id676a6581e8beff9ad2d951b2d9f405d38d374b9
Signed-off-by: David Lin <dtwlin@google.com>
2017-06-01 13:25:57 -07:00
taeho.youn
2060beed3d audio: taimen: volume curve tuning for system sounds in call
- DTMF, call waiting tone, etc.

Change-Id: I9ed9319dc947097d6222ad22705085f36ab27fc8
2017-05-26 11:09:06 -07:00
TreeHugger Robot
f64ae6e3f3 Merge "audio: move audio table to /vendor/etc" 2017-05-24 20:03:04 +00:00
David Lin
9da82eddbf audio: move audio table to /vendor/etc
Bug: 62039625
Change-Id: Ibd9419c2495b23dd2757ab8b321dee2f3650fc7a
Signed-off-by: David Lin <dtwlin@google.com>
2017-05-24 09:33:25 -07:00
Yueyao Zhu
8d9dca5dc8 Move AB_OTA_PARTITION vbmeta to wahoo/device.mk
Change-Id: I555098be6e4fe1f9061ad3bfbdcd4a20eea71306
Signed-off-by: Yueyao Zhu <yueyao@google.com>
2017-05-23 14:07:52 -07:00
Ecco Park
f742ab14ef Merge "Wifi: move the WCNSS_qcom_cfg.ini to /vendor partition" 2017-05-23 17:40:08 +00:00
Ecco Park
d1c7f2edd7 Wifi: move the WCNSS_qcom_cfg.ini to /vendor partition
Bug: 38242491

Change-Id: I1526643ca2532d75133f258a3505c2a8925a3db4
Signed-off-by: Ecco Park <eccopark@google.com>
2017-05-22 12:57:20 -07:00
Andrew Lehmer
c6ad038b87 Revert ALS/prox recalibration init script
Bug: 38377320
Test: loaded on taimen
Change-Id: Ifce25901117afe295055074863ae3993651e27db
2017-05-22 12:48:38 -07:00
Thierry Strudel
5980b32f16 Merge "Ensure usb related .rc is parsed in a defined order" 2017-05-19 20:01:27 +00:00
Yueyao Zhu
bb0bb1c62a Ensure usb related .rc is parsed in a defined order
Loading process (e.g. taimen):
- rootdir/init.rc
    |- /vendor/etc/init/hw/init.taimen.rc
        |- /vendor/etc/init/hw/init.taimen.usb.rc
	    |- /vendor/etc/init/hw/init.wahoo.usb.rc

This CL moves the init.taimen.usb.rc to /vendor/etc/init/hw, and
imports init.wahoo.usb.rc from init.taimen.usb.rc.

Test: Build with related CLs and USB File Transfer works on taimen
Bug: 38301110
Change-Id: I00ba96c1ebb5c17dfd3a8ca59024c2f6b81ef409
Signed-off-by: Yueyao Zhu <yueyao@google.com>
2017-05-18 17:37:02 -07:00
Andrew Lehmer
ffbe89e90e Fix ALS/prox calibration at init if needed
Bug: 38066490
Test: loaded on taimen and verified behavior and registry
Change-Id: I08c27bd3f62dcad90854815e70be49fb21294db9
2017-05-17 16:18:47 -07:00
Ranjith Kagathi Ananda
02237ba809 Add IMU calibration related properties and copyto
- Add CAD calibration file
- Add persist properties pointing to CAD and
      factory calibration xml files

Test: Tested on taimen

BUG=38234792

Change-Id: Ie8d88c6e1d0127d70868f004d216a9c7272aeec5
2017-05-15 14:51:45 -07:00
Isaac Chen
4232986daf Move configuration files to vendor for build split
The following configuration files need to reside in vendor
partition to work with generic AOSP system image.

Move uevent.*.rc to /vendor
Move fstab.* to /vendor/etc
Move init.*.rc and init.wahoo.usb.rc to /vendor/etc/init.

Also the following two make file variables need to be set:
  - BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
  - PRODUCT_ENFORCE_RRO_TARGETS := framework-res

Comment out "import init.wahoo.usb.sh" in init.taimen.usb.rc
since /init will load all rc files under /vendor/etc/init.

Bug: 37927875
Test: These files are under /vendor instead of / or /system,
path in init.taimen.usb.rc is changed to vendor accordingly.

Change-Id: I79e41aeb13d284816ab7a2b4bde3ce8375863160
2017-05-12 11:13:20 +08:00
Ecco Park
38a3f91cfd wifi: use the WCNSS_qcom_cfg.ini only for taimen.
Diabling DBS for taimen while the antenna issue is not fixed.
gDualMacFeatureDisable=1

Bug: 38198219

Change-Id: I9a2eb5949ae1f40aae15f0547cd9c7dd874f0615
Signed-off-by: Ecco Park <eccopark@google.com>
2017-05-11 21:21:28 +00:00
Jie Song
cc6c346d81 Merge "Adding system properties for modem logging" 2017-05-10 20:43:32 +00:00
Jie Song
4905809ff3 Adding system properties for modem logging
Bug: 37115787
Test: Manually trigger bugreport
Change-Id: I611083c0c23fab4887beaf0aed0139aa0b5d5e41
2017-05-10 17:14:51 +00:00
Thierry Strudel
871c969220 move fstab and BOARD_AVB_ENABLE to wahoo
Change-Id: Ide7f7d4dcd6d4d67f209943e2ce2048015e1a010
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-05-09 12:17:32 -07:00
Thierry Strudel
64db4b6e3e Use BOARD_VENDOR_KERNEL_MODULES for modules instead of PRODUCT_COPY_FILES
Change-Id: I676cda3893393467661d5db0adb499027d24b3c9
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-05-08 14:59:15 -07:00
Kyunam.jo
ebc2f9428a Taimen: fixed to loading touch driver loadable modules
Directly using 'insmod' operation to init process is not permitted.
Therefore modified to use init.insmod.sh

Bug: 37914698
Test: booted device, touch works

Change-Id: I57ba8a86a6c508a66a805bacaf014640c6b49254
2017-05-03 09:27:33 -07:00
taeho.youn
674e8afb0a audio: Add taimen specific audio config files
will be used independently, and be updated frequently

- dmic configuration
- acoustic voice path for fluenceProv2
- audio path for factory
- camcorder mic (main mic)
- stereo configuration for tas2557
- device setting for fluenceProv2

Bug: 37453005
Bug: 36666337
Change-Id: I5d1910862757671da35dc044d4a14891fcc11e70
Signed-off-by: taeho.youn <taeho.youn@lge.com>
Signed-off-by: David Lin <dtwlin@google.com>
2017-04-30 15:04:47 -07:00