660080 Commits

Author SHA1 Message Date
Kalesh Singh
0b7c1774ba Fix GL memory not being removed from lost RAM
Devices upgrading to S are not required to update their memtrack HAL
implementation and won't support reporting the total GPU private memory.

In these cases it's likely the HAL reports 0 for the total GPU private
memory, since in S the HAL defition only overloads the already existing
getMemory() API to report this.

Return an error value in these cases to prevent swapping the sum of GL
type memory for all processes with the total GPU private memory when not
supported as doing this effectively leaves the GL memory as part of
lost RAM.

Bug: 203245390
Test: dumpsys meminfo
Change-Id: I478143e435b047bf349bd4ec6808707a5db1505b
2021-11-23 12:02:02 -08:00
Henry Fang
e1215118ac Merge "Fix permission error of binding to TvInputService" 2021-11-23 19:46:10 +00:00
Alice Kuo
2b008972b8 Merge "As airplane mode turn on, keep BT on if LE audio profile connected" am: f393f17f55
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1899075

Change-Id: Id5092286703bf52300e33ae45e6d154d630ebc9f
2021-11-23 17:33:33 +00:00
Alice Kuo
f393f17f55 Merge "As airplane mode turn on, keep BT on if LE audio profile connected" 2021-11-23 17:15:41 +00:00
Alice Kuo
4021e9e54f As airplane mode turn on, keep BT on if LE audio profile connected
Bug: 207464971
Test: w/o LE audio device, and turn on/off airplane mode
Change-Id: I1865c5ff7e8c04a4188dc7c379223e48c8b29ad9
2021-11-23 20:47:27 +08:00
Chienyuan
40fc88e625 Print anonymized address when new device found
Bug: 206676415
Test: manual
Change-Id: I2af0ed4645fbae621431ac709df3b1e6d540f271
2021-11-23 20:26:48 +08:00
Jack Yu
a7eb5e649c Fix work profile applications do not receive event transaction data
Extend the API to be able to check NFC event permission based on userId.
Update API naming.

Bug: 192994529
Bug: 201235792
Test: manually with CtsVerifier
Change-Id: I5dbf3af6f10063f47cf570ba3148d0ef9eb7a4e1
2021-11-23 08:05:56 +00:00
Jack Yu
8989606294 Merge changes from topic "OMAPI_VNTF" am: f7a480d824
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1891499

Change-Id: Ieb8adfa4edf57bfcb3e0037bc523c928b4e9ce48
2021-11-23 05:13:56 +00:00
Rajesh Nyamagoud
591620fe70 VTS tests added for OMAPI Vendor stable interface am: 7cdc437fca
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1826692

Change-Id: Ia120e99e610668d5b381aaa5b43766ff349c1b98
2021-11-23 05:13:54 +00:00
Rajesh Nyamagoud
611e7da7ae Support for OMAPI Vendor stable interface am: 4fe64fb471
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1826552

Change-Id: Id6050e4686e15a0f65424069415397e6b39292c0
2021-11-23 05:13:42 +00:00
Jack Yu
f7a480d824 Merge changes from topic "OMAPI_VNTF"
* changes:
  replaced android.se.omapi-V1-ndk_platform library with android.se.omapi-V1-ndk
  VTS tests added for OMAPI Vendor stable interface
  Support for OMAPI Vendor stable interface
2021-11-23 04:54:02 +00:00
Jack Yu
fc5e4fc100 Merge "NFC-F support in work profile" am: 8afd7f34f0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1857435

Change-Id: I1ff49639c9e92808afd91b8be169d96128be321f
2021-11-23 02:13:33 +00:00
Jack Yu
8afd7f34f0 Merge "NFC-F support in work profile" 2021-11-23 02:00:52 +00:00
Kyeongkab.Nam
ca9a81be6d Fix permission error of binding to TvInputService
Bind to the TvInputService even if TvInputService
calls addHardwareInput(), addHdmiInput(), or
removeHardwareInput().

Bug: 207301256
Test: manual
Change-Id: I91cdf49f9ff1af240b5d87cec02e95ae305cf46f
2021-11-23 10:30:19 +09:00
Jon Eckenrode
98951a99f4 Merge "Reconciled description of WindowManager with description of Context#createDisplayContext()." am: 92a4b54de5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1882528

