Commit Graph

655245 Commits

Author SHA1 Message Date
Sudheer Shanka
6a0976aa75 Include blocked reasons in the netpolicy dump.
Bug: 202065451
Test: adb shell dumpsys netpolicy
Change-Id: If07045c16d97935378f39c9c171ac909dfe1a0b2
Merged-In: If07045c16d97935378f39c9c171ac909dfe1a0b2
2021-11-25 00:11:20 +00:00
Rahul Sabnis
4045c6f336 Merge "BT_MAINLINE Delete getControllerActivityEnergyInfo" 2021-11-24 22:54:10 +00:00
Martin Stjernholm
181c8f0033 Merge "Reconcile differences between boot image profiles." 2021-11-24 19:31:14 +00:00
Jeff Sharkey
af4484c3d7 Merge "Add OWNERS for Verity related JNI files" 2021-11-24 19:06:18 +00:00
Yan Yan
f249e691cf Merge "Rename UnderlyingNetworkTracker to UnderlyingNetworkController" 2021-11-24 18:39:29 +00:00
Martin Stjernholm
4c9551ed8b Reconcile differences between boot image profiles.
This makes art/build/boot/boot-image-profile.txt +
frameworks/base/boot/boot-image-profile.txt identical to
frameworks/base/config/boot-image-profile.txt, so we can rule out
performance regressions due to profile changes in
https://r.android.com/1896660.

Test: presubmits
Bug: 207590908
Change-Id: I599e8df8818d2d2dc9f471fdc22c9d92719e6cae
2021-11-24 11:37:53 +00:00
Chienyuan Huang
0c4d524c33 Merge "Print anonymized address when new device found" 2021-11-24 11:32:44 +00:00
Satoshi Niwa
c3bc1e2984 Add OWNERS for Verity related JNI files
Test: N/A
Change-Id: Ia2c1cf25e9750af0374816c06b2b9184f63dc261
2021-11-24 15:49:00 +09:00
Winson Chung
e39da5a9a7 Merge "Add null check for mRootTaskInfo in AppPair dump" 2021-11-24 05:32:43 +00:00
Kalesh Singh
f7e97bd385 Merge "Fix GL memory not being removed from lost RAM" 2021-11-24 03:05:19 +00:00
Yan Yan
3d20aa2cf8 Rename UnderlyingNetworkTracker to UnderlyingNetworkController
Bug: 206044122
Test: atest FrameworksVcnTests, CtsVcnTestCases
Change-Id: I6b4888f8252999446a29076937d9695278ff6a66
2021-11-23 18:08:26 -08:00
Paul Hu
fdedcbd638 Merge "Add AppFuseMountException" 2021-11-24 01:36:18 +00:00
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
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
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
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
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
b29c718a9d Merge "Fix settingLib couldn't receive the broadcast issue." 2021-11-22 14:16:31 +00:00
Alan Stokes
e53d334d7f Merge "Add Isolated Compilation service" 2021-11-22 11:17:38 +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
d627d9b1ba Merge "Remove AsyncChannel usage in NsdManager" 2021-11-22 05:58:15 +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
Rambo Wang
b6aa5b7d37 Merge "Do not allow null signal thresholds in SignalStrengthUpdateRequest" 2021-11-19 23:02:16 +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
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
e7adf14ea3 Merge "Bluetooth: make it possible to advertise Transport Discovery Data" 2021-11-19 08:42:55 +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
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
e9f913aee8 Merge "Create StatsBootstrapAtomService" 2021-11-18 23:25:21 +00:00
Peiyong Lin
6e9b910de2 Merge "Add owners for GameManager and GameManagerService" 2021-11-18 22:20:52 +00:00
Vince Harron
3ad0c61146 Merge "BSD grep doesn't support -P" 2021-11-18 21:34:19 +00:00
Tej Singh
da79f2a110 Create StatsBootstrapAtomService
Design doc is at go/statsd-bootstrap-logging. Creates a proxy service for
logging atoms from bootstrap processes to statsd. Service has one API,
which converts StatsBootstrapAtom into StatsEvent and logs to statsd.
This should only used by processes that start in the bootstrap namespace
and cannot directly link statsd's libraries to log to statsd.

Bug: 204889815
Test: booted, made sure binder service was published.
Change-Id: I09709a30a42a7a398234c995324f62a0d62ad24f
2021-11-18 13:27:21 -08:00
Peiyong Lin
ab0ae6b571 Add owners for GameManager and GameManagerService
Bug: N/A
Test: N/A
Change-Id: I48f986e1ca5eadc6c23ca693143f122e415eeefd
2021-11-18 18:25:14 +00:00
Keith Mok
bd0a86f9d7 Merge "Improper EINTR handling logic" 2021-11-18 17:11:15 +00:00
William Escande
c9d83ba0d9 BT_MAINLINE Delete getControllerActivityEnergyInfo
This hidden api is deprecated since 2016.
Removing it because it's not used and it's calling 3 hidden apis
Bug: 200200870
Tag: #refactor
Test: Build

Change-Id: Ib84e069dc663def3d6a2d6f64717d76d39b59fb9
2021-11-18 16:04:17 +01:00
Jiyong Park
24c57c33ea Framework and system_server classes can access public vendor libraries
This CL fixes a regression caused by [1] which introduced
<uses-native-library> tag [2]. With the change, public vendor libraries
[3] became accessible only when they are listed in the caller's
AndroidManifest.xml using the new tag. However, this caused a problem to
the places where AndroidManifest.xml doesn't exist: framework and
system_server classes. For those cases, [1] incorrectly used a null list
as the requested native libraries, and as a result, no public vendor
libraries were accessible.

This CL fixes the issue by not doing the filtering for the class loaders
created for non-app contexts like zygote or system_server. Specifically,
it uses the magic keyword "ALL" which let libnativeloader.so
accept all public vendor libraries.

[1] 6a5b8b1f6d
[2] https://developer.android.com/guide/topics/manifest/uses-native-library-element
[3] https://source.android.com/devices/tech/config/namespaces_libraries#adding-additional-native-libraries

Bug: 205164833
Test: libcuttlefish_fs.so is loaded when built with the other CLs in the
same topic

Change-Id: Id92c59642773851d70d05a05f43eb5873e9de86b
2021-11-18 23:09:27 +09:00
Jakub Pawlowski
3327af5d7b Bluetooth: make it possible to advertise Transport Discovery Data
Bug: 159363165
Tag: #feature
Test: called the API in test app, verified advertisement content
Change-Id: I92fe0671717bda2de1be3ff022713133ad681ab6
2021-11-18 09:52:37 +00:00
Yi Kong
f8eb7b136c Merge "profcollect: trace on background thread" 2021-11-18 08:53:52 +00:00
Gopalakrishnan Nallasamy
0781fcf7da Merge "MediaCodecInfo: Add constant for YUVP010 color format" 2021-11-18 08:21:35 +00:00
Gopalakrishnan Nallasamy
f71f4089d8 MediaCodecInfo: Add constant for YUVP010 color format
Bug: 206456921

Test: atest android.media.cts.ImageReaderDecoderTest
Change-Id: Ia93bd25ede40b39d6b799990c01e35b90a8ad8d4
2021-11-18 08:19:32 +00:00