Commit Graph

565177 Commits

Author SHA1 Message Date
Nathalie Le Clair
da70abc9e1 Merge changes Ie0a7ec38,I5199dc85
* changes:
  Handle messages in standby for DeviceDiscoveryAction
  Prevent periodic actions from starting twice
2021-03-04 11:01:12 +00:00
Treehugger Robot
78a488cd10 Merge "Remove unused errorMessage" 2021-03-04 06:03:56 +00:00
Treehugger Robot
12acf15141 Merge "Remove @hide CollectionUtils in QosCallbackTracker" 2021-03-04 04:22:18 +00:00
Aaron Huang
e32c7c482e Merge "Remove PersistableBundle(Bundle) usage from ConnectivityService" 2021-03-04 03:50:50 +00:00
Paul Hu
1297f90193 Merge "Replace ConnectivityManager hidden symbols on framework" 2021-03-04 03:07:08 +00:00
Remi NGUYEN VAN
9c16d8e25d Merge "Add Build.IS_DEBUGGABLE to public API" 2021-03-04 03:02:56 +00:00
Sudheer Shanka
ae0fa6d359 Merge "Add new network process capability." 2021-03-04 03:02:49 +00:00
Treehugger Robot
c0b0157d3e Merge "Use Log instead of Slog in QosCallbackAgentConnection" 2021-03-04 02:58:37 +00:00
Treehugger Robot
e486d38855 Merge "Address comments on aosp/1612040." 2021-03-04 02:04:36 +00:00
Frank Li
9e79e9d99a Merge "[CS05]Remove the hidden API usage of MetricsLogger" 2021-03-04 01:34:53 +00:00
Junyu Lai
7563c45083 Merge "[FUI19] Migrate ConnectivityService to use NetworkStatsManager" 2021-03-04 01:24:57 +00:00
Haibo Huang
1c9baa3191 Remove unused errorMessage
Change-Id: If799737a69545bf6789213ce3f4dd6c724352213
2021-03-03 16:43:48 -08:00
Ruslan Tkhakokhov
48054e5cf4 Merge "Add B&R as owners for LocalTransport package" 2021-03-03 23:39:40 +00:00
Haibo Huang
c8379556c0 Merge "[bit] Use new jsoncpp API" 2021-03-03 22:34:58 +00:00
Haibo Huang
39f4db5ea0 [bit] Use new jsoncpp API
Reader / StyledWriter are deprecated upstream

Bug: 170642246
Change-Id: Ia2dcd3a817209e6821ecdd7c7f8094ec74bae44a
2021-03-03 22:17:10 +00:00
Sunil Ravi
bb57bf925a Merge "WiFi: Define permissions for set/clear country code API" 2021-03-03 21:50:21 +00:00
Xin Li
1af6a12e98 Merge "Merge RQ2A.210305.007" 2021-03-03 21:41:39 +00:00
Jeff Sharkey
eeb577dc44 Merge "Add OWNERS file for UsageStats unit tests." 2021-03-03 21:32:24 +00:00
Ruslan Tkhakokhov
8a535c3c9b Add B&R as owners for LocalTransport package
The package is primarily used and maintained by B&R.

Bug: n/a
Test: n/a
Change-Id: I207b1f78c11b1fa8fcdc870fcee953f948e660f8
2021-03-03 20:39:20 +00:00
Jakub Pawlowski
d806639032 Merge "Fix comment typo in PeriodicAdvertisingParameters" 2021-03-03 18:45:54 +00:00
Jakub Pawlowski
5629c959bf Fix comment typo in PeriodicAdvertisingParameters
Bug: 176967118
Test: m ds-docs-java
Exempt-From-Owner-Approval: Docs-only change
Change-Id: I1777ca23ba6f395eeb2ec98b970ccbf920661663
2021-03-03 18:45:45 +00:00
Sarah Chin
08b9f41364 Merge "APIs for 5G slicing" 2021-03-03 18:42:20 +00:00
Patrick Baumann
8ee2b99d71 Merge "Parcel queriesProviders in ParsingPackageImpl" 2021-03-03 18:19:56 +00:00
Yan Yan
b9fdfa8270 Merge "Use VERSION_CODES.S instead of VERSION_CODES.R + 1" 2021-03-03 18:04:52 +00:00
Brad Ebinger
4d183b882d Merge "Move illegal state detection in stub classes to warning" 2021-03-03 17:45:49 +00:00
Sunil Ravi
063cf92aa8 WiFi: Define permissions for set/clear country code API
Added new signature permission for calling country code APIs.

