Commit Graph

661469 Commits

Author SHA1 Message Date
Shraddha Basantwani
e864576c71 CEC: Respond to GIVE_FEATURE message even in standby mode
Bug: 212377875
Test: atest HdmiCecGeneralProtocolTest#cect_hf_4_2_15
Change-Id: I61468caa90fab6f2d1c1a75e551bcc4f8d52882e
2022-01-20 14:17:51 +05:30
Frank
6d934e0b48 [DU05]Remove the android.provider.Settings.Global in NetworkStatsService
Replace android.provider.Settings.Global methods that return the default
value and hardcoding them inside the methods.

Bug: 213329727
Test: atest NetworkStatsServiceTest
Change-Id: I51d686222f983c8deb71d4b32f9e443e87a5e53e
2022-01-20 16:45:13 +08:00
Treehugger Robot
cb6ef1e9cc Merge "Add AUDIO_FORMAT_LC3 in BtCodec" am: a57618d34d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1864574

Change-Id: I56f87b43dc3464858be12d3442fcbfea750d6614
2022-01-20 06:35:02 +00:00
Treehugger Robot
a57618d34d Merge "Add AUDIO_FORMAT_LC3 in BtCodec" 2022-01-20 06:19:05 +00:00
Aaron Huang
466189f0b7 Merge "Have NetworkStats implements iterable" am: f66050e681
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1952101

Change-Id: I619d194086dfe6b88680e0a72e407694c02d3a2e
2022-01-20 04:21:37 +00:00
Aaron Huang
f66050e681 Merge "Have NetworkStats implements iterable" 2022-01-20 04:09:00 +00:00
Paul Hu
828de7c553 Merge "Split out the nsd API surface and use framework-connectivity-tiramisu" am: f276eba866
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1903750

Change-Id: I0f6ee9fdd4ea40362005da9f279afb90818c8523
2022-01-20 03:25:17 +00:00
Junyu Lai
97ff3f3456 Mark NetworkStatsServiceDumpProto userdebug_and_eng_only
Test: TH
Bug: 204830222
Change-Id: I35b3990ceadb2caaa6adbd377f423400fd25c81b
2022-01-20 03:07:30 +00:00
Meng Wang
355b254c41 Clarify number format expectations for get/setPhoneNumber
.. based on API council feedback.

Bug: 206743433
Change-Id: I75db773bfb7997ab31f02ae92e66c9fb8dcb4eb8
2022-01-20 03:06:53 +00:00
Paul Hu
f276eba866 Merge "Split out the nsd API surface and use framework-connectivity-tiramisu" 2022-01-20 03:02:56 +00:00
Treehugger Robot
8b1a30dc9e Merge "[MS64] Remove subscriberId and NetworkId in proto" am: 0433d02aa5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1954021

Change-Id: I6d18cbe5f6b03c446354ed12bd73566a638906e5
2022-01-20 02:53:20 +00:00
Treehugger Robot
0433d02aa5 Merge "[MS64] Remove subscriberId and NetworkId in proto" 2022-01-20 02:32:59 +00:00
Sharon Su
fd184683cb Create directories for wallpaper effects generation api and and owners
files.
Bug: 213238425
Test: meta file change

Change-Id: Ibdd21969f4cbd30c68f933ea4515358173307919
2022-01-20 01:07:27 +00:00
Sharon Su
5f97f2237c Add new MANAGE_WALLPAPER_EFFECTS_GENERATION permission for the cts test
Bug: 213238425
Test: build and presubmit
Change-Id: If6507ac871e01bebb770e85bc4572b7e3d2cb5d9
2022-01-20 00:35:57 +00:00
Alice Kuo
c039bb094b Update current.txt for Broadcast feature supported API
Expose isLeAudioBroadcastSourceSupported and isLeAudioBroadcastAssistantSupported

Bug: 150670922
Bug: 208368819
Test: make build
Change-Id: Id9bf7731f61b38da878b1cc0fe117d80044a82d9
Merged-In: Id9bf7731f61b38da878b1cc0fe117d80044a82d9
2022-01-19 23:48:25 +00:00
Dave McCloskey
b90933a1cc Add OWNERS file for TrustManager et al.
Test: m

Change-Id: I8045e9518a05d3d29811153b22c94e920e1e6335
2022-01-19 15:17:04 -08:00
Peter Collingbourne
69538cf7f3 Disable pointer authentication in app processes.
Unfortunately we have discovered that some applications in the wild
are using PAC instructions incorrectly. To keep those applications
working on PAC enabled devices, disable PAC in application processes
for now.

Bug: 212660282
Change-Id: I3030c47be9d02a27505bd4775c1982a20755758c
2022-01-19 13:35:54 -08:00
Kevin Rocard
cbba151c10 Merge "Refactor Ringtone.playFallbackRingtone" am: 2f56b3ab02
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1931765

