Commit graph

31 commits

Author SHA1 Message Date
Kris Chen
4985b917cf Remove the redundant g7 ta loading in init.xxx.rc
Bug: 264646112
Test: fingerprint works fine after device reboot
Change-Id: Ic91d6290d8215bf9f4239c520bd609f27312c7a3
2023-02-21 15:39:33 +08:00
Hsiu-Chang Chen
dcce974e8d wlan: add cnss-daemon and related libraries am: ba673b1507 am: 0199f8c576
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/21264701

Change-Id: I5ba5817515679164d39e94e03a9650cc55d60e9c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15 10:08:06 +00:00
Hsiu-Chang Chen
ba673b1507 wlan: add cnss-daemon and related libraries
cnss-daemon is necessary for CHRE function

Bug: 264524963
Test: Regression Test
Change-Id: I7ec2ea8d0e3bafce7f570ce7d32051d7f677442e
2023-02-15 08:49:35 +00:00
Chris Paulo
3d6c47ad63 device/lynx: Change to use common vibrator HAL
Use common vibrator hal in hardware/google/pixel instead of
device/google/lynx.  This will use the common vibrator hal from now on
to support the adaptive haptics feature

Bug: 198239103
Test: Verified on device
Change-Id: I5d044a6ac6f87931e3b024948ed028c92c58f294
Signed-off-by: Chris Paulo <chrispaulo@google.com>
2023-02-15 07:30:06 +00:00
Tai Kuo
298a0c26e8 conf: setup vibrator permission and init cs40l26 HAL
Move from hardware/google/pixel/vibrator/cs40l26/

Bug: 264625320
Test: HAL init properly.
Change-Id: I35cc8a837e05c3871d1a9f460a236109598b612f
2023-02-04 05:16:58 +00:00
Kris Chen
3c9c7fceba Set /dev/goodix_fp permission on early-boot
Bug: 264497933
Test: Passed PtsFingerprintTest#udfpsHalStateCheck.
Change-Id: I1e48a3532e12e9c90c519ac4feb9b9ef361786f8
2023-02-02 03:02:36 +00:00
Chris Paulo
76ce4eb07a device/vibrator: Add contextual haptics feature am: 0db068b63c am: 6f3f6dc2b0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/20360548

Change-Id: I17148d10824de1507043308ba9b63dcb77b77678
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-16 21:20:52 +00:00
Chris Paulo
0db068b63c device/vibrator: Add contextual haptics feature
Add capability for vibrator HAL to detect whether the device is face-up
and adjust/scale haptic alerts to avoid loud and startling buzzing when
there is no case on the device. Added global compile-time disable that
can be set in the environment.

Bug: 198239103
Test: Verified tests and functionality
Change-Id: I6b2355acb7fa5e0323b8eca6327bb19ac42a2c56
Signed-off-by: Chris Paulo <chrispaulo@google.com>
2022-11-16 20:19:54 +00:00
Kyle Lin
61bc0f02be set dalvik.vm.dexopt.thermal-cutoff to 1 am: d181c82406 am: 1271f592f4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/20379392

Change-Id: Ibed9399a2cc27cefaa9b6512d6f86aa7313c3f45
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-07 14:37:21 +00:00
Kyle Lin
d181c82406 set dalvik.vm.dexopt.thermal-cutoff to 1
Bug: 256753117
Test: build and getprop
Change-Id: I61a25a103a9d7b8bb4f8a310d1802920ea1234c8
2022-11-07 12:52:53 +00:00
Kyle Lin
12851318d3 init: relax background cpuset to all LC am: 9a32da8563 am: 9175a59acb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/20189050

Change-Id: I7c0186649fa289cd7c84739afa33377b421b7c0a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-14 11:24:35 +00:00
Kyle Lin
9a32da8563 init: relax background cpuset to all LC
Bug: 253522264
Test: build, boot and check cpuset
Change-Id: I9a397628769a039e111e7ed1b1063f9b9bfaae2c
2022-10-14 15:49:18 +08:00
Cyan_Hsieh
c7dc399036 Set audio.camerasound.force for JP devices am: d6f8a94b6d am: 70672019d6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/20075567

Change-Id: Iee918f7d5ef7a235f1fd2a89422968fe252d439e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-03 04:11:39 +00:00
Cyan_Hsieh
d6f8a94b6d Set audio.camerasound.force for JP devices
Test: set to JP sku and check No camera sound option
Bug: 247935640
Change-Id: I08f6e9c187a47be289ef8a5e24b6724c353a680d
2022-10-03 03:11:08 +00:00
Victor Hsu
7920a90c6d wifi: Write fs_ready at eariler time am: cd57763357 am: c484460f58
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19827109

Change-Id: If5f9fd9755c133aff15c77910f7b5a9eb0952e06
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-14 14:15:25 +00:00
Victor Hsu
cd57763357 wifi: Write fs_ready at eariler time
wifi framework try to enable wifi before sys.boot_completed
after factory reset. It causes fs_ready never to be written.
Move the timing of fs_ready to be written when all modules ready.

Bug: 244411535
Bug: 243876449
Test: reboot stress and factory reset stress test are passed.
Change-Id: I1cac269ec6ed6eee5f34e72186c566c8cddd4925
2022-09-14 13:19:40 +00:00
Adam Shih
f3cb49fe20 use gs-common insert module script
Bug: 243763292
Test: boot to home
Change-Id: I34f7a54974a48df29bb341ea65ea57639f2cf9f6
2022-09-07 23:00:45 +00:00
Jason Chiu
e3b75f29cd Revert "wifi: Move driver initialization to an eariler time"
This reverts commit a011c11f37.

