Commit Graph

70 Commits

Author SHA1 Message Date
yagyaxt1034
b5f2ade27c Decrease status bar padding to 4dp
Change-Id: I6a510ab12dd6adfd3fc01a3987e925834cf5fd00
2024-07-20 23:31:16 +08:00
LuK1337
2729e6b254 walleye: Set a default Settings.Global.DEVICE_NAME
Change-Id: I310c1ffc581b72653783d1093d9e7ebde544bb16
2024-07-20 23:30:18 +08:00
Dan Pasanen
0a18eceb70 walleye: Disable ext4 share_dup_blocks
* This allows us to remount ext4 partitions read-write

Change-Id: Idb66b7290a27550db70441c38b4ab3207bdcaff7
2024-07-20 23:25:35 +08:00
Fiona Campbell
a893431795 Fix Walleye brightness curve.
ag/11455081 caused a bug in the brightness slider that meant that all devices (except Walleye) could not slide it to the minimum. The hardcoded curves on walleye are now changed to start at 1 ("minimum brightness" like all the other devices) instead of 0 ("off").

Bug: 157838219

Test: manual - cover ambient light sensor - ensure brightness reduces
but not to 0. grep for brightness splines too:
adb shell dumpsys display | grep -i "spline\|mConfig"

Change-Id: Idd5b011141edd7cd5cd1dee27b2647f55025fac8
2020-06-08 15:49:11 +01:00
Fiona Campbell
6b114d1523 Add brightness float values to config file.
Test: manual testing - ensure that the brightness value in
Settings>Display>Brightness Level can go the full range from 0% to 100%.

Change-Id: Iccdd9c69d97ad94ea1956b44f9a7bedca4110ed7
2020-02-18 10:40:01 +00:00
Tianjie Xu
be77fc0887 Use more specific option to set dark mode am: fd8e984334 am: 018b2075cb
am: bac448e58e

Change-Id: I7707d64dd11a3d346be0a8a3028e93b0d861fd36
2019-11-13 14:41:51 -08:00
Tianjie Xu
fd8e984334 Use more specific option to set dark mode
We have switch misc_writer to use more specific flags to set the dark mode.
Modify the caller as well.

Bug: 131775112
Test: set dark mode, check device boots with dark mode
Change-Id: Icbf3377e514f79b9b4bcf5c5a2dff9b0c8324df5
2019-11-11 22:47:49 -08:00
Roshan Pius
515e7619d7 muskie: Remove wifi related internal overlays
These are replaced by formal mainline module overlays.

Bug: 143464763
Test: Send for  Wifi regression tests
Change-Id: I477d6e9732cae1fbb7fd4d1113533da8b865979f
2019-11-01 06:10:59 -07:00
Tao Bao
f093e520c6 Merge "Dark boot on dark theme." into qt-dev
am: 20b3a8837f

Change-Id: I768f5447f3812099396ff34742db2c280a4af92f
2019-06-26 09:48:53 -07:00
Tao Bao
f0a2c6de3a Dark boot on dark theme.
Bug: 113028175
Bug: 134157796
Test: Build and flash walleye with the matching bootloader change.
      Check serial log regarding the start of vendor.darkboot and
      vendor.darkboot_clear services when toggling dark theme in
      Settings. Also read the value via `dd bs=1 skip=14408
      if=/dev/block/sdd1 count=32 | xxd` to confirm the change.
Test: Trigger a factory reset via Settings. Check the value in /misc
      after the reset.
Change-Id: Ie8504cec4358576890cc395de8df1679fa52fa01
2019-06-17 11:31:52 -07:00
Yiwen Chen
b2413e4ca5 Switch back default vibrate for calls setting for walleye devices
am: bd64681923

Change-Id: I0e350ef416897312aa536a5c8ad664daa4abae2b
2019-06-05 12:53:45 -07:00
Yiwen Chen
bd64681923 Switch back default vibrate for calls setting for walleye devices
Bug: 130741987
Test: Tested on device
Change-Id: I5f087bb8b1c6c3364d2d3bf026aab0783350e9dd
2019-06-04 23:04:48 -07:00
Felix
19ab85221d sepolicy: Use BOARD_VENDOR_SEPOLICY_DIRS am: fc727c0c76
am: 7d2b98c691