Change-Id: I894941a064dc61c68722036081f0617c47804c83
2021-11-22 16:38:54 +00:00
Jon Eckenrode
92a4b54de5 Merge "Reconciled description of WindowManager with description of Context#createDisplayContext()." 2021-11-22 16:21:19 +00:00
paulhu
e765374142 Add AppFuseMountException
StorageManagerService and AppFuseBridge are used
NativeDaemonConnectorException to represent app fuse mount
failure. But NativeDaemonConnectorException is part of NSD
module files and it will be moved to the Connectivity module.
Thus, create AppFuseMountException to separate the usage and
make the exception more precisely.

Bug: 206702844
Test: m
Change-Id: I8b0224ce8894bc68b082dcdba054e2ccc22869ef
2021-11-22 23:22:40 +08:00
Alice Kuo
cc70fa74f1 Merge "Fix settingLib couldn't receive the broadcast issue." am: b29c718a9d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1895047

Change-Id: I6ac7d5b9794eef7581373003960a5009a381cd97
2021-11-22 14:36:23 +00:00
Alice Kuo
b29c718a9d Merge "Fix settingLib couldn't receive the broadcast issue." 2021-11-22 14:16:31 +00:00
William Escande
d12faff084 BT MAINLINE ParcelFileDescriptor to dup method
In order to have Bluetooth a mainline module, we must remove all call to
externa hidden API.

Tag: #refactor
Bug: 200200870
Test: Build
Change-Id: I291d670b1dfc3760bedd5f6666ea04883568df69
2021-11-22 13:49:46 +01:00
Alan Stokes
1fa4b81f7f Merge "Add Isolated Compilation service" am: e53d334d7f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1892635

Change-Id: I8172f13d2bd6a1dde33c26400989126bd69a5285
2021-11-22 11:35:57 +00:00
Alan Stokes
e53d334d7f Merge "Add Isolated Compilation service" 2021-11-22 11:17:38 +00:00
Jack Yu
3fd3a6579a Merge changes from topic "nfc_workprofile" am: 2740c2f009
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1856335

Change-Id: If86eaccf96acc4b1135b8795ec1b2d86c28fa148
2021-11-22 11:00:17 +00:00
Jack Yu
2740c2f009 Merge changes from topic "nfc_workprofile"
* changes:
  NFC support in work profile
  NFC support in work profile
2021-11-22 10:45:44 +00:00
Alice Kuo
f634234fca Fix settingLib couldn't receive the broadcast issue.
Bug: 207311784
Test: scan device normal
Change-Id: I3bb628871b4921f87c92e03386bcb6f66d90ae9f
2021-11-22 18:13:14 +08:00
Remi NGUYEN VAN
f62d2629ce Merge "Remove AsyncChannel usage in NsdManager" am: d627d9b1ba
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1823015

Change-Id: I06087e1d4828f4fee7a1b9a42e8bb2596e22684c
2021-11-22 06:19:18 +00:00
Remi NGUYEN VAN
d627d9b1ba Merge "Remove AsyncChannel usage in NsdManager" 2021-11-22 05:58:15 +00:00
Baligh Uddin
cdf6e4ea88 Merge "Add visibility for packages/modules/Bluetooth/android/app" am: 7922a468f9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1898530

Change-Id: I206089a2c159632a87b4db767a638c6cf07f0adf
2021-11-21 22:54:19 +00:00
Baligh Uddin
7922a468f9 Merge "Add visibility for packages/modules/Bluetooth/android/app" 2021-11-21 22:36:50 +00:00
Baligh Uddin
2034ab84b2 Add visibility for packages/modules/Bluetooth/android/app
The code residing in packages/modules/Bluetooth/android/app is
migrated from packages/apps/Bluetooth and requires the same
visibility rules for frameworks source code.

This path currently does not exist, but will be required for
migration.  Soong build rules do not enforce path existence, which
allows us to add the new path now and not during migration.

Added visibility along with migrated code in a local tree and
performed a local build (bramble-userdebug)

