661166 Commits

Author SHA1 Message Date
Treehugger Robot
1962b10531 Merge "Add key / value data structures for IBpfMaps" 2022-02-04 23:39:29 +00:00
John Reck
5ec2b572eb Add some top-level OWNERs
To keep their respective per-files updated primarily

Test: N/A
Change-Id: Ib5fbeac665fc1cfd01ff62ef61ec910e5c516669
2022-02-04 18:26:08 -05:00
James Mattis
e4ad2e515e Merge "Adding permission for Ethernet Network Management" 2022-02-04 23:05:27 +00:00
Dave McCloskey
f4a4508e64 Merge "Add TRUST_LISTENER to the shell for use in CTS tests" 2022-02-04 22:58:26 +00:00
Treehugger Robot
81f5901e83 Merge "Add background blur activity to silkfx" 2022-02-04 22:52:59 +00:00
Jing Ji
cbcb665dee Merge "Record tombstone proto file's timestamp into the dropbox" 2022-02-04 20:52:28 +00:00
Ling Ma
5a175d8a4a Unhide API setAllowedNetworkTypesForReason and getSupportedRadioAccessFamily
Make Carrier APIs public for not-preinstalled carrier app to determine whether UE is 5G-capable and set 5G capability

Test: atest cts/tests/tests/telephony/current/src/android/telephony/cts/TelephonyManagerTest.java
Bug: 213937426

Change-Id: I758cad74296e59618122853f479ad4f0c261d726
Merged-In: I758cad74296e59618122853f479ad4f0c261d726
2022-02-04 19:41:32 +00:00
Galia Peycheva
fe59c4de42 Add background blur activity to silkfx
Bug: 213292227
Test: m SilkFX && adb install $OUT/testcases/SilkFX/arm/SilkFX.apk
Test: adb shell am start -n com.android.test.silkfx/.materials.BackgroundBlurActivity
Change-Id: I1692a53460b64b5a49d14736b2b680069217fa1d
2022-02-04 19:40:57 +00:00
Steven Moreland
e7f547a5df Merge "Binder: small failed transactions can be due to size" 2022-02-04 18:34:00 +00:00
Michael Wright
3a29070961 Add constant for SC V2.
Bug: 204295952
Test: N/A
Merged-In: Ieecebfccf9366815c93d620b70aeabc1abcd3ebd
Change-Id: I6597299374715153e8e63d43b44949df76f9ab26
2022-02-04 18:08:21 +00:00
Andrew Sapperstein
aea112fe32 Remove asapperstein from OWNERS.
No longer on Settings, which was a team using FeatureFlagUtils.

Change-Id: I9c1c05b023021defcbce19ef500ddb13159caa87
2022-02-04 17:34:32 +00:00
Sam Delmerico
0156be8663 convert StreamingProtoTest to stream proto type
java_library now supports using the "stream" type for proto properties,
so we can use this type here to remove workaround.

Bug: 215230097
Test: m StreamingProtoTest
Change-Id: I365457c5392ef3e0ede39d9d36d0aa1f2951c902
2022-02-04 16:54:00 +00:00
Anton Hansson
95e89a8cb9 Auto-generate list of module impl jars
Eliminate another duplicated list of all modules. This one has a couple
of workarounds due to different naming of impl libs, and bluetooth not
being ready.

Bug: 169103987
Test: m framework-all and diff intermediates (no diffs)
Merged-In: Ia8627c6e3977cd271e389ec482388ff73661881d
Change-Id: Ia8627c6e3977cd271e389ec482388ff73661881d
2022-02-04 16:36:21 +00:00
Oli Lan
2eb6759416 Catch SecurityException when sending clip change broadcast.
This fixes an issue where the system server can crash if a
SecurityException occurs while a clip change broadcast is being sent.

If an app is not permitted to access clipboard, then the
clipboardAccessAllowed check throws a SecurityException. This is
ok when the exception can propogate back to a caller, such as when
setClipData has been called, but when this happens while a change
broadcast is being triggered it will instead crash the system.