Change-Id: I1705c3b03edf6d9282e95631b4357d81bf725d56
2019-05-29 17:33:17 -07:00
Felix
fc727c0c76 sepolicy: Use BOARD_VENDOR_SEPOLICY_DIRS
BOARD_SEPOLICY_DIRS is deprecated.

Change-Id: I4000cd5343e8d1fa1cbba0471e6604564a0a7fd8
Signed-off-by: Felix <google@ix5.org>
2019-05-28 14:10:43 +02:00
Mark Salyzyn
0edb398ed6 Walleye: Enable ext4 share dup blocks
Resolve adb remount and system image build issues by enabling
BOARD_EXT4_SHARE_DUP_BLOCKS := true, which also adds extra
partition space for expansion.

Test: lunch wahoo-userdebug && m -j500 && flashall && boot
Test: adb-remount-test.sh
Bug: 120448575
Bug: 128876541
Bug: 129471772
Cc: Orion Hodson <oth@google.com>
Change-Id: I19f49a09f8105ee30606c4f0f1423a06a71deb73
2019-04-01 09:10:12 -07:00
Yiwen Chen
c2644e78f0 Enable ramping ringer by default for walleye devices.
Bug: 120789399
Test: Tested on device
Change-Id: I3e27d75cbe68b23e2b328282e1460bd979f0ecca
2019-03-06 07:46:54 -08:00
Blake Kragten
efb28905fb Power profile change Walleye am: 189f3dc20f
am: 422b41bf7f

Change-Id: If5bfe60b048dd53aa14951ed01e2e726843f8e04
2019-02-21 07:54:10 -08:00
Blake Kragten
189f3dc20f Power profile change Walleye
Changed to the wifi controller idle current (ma) to new test values.

70ma reported at 4.2V. The controller runs at 3.7V so the inputted value
is 79ma.

BUG: 123521767
Test: N\A
Change-Id: I7cd7931555155260b53a129a715f3e71635b8899
2019-02-14 23:34:20 +00:00
Lucas Dupin
bd3a2939fd Move wake-up delay to overlay
Change-Id: Iea116c938be12b338eb70f489caecaa351bc0966
Fixes: 112757556
Test: manual, unlock with fingerprint, no flash observed
2018-08-29 16:03:10 -07:00
Vinay Kalia
698cbe59e1 power profile: update "ambient.on" power numbers
BUG: 112540522
Test: Compile
Change-Id: I340cc28ec2cf2d90a9971e0715d79fe5fb9b7d89
2018-08-23 11:32:58 -07:00
Ahmed ElArabawy
51b2160f2b WiFi: Modify name of configuration to enable SAR
This commit modifies the name of the configuration to enable
SAR to adjust to the new configurations to make it more representative

Bug: 65174506
Test: Manual

Change-Id: Id198cd899db7d93458da083a78985b7d72f0fad5
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
2018-06-08 17:26:42 +00:00
Shawn Yang
2828b261d7 Update board-info.txt generation method
Bug: 80490116

Update makefile to remove direct shell call to generate the
board-info.txt file.

Test: Manually verify the build passed and board-info.txt generated
contains correct info

Change-Id: I32919ec218b8869786b1d170ef0576d602e72fc2
2018-06-01 09:01:19 -07:00
Siddharth Ray
a5d60fa7d6 Walleye connectivity power profile
Cellular, Wifi and GPS power profile for Walleye is updated to values
based on device power measurements.

BUG:79879615
Change-Id: I7405a0f9e3df878ba79bb7e108eb3c629f299792
2018-05-16 15:20:02 -07:00
Michael Wright
b8c6451523 Update long press vibe pattern.
The long press vibe pattern is used for the new "heavy" click effect
fallback, and the default values feel fairly awful on Walleye.