BUG: 196026708
Test: TH
Change-Id: I66cac592489fc1689d45a7b6427bc58c40a824e2
2021-11-21 17:44:16 +00:00
Ken Chen
832dff713a [NETD-BPF#6] Move bpf_shared.h from netd to module
Refers to bpf_connectivity_headers where the bpf_shared.h is located.

Bug: 202086915
Test: m; flash; boot
Test: cd system/netd && atest
Test: cd packages/modules/Connectivity && atest
Test: atest FrameworksNetTests
Change-Id: I3dd780470f136926680542f4571a2d130451497d
2021-11-20 21:40:57 +08:00
Rambo Wang
59cd9748a2 Merge "Do not allow null signal thresholds in SignalStrengthUpdateRequest" am: b6aa5b7d37
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1894915

Change-Id: I8d106c507913a9f1e0311ac47a5e1da5d34a6ee0
2021-11-19 23:21:26 +00:00
Rambo Wang
b6aa5b7d37 Merge "Do not allow null signal thresholds in SignalStrengthUpdateRequest" 2021-11-19 23:02:16 +00:00
Keith Mok
73357c61d0 Merge "Fix nanosleep in BootAnimation" am: 45e281ef2b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1891586

Change-Id: I19f359a175aa9596f400481029c029c2dd908aa5
2021-11-19 22:54:54 +00:00
Keith Mok
45e281ef2b Merge "Fix nanosleep in BootAnimation" 2021-11-19 22:37:57 +00:00
Keith Mok
0f2e66866c Fix nanosleep in BootAnimation
clock_nanosleep will return 0 or error no directly.

Bug: 207149564
Test: Build ok
Change-Id: I15866728719d0672a16b4a76a8fd3be4d53d420a
2021-11-19 20:38:22 +00:00
Victor Chang
074f226a06 Regenerate LocaleDataTables.cpp due to ICU 70 upgrade
The command:
./tools/localedata/extract_icu_data.py $ANDROID_BUILD_TOP > libs/androidfw/LocaleDataTables.cpp

Bug: 63753963
Bug: 202948901
Test: m droid
Change-Id: Ib464dce7b4489853cb95c2104792d95f36d38249
2021-11-19 17:00:28 +00:00
Yi Kong
2d2bd5fcf8 Merge "profcollect: check hardware capability on a background thread" am: c1e9c53fc3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1894823

Change-Id: I9ed7068ff02c4314058a7a7ffb97edae3e7b5d43
2021-11-19 10:11:11 +00:00
Yi Kong
c1e9c53fc3 Merge "profcollect: check hardware capability on a background thread" 2021-11-19 09:54:48 +00:00
Yi Kong
da9d0e669b profcollect: check hardware capability on a background thread
This is a blocking event, needs to be moved off from the main thread.

Also, don't schedule background processing service if the hardware
has no tracing support.

Test: manual
Bug: 79161490
Bug: 206986559
Change-Id: I039211b26f25ead66cf125f152e794b0c08057ee
2021-11-19 09:40:12 +00:00
Treehugger Robot
4e43b68f20 Merge "Bluetooth: make it possible to advertise Transport Discovery Data" am: e7adf14ea3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1454977

Change-Id: I603dfd54d43ad22c44630b984ea6829611f81b24
2021-11-19 08:53:56 +00:00
Treehugger Robot
e7adf14ea3 Merge "Bluetooth: make it possible to advertise Transport Discovery Data" 2021-11-19 08:42:55 +00:00
Treehugger Robot
c15f518369 Merge "Add LAUNCH_MULTI_PANE_SETTINGS_DEEP_LINK permission to Shell" am: 9b6a363c8c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1892999

Change-Id: I178d7c006f1f4be80b02a49d90b4be8237129aa3
2021-11-19 03:33:15 +00:00
Treehugger Robot
9b6a363c8c Merge "Add LAUNCH_MULTI_PANE_SETTINGS_DEEP_LINK permission to Shell" 2021-11-19 03:17:16 +00:00
Sarah Chin
e876040336 Merge "Revert "Add config to use lower of IPv4/IPv6 MTU values"" am: c4631dca14
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1891498

Change-Id: Ib824a3c982a8dbfafb6b9770bad1a6a1859da568
2021-11-19 00:29:27 +00:00
Treehugger Robot
1f479b99ce Merge "Framework and system_server classes can access public vendor libraries" am: 8cb6d28329
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1885792

Change-Id: Ia8fe285e3668fac4c2d6ca8ffff2976df88f90c3
2021-11-19 00:29:06 +00:00
Sarah Chin
c4631dca14 Merge "Revert "Add config to use lower of IPv4/IPv6 MTU values"" 2021-11-19 00:23:49 +00:00
Treehugger Robot
8cb6d28329 Merge "Framework and system_server classes can access public vendor libraries" 2021-11-19 00:08:57 +00:00
Treehugger Robot
c2566e6582 Merge "Create StatsBootstrapAtomService" am: e9f913aee8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1885469

Change-Id: I9fe270fa5bffb2edd912ba59fbc6c002497e76b4
2021-11-18 23:48:16 +00:00
Treehugger Robot
e9f913aee8 Merge "Create StatsBootstrapAtomService" 2021-11-18 23:25:21 +00:00