Commit Graph

84 Commits

Author SHA1 Message Date
Stanley Tng
9436e08093 Merge "Disable Hearing Aid Profile for all platforms except Pixel" into pi-dev 2018-04-27 18:27:38 +00:00
Chia-I Wu
b4e0bb3e5a Override config_availableColorModes
List NATURAL, BOOSTED, and SATURATED.

Bug: 73824924
Test: atest PtsConfigTestCases
Change-Id: I5e57c4940b5fc32dc43684bb6e58b7af1097a4df
2018-04-25 11:42:20 -07:00
Stanley Tng
accc78a8c0 Disable Hearing Aid Profile for all platforms except Pixel
Enable the Hearing Aid Profile for Taimen and Wally.

Bug: 78142728
Test: Manual Pairing on various Pixel phones
Change-Id: I1323387592bbedf69b4fc9185b121d616c96fd9e
2018-04-25 09:23:22 -07:00
Daniel Nishi
4efb56f286 Add SettingsIntelligence to Wahoo DND Access config.
This is set in the nexus_overlay and no differences existed until
GMSCore was added to the nexus_overlay. GMSCore only exists in the Wahoo
overlay and the overlay currently crushes our config which applies to
all Google devices. By re-adding it to this overlaid overlay, we gain
our powers back.

Bug: 72663665
Test: Manual
Change-Id: I9794a212b782028f12cd87793ab5723030b8ed95
2018-03-30 13:31:06 -07:00
Jan Althaus
7d957045ac Allowing GmsCore to register DnD rules
This is necessary because the driving DnD rules will be migrated from
Pixel Ambient Services to GmsCore. Pre-granting this permission is
necessary to avoid a feature regression when compared to Pixel 2.

Bug: 74115747
Test: Manually confirmed config change in Pixel 2 build
Change-Id: Icb595b6a31787c18eef38da50f5a256ada5c05f2
(cherry picked from commit e30688631f)
2018-03-30 08:15:55 +00:00
Lucas Dupin
bc68f7f6e0 Renamed config_dozeAfterScreenOff
New name is config_dozeAfterScreenOffByDefault
Bug: 73178121

Change-Id: Icf2123d45b2b4727092103632d1bd6f024161c8a
2018-03-20 16:19:12 -07:00
Mathieu Chartier
847ee61ebb Fix shared vdex name
The files in arm/arm64 are symlinks and pinning symlinks is not
supported. Pin the target vdex file intead.

Bug: 73990433
Test: manual
Change-Id: I1edadcc3be6d88cc07c599cba024babc5abe0633
2018-02-28 16:13:51 -08:00
Tyler Gunn
14e25412bd Enable telephony audio device for pixel devices.
Pixel devices support a special audio device called TYPE_TELEPHONY which
enables system apps to output audio in the telephony outgoing audio stream.
This is used for some carriers to play a "call recording tone" which the
remote party will hear if the user starts recording audio with a call
recording app.

Test: Manual testing
Bug: 64138141
Change-Id: I6e1981a4baaea34c0cea54f1af7aa2945c6e09a6
2018-02-12 14:08:00 -08:00
Malcolm Chen
3a93e994a2 Move config_enabled_lte overlay to device folder. am: 525817e9ec am: 7bb6bf61ab
am: c9038c221d

Change-Id: Iac47ca2bce8b19c425d578f6290552004af45bba
2018-02-07 23:34:03 +00:00
Malcolm Chen
525817e9ec Move config_enabled_lte overlay to device folder.
Move config_enabled_lte overlay to device folder so that AOSP can
also apply it.

Bug: 71830982
Test: manual
Change-Id: I5c4b2c895d0bfeb8bb36d2c8a2333b75127b6d60
2018-02-06 18:49:39 -08:00
Siddharth Ray
adc0f277d3 Moved Cellular/Wifi power profile
Cellular/Wifi power profile moved to power_profile.xml from config.xml