Bug: 207333180
Test: atest ClipboardManagerTest
Test: atest ClipDescriptionTest
Change-Id: If18ce497a89335ed26c8996571448c2c083887e6
2022-02-04 12:45:34 +00:00
Patrick Rohr
f8885a5f8f Add key / value data structures for IBpfMaps
Add key / value structures for CookieTagMap, StatsMap, and UidStatsMap.
This will be used for deleteTagData.

Test: m
Change-Id: I955ae7f7745d4c5f37eccbad80cdb841ef55ff56
2022-02-04 13:13:02 +01:00
Remi NGUYEN VAN
c9a39b3066 Merge "Support discovering services with a NetworkRequest" 2022-02-04 12:07:58 +00:00
Remi NGUYEN VAN
bf13de3b19 Merge changes from topic "nsd_serviceinfo_network"
* changes:
  Support discover/resolve on specific networks
  NSD: Specify on what interface to getAddrInfo
2022-02-04 12:07:38 +00:00
Kevin Rocard
06c8be69b9 Merge changes I17264f0e,I0581978f
* changes:
  Limit transcoding size workaround to windows
  Workaround to fixup MTP transcode file size
2022-02-04 11:25:53 +00:00
Parvathy Shanmugam
a28bba3ebe Merge changes from topic "IMS Threading Refactoring"
* changes:
  Fix for crash while merging 2 audio calls for initiating conference call
  (IMS Threading refactoring) Telephony IMS classes to schedule IMS callback on the main thread
2022-02-04 10:52:40 +00:00
Roopa Sattiraju
cd2473616e Merge "Adding bt apex availablity to media dependencies" 2022-02-04 07:14:31 +00:00
Roopa Sattiraju
44ff57e76c Adding bt apex availablity to media dependencies
Bug: 217736913
Test: Compile
Change-Id: I0b2732e5e324e66842999671881b1d830ecb8740
2022-02-03 13:51:22 -08:00
Steven Moreland
fa462e8c44 Binder: small failed transactions can be due to size
The error message here is a bit misleading. Big transactions are
likely to fill the buffer and cause an overflow, but many small
transactions can too.

Bug: N/A
Test: N/A
Change-Id: Id174214397b4ed4dd734908b395d426ce6a09de4
2022-02-03 21:34:09 +00:00
Sarah Chin
fef5a2b0d0 Merge "Update documentation for onDataProfileUnthrottled" 2022-02-03 19:54:58 +00:00
Etienne Ruffieux
c797641985 Merge "Removed getActiveDevice call to BluetoothProfile" 2022-02-03 17:35:35 +00:00
Paul Duffin
f404f1dbfc Remove repackaged.android.test... libraries
Repackaging is now being done by the CTS signature tests that break if
they used the original classes from the shared libraries. This change
removes the repackaged.android.test... libraries.

Bug: 209607558
Test: cts/tests/signature/runSignatureTests.sh
Change-Id: I8745fc7b41099f9f15d76a4e9d7cf6b15e794b92
2022-02-03 15:56:56 +00:00
Etienne Ruffieux
eec8935747 Removed getActiveDevice call to BluetoothProfile
Tag: #feature
Test: manual
Bug: 200202780
Change-Id: Ib343bb455dd3d903e8c7a50548ccd83e7c54396c
2022-02-03 10:52:57 +00:00
Jing Ji
8bb2139def Record tombstone proto file's timestamp into the dropbox
Avoid from creating duplicated entries in next reboot.

