Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qti-bt #8

Open
wants to merge 92 commits into
base: S
Choose a base branch
from
Open

Qti-bt #8

wants to merge 92 commits into from

Conversation

karthik1896
Copy link

No description provided.

Simao Gomes Viana and others added 30 commits June 9, 2022 08:49
Change-Id: I5db0598b3bf9b353fffa6493a42da43d02aa287a
rename the "tid" and "pid" variables that had the names inverted.

Change-Id: I920136bb9636fbf5ebb4adfd01f46eda4e39a7da
Add deep sleep ratio to "About Phone" -> "Uptime"
original from Stefan

Change-Id: I6949a66bae077b5132304448a7c8d7130665437a
This feature is intended for use in headless test environments,
where disabling drawing has minimal compatibility impact and can
save significant resource usage when running UI tests.

This feature is controlled via a new system property
'debug.hwui.drawing_enabled', and a HardwareRenderer API that can
override the property value on a per-process basis.

Bug: 201691826
Test: boot emulator
Merged-In: I93c21e680382e03342f235dbf58bd7a5c8a6f767
Change-Id: I391c841e3a0cdcfcc6c7910a316a4dd5e970547d
Properties::isDrawingEnabled can unexpectedly return true
even if the system property debug.hwui.drawing_enabled is false,
if its called before RenderThread is created.

This commit changes the underlying logic to lazy load the
debug.hwui.drawing_enabled prop value.

Bug: 201691826
Test: m
Change-Id: I599426c8734d418f073fd0456c2b1149fb69d80c
 * dynamic refresh rate devices keep switching display configuration
   for changing refresh rate and ends up spamming log way too much

[ghostrider-reborn]
- DisplayManagerService -> DisplayDeviceRepository in android 12

Test: adb logcat; confirm logs not visible
Change-Id: I57c19a0042083a86e86f2c210288904f6dc87e2c
Signed-off-by: Adithya R <[email protected]>
 - updated android head in launcher icons
 - USB notifications now use a USB icon instead of the
   platform logo (ADB still uses the platform logo however)

Fixes: 138661761
Test: attach to adb; confirm that one notification uses the
      Q and one the USB logo
Test: view system apps in Settings>Apps that have no proper icon

Change-Id: Ia11736c010b4862fea8d0e73c424cfc5c51badfa
during monkey test, sometimes in low memory status, the view will
be null when dispatching the touch event. Add null check to avoid
this crash.

Change-Id: I5b04cfbc6b1c5c46a1da7d1133d8a7e1b9af556f
Add a null pointer check to avoid crash while customizing quick settings
in systemui.

CRs-Fixed: 1094610
Change-Id: I03eaaaeeb8bbf7fbc91ca09eb16dd1ab559d2d6f
Reason: Trying to access remote device
object (mobjectdevice)which have been set to NULL before.

Fix:Avoid handling state changes for invalid devices(NULL)

CRs-Fixed: 2121814
PS2: Kill log spam
Change-Id: Ib6429bac9b72e933850e6a0f7f670f1f5b2313f8
Change-Id: Ifa58336abc264571ee307e3c2d69d3c294e2d8c3
Change-Id: I36bd0034f6a0d7e674e97152ac35ec1961718527
Fixes notch hide overlay on some devices

commit 5481d59996b34cda1cb6b680af7510fee7b53b42
Author: daniml3 <[email protected]>
Date:   Tue Mar 9 08:11:13 2021 +0100

    SystemUI: check if the cutout views array is null before using it

    Signed-off-by: daniml3 <[email protected]>
    Change-Id: I1316c61280dadc30a86f2ae72559437a61dd4616

Co-authored-by: daniml3 <[email protected]>
Change-Id: I5a049099ab375833f1e5ebbda49dc36c3c0b0a68
https://katb.in/kat9848

I'm not 100% sure, but I believe that this was the reason for a SystemUI hang,
which was responsible for the fact that the screen could not be switched on
for several seconds and just remained black.
@jhenrique09 edits: Adapt to PE

original commit: https://gerrit.omnirom.org/#/c/27327/

Change-Id: I3a05ca554927dacff7e10d901de5947569a08d07
Signed-off-by: SagarMakhar <[email protected]>
Signed-off-by: Joey Huab <[email protected]>
SystemUI may crash sometimes in monkey test due to exception.