Change-Id: Ib896669775ff5073ea98025d9126565c811860ba
2018-01-17 15:19:05 -08:00
Lucas Dupin
5a31d4bff0 making config_displayBlanksAfterDoze device specific
Moving config_displayBlanksAfterDoze into device folder instead
of device family because walleye supports seamless transitions
but taimen doesn't.

Change-Id: I4710388122852dc68bff9c2cb96633ffade9be4e
Fixes: 71897888
Test: flash walleye, taimen and salfish
2018-01-13 21:39:45 -08:00
Ningyuan Wang
2abdc51e90 Do not revert country code on cellular loss for 2017 devices
2017 devices use single SKU so there is no default country code.
In case of cellular loss, we shouldn't revert country code so user
can keep using the last known country code to access APs.

Bug: 65602314
Test: compile, manually test that framework get this change
Change-Id: I2a8bf967c980cdecafc9cdf03be51fe0d1f6fa8f
2017-09-12 16:52:22 -07:00
Yohei Yukawa
a178328127 Revert "Enable haptic text handle on muskie/walleye/taimen"
This reverts commit "Enable haptic text handle on muskie/walleye/taimen" [1]

We decided to not enable this on O MR1.

 [1]: I5ec238870329b1a234df955d9dd1541a9ae26d82
      d30e0d7350

Test: Manually made sure that haptic feedback is no longer triggered
      when moving text handle on Walleye.
Bug: 62454887
Fixes: 65291208
Change-Id: I82121f3907215e31750a10344e795ad1e60dbaad
2017-09-01 11:54:33 -07:00
TreeHugger Robot
9686ce88bb Merge "Wifi connection hysteresis" into oc-mr1-dev 2017-08-17 22:21:29 +00:00
Vineeta Srivastava
f56a5b8a5f Merge "Make brightness ramp rates multiples of 60." into oc-dr1-dev
am: 450b68d7ff

Change-Id: I82dee442d1d0da7e51afdac292e6763ff91d0693
2017-08-17 03:24:16 +00:00
Michael Wright
fa9709b09a Make brightness ramp rates multiples of 60.
If ramp rates aren't even multiple of 60 then we're more likely to get
brightness changes that differ each frame, which can show up as a
stuttering in the animation.

Bug: 64514692
Test: made change, took systrace, saw smooth ramping
Change-Id: I48ec832f752a8aefb6185c1583141f2fb1a29e85
2017-08-16 22:34:33 +01:00
Michael Plass
c216509135 Wifi connection hysteresis
Introduce a separate RSSI threshold for entry so there is some
hysteresis between entry and exit.

Bug: 64422319
Test: Unit tests
Change-Id: I0cf0b6e34baa3827dcaeefbb009fa04b071dd28b
2017-08-15 16:04:58 -07:00
Michael Wright
dace449e12 Tell platform brightness is bucketed in doze.
Bug: 64007419
Test: manual
Merged-In: Ib1ac6e2b18b6e4f990e107161f12baf4f1b791ee
Change-Id: Ib1ac6e2b18b6e4f990e107161f12baf4f1b791ee
2017-07-26 19:51:00 +01:00
Michael Wright
955de0fa4d Tell system the display blanks itself when leaving doze.
Bug: 63531607
Test: manual
Merged-In: I39e4bcfd786606369aeba0c2df449ffbed8360b5
Change-Id: I39e4bcfd786606369aeba0c2df449ffbed8360b5
2017-07-26 19:50:43 +01:00
Michael Wright
49f44fccb3 Tell platform brightness is bucketed in doze.
Bug: 64007419
Test: manual
Change-Id: Ib1ac6e2b18b6e4f990e107161f12baf4f1b791ee
2017-07-26 19:48:36 +01:00
Michael Wright
0d662aec55 Tell system the display blanks itself when leaving doze.
Bug: 63531607
Test: manual
Change-Id: I39e4bcfd786606369aeba0c2df449ffbed8360b5
2017-07-26 19:48:34 +01:00
Michael Wright
1d54592966 Merge "Remove non-safe mode boot vibration." into oc-dr1-dev
am: ebe5119b1f