Bug: 215988435
Test: Manual - generate a tombstone, reboot, check dropbox dump.
Change-Id: I0c80c19c91f1b9a9e77ff2348ed9bef9248105d3
2022-02-02 23:52:25 -08:00
Sarah Chin
b303bbf3fd Update documentation for onDataProfileUnthrottled
Test: build
Bug: 213174700
Change-Id: Ib3a6916fd8b16b0dca590766479e5a716b8602ea
2022-02-02 23:35:24 -08:00
Jack He
128ebcdb54 Merge "SettingsLib: Add API to get identity address" 2022-02-03 06:17:03 +00:00
Remi NGUYEN VAN
c18ea8ec6d Support discovering services with a NetworkRequest
A common mistake when using service discovery is to mismanage networks,
expecting to find or be able to access services on networks that may not
be available yet, or may be stale/lost.

This new API allows clients to start service discovery with just a
NetworkRequest, letting NsdManager track networks and notify when
services are found/lost for each network.

Bug: 190249673
Test: atest NsdManagerTest
Change-Id: I12e799aa48fce2d1a35f708c5617386b1cc70f21
2022-02-03 13:04:20 +09:00
Remi NGUYEN VAN
f449c263df Support discover/resolve on specific networks
This adds a Network member to NsdServiceInfo, allowing discovered
services to report which network they were discovered on, and clients to
specify which network to resolve the service on. If clients use the
discovered NsdServiceInfo to resolve a service, it will be resolved on
the network where it was discovered instead of an unspecified network.

Also add a network parameter to a new overload of
NsdManager#discoverServices, so that clients can discover on specific
networks.

Bug: 190249673
Test: atest NsdManagerTest

Change-Id: Idc4bf9fde0f4b0328204a8cd2eedc12fffbbbdba
2022-02-03 13:04:08 +09:00
Benedict Wong
bb0d4256f4 Merge "Fix potential for dead binders when calling callbacks" 2022-02-03 03:04:52 +00:00
Benedict Wong
5a7e3797c9 Fix potential for dead binders when calling callbacks
This patch ensures that all callbacks out of the VcnManagementService
are try/catch guarded to ensure that callbacks are not called and throw
an exception.

This is triggered when telephony dies, which results in the
subscriptions changing, and attempting to notify the policy listeners
triggers a DeadObjectException.

Bug: 217537578
Test: atest FrameworksVcnTests
Change-Id: Ibfe82fb187b7989164e22919a72b8c36d2655902
2022-02-03 02:54:40 +00:00
joonhunshin
b36f10362c Add RCS UP 2.4 profile string
Add RCS up 2.4 profile string to support new feature.

Bug: 213605777
Test: build
Change-Id: If5b3132469314af16c8cd9ec2a683a336fc6752f
Merged-In: If5b3132469314af16c8cd9ec2a683a336fc6752f
2022-02-03 02:47:30 +00:00
Treehugger Robot
5d4effbd23 Merge "Add NEARBY_WIFI_DEVICES to shell permissions for CTS" 2022-02-03 00:51:24 +00:00
Yuntao Xu
dd82eca332 Convert CanvasCompare/Android.mk to Android.bp
Converted the Android.mk file to Android.bp.

Bug: 124261647
Test: compared the two apk files built by Make and Soong
Test: m CanvasCompare
Test: TreeHugger
Change-Id: I75e2534f8c6035d899764d2baa539127d8a96afe
2022-02-02 16:48:51 -08:00
James Mattis
e8308b2d7a Adding permission for Ethernet Network Management
Adding MANAGE_ETHERNET_NETWORKS as a signature level permission
to allow an application to dynamically change ethernet network values.

Bug: 210485380
Test: atest EthernetServiceTests
Change-Id: Icf9c2accc86735cc981adc0d5a24802e0616ffaf
Merged-In: Icf9c2accc86735cc981adc0d5a24802e0616ffaf
2022-02-02 16:34:46 -08:00
Yuntao Xu
8136d49038 Convert SimpleCamera/Android.mk to Android.bp
1. Converted the SimpleCamera/Android.mk to Android.bp;
2. Converted the tests/Android.mk as well;
3. No renderscript files are found in the srcs.

