Commit Graph

560200 Commits

Author SHA1 Message Date
Treehugger Robot
7bbf421612 Merge "Throw IllegalStateException to fail fast in IMS" 2021-01-28 23:59:11 +00:00
Baligh Uddin
d985fe7b0e Merge "Migrate apex/permission to packages/modules/Permission" 2021-01-28 22:33:05 +00:00
Treehugger Robot
008819a578 Merge "Create owners" 2021-01-28 22:04:48 +00:00
Treehugger Robot
9aba68730c Merge "Keystore 2.0 SPI: Add back-off hint to BackendBusyException." 2021-01-28 20:39:01 +00:00
Treehugger Robot
49467f1cdf Merge "Fix race condition in linearblock release between TIS and MediaCodec" 2021-01-28 20:01:11 +00:00
Jiashen Wang
f2193be3f0 Merge changes from topics "downloadable_init_change_1", "downloadable_init_change_2"
* changes:
  Do now throw exception when activation code is empty
  Init DownloadableSubscription with Confirmation Code
2021-01-28 19:53:49 +00:00
James Lin
4548fab7d6 Merge "Expose the RCS UCE APIs for capabilities request with presence mechanism." 2021-01-28 19:35:54 +00:00
Henry Fang
64cd9d3cf9 Fix race condition in linearblock release between TIS and MediaCodec
Bug: 177247275
Test: Manual
Change-Id: I13f924adc3586607eb3a60d184e7786536c7b788
Merged-In: I13f924adc3586607eb3a60d184e7786536c7b788
2021-01-28 18:42:50 +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
Todd Kennedy
98b1f085ef Create owners
Change-Id: I970b5a32d2da06645d66d0062f8c2fa87924a204
2021-01-28 17:35:38 +00:00
Janis Danisevskis
f4c64ad3e2 Keystore 2.0 SPI: Add back-off hint to BackendBusyException.
BackendBusyException now returns a back-off hint that API users can use
to implement their retry loop.

Bug: 174761871
Test: N/A
Change-Id: I95662a5a5432965de365017eae43c502eb5bfc06
2021-01-28 09:23:21 -08: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
Jiashen Wang
68418a0147 Do now throw exception when activation code is empty
Bug: 169276772
Test: 13352325
Change-Id: Ia8fd0ab98c33d1e30b4fce1bad53b1c628364725
Merged-In: Ia8fd0ab98c33d1e30b4fce1bad53b1c628364725
2021-01-27 17:05:37 -08:00
Baligh Uddin
505dd61925 Migrate apex/permission to packages/modules/Permission
BUG: 167963264
Test: TH
Change-Id: Ibbe7e5f08b86a4c78b3e8acc999e900d8f017521
Merged-In: I1a6aac95deabeee6d301ad83a2ad31ed2663c02e
2021-01-28 00:38:48 +00:00
Jiashen Wang
738abf603a Init DownloadableSubscription with Confirmation Code
Currently carrier apps are not able to pass the confirmation code along
with the downloadable subscription because carrier apps do not have the
permission to set the CC. So carrier apps have to rely on LUI's scree
for entering the confirmation code. In order to make the process more
flexable for carriers, we decided to add a method to initialize a
Downloadable Subscription with the confirmation code.

Test: ag/13028582
Bug: 169276772
Change-Id: Icfa8b0f5b1699d24d8e39c3297ed25c7d1607739
Merged-In: Icfa8b0f5b1699d24d8e39c3297ed25c7d1607739
2021-01-27 16:30:25 -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