Bug: 168743500
Test: Cts tests
Change-Id: Idb4f5627f5ef45b054a5a80ecfa0ae691bfec021
2021-03-03 17:31:10 +00:00
James Mattis
1258b5fec3 Merge "Adding additional docs for OemNetworkPreferences" 2021-03-03 17:25:01 +00:00
Xin Li
e085f87400 Merge RQ2A.210305.007
Bug: 180401296
Merged-In: I2958205678f4340e96ce6e845718e994a0231afc
Change-Id: I9f591a70330cf80de4139570caa0ca8b0af4cc3c
2021-03-03 09:12:09 -08:00
Varun Shah
0ef490024e Add OWNERS file for UsageStats unit tests.
Bug: n/a
Test: n/a
Change-Id: Iab4b0153c4e7bff94fb6a6d02b6439e3d6151820
2021-03-03 17:08:47 +00:00
Treehugger Robot
10eb5d0faf Merge "[FUI18] Expose notifyNetworkStatus as system API" 2021-03-03 15:49:06 +00:00
junyulai
c5bfa330bf [FUI19] Migrate ConnectivityService to use NetworkStatsManager
Test: atest FrameworksNetTests
Bug: 174123988
Change-Id: Iaefd99f87ae96bc9d97d139bcd92a3fe8de917d2
2021-03-03 20:01:51 +08:00
junyulai
33b44da527 [FUI18] Expose notifyNetworkStatus as system API
Test: m -j doc-comment-check-docs
Bug: 174123988
Merged-In: I11d4c9ab24de87fb2ad120e3787b78b73133e874
Change-Id: I11d4c9ab24de87fb2ad120e3787b78b73133e874
  (cherry-picked from ag/13749978)
2021-03-03 20:01:46 +08:00
lifr
e4a6c677ba [CS05]Remove the hidden API usage of MetricsLogger
Legacy metrics are unused and deprecated, so they are being removed.
Therefore, delete the usage of the hidden MetricsLogger API.

Bug: 157966864
Test: atest CtsNetTestCases
      atest CaptivePortalTest
      atest ConnectivityServiceTest
Change-Id: I51241f5d50ec580015882c84dd917b015c700c7c
2021-03-03 10:17:52 +00:00
Abhijeet Kaur
ddd2a13c38 Merge "Update mount values to be consistent with IVold.aidl" 2021-03-03 10:09:46 +00:00
Yi Kong
453966a20b Merge "profcollect: Update binder method names" 2021-03-03 08:16:51 +00:00
Treehugger Robot
ad1bbc487c Merge "Additional metadata keys for Fast Pair" 2021-03-03 08:15:22 +00:00
Treehugger Robot
15b5b58a7c Merge "Extend timeout for receiving broadcasts" 2021-03-03 07:52:41 +00:00
Aaron Huang
121267c6d1 Remove PersistableBundle(Bundle) usage from ConnectivityService
Because the constuctor PersistableBundle(Bundle) is a hidden
API which is not visible to connectivity mainline module.
Currently, EVENT_NETWORK_TESTED and EVENT_DATA_STALL_SUSPECTED
are two events sent by ConnectivityService so they can build a
PersistableBundle directly and send PersistableBundle instead of
setting Bundle in the data field of the Message.

For EVENT_NETWORK_TESTED, add a new PersistableBundle member in
ConnectivityReportEvent so that the PersistableBundle can be
passed with ConnectivityReportEvent.

For EVENT_DATA_STALL_SUSPECTED, create a Pair<Long, PersistableBundle>
and put this in .obj of the Message, then the PersistableBundle can be
sent with timestampMillis together.

Bug: 177865050
Test: FrameworksNetTests
Change-Id: Ia2220f33f000e7c9439d97617cc08014dc4478a3
2021-03-03 15:43:30 +08:00
daren.liao
a2dbb68546 Handle messages in standby for DeviceDiscoveryAction
The modification of HdmiCecStandbyModeHandler is for processing
DeviceDiscoveryAction on quiescent boot, where the power status
is POWER_STATUS_STANDBY.

