Commit graph

11 commits

Author SHA1 Message Date
Chris Paulo
59662424ec [DO NOT MERGE] 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

Bug: 198239103
Test: Verified tests and functionality
Change-Id: I93875c3c1e6128d275cb8007f8e8870a7842938a
Signed-off-by: Chris Paulo <chrispaulo@google.com>
2022-11-17 01:29:52 +00:00
Matt Buckley
73cd02795b Remove existing surfaceflinger uclamp boost configuration
Remove existing surfaceflinger uclamp settings to not interfere with
new adpf cpu hints for surfaceflinger

Bug: 195990840

Test: manual
Change-Id: I763f1baec65f0cad341074f461a086776f7a5f5d
2022-08-23 21:48:25 +00:00
Robin Peng
f5bc0892f7 init: remove twoshay HAL init trigger condition 'on late-init'
Bug: 238853979
Signed-off-by: Robin Peng <robinpeng@google.com>
Change-Id: I1546537d3e4ed4323cbcdc17382ed0eb3d06cc31
2022-07-20 12:48:04 +08:00
Mark Chang
a630affdd2 B3: Delay twoshay service start stage.
Bug: 225351394
Test: twoshay launched sucessfully in normal mode (P31817375).
Signed-off-by: Mark Chang <changmark@google.com>
Change-Id: If245204c8814df6f2c19abf6b3e5098483063128
2022-03-24 11:54:55 +00:00
Philip Quinn
0ccf1148bd Start twoshay after setting touch_offload permissions. am: 78fa2057ed am: af063cf14f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16743001

Change-Id: Id457818ecb73cbc47ae31241d961e78f94ef9fe8
2022-01-31 19:34:28 +00:00
Philip Quinn
78fa2057ed Start twoshay after setting touch_offload permissions.
On the current trigger, twoshay starts before it has permissions to
read the touch_offload devices and gives the following errors:

twoshay.twoshay_pipeline: Failed to open file with ret = -13
twoshay.twoshay_pipeline: Failed to open file with ret = -13

Bug: 216331251
Test: twoshay starts without the above errors
Change-Id: Iaad7600d3245174157ae01d8959f86bc79cb995e
Signed-off-by: Steve Pfetsch <spfetsch@google.com>
2022-01-29 00:49:16 +00:00
TreeHugger Robot
e0f7c4f271 Merge "conf: remove world writable on speaker.cal" into sc-v2-dev am: b491f183ff am: a072442ee0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16680851

Change-Id: Iddd8765c47c20a77a5a0ceb8c713024fa5cd41f4
2022-01-21 11:51:16 +00:00
vincenttew
611fc32f3d conf: remove world writable on speaker.cal
Bug: 215489377
Test: do re-calibration and check the speaker.cal is updated.
adb shell crus_sp_cal -d -s -a --device 5 --ambient 27 --num-speaker 2 --verbosity 7
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: I96020bd2cae54c117ddd364aaf292ade04770d05
2022-01-20 09:53:02 +00:00
Jack Wu
833f32f87c Set retaildemo settings
move the settings from init.gs101.rc

Bug: 204926279
Test: check demo mode functionality
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: I2d9838fb0760021cf5e181a2df6a940142f22580
2022-01-10 12:03:43 +08:00
Alex Hong
d0b00f62dd Set audio.camerasound.force for JP devices
Enable property by value of hw sku

Test: set to JP sku and check No camera sound option
Bug: 207720534
Change-Id: Ia40860e8cc81e85dde94aa0f4fa9395f45108aed
2021-12-01 22:27:30 +08:00
Robin Peng
aed7239a71 [DO NOT MERGE] Move bluejay source code into bluejay device folders
from: f44cabba6aef5b4a4a138d33448734a2f7d511ae

Bug: 206553389
Change-Id: I1bc1f02cf1f8d5e2d93a033737048930d7d3d062
2021-11-22 11:54:30 +08:00