Change-Id: I6f1336c981a74f1ecd9c6e9f6827319a96ba8e4c
2022-01-19 20:18:16 +00:00
Kevin Rocard
2f56b3ab02 Merge "Refactor Ringtone.playFallbackRingtone" 2022-01-19 19:42:26 +00:00
Andrew Cheng
6e3b9b2101 New @SystemApi's in BluetoothMapClient
New System APIs include:
- ACTION_CONNECTION_STATE_CHANGED
- getConnectedDevices
- getConnectionPolicy
- getConnectionState
- getDevicesMatchingConnectionState
- setConnectionPolicy

Tag: #feature
Bug: 206830632
Test: atest BluetoothInstrumentationTests
Test: atest BluetoothHostTest
Change-Id: Ie534d364567d08fc28e2d9012bf9b23884b0ce6f
2022-01-19 18:29:16 +00:00
Andrew Cheng
24af7f1d52 Make BluetoothPbapClient and select methods @SystemApi
The BluetoothPbapClient class is currently @hide. This CL annotates it
to @SystemApi. It also adds explicit @hide to all public class members
that are not ready to be committed to at this time.

New System APIs include:
- ACTION_CONNECTION_STATE_CHANGED
- getConnectedDevices
- getConnectionPolicy
- getConnectionState
- getDevicesMatchingConnectionState
- setConnectionPolicy

Tag: #feature
Bug: 206032807
Test: atest BluetoothInstrumentationTests
Test: atest BluetoothHostTest
Change-Id: I2ab72b4db10cd7195ae3bac65339205e203c5f5e
2022-01-19 18:12:25 +00:00
Justin McClain
abd3ae5d80 Add OWNERS files for AttestationVerification in
frameworks/base/core/java/android/service/.

Test: m
Change-Id: I7e90bfe7dee6937b398304b1269ae399d008ad21
2022-01-19 17:59:22 +00:00
Hao Ke
9c4045f7c9 Changing readParcelable and readSerializable's method signatures.
Bug: 210800751
Test: atest -d android.os.cts.ParcelTest
Change-Id: Ie0a1deafc6e876ea01bfa5cee221ef81fecdfe59
2022-01-19 17:49:57 +00:00
Sal Savage
cb366ac33d Make BluetoothHeadsetClient and associated functions @SystemApi
New System APIs include:
- getConnectionState
- getConnectedDevices
- getDevicesMatchingConnectionState
- getConnectionPolicy
- setConnectionPolicy
- ACTION_CONNECTION_STATE_CHANGED

Bug: 206035301
Test: atest BluetoothInstrumentationTests; atest BluetoothHostTest;
Change-Id: Ica41ab7e19ec66e866e571c7e2c0fc0b6b67a987
2022-01-19 09:42:36 -08:00
Benedict Wong
1ff62d0578 Merge "Revert "Revert "Listen for individual subscription mobile data toggles""" am: ab7f5b533d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1949076

Change-Id: Ib24be7fc5f444248f7f40a65a3253b41f56a7521
2022-01-19 17:08:45 +00:00
Benedict Wong
ab7f5b533d Merge "Revert "Revert "Listen for individual subscription mobile data toggles""" 2022-01-19 16:51:09 +00:00
Junyu Lai
95d764cfa8 [MS64] Remove subscriberId and NetworkId in proto
netstats.proto is about to move into mainline module.
And it can no longer see privacy.proto definition.
Thus, this change remove PII data that is not very useful
when debugging and any reference to privacy.proto.

Test: adb bugreport and check output at transponder
Bug: 204830222
Change-Id: I755530f356d2c16b336d62785c4c17c557f792db
2022-01-19 16:08:40 +00:00
Etienne Ruffieux
7951f08f7d Added callback from Tethering to PanService
To remove hidden networking APIs we need a new way of
communication with Tethering. Adds callback to notify
Tethering when Bluetooth is ready.

Tag: #feature
Bug: 190438212
Test: atest BluetoothInstrumentationTests
Change-Id: I3102d7c907f9933fceab9da35c2e83982878ba82
2022-01-19 15:36:01 +00:00
Łukasz Rymanowski
b1a5c3885d Update current.txt file for getConnectedGroupLeadDevice
Bug: 150670922
Tag: #feature
Sponsor: jpawlowski@
Test: build

Change-Id: I0fb5d69a2103bad3292263047443109b1e2ef4ca
2022-01-19 11:09:25 +00:00
Łukasz Rymanowski
7cddc6a227 audio: Fix possible NullPointerException when DEBUG is true
test: manual
sponsor: jpawlowski

Change-Id: I8b35a45ec1e984d8f63c5b11248d6dbfed077453
2022-01-19 10:51:44 +00:00
paulhu
c100db56a2 Split out the nsd API surface and use framework-connectivity-tiramisu
- Split out nsd APIs and hidden APIs to Connectivity module.
- Keep the all files in f/b/packages/Connectivity-T and add
  framework-connectivity-tiramisu library on p/m/Connectivity.
  Then make framework to use this module library.
- Remove NsdService from SystemServer which will register from
  ConnectivityServiceInitializer

Bug: 206893064
Test: m online-sdk-dev-docs
Test: atest FrameworksNetTests CtsNetTestCases
CTS-Coverage-Bug: 207804007
Merged-In: I72c7de124b9cc53f2263bd452ecd5f39e88e485b
Change-Id: I72c7de124b9cc53f2263bd452ecd5f39e88e485b
2022-01-19 18:47:45 +08:00
Junyu Lai
ff3bbac2a1 Merge "[MS24] Remove FileUtils.sync dependencies" am: f1245786d6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1934457