Catch the exception to avoid the crash.

Change-Id: I548be5c6465f3c7a81c33d1cfa9b30e7269fd86d
[alibei] Adapted to 12L
[SparXFusion] Adapted to S

Signed-off-by: Jyotiraditya Panda <[email protected]>
Signed-off-by: SparXFusion <[email protected]>
Signed-off-by: ad1tyas1ngh <[email protected]>
Signed-off-by: alibei <[email protected]>
Change-Id: I719cd895a5225cadd6120980665754d63cb98687
Signed-off-by: Joey Huab <[email protected]>
Change-Id: I1ced2943df0986bcfc0f44d2847e50e393101e82
Signed-off-by: Chet Kener <[email protected]>
Signed-off-by: spezi77 <[email protected]>
Signed-off-by: Joey Huab <[email protected]>
* These unguarded logs spam like hell when non-conversation notifications are posted (like download notifications for example)

Signed-off-by: jhonboy121 <[email protected]>
Signed-off-by: HeroBuxx <[email protected]>
Change-Id: I8c83e0afe3ea46c0a800b5edbc29a1e1c87dc31a
biggest step taken, kills remaining 0.1% of germs completely.
it's true tho.

Change-Id: I26da2afc4d77749c735492345e5228899e79a2e4
Signed-off-by: Adithya R <[email protected]>
Reviewed-on: https://review.statixos.com/c/android_frameworks_base/+/7835
Reviewed-by: Sourajit Karmakar <[email protected]>
Tested-by: Sourajit Karmakar <[email protected]>
Fixes: 202297616
Bug: 216358554
Test: manual
Change-Id: Ibd2edd9a6dbe7f66d990a276fcfb6cec8445086d
(cherry picked from commit c8024fc)
Signed-off-by: Pranav Vashi <[email protected]>
This reverts commit 38d8124a724cb75afca0d91a215cefae7180d544.

Change-Id: I9319b788bf38a26f9ae152a623ca9e9fb39d1df1
Breaks touch timer for refresh rate in surfaceflinger.

This reverts commit 8ded339b1970e62b4b83bf0a0d89464a408a849b.

Change-Id: Ia8302b97ffa58f78e1cfa52271d6d8595056716e
This is necessary for reliably theming the global actions dialog with
dynamic colors and adapting it to light/dark themes.

Demo screenshots (with color overlays applied):
https://twitter.com/kdrag0n/status/1445960685427433473

[kdrag0n: ported to 12L]

Change-Id: If58fb4079a4cd11414ff928fad3576beecb14ff5
Reviewed-on: https://review.statixos.com/c/android_frameworks_base/+/7747
Reviewed-by: Anay Wadhera <[email protected]>
Tested-by: Anay Wadhera <[email protected]>
* Previously, when there is ongoing location indicator visible and if it is
  toggled off, it get stucks permanently in statusbar and quick statusbar.
  This patch fixes it.

Signed-off-by: Pranav Vashi <[email protected]>
Change-Id: Icf41de1c9f137e943dde8c09eb844ae9815a7bfd
Reviewed-on: https://review.statixos.com/c/android_frameworks_base/+/7741
Reviewed-by: Anay Wadhera <[email protected]>
Tested-by: Anay Wadhera <[email protected]>
As we're spoofing builds by pretending it to be user, let's just do this
for everyone.

Signed-off-by: Albert I <[email protected]>
Change-Id: I5d967c25bd9c4890549d5d20f5e66b0c6845528c
Signed-off-by: DennySPb <[email protected]>
Signed-off-by: Joey Huab <[email protected]>
Signed-off-by: dlwlrma123 <[email protected]>
Reviewed-on: https://review.statixos.com/c/android_frameworks_base/+/7726
Reviewed-by: Daniel Jacob Chittoor <[email protected]>
Reviewed-by: Sourajit Karmakar <[email protected]>
Tested-by: Sourajit Karmakar <[email protected]>
Clicking on the "cast" icon of an app using the MediaProjection API will
crash as the code assume that it is a device.