Bug: 77863933
Test: long-press on something, feel the effect
Change-Id: I6735c0355aa6f49069c73f5cf2b319cb453a0fba
2018-04-16 19:32:23 +01:00
Kenny Guy
e3c87a5bab Update brightness curves for walleye
Update brightness curves using curves from
https://cs.corp.google.com/piper///depot/google3/java/com/google/android/libraries/smartbattery/brightness/model/DeviceCurves.java
Sampled at integer log values from 0 to 5000.

Bug: 74386763
Test: Manual, flash device, adb shell dumpsys display and check brightness config.
Test: try phone near window and in dark area check brightness is reasonable.
Test: Push zebedee curve, check curve is the same as built in version.

Change-Id: I7f91535d755692682a19b02887393d6041a3e798
2018-04-03 17:00:39 +01:00
Marissa Wall
7006aa251e power profile: Add walleye bluetooth
Add walleye bluetooth values.

Fixes: 63738468
b/74126906
Test: Boot phone and dump BatteryStats

Change-Id: I0210165418d042a2d29e02b9689c85ea35965fc3
2018-03-22 15:52:22 -07:00
Marissa Wall
399f7febf3 power profile: Update walleye power profile
Power profiles now support ambient, video.
Remove power.none because it is never used by batterystats.
Remove the radio values that are never used because
modem.controller.* are present. Update audio.

Fixes: 63738468
b/70531798
b/74125473
Test: Boot phone and dump BatteryStats

Change-Id: I7df6a465f56f08130410f051953f690106763b59
2018-03-22 15:52:16 -07:00
Siddharth Ray
37b39f3aff Power profile for W
BUG:72383423
Change-Id: Ia1c6b73765c620b91572728261f17fecc0c909db
2018-03-20 16:24:49 -07:00
Lucas Dupin
8bbff6ea65 Disable wake-up animation on walleye
Test: make, flashall, pres power button
Change-Id: Ie01187c8fdaeae11d82476f324a98aab385da9ac
2018-02-28 15:09:37 -08:00
Michael Wright
b17e1e58f9 Reduce Walleye's min brightness.
Walleye used to have a dark configuration value of 1, but that got
removed when we changed how the slider worked. Unfortunately, the min
value was never set to what the dark value used to be, leaving walleye's
minimum brightness needlessly high.

Change-Id: I7e1ee480a00de6180277672c0f4c379f1e66d306
Fixes: 73190431
Test: flash, dumpsys display, see new min value
2018-02-12 21:55:51 +00:00
Hridya Valsaraju
a8910eb11b Merge "Indicate index of device tree overlay applied for walleye" am: a66d3099fe am: 14293a7489
am: 27ca882bed

Change-Id: I21bce277ef64f5baa73ae44161f96ad77b92e101
2018-01-30 21:31:01 +00:00
Kumar Anand
65c4cb7896 Merge "wifi: enable Softap ACS and 11ac on walleye" 2018-01-25 01:23:27 +00:00
Hridya Valsaraju
8e4c58054f Indicate index of device tree overlay applied for walleye
Test: vts-tradefed run vts -m VtsVerifyDTBOTest
Bug: 67779848
Change-Id: I223de147083f1d6822310a4ea0cc0ca5a6aa17ba
2018-01-23 17:10:40 -08:00
TreeHugger Robot
9fd79a4fd1 Merge "Cellular/Wifi power profile for Walleye" 2018-01-23 02:47:40 +00:00
Kumar Anand
0578d6262e wifi: enable Softap ACS and 11ac on walleye
Bug: 72228752
Bug: 72229084
Test: Wifi Regression Test
Change-Id: I2c5de1743f81b3bb8759a96731a0a27fd1957b4d
2018-01-22 15:10:51 -08:00
Marissa Wall
5ba00f6a26 power profile: Update power profile cpu values
Power profiles will now support active and cluster costs.
Some power profile values have been renamed per b/67752294.