Bug: 124261647
Test: compared the two apk files built by Make and Soong
Test: m SmartCamera
Test: m SmartCamera-tests
Test: TreeHugger
Change-Id: I324c1c744b5a7f836a32fe8409ab8abf19eeeae9
2022-02-02 16:18:05 -08:00
William Escande
cc2c6a0783 Merge "BtProfileConnectionInfo update api review" 2022-02-02 23:23:34 +00:00
Eran Messeri
a31689bc37 KeyStore: Verbose error reporting
Report KeyStore/KeyMint error messages via public API.

This lets developers find out:
* Whether an error is transient or not.
* Whether a failure is due to a system error
(system configuration/state/capabilities), or a key-related error.
* Whether user authentication is required to use the key.

Test: atest CtsKeystorePerformanceTestCases CtsKeystoreTestCases
Bug: 197890905
Merged-In: I776d9e9cc01a9dc3542a63000ee0709847760963
Change-Id: Ica0c93fdd4b89255ee0a03a9b9b948202777d4d4
2022-02-02 22:11:44 +00:00
Meng Wang
5b6f553cb9 Carrier config KEY_CARRIER_SUPPORTS_TETHERING_BOOL
Bug: 161206517
Test: make
Change-Id: I94a8f94ed703c5fb25e36b0b24f4b42088a721ab
2022-02-02 21:27:15 +00:00
Etienne Ruffieux
fa9d5b2e03 Merge "Replacing getActiveDevice by btAdapter.getActiveDevices()" 2022-02-02 20:35:50 +00:00
James Mattis
525001eeec Merge "Renaming Ethernet Network Management Classes" 2022-02-02 20:09:52 +00:00
Chienyuan
fd7f71ca5e SettingsLib: Add API to get identity address
Bug: 197044261
Test: build pass
Change-Id: Idd03d7777c8257986b03dd1ba19aac5514f4f18d
Merged-In: Idd03d7777c8257986b03dd1ba19aac5514f4f18d
(cherry picked from commit a393bf9d25a5480a5b11d04a5ca7cca2ffab939f)
2022-02-02 09:24:48 -08:00
Artur Satayev
4db55d2f36 Merge "Introduce Build.VERSION.KNOWN_CODENAMES." 2022-02-02 16:52:37 +00:00
satayev
434ef186e6 Introduce Build.VERSION.KNOWN_CODENAMES.
See go/mainline-sdk-codenames-issue.

Known values are to be used to distinguish multiple pre-release
codenames, and to allow in development artifacts to be installable
on released versions of the platform for testing going forward.

This does not change pre-T behaviour at large however.

Bug: 211747008
Test: presubmit
Change-Id: I0c8df8e767ea61b27bb53da53fb6c9b2c842dbbc
2022-02-02 16:52:14 +00:00
Treehugger Robot
bcefef7a8c Merge "Support "Parcel.propagateAllowBlocking" for AIDL" 2022-02-02 16:11:30 +00:00
Treehugger Robot
cba72fc987 Merge "Really expose the new NDK socket tagging functions added in T." 2022-02-02 15:41:41 +00:00
Lorenzo Colitti
2b9e8860ec Really expose the new NDK socket tagging functions added in T.
These functions were already exposed as part of libandroid_net,
but that is not really part of the NDK.

Expose them in libandroid as well, so apps can actually use them.
This is consistent with all the other native networking APIs,
which are exposed in both libandroid_net and libandroid.

Test: atest CtsNativeNetPlatformTestCases
Test: strings out/target/product/bramble/system/lib64/libandroid.so | grep android_tag
Change-Id: I2273cdd48b30a88b82eb3af838031d9fe8897442
2022-02-02 11:59:41 +00:00
hepengtao
985da1992e NSD: Specify on what interface to getAddrInfo
When discover two different host with same host name
from different network interface, specify on what
 interface to getAddrInfo.

Bug: 203453164
Test: build & manual

Signed-off-by: hepengtao <hept.hept.hept@gmail.com>
Change-Id: Ifaccb7f3fac6b1dd789cc9ce7c8d964102754508
2022-02-02 17:50:50 +09:00