Commit Graph

560187 Commits

Author SHA1 Message Date
James Lin
4548fab7d6 Merge "Expose the RCS UCE APIs for capabilities request with presence mechanism." 2021-01-28 19:35:54 +00:00
Benedict Wong
026b277911 Merge "Implement ConnectingState" 2021-01-28 18:24:43 +00:00
Andy Hung
f57ff9e7e5 Merge "audio: add implementation for TV related API" 2021-01-28 18:03:34 +00:00
Treehugger Robot
4844c2065b Merge "Keystore 2.0: Add human readable strings to Keystore exceptions." 2021-01-28 18:01:44 +00:00
Jeff Sharkey
033aefcb06 Merge "Add owners" 2021-01-28 17:22:27 +00:00
Todd Kennedy
19d09ca6ed Add owners
Change-Id: If3e8e500c4a5de47ec76cc19413546b736feb5f9
2021-01-28 17:20:10 +00:00
Anton Hansson
b5b629607b Merge "Switch to new incompatibilities targets" 2021-01-28 16:48:16 +00:00
Anton Hansson
42fb4206f8 Merge "Set installable: false on apex jars by default" 2021-01-28 16:44:40 +00:00
Treehugger Robot
7e69b0a93d Merge "DO NOT MERGE Fix CEC read Global Setting timing" 2021-01-28 15:44:40 +00:00
Paul Duffin
08ff0a8639 Merge "Add framework boot image" 2021-01-28 15:39:57 +00:00
Paul Duffin
1128114af1 Add framework boot image
Currently, it is just a placeholder that retrieves information about
the framework boot image from the dex_bootjars singleton.

Bug: 177892522
Test: m droid
Change-Id: Icd7943a37378a56c416e502aa29d6088c2f247d2
Exempt-From-Owner-Approval: https://crbug.com/gerrit/14008
2021-01-28 14:53:49 +00:00
Treehugger Robot
b57fa98f59 Merge "Remove obsolete OWNERS files" 2021-01-28 14:28:55 +00:00
Treehugger Robot
e43b86d5b1 Merge "ECDH SPI interface" 2021-01-28 13:08:42 +00:00
Junyu Lai
ce07556044 Merge "[VCN01] Add NOT_VCN_MANAGED capability" 2021-01-28 13:04:59 +00:00
daren.liao
3bbf6c4bc0 DO NOT MERGE Fix CEC read Global Setting timing
[Description]
When UI enables 2 CEC options right after enable CEC
TV will read the wrong value,
and failed to update value before TV is ready.

We should read the setting again after TV is ready.

Bug: 176708541
Test: Toggle HDMI control settings 10 times PASS

Change-Id: I0e8eaefe3839873c4af476d47bdb1295711d5967
2021-01-28 12:10:16 +00:00
Neil Fuller
ab88c1e30a Remove obsolete OWNERS files
The code has been moved (internally) under bug 175119330. The code that
was here now can be found in
com.android.server.timezonedetector.location instead.

Bug: 175119330
Test: treehugger only
Change-Id: I0446ea16921886ac826f25d624a1c61551d2313e
2021-01-28 12:00:51 +00:00
Oliver Woodman
a6b77e3294 Merge "API to get SOC manufacturer and model" 2021-01-28 09:07:56 +00:00
Treehugger Robot
8334a265ad Merge "Note network interfaces based on transport" 2021-01-28 07:45:20 +00:00
Lorenzo Colitti
4452f55a2e Merge "Fix legacy APIs when VPN switches to suspended underlying network." 2021-01-28 07:07:37 +00:00
Chiachang Wang
842319b819 Merge "Replace hidden getFileDescriptor$()" 2021-01-28 06:36:11 +00:00
Remi NGUYEN VAN
2c9ed7f32d Note network interfaces based on transport
Instead of classifying interfaces by network type in BatteryStats,
classify them based on the transports array provided by the
NetworkAgent.

Network types are deprecated and transports should be used instead. This
change allows BatteryStats to stop depending on unstable APIs such as
isNetworkTypeMobile.

This change also updates nullability annotations in ConnectivityService
and NetworkAgentInfo to show that the NetworkCapabilities are non-null
(as provided by the network agent) when calling
noteNetworkInterfaceTransports.

Bug: 174436414
Test: atest
  atest ConnectivityServiceTest#testBatteryStatsNetworkType \
      --rerun-until-failure 40

Merged-In: I4e928fac8a57a9b1fc758a44af2a5719b8c871b8