Change-Id: Id1af8d03d89199f805b371c179c1578d75c3bfdd
2017-07-24 12:52:46 +00:00
Michael Wright
9000a6ecd1 Remove non-safe mode boot vibration.
Ding, dong the BZZZZT is dead.

Bug: 22414771
Test: Manual.
Change-Id: I211898192af37dbaad9c0a10c773ee7786b1e084
2017-07-21 16:40:16 +01:00
Michael Wright
e7627ccd4a Merge "Force off display state after doze states." into oc-dr1-dev
am: 38f652ec50

Change-Id: I9277de3ffed3d70ce99dcfd1a455eb7d8e9a041c
2017-07-21 14:58:00 +00:00
TreeHugger Robot
38f652ec50 Merge "Force off display state after doze states." into oc-dr1-dev 2017-07-21 14:53:40 +00:00
Michael Plass
9eefdac627 Merge "Adjust wifi RSSI thresholds for 2017 devices" into oc-dr1-dev
am: ac26db3405

Change-Id: Idfc0b053731d918cb8a931717b4d599525e21a10
2017-07-21 04:54:59 +00:00
Michael Plass
b36ad11b48 Adjust wifi RSSI thresholds for 2017 devices
Use the same values as for the 2016 devices for now.

Bug: 63892929
Test: manual
Change-Id: Iffa21671249028ff51e114dae12deea77c16ffda
2017-07-20 11:22:56 -07:00
Michael Wright
2c45c171d8 Force off display state after doze states.
Bug: 63531607
Test: manual
Change-Id: I4f3a863709a970f0fc8682c0a0c3547886e1fd0f
2017-07-20 18:22:02 +01:00
Adrian Roos
3fefe1bda5 Merge "wahoo: Enable long-press on AOD to launch Assistant" into oc-dr1-dev am: 8b6d1c00f3
am: 3c4d389e4c

Change-Id: I104d716f7f392e1eda91046b8a3a81aac39438fe
2017-07-13 12:16:25 +00:00
Adrian Roos
8b6d1c00f3 Merge "wahoo: Enable long-press on AOD to launch Assistant" into oc-dr1-dev 2017-07-13 12:01:45 +00:00
David Lin
80bc8c4856 Merge "haptics: add customized haptic boot patterns" into oc-dr1-dev am: e209cf7c30
am: 182bc1a036

Change-Id: I5842cef70349954c9b184cf34c7b58718e4c1f2b
2017-07-13 01:11:03 +00:00
David Lin
d1efba3884 haptics: add customized haptic boot patterns
Add customized "two times of heart beat" haptic patterns for
bootanimation.

Bug: 62207090
Test: boot and verify the patterns
Change-Id: If88d45b482b3f927165efc9e28ecb6734694c336
Signed-off-by: David Lin <dtwlin@google.com>
2017-07-12 12:02:03 -07:00
Adrian Roos
5d81c9963f wahoo: Enable long-press on AOD to launch Assistant
Bug: 37684244
Test: adb shell settings put secure doze_pulse_on_long_press 1, then Long-press while device is on AOD or off, observe that assistant is launched.
Change-Id: I0cf101331c042e9b59e811b59e209d5476019b23
2017-07-12 13:52:01 +00:00
Lorenzo Colitti
738b66048e Merge "Merge "Device specific wakeup packet mark/mask" into oc-dr1-dev am: 7b9577e9b0" into oc-dr1-dev-plus-aosp
am: 9475bbc377

Change-Id: I4ef9469b0f8ccac4422054619aa89a4aae3eafd0
2017-07-06 16:24:32 +00:00
Lorenzo Colitti
7b9577e9b0 Merge "Device specific wakeup packet mark/mask" into oc-dr1-dev 2017-07-06 15:19:11 +00:00
Erik Kline
f1c7016523 Place non-mobile tethering upstream types first am: 924d8f36c6
am: f5a005eab5