java.lang.ClassCastException: android.media.projection.MediaProjectionInfo cannot be cast to android.media.MediaRouter$RouteInfo
	at com.android.systemui.statusbar.policy.CastControllerImpl.startCasting(CastControllerImpl.java:177)
	at com.android.systemui.qs.tiles.CastTile$CastDetailAdapter.onDetailItemClick(CastTile.java:237)
	at com.android.systemui.qs.QSDetailItems$1.onClick(QSDetailItems.java:177)
	at android.view.View.performClick(View.java:4756)
	at android.view.View$PerformClick.run(View.java:19749)
	at android.os.Handler.handleCallback(Handler.java:739)
	at android.os.Handler.dispatchMessage(Handler.java:95)
	at android.os.Looper.loop(Looper.java:135)
	at android.app.ActivityThread.main(ActivityThread.java:5221)
	at java.lang.reflect.Method.invoke(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:372)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)

Change-Id: Icfdf745c03da7bd1bbb228e06005f55324c1b8fa
Reviewed-on: https://review.statixos.com/c/android_frameworks_base/+/6189
Reviewed-by: Sourajit Karmakar <[email protected]>
Tested-by: Sourajit Karmakar <[email protected]>
Reviewed-on: https://review.statixos.com/c/android_frameworks_base/+/7213
Reviewed-by: Anay Wadhera <[email protected]>
Tested-by: Anay Wadhera <[email protected]>
Zhou Song and others added 29 commits June 9, 2022 16:56
When disconnecting BT device, BT device state machine may be
destroyed and cause query of codec failed.
This can make device disconnection failed in low layer audio
service.

CRs-Fixed: 2604724
Change-Id: I970802310eae0b5b43340aaddb312906e1a4c444
- Disconnecting and clearing Bluetooth Profiles during
  Turning Off State doesn't give chance to A2DP/AVRCP
  profiles to save and retain Audio related data like
  Volume level.
- This change ensures Audio Service only disconnect
  Bluetooth Profile on receiving Bluetooth Off state.

Change-Id: Ie99cb2b35b9ddc7e4f0d0f89407cda9641379fb8
CRs-Fixed: 2512169
Add callback onA2dpCodecConfigChanged for
intent BluetoothA2dp.ACTION_CODEC_CONFIG_CHANGED.

Change-Id: I4d19f0427c2f68dfd01a241eb631c6782d948395
CRs-Fixed: 2735935
Add APTX-Adaptive and APTX-TWS+ entires to bluetooth a2dp
codec summaries w.r.t major languages.

CRs-Fixed: 2778223
Change-Id: Ia8ce5099a4247cf2e84978e9cfb2ee18864a71d7
Add support for lc3 codec.

CRs-Fixed: 2789473
Change-Id: Ica900e6546642e8c945170645f129e3a83301ddd
- Add LC3 codec type
- Add additional sample rate and channel mode

CRs-Fixed: 2789473

Change-Id: I13d0c6944a12422c13e2069697817c0f26330179
This change contains below implementations
- BluetoothDeviceGroup profile proxy object implementation.
- GroupClientProfile as LocalBluetoothProfile.
- Group Callbacks to be given to registered application.

CRs-Fixed: 2826578
Change-Id: I0a8186e800e9d2701319db1adc97bdcf0441cc12
Add system APIS to support Group UI

CRs-Fixed: 2829452
Change-Id: Id7de6e48f3c8be05be0af172055c35cab322e5fe
This change contains implementation of overloaded API's
to get device details based on public address.
Note: API's are hidden and should be used only from
      settingslibs LocalBluetoothProfile.

CRs-Fixed: 2826578
Change-Id: I9b1f08f4bd5eee8fd66fc032745d3ec5b56e7c2f
 - In BLE on use case, quiet mode status is not updated to
   Adapter service which results in not initiating auto
   connection of hfp & a2dp though quiet mode is disabled
   for next turn On.

 - Added new API to update quiet mode status in Adapter
   service.

CRs-Fixed: 2337538
Change-Id: I49a604b7996024fd9fd498fb7cc6aafc208517a5
This adds attribution source as a parameter to Value added APIS.

Update Bluetooth API annotations.