Change-Id: I4e928fac8a57a9b1fc758a44af2a5719b8c871b8
2021-01-28 15:10:54 +09:00
Treehugger Robot
23438d66dd Merge "[Mainline] Migrate TextUtils#emptyIfNull" 2021-01-28 06:05:08 +00:00
Etan Cohen
6c0e8ad627 Merge changes I0eb0362e,Iec9b579d
* changes:
  Grant shell permissions for restart WiFi subsystem to Shell to support CTS
  [WIFI] New permission to control restart of the WiFi subsystem
2021-01-28 04:47:00 +00:00
Lucas Lin
66cd788d4e Merge "Use createStringArray instead of readStringArray" 2021-01-28 04:04:10 +00:00
lucaslin
31d270a4d7 Use createStringArray instead of readStringArray
To prevent ProxyInfo calling hidden API, use public one -
Parcel#createStringArray() instead.

Bug: 170598012
Test: atest FrameworksNetTests
Change-Id: I1a5376872d743e1863982bb95d579aeba7159d33
2021-01-28 04:03:59 +00:00
Lucas Lin
ec3f650de7 Merge "Check if NetworkSpecifier is an instance of MatchAllNetworkSpecifier" 2021-01-28 04:01:49 +00:00
Chiachang Wang
b219ee2cde Replace hidden getFileDescriptor$()
It's the preparation for the incoming ConnectivityService
mainline. The mainline modules can not access hidden APIs.
Thus, the hidden APIs usage should be removed.

The getFileDescriptor$() in Socket or DatagramSocket is
hidden for internal usage. It should be used in a module and
not prefer to expose as an API. Thus, replace it with
ParcelFileDescriptor APIs to get the fd via
ParcelFileDescriptor.

Bug: 170598012
Test: atest FrameworksNetTests
Change-Id: I05b31a48315e7e6d95e22123103e544a7136a449
2021-01-28 11:33:13 +08:00
Kuowei Li
d33812ab6f audio: add implementation for TV related API
1. TunerConfiguration.
2. AudioDescriptionMixLevel getter/setter.
3. DualMonoMode getter/setter.
4. PlaybackRate getter/setter.

Test: TIS player with instrumented HAL
Test: atest AudioTrackTest#testTunerConfiguration
Test: atest AudioTrackTest#testDualMonoMode
Test: atest AudioTrackTest#testAudioDescriptionMixLevel
Test: atest AudioManagerTest#testGetAdditionalOutputDeviceDelay
Bug: 173482792
Merged-In: I47b022154983283aeeac41cf506818009e88995b
Change-Id: I47b022154983283aeeac41cf506818009e88995b
2021-01-27 19:21:10 -08:00
Tianjie Xu
2befe56df0 Merge changes I45054e68,I6f301314
* changes:
  Make the service timeout and blob lifetime configurable
  Call server based implementation to persist reboot escrow key
2021-01-27 22:40:13 +00:00
Bob Badour
37f1ed3523 Merge "Fix license_type. Contains GPL" 2021-01-27 20:12:13 +00:00
Bob Badour
336e38d3f2 Fix license_type. Contains GPL
See: http://go/android-license-checking-v2-lsc

Test: m all

Bug: 151953481
Bug: 151177513
Bug: 67772237

Exempt-From-Owner-Approval: janitorial work

Change-Id: I297f7e55415dcff0765b46841879b25c03c50aa9
2021-01-27 12:09:16 -08:00
James.cf Lin
daaf205e18 Expose the RCS UCE APIs for capabilities request with presence mechanism.
The contact's capabilities request APIs are exposed to be the SystemAPI and add the CTS for these APIs.