Without the modification,<Device vendor ID> and <Report power status>
are not passed to DeviceDiscoveryAction, and CEC framework cannot
establish device information correctly.

Bug: 174982925

Change-Id: Ie0a7ec3892d5f0a97d192b184454c9bde9f92a09
2021-03-03 06:41:54 +00:00
Daren Liao
cf48b9c899 Prevent periodic actions from starting twice
Check if HotplugDetectAction and PowerStatusMonitorAction exists
before starting them

Bug: 174982925

Change-Id: I5199dc85a15fa3fd5ac5b962eb29d73d2bda6440
2021-03-03 14:32:57 +08:00
Remi NGUYEN VAN
992369f32d Extend timeout for receiving broadcasts
The test is currently flaky as broadcasts can take a long time
to be delivered, often more than 500ms.
Extend the timeout for broadcasts to 30s.

Historically the test would wait for broadcasts for at most 500ms,
but not verify that they were received before proceeding. This was
fixed recently by adding an assertion, but the assertion needs to
give enough time for the broadcast to be received.

Bug: 173331190
Change-Id: I0760f3418c635aa4d68de5aefdb7120a9d3e930b
Test: atest FrameworksNetTests
2021-03-03 06:26:16 +00:00
Benedict Wong
a3fab46d7b Merge changes Ib439bde4,I5bc0fe94,I72abf1e2,Id1813bcb
* changes:
  Call setUnderlyingNetwork to complete VCN MOBIKE
  Rename isRunning to isQuitting, and flip all booleans
  Notify Vcn of VcnGatewayConnection quits
  Allow NETWORK_LOST disconnections to retry
2021-03-03 06:02:20 +00:00
Lorenzo Colitti
eee631bc63 Address comments on aosp/1612040.
Bug: 174123988
Test: atest FrameworksNetTests
Change-Id: I550fe428d640aab6264aface21fbafb1fd268bff
2021-03-03 14:39:09 +09:00
Lorenzo Colitti
8c93a76901 Merge changes Idfb5e149,Ia52b24c5
* changes:
  Stop using NetworkState internally in ConnectivityService.
  Isolate an ad-hoc legacy API codepath.
2021-03-03 05:35:28 +00:00
Sarah Chin
e97855c10f APIs for 5G slicing
Create TrafficDescriptor class
Create new APN ENTERPRISE
Update setupDataCall and DataCallResponse to take TrafficDescriptor and
matchAllRuleAllowed
Move ApnTypes from Annotation to ApnSetting

Bug: 179312227
Test: atest FrameworksTelephonyTests
Change-Id: I7433976bfe25bcb2af85ffb9338959cbcc9f42f3
Merged-In: I7433976bfe25bcb2af85ffb9338959cbcc9f42f3
2021-03-03 14:16:21 +09:00
Yo Chiang
0fb5c3f306 Merge "DSUService: stopSelf() only if no ongoing installation" 2021-03-03 05:11:10 +00:00
Remi NGUYEN VAN
31ed044180 Remove @hide CollectionUtils in QosCallbackTracker
Instead of using hidden symbols in the internal CollectionUtils, use the
CollectionUtils in libs/net that are intended for that usage.

Bug: 174541037
Test: m
Change-Id: Icb282bf2f38eb553eebc7d499bf92f22fae723cc
2021-03-03 13:12:27 +09:00
Chilun Huang
c8677e4d05 Merge "Add ownership for ConfigurationController" 2021-03-03 03:41:39 +00:00
Remi NGUYEN VAN
6ba14f1f33 Use Log instead of Slog in QosCallbackAgentConnection
Replace the hidden API Slog with the Log public API. Log is the utility
used by connectivity modularized code, which QosCallbackAgentConnection
is part of.

Change-Id: Ia50ec1cd3b8253ede010ec4fd1c37d9aa731d032
Test: m
Bug: 172050541
2021-03-03 03:13:34 +00:00
Andy Hung
2c27a78902 Merge "Add AudioMetadata keys related to active audio presentation" 2021-03-03 02:37:13 +00:00