Reason for revert: it introduces b/243876449

Bug: 243876449
Change-Id: Ifc798f4bc237dd51921b22eb59b706f38d9edcea
2022-08-31 09:50:39 +00:00
jimmyshiu
b031889746 Enable ADPF CPU hints for SF
Allow these devices to send CPU hints to PowerHAL from SF to reduce
drops and save power.

Bug: b/241152899
Bug: b/195990840

Test: https://android-build.googleplex.com/builds/abtd/run/L70800000956157278
Change-Id: I81df99f4ec01f417d1589e2323de599819993590
(Port from commit 8a419466b86ab07a25fc18d7d6a2a9ee154f6839)
2022-08-29 12:23:04 +00:00
Hsiu-Chang Chen
a011c11f37 wifi: Move driver initialization to an eariler time
sys.boot_completed may take more time to be set in the first
boot after factory reset. It will cause wifi framework try
to enable wifi before driver ready. Move the timing of driver
initialization forward to all modules ready.

Bug: 242681939
Bug: 240889310
Test: wifi enables after booting
Change-Id: I97d742ffe9723d2fc09f370f3d98dfdc4413af61
2022-08-24 08:56:30 +00:00
Wendly Li
e61c8498e6 touch: change touch sysfs node ownership for dumpstate
Bug: 214118904
Test: adb bugreport
Change-Id: Ia0e133e86b11421e7b97aaea4e551f8a2fd6933f
Signed-off-by: Wendly Li <wendlyli@google.com>
2022-08-19 08:23:35 +00:00
George Chang
ffc1fc5c5b Enable eSE2 and ctsmode settings
turn on st33spi when persist.vendor.se.ese2.mode is set to ctsmode

Bug: 239657021
Bug: 239655807
Test: VtsHalSecureElementV1_2TargetTest,
      VtsHalSecureElementV1_1TargetTest,
      VtsHalSecureElementV1_0TargetTest,
      CtsOmapiTestCases
Change-Id: Ifd96d96068f49d85879efdd3d11a7067f71ee907
2022-07-21 06:07:00 +00:00
Robin Peng
2d51ed1ffd init: remove twoshay HAL init trigger condition 'on late-init'
Bug: 238853979
Signed-off-by: Robin Peng <robinpeng@google.com>
Change-Id: I60ce38f2b4ae4e27c14a9fe8ede5f762c06fa22f
2022-07-20 12:48:36 +08:00
Mark Chang
517e7c4be2 L10: Start twoshay service on boot.
Bug: 214118928
Test: Verified twoshay successfully launched on boot.

Signed-off-by: Mark Chang <changmark@google.com>
Change-Id: I946f89058aae8ea522a5ca7e228b9aaf76fd4708
2022-07-12 02:13:15 +00:00
Wendly Li
65f8ae9d06 L10: support touch sensitivity mode switching
Write the sysfs node to set touch sensitivity mode when the property
changes.

Bug: 199104397
Test: toggle the touch sensitivity button in Settings and check log.
Change-Id: Ib64277c807e7c45f8542a6d6c355de4ec53c1a33
Signed-off-by: Wendly Li <wendlyli@google.com>
2022-07-06 03:09:43 +00:00
Lily Lin
97ef10a1aa Enable read/write access to st33spi_state for euiccpixel_app
Bug: 231522746
Test: Confirm L10 can read/write st33spi_state
Change-Id: Ib3cd744dd9c829ea8113e52b0befee77eed8567c
2022-06-15 03:44:36 +00:00
David Chao
828c32a88d Revert "thermal: disable SKIN thermal throttling"
This reverts commit bf8693dd6d.

Reason for revert: re-enable thermal throttling protection with the
virtual sensor formula.

Bug: 231404311
Test: thermal throttling worked properly.
Change-Id: I99020b5b30a6a9ada0f51974161d262b9d37667c
2022-06-09 03:17:57 +00:00
Jason Chiu
bf8693dd6d thermal: disable SKIN thermal throttling
Bug: 229957835
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
Change-Id: I0b833cd55f81b58272a95747c852707f5d6715c1
2022-04-21 20:03:27 +08:00
Hsiu-Chang Chen
dfaab2520c wifi: Add LOWI tools LOWI-9.0.0.99
Add service loc_launcher which is used to launcher lowi-server.
Create directories for LOWI tools.

Bug: 210768643
Test: loc_launcher and lowi-server start automatically
Change-Id: I29bd7580497b150e343d23d5476433de8d4f223e
2022-03-16 06:12:22 +00:00
Hsiu-Chang Chen
deb8aa2b2e Wifi: Write sysfs fs_ready 1 in init rc
When boot complete, write fs_ready 1 to notify cnss2.
Note fs_ready must not be written too early, otherwise
it will not download firmware successfully.

Bug: 202809487
Test: Build pass
Change-Id: I990257d168550e512ae94287ca79095201b16e2b
2021-12-09 14:27:44 +08:00
Cyan_Hsieh
2aa4ba2268 Add device lynx
based on panther 0e0ae4dd4045e00dd50826d5c411351d47949d92
No-Typo-Check: based on above commit

Bug: 202250383
Change-Id: I7dbcba9fc0644cf8e547c59b14a544701adc484b
2021-10-29 16:55:09 +08:00