106 Commits

Author SHA1 Message Date
Signed-off-by: Pranav Vashi
34c993db15 taimen: Link dolby blobs with v33 libstagefright_foundation
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2024-07-08 16:37:21 +08:00
Asriadi Rahim
e2f7d97e5c taimen: Define fstab.hardware
* Since walleye and taimen require repartitioning
so the definition of the system_ext is also different, we need different fstab adjustments,
on the other hand this is necessary because we are no longer mounting from the kernel side.
* Switch to eucalyptus kernel

Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2024-06-08 21:34:49 +08:00
Lunarixus
a8e383cc6a taimen: Remove annoying overriding overlays warning
Signed-off-by: Lunarixus <Nathan@lunarixus.dev>
2024-06-08 21:34:00 +08:00
Bruno Martins
0544d7a5a5 taimen: Use libhidlbase-v32 for select Android P blobs
To workaround the removal of gBn/sConstructorMap from libhidl just for
the blobs that call _ZN7android8hardware7details17gBnConstructorMapE
and/or _ZN7android8hardware7details17gBsConstructorMapE.

Change-Id: I2376734cefb9d63775bd4e82feca9c588cd191ac
2024-06-08 21:33:21 +08:00
LuK1337
75d2d11d35 taimen: Use libutils-v33 for pm-service
Change-Id: Ia998fa72d8747de18010abe6491d2c374cb7aa0a
2024-06-08 21:33:21 +08:00
Erfan Abdi
35391e232c taimen: ibshims: Add shim for camera blobs
Signed-off-by: Jarl-Penguin <jarlpenguin@outlook.com>
Change-Id: I5e622e68422f5c4da13c0752a7eb3f4b20ddae49
2024-06-08 21:33:21 +08:00
Ethan Chen
f38c485b90 taimen: Disable userdebug diagnostics
Change-Id: I31df2090b31243b742c4e82dc08cd8491dada54f
2024-06-08 21:19:46 +08:00
Jiyong Park
4744ee6eb6 Remove unnecessary sysprop settings
These debuf.sf.early_* properties have been inactive because they are
all eclipsed by the settings in wahoo/device.mk. Specifically,

// wahoo/device.mk
PRODUCT_PROPERTY_OVERRIDES := a=10

// taimen/device.mk
include wahoo/device.mk
PRODUCT_PROPERTY_OVERRIDES += a=20

With above, PRODUCT_PROPERTY_OVERRIDES becomes "a=10 a=20" and the build
system has chosen "a=10" via the uniq-pairs-by-first-component macro.
This was  because PRODUCT_* lists were designed with an assumption that
those mk files are inherited (without being included) in which case the
values from more specific *.mk file are 'prepended' (not appaended).

Since the settings in taimen/device.mk has been obsolete, let's remove
them. This problem was actually found with
I9c073a21c8257987cf2378012cadaeeeb698a4fb where duplicated sysprop
assignments are prohibited, which is an attempt to make the sysprop
settings be agnostic to the confusing ordering behavior imposed by the
product inheritance mechanism.

Bug: 117892318
Bug: 158735147
Test: m

Exempt-From-Owner-Approval: cherry-pick master

Merged-In: I6d1dd46edba0ad69586791935fca0da484ef2746
(cherry picked from commit 695f1fbe29f2ea08ed3a5cefb0fa487bea9144f4)
Change-Id: I6d1dd46edba0ad69586791935fca0da484ef2746
2020-06-30 14:29:29 +09:00
Ken Chen
ac8a09f798 Revert "[DO NOT MERGE] Remove ASSIST_GESTURE action from deferre..."
Revert "[DO NOT MERGE] Remove ASSIST_GESTURE action from deferre..."

Revert submission 11818631-deferred_medium_priority_actions

Reason for revert: <investigate b/159568565>
Reverted Changes:
Id1d6d67f6:[DO NOT MERGE] Remove ASSIST_GESTURE action from d...
I9bc31a200:[DO NOT MERGE] Remove ASSIST_GESTURE action from d...
I9b033a06e:[DO NOT MERGE] Remove ASSIST_GESTURE action from d...
I1633e191c:[DO NOT MERGE] Remove ASSIST_GESTURE action from d...
I56d8f9e5d:[DO NOT MERGE] Remove ASSIST_GESTURE action from d...
I086d2d9a5:[DO NOT MERGE] Remove ASSIST_GESTURE action from d...
Ibc6e15d29:[DO NOT MERGE] Remove ASSIST_GESTURE action from d...
I086d2d9a5:[DO NOT MERGE] Remove ASSIST_GESTURE action from d...

Change-Id: I0d174786308589a8bd6eaa0453b8614008b509d9
2020-06-22 01:39:14 +00:00
Cyril Lee
7cf1a9368a [DO NOT MERGE] Remove ASSIST_GESTURE action from deferred_medium_priority_actions resource
We plan to disable active edge from P20 project. Since the
deferred_medium_priority_actions contains ASSIST_GESTURE action and
it will be the showing deferred setup condition. So we add a new
PixelSetupWizardOverlayActiveEdge RRO package to enable this action from
deferred_medium_priority_actions for P19 and older project.

go/suw-disable-activie-edge