Build: 174656329
Test: atest -c CtsTelephonyTestCases:android.telephony.ims.cts.RcsUceAdapterTest
Change-Id: Id8a3be587f200dfee8f7c6343ed771e7ac738568
2021-01-28 02:59:30 +08:00
Daniel Bright
d7d4b0ca85 Merge "Add S-NSSAI" 2021-01-27 18:48:54 +00:00
Andrei-Valentin Onea
51164692d0 Merge "Persist compat framework overrides across reboot" 2021-01-27 18:17:11 +00:00
Benedict Wong
2cfb250d6d Merge "Implement DisconnectingState" 2021-01-27 18:13:10 +00:00
Treehugger Robot
62bdf8c076 Merge "Watchdog: Rename properties to follow guidelines" 2021-01-27 15:43:17 +00:00
Woody Lin
bc8d470970 Watchdog: Rename properties to follow guidelines
Bug: 141948707
Bug: 178498518
Change-Id: Iefbeae8da80308be148610dc87d20553a290f4c5
2021-01-27 21:57:53 +08:00
Jeff DeCew
6671f75e1d Merge "Add 'Android Resources' team as OWNERS of classes in android.util" 2021-01-27 13:18:49 +00:00
Treehugger Robot
f9dbe61693 Merge "[FUI03] No-op refactoring of VpnInfo" 2021-01-27 11:47:34 +00:00
Bram Bonné
b3c666454e ECDH SPI interface
Test: atest KeyAgreementTest
Bug: 171847641
Change-Id: I7cb0c713e3797bb738a6134c690824e762346d4f
2021-01-27 10:54:47 +01:00
Howard Chen
da932b4a45 Merge "Refine the DSU SD card support" 2021-01-27 08:40:34 +00:00
Junyu Lai
a125e1a6cc [VCN01] Add NOT_VCN_MANAGED capability
Add new capability to indicate whether a network is
managed by Virtual Carrier Network (VCN). This is needed
to identify networks between VCN managed network and
others. And this capability will be:
  1. mutable
  2. requestable
  3. set by default for network agents and requests
  4. allowed for test networks

Note that this commit is identical to aosp/1529959 except the
capability remains hidden to address the javadoc problem first.
And this CL also needs to be bound with the counter part change
to prevent build breakage.

Test: 1. atest FrameworksNetTests CtsNetTestCases
      2. adb shell dumpsys connectivity
      3. atest ConnectivityServiceTest#testLoseMutableAndRequestableCaps
Bug: 175662146

Change-Id: I37a6f492c2aba72836e36851b50b67398f8bdd36
2021-01-27 16:13:01 +08:00
lucaslin
eb1c486ab9 Check if NetworkSpecifier is an instance of MatchAllNetworkSpecifier
To prevent mainline module related file to access a hidden API,
check whether the NetworkSpecifier is an instance of
MatchAllNetworkSpecifier by itself.

Bug: 172183305
Test: atest FrameworksNetTests
Change-Id: I4d49cb70ff3c8a7e1ffa32e38207c74a6375e51a
2021-01-27 15:32:43 +08:00
Remi NGUYEN VAN
d9f9d4a5d5 Merge "Move connectivity-sources to frameworks/base" 2021-01-27 07:15:05 +00:00
junyulai
fa528b2d20 [FUI03] No-op refactoring of VpnInfo
As a preparation of exposing system API. This patch does some
harmless refactoring, which includes:
  1. Move VpnInfo to android.net
  2. Add nullability annotations
  3. Make members final

Bug: 174123988
Test: TH
Change-Id: I1530bb45d0e84c28c6deac33596bc686058afc0d
2021-01-27 15:03:06 +08:00
Treehugger Robot
37356f4149 Merge "Keystore 2.0 SPI Small doc comment fixup." 2021-01-27 05:00:40 +00:00
James Mattis
96ccce1940 Merge changes Ic67cff95,Id7a6175c,I3d6896f5,Iaff727e7
* changes:
  Updates to handler logic for multilayer requests
  Update to sendAllRequestsToProvider for Multilayer
  Multilayer request updates to request callbacks
  Multilayer support when NAI requests are updated
2021-01-27 04:50:43 +00:00
Chiachang Wang
8dc248c84a Merge "Expose UdpEncapsulationSocket.getResourceId()" 2021-01-27 04:41:18 +00:00
James Mattis
0985f94623 Updates to handler logic for multilayer requests
Updates to ConnectivityService network request handler's logic to support
(or disallow support of) multilayer network requests.

Bug: 175239920
Bug: 171991028
Test: atest FrameworksNetTests
atest NetworkStackTests
atest FrameworksNetIntegrationTests
atest NetworkStackIntegrationTests
atest CtsNetTestCasesLatestSdk

Change-Id: Ic67cff950d72745d6508a0a037bd33f932d5132c
2021-01-26 18:44:45 -08:00
James Mattis
46ac053990 Update to sendAllRequestsToProvider for Multilayer
Updates to ConnectivityService.sendAllRequestsToProvider to support
Multilayer requests.

Bug: 175051182
Bug: 171991028
Test: atest FrameworksNetTests
atest FrameworksNetIntegrationTests
atest CtsNetTestCasesLatestSdk

Change-Id: Id7a6175cee28d2de1f6194cd0fc8c739d667427d
2021-01-26 18:44:32 -08:00