Change-Id: Idcceefcd2a48eb315b42374c449318a30b89cd7c
2017-07-04 14:11:21 +00:00
Erik Kline
924d8f36c6 Place non-mobile tethering upstream types first
Test: as follows
    - built
    - flashed
    - booted
    - "runtest frameworks-net" passes
    - started USB tethering and switched upstreams between mobile and wifi
Bug: 63282480

Change-Id: I2b8cd7d56cfe5131df017ec0a437be01bab2b2d8
2017-07-04 20:06:19 +09:00
Adrian Roos
caf2449a4f Merge "AOD: Enable binned brightness sensor" into oc-dr1-dev am: 51bb8f9e19
am: 9b2d2e50e6

Change-Id: Ia7cd5e55adad86b15692765be866975193acb7cd
2017-06-30 21:53:34 +00:00
Adrian Roos
f31e1ea587 AOD: Enable binned brightness sensor
Change-Id: Ib7e80cd8887652984275f51101c6863fb528685d
Fixes: 38354633
Test: Enable AOD, expose to various light conditions, observe that AOD adjusts brightness
2017-06-30 15:06:40 +02:00
Erik Kline
6d39c30968 Merge "No longer need to explicitly specify ethernet upstream type" into oc-dr1-dev am: db87829ff1
am: 2fd7760870

Change-Id: I3a931a2cc482f653855d9e5bcf1b2895719ab578
2017-06-22 04:59:05 +00:00
Erik Kline
c2249c5e29 No longer need to explicitly specify ethernet upstream type
Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net tethering tests pass
Bug: 32163131
Bug: 36076442

Change-Id: I146dff3d663af20f4c667e0acb1c468df0a5f240
2017-06-21 23:03:42 +09:00
Yohei Yukawa
d30e0d7350 Enable haptic text handle on muskie/walleye/taimen
Bug: 62454887
Test: no
Change-Id: I5ec238870329b1a234df955d9dd1541a9ae26d82
2017-06-20 09:34:46 -07:00
Tyler Gunn
725e915833 Merge "Enable video pause workaround for 2017 pixel devices." into oc-dr1-dev am: 3960493c09
am: 9df2280621

Change-Id: Ic906382d938b5b23e22ab0d2238239b6034500df
2017-06-19 23:33:54 +00:00
Naveen Kalla
a7f2b04ec4 Merge "Add Settings overlay" into oc-dr1-dev am: 622e5c7cc5
am: f297209996

Change-Id: Id8a957dfe5e47ba906f01bd5b01053310fd9e109
2017-06-19 23:33:19 +00:00
Tyler Gunn
3960493c09 Merge "Enable video pause workaround for 2017 pixel devices." into oc-dr1-dev 2017-06-19 22:56:37 +00:00
Naveen Kalla
d30a7c79fd Add Settings overlay
Add Settings app overlays to
1) remove unwanted UI menu option "mobile_plan"
2) Use "WLAN Call" instead of "Wi-Fi Calling" Setting for DTAG

Bug: 62285528
Bug: 34396511
Test: Manual
Change-Id: I30fe6760c90dec3b9c988dc6d8d563d6e477b8ef
2017-06-19 18:55:05 +00:00
Jack He
f9aa32c65d Merge "walleye & taimen: Add in-band ringing support" into oc-dr1-dev am: 99be275e1e
am: 61d8b4fe84

Change-Id: Ib6cd680264012d7844f901df84922b5c5d0abdf7
2017-06-17 06:30:11 +00:00
Tyler Gunn
991b7758fa Enable video pause workaround for 2017 pixel devices.
A video pause workaround was made due to a signaling limitation in the QC
modem.  We enabled it for the 2016 devices already but not for the 2017
devices.

Test: Manual
Bug: 62436425
Change-Id: Ic90ded9621929c0821894776c1191f20ddce9afa
2017-06-16 17:26:27 -07:00
Jack He
4a3ca353af walleye & taimen: Add in-band ringing support
Bug: 19171297
Test: make, HFP regression, testplans/92476, testplans/92112
Change-Id: I58315452e02219a27f6bf87fe600de76d84a595e
2017-06-16 11:09:48 -07:00