Test: dump battery stats
Change-Id: Iebfc012fdd6db9801a427d6839165f3af873def2
2018-01-22 13:26:26 -08:00
Siddharth Ray
5120e70b2d Cellular/Wifi power profile for Walleye
BUG:67213967
Change-Id: I22e42e626e5cb366b9f114950c70f0ff4bf6613c
2018-01-17 18:10:54 -08:00
Michael Wright
f0c0a9bc21 Add display calibration info.
Also, move to a nits-based autobrightness curve.

Bug: 71706239
Test: Boot Walleye device, see we get a PhysicalBrightnessMapper in
      dumpsys display

Change-Id: I687e43680d5001a2aeefb06d1caabaefcfa0f658
2018-01-08 18:41:36 +00:00
Lucas Dupin
cea583160a Support seamless transition to AoD
Bug: 64155983
Test: set breakpoint and look at value
Change-Id: I2ee1eb645ea9c7c367c78a27245318d595110a82
2017-11-29 18:44:51 -05:00
Adrian Roos
53a7b6e1f5 Merge "walleye: use frontscrim to dim AOD in night light" into oc-dr1-dev 2017-08-04 09:40:26 +00:00
Adrian Roos
c8b3c9ae97 walleye: use frontscrim to dim AOD in night light
Bug: 63995944
Test: Use walleye in very dim light at night, observe AOD is sufficiently dim.
Change-Id: I79fe9eecd2490d3445f51658df4fb402db4854cd
2017-08-03 20:13:09 +02:00
Naveen Kalla
bf214cb93a Fix MMS UA profile and string
Bug: 64201313
Test: manual
Change-Id: I6041f7785bfdf99a666088b825409095dea6f784
2017-08-01 22:31:08 +00:00
Ecco Park
bfa5ca58b6 Walleye: enable SAR tx power control for wifi
Bug: 62437848

Change-Id: I913637318ff8a8afb77c74c24b89888226fbf976
Signed-off-by: Ecco Park <eccopark@google.com>
2017-07-31 08:10:44 +00:00
Marissa Wall
924d75cfd8 Power Profile: update walleye
Updating all power profiles using the same scripts. Previously,
every power profile was generated using different algorithims.
b/62389228

Test: Run a normal android workload and verify the app blame
  is reasonable

Change-Id: Ie519a8156c6670aaae7ca197db6127b2fe2caf6f
2017-07-27 10:47:36 -07:00
Michael Wright
72d349d02c Have Walleye use the new brightness curve.
Muskie got updated to the new machine learned autobrightness curve but
Walleye was missed. This corrects that oversight.

Test: manual
Fixes: 37802643
Change-Id: I64c01e19921c139ba7d027d8d8050185d2e51a5b
2017-06-28 17:14:24 +01:00
Patrick Tjin
99bf3a2cad Move system/vendor partition size variables to wahoo
Bug: 62445676
Test: OTA
Change-Id: Idf1e34ff399dc996e86803fa8b174789f88fc064
2017-06-19 14:59:48 -07:00
Adrian Roos
2a678647e6 Merge "Revert "Add config option for always on display availability."" 2017-05-25 17:48:54 +00:00
Adrian Roos
fd9268b55a Revert "Add config option for always on display availability."
This reverts commit 5920105381.

Moving the flag to wahoo to cover all devices.

Bug: 38354290
Change-Id: Ie400bfb143b3f09d21835b60c827f90c63b0537f
Test: manual
2017-05-24 21:12:18 +00:00
Joel Fernandes
411791f7a5 muskie, walleye: Add LISA related script path for storing LISA scripts
Bug: 38046504

Change-Id: I9bafcfc5d23f4914d0c6a8e993417a568cde4ce9
Signed-off-by: Joel Fernandes <joelaf@google.com>
2017-05-16 14:38:42 -07:00
Michael Wright
5920105381 Add config option for always on display availability.
By default it's false since always on display requires special tuning,
but we've done that for M / W so set it to true.

Test: manual
Change-Id: I6f061336062d6bb854c80cc7e792d57467ea9fa2
2017-05-10 21:46:59 +01:00