Bug: 158540758
Test: manual test
Change-Id: I9b033a06e04ea6c97003d972058e0c7b0349d6c9
2020-06-16 12:10:15 +00:00
Daniel Bright
778dbec241 Rollback telephony-resources
Bug: 149776042
Test: TeleServiceTests
Change-Id: I7aef8c4ac8a9c9d8c20cdc05765f7e96c1c7b1ca
2020-02-26 01:13:53 +00:00
Daniel Bright
d759c54d53 Moved telephony overlays for Walleye and Taimen
Moved vendor overlays for Walleye and Taimen to device
to support backwards compatability.

Bug: 148390250
Test: Built walleye
Test: Built taimen
Change-Id: I594ffac6ea600c70ce24c6821e57e8fcc6895a75
2020-02-08 13:25:12 -08:00
Lalit Maganti
dc21e9b22e taimen: enable Perfetto by default
Change-Id: Ib1ec0f99146257273ee601979a6e4543582b5e51
Context: go/perfetto-by-default
Bug: 137963570
Test: checking product/build.prop in Treehugger builds
2019-12-05 13:37:21 +00:00
Tianjie Xu
473d4e0316 Import the soong namespace hardware/google/pixel
So we can use the libmisc_writer under pixel.

Bug: 131775112
Test: build
Change-Id: Ia28c0d01e4a32c489cc0f3b2cce6ce1eccefe3a3
2019-11-18 15:18:06 -08:00
Bowgo Tsai
a78276f77d Revert "Adding GSI keys"
This reverts commit f8c6fee371.
Taimen has no first-stage ramdisk and there is no need to install
GSI keys there.

Bug: 140873290
Test: tree hugger
Change-Id: I0b4bfdcc32718824ff5acb2b0263d7fe8aa2df63
2019-09-12 13:28:46 +08:00
Martin Liu
678d0e2d7a PowerHal: taimen: Support VR reload thermal config
Test: boot
Bug: 129495482
Change-Id: I0ed23026c339245bdacdfdc56ca8f5b9930efd0b
2019-05-08 11:27:01 +08:00
Wei Wang
24e6f134c7 Revert "PowerHal: taimen: Support VR reload thermal config"
This reverts commit ea0b2be401.

Reason for revert: b/132193648

Change-Id: I0fe51a49781a7d2edd9ce13ef78c693b2c2b8472
2019-05-07 22:04:27 +00:00
Martin Liu
ea0b2be401 PowerHal: taimen: Support VR reload thermal config
Test: boot
Bug: 129495482
Change-Id: I9c706ebf63eb59bd1559ee902f7c719c14454b16
2019-05-07 12:01:09 +08:00
Bowgo Tsai
f8c6fee371 Adding GSI keys
Bug:112293933
Test: tree hugger
Change-Id: I112ece91566e6cea066cd637bfed5cae6761ae66
2019-04-08 18:27:02 +08:00
Florian Mayer
5c74b9220c Revert "Enable heapprofd." am: d1f6bd8a1d am: 46fc14bb07
am: 47432f08d3

Change-Id: I7d9c89de99182a4aa80893fe32adb12f6c3c4aff
2019-04-03 10:01:14 -07:00
Florian Mayer
d1f6bd8a1d Revert "Enable heapprofd."
This reverts commit 0aeed41118.

Reason for revert: heapprofd is now dynamically spawned

Bug: 126724929

Change-Id: Id2d26f8519aff486526512d76cf0c4b28b8677df
2019-04-03 15:35:12 +00:00
Lucas Dupin
162fdc8b2a Taimen offsets for GPU composition
Window animations now have rounded corners, meaning that
the shader that we use is more expensive than it used to be.

Because of this, we need to adjust the SF offsets, to make sure
that we'll have enough time to finish the GPU composition without
dropping frames.

Fixes: 122347746
Test: systrace
Change-Id: I81ff31344b5cae2d177fc94c0f649e3aabf73789
2019-03-18 17:48:49 +00:00
Florian Mayer
6a666119d8 Enable heapprofd. am: 0aeed41118 am: 80b2e23252
am: 24af3130c3

Change-Id: I74acac5b6e1606769d6596699544a3c18467c934
2019-01-21 05:22:38 -08:00
Florian Mayer
0aeed41118 Enable heapprofd.
Bug: 123075129

Change-Id: Ie5eb2aa5be6107fb72ff8f5f445cff6480242359
2019-01-18 17:55:38 +00:00
Vincent Palomares
e8ba1ac975 Upgrading Taimen's thermal HAL version to 2.0.
Also increasing thermal-engine skin shutdown threshold to let the framework
shutdown gracefully (see b/119221890).

Bug: 118689758
Test: adb shell dumpsys hardware_properties
      adb shell su 0 lshal debug android.hardware.thermal@2.0::IThermal/default
      pts -m PtsThermalHalTestCases
      vts -m VtsHalThermalV1_0Target
      vts -m VtsHalThermalV2_0Target
Change-Id: I3614e66df05844a048fb3f387c8fa0c9e0e67a68
Signed-off-by: Vincent Palomares <paillon@google.com>
2018-12-10 11:20:57 -08:00
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
Jorim Jaggi
4ebc44ed8f 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
2018-06-21 12:18:52 +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