CRs-Fixed: 3044065
Change-Id: Icf9c0242f928ce2f26f66350ddb3937fda35220d
CRs-fixed: 2814447
Change-Id: Ic77e8ddbe57e415f7fd9c11943da50e4d86230d2
This reverts commit 6e7b6cffb26610a7335e8e9c6b6451bd03468630.

CRs-Fixed: 2914887
Change-Id: Ic1cf1a81bba8f0f54a5dc404cfe5fec0bcc850cd
To avoid any future CTS failures, need to align our QC
codec enumeration with AOSP. On top of that enumeraion
extaned to QVA codecs.

CRs-Fixed: 2708798
Change-Id: Idc8dbcdc6454586031ce7431f52a2c031cfd1871
Add broadcast profile to BluetoothProfile

CRs-fixed: 2856233
Change-Id: I17a4eb21ea9cc74a28349a8e0883ed2249838f3c
Add  BC profile entry and override constructor for CachedBluetoothDevice

CRs-fixed: 2853618

Change-Id: I750139a482280ce3409989582ffad50aed20e081
CRs-fixed: 2856233
Change-Id: I04ecf35e9f6d8e778b3e8f90e8f1ab0cd34eeb9b
Add system APIS to support Group UI
Add AUDIO MCOD related flags
Add new icon for Group supported Adv Audio device

CRs-Fixed: 2832643
Change-Id: Iab3b23115fb7b9917faed3cbb30f32538824e7db
This change contains below implementations:
- Bluetooth VCP profile proxy object implementation.
- VcpProfile implementation in SettingsLib
- VCP Refactor changes in framework and settingsLib

CRs-fixed: 2857030
Change-Id: If7c607d51c92e4215a1bef58dab77a7479131a31
- This adds attribution source as a parameter to Value
  added APIS, matching aidl changes also made in this topic.

- This is now required to allow the app ops for the new
  bluetooth permissions (BLUETOOTH_CONNECT,
  BLUETOOTH_ADVERTISE, and BLUETOOTH_SCAN) to be noted.

- Update Bluetooth API annotations.

- Add missing permission checkes for binder APIS.

Change-Id: I20cbc69fbfe86b510dfc6d6335de31072191b491
CRs-Fixed: 3046326
- Add APIs to dynamically switch between BREDR and
  LE profiles for call and media Audio
- These APIs are introduced as SDK APIs which can
  be called from external apps like Settings

Change-Id: Iafb514fcf833ccd77ba300f60277ac30eae89943
CRs-Fixed: 3072404
Define Headset state when SCO audio is disconnecting.

CRs-Fixed: 2634664
Change-Id: Ie1200d4e9ce0b38ba71bd43c76e50720cb1ddc3f
Override the constructor to send addresstype as part
of Scan results.
These addresstype information will be sent only to previleged
applications

CRs-fixed: 2834981

Change-Id: I47acaf1fcc1cfdd35aa9fe2b913f588cfc51cc70
This change contains
- API's to do filtered scan based on Group AD Type.
- Extract Group identifier data from ScanRecord.

CRs-Fixed: 2826578
Change-Id: I75982a1acf982c03234d9e1084aee287d3d3623d
- Add Profile entry for MCP Service

CRs-Fixed: 3033146
Change-Id: I7f89b6ab2c84f8681d953c0f5c65750946962fc3
CRs-Fixed: 3043842

Change-Id: I70f3c109140bf9634e2d0a293a323cae3c9cd476
Observed disconnect of A2DP is coming in and
scheduled with delay of 500msecs as non supress intent
and around same time connect is coming where it founds
device is already connected and triggers device config
change intent. And after timeout,scheduled disconnect
event gets triggered and removes A2DP device causing
music to route to speaker

Fix is to remove scheduled events when recent event
comes

CRs-Fixed: 2974286
Change-Id: I625226269474a4f4b122275bcaa5dddc19cfeaad
During disconnecting both a2dp output and input device, same
device is passed to handler but with different profile, to
avoid removing existing event in the handler, check the a2dp
profile as well.

CRs-Fixed: 2943846
Change-Id: I9d0eced33d57c46d6e49a74e958c488f3a07249c
* Fixes a2dp offload on devices not using QTI BT stack.

Change-Id: I5044d02f8be74bbf050b16083e753bd392dac0a6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.