Change-Id: I7eaa20793df00149c32d2f5231467eb918d96e33
2022-01-19 09:35:19 +00:00
Junyu Lai
f1245786d6 Merge "[MS24] Remove FileUtils.sync dependencies" 2022-01-19 09:18:48 +00:00
Treehugger Robot
dfffffedcb Merge "Remove ServiceManager usage from IpSecTransform" am: 5a1c3525f1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1933095

Change-Id: Ib212f53a9e10ae657377f6fd03cc0a1a4e504bb6
2022-01-19 08:23:37 +00:00
Treehugger Robot
5a1c3525f1 Merge "Remove ServiceManager usage from IpSecTransform" 2022-01-19 07:59:56 +00:00
Aaron Huang
1f7ddfeda2 Have NetworkStats implements iterable
Make NetworkStats be iterable and expose iterator as system API
which is better than expose size() and getValues().
This API could be used by the caller who needs to get entry
from NetworkStats.

Bug: 210073043
CTS-Coverage-Bug: 215061403
Test: build, TH
Change-Id: I6cb4c8f63d7067133f2722b2be7e16b4098a697d
2022-01-19 15:54:17 +08:00
Ted Wang
d9c9831f71 Add AUDIO_FORMAT_LC3 in BtCodec
Bug: 203621600
Test: make
Change-Id: I447b361c5efe578ba1b142791aee7043faf08f52
2022-01-19 15:35:00 +08:00
Junyu Lai
86811b5fba Merge changes I16418791,I210f5ddc am: b52609172e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1948617

Change-Id: I255850295426742033b60d16f30f676e96f6bb4d
2022-01-19 07:28:49 +00:00
Junyu Lai
b52609172e Merge changes I16418791,I210f5ddc
* changes:
  [MS37.1] Expose APIs which is used by NPMS
  [MS55] Remove INetworkStats dependency from DataIdleTest
2022-01-19 07:08:15 +00:00
Junyu Lai
57c59fba4c [MS24] Remove FileUtils.sync dependencies
FileRotator will be built with Connectivity mainline module
while the file location will be kept inside platform.
Thus, hidden api usage needs to be addressed.

This change removes some dependencies by inlining the content
of FileUtils.sync to remove the dependency, and change the
Slog to Log.

Test: TH
Bug: 204830222
Change-Id: I6105850dd8311072fd8de2e2864d11fdb052f061
2022-01-19 07:07:34 +00:00
Junyu Lai
53d603a751 [MS37.1] Expose APIs which is used by NPMS
Test: TH
Bug: 204830222
CTS-Coverage-Bug: 213124616
Change-Id: I16418791246b12fc3da7348ed36b58274e20db54
2022-01-19 07:07:34 +00:00
Junyu Lai
90cd83a0d2 [MS55] Remove INetworkStats dependency from DataIdleTest
Replace binder call with NetworkStatsManager Apis.

Test: atest DataIdleTest
Bug: 204830222
Change-Id: I210f5ddc4c14c88253ce442292a1734091621ad8
2022-01-19 07:01:49 +00:00
Frank Li
ff2f7802ff Merge "[DU04-1]Remove NetworkPolicyManagerInternal from NetworkStatsService" am: df246f3c62
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1944531

Change-Id: I030030c9da9ed4e3a41b530b4532b682717e90f6
2022-01-19 05:46:58 +00:00
Frank Li
df246f3c62 Merge "[DU04-1]Remove NetworkPolicyManagerInternal from NetworkStatsService" 2022-01-19 05:32:05 +00:00
Aaron Huang
2b319b14e2 Merge "Replace buildTemplate* with NetworkTemplate.Builder" am: b892406528
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1933089

Change-Id: I1ebee1b55bf0627f0d3f6a0c61ff92d9e7365d67
2022-01-19 05:18:14 +00:00
Alice Kuo
3963ec484d Update the system-current file for getAudioLocation API
Bug: 150670922
Bug: 197199736
Test: make build

Change-Id: Ic2d48f84c2156a21b6e6647509b1f6ccfa5061fc
2022-01-19 13:13:35 +08:00
Aaron Huang
b892406528 Merge "Replace buildTemplate* with NetworkTemplate.Builder" 2022-01-19 05:03:44 +00:00
Xiao Ma
6814385379 Merge "Fix the Preconditions dependency in EthernetNetworkSpecifier." am: 13dbbcbc09
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1952108

Change-Id: Ia6431509c1604d86caf06237032d3f51dff4c7f8
2022-01-19 03:38:08 +00:00
Xiao Ma
13dbbcbc09 Merge "Fix the Preconditions dependency in EthernetNetworkSpecifier." 2022-01-19 03:23:17 +00:00
Treehugger Robot
6d8e9705c9 Merge "Migrating frameworks/base BT files" am: 070f2b0502
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1952596

Change-Id: I7e57e32b8952535649cae30602a9457223b1c520
2022-01-19 00:50:06 +00:00