Commit Graph

529224 Commits

Author SHA1 Message Date
Sudheer Shanka
cce157aaee Merge "Fix NetworkPolicyManagerService deadlock" 2020-11-05 21:19:12 +00:00
Steven Moreland
2f76449ef7 Merge "libstatslog: disable on darwin" 2020-11-05 19:33:54 +00:00
Treehugger Robot
387cf5e127 Merge "Fix anr when installing package" 2020-11-05 18:55:11 +00:00
Treehugger Robot
5db706a48f Merge "Avoid NullPointerException on non-existing file." 2020-11-05 18:13:18 +00:00
Tyler Gunn
49612b38d8 Merge "Add support for DTMF and RTP header extension communications." 2020-11-05 17:57:40 +00:00
Anton Hansson
78d5048610 Merge "Move testapi API files for symmetry with others" 2020-11-05 17:23:24 +00:00
Steven Moreland
51f0cb67c1 libstatslog: disable on darwin
libbinder doesn't support mac.

Bug: 172023026
Test: N/A
Change-Id: Idc484994e7cf5125736ddd7f5c98165ee9f01e67
2020-11-05 16:12:03 +00:00
Treehugger Robot
aa756e198c Merge "Ability to configure NR dual connectivity" 2020-11-05 15:23:46 +00:00
Dario Freni
2d510d9b6c Avoid NullPointerException on non-existing file.
This change allows the method to throw a more informative exception
containing the file name that has not been found.

Test: used the library in sharedlibs_host_tests
Change-Id: I196385486ef4c121f1c655cd76c3ea5233e2a722
2020-11-05 14:32:18 +00:00
Anton Hansson
552ba2c492 Move testapi API files for symmetry with others
The other non-updatable API files are in core/api/*. Also add
-non-updatable to the module to match the others.

Bug: 171029603
Test: m checkapi
Change-Id: I2bd1fa5bac6b35096b3059f93d68ef24b7a464e5
Merged-In: I2bd1fa5bac6b35096b3059f93d68ef24b7a464e5
(cherry picked from commit 3a1b1bd620454dd1d5b328c98634a567865cd55e)
2020-11-05 14:04:24 +00:00
Anton Hansson
3ab2ebfe26 Merge "Make current-api-xml use generated current.txt" 2020-11-05 13:52:54 +00:00
Anton Hansson
00febe2eb6 Make current-api-xml use generated current.txt
Remove the dep on the monolithic current.txt so that it can be deleted.

Bug: 158465496
Test: m current-api-xml (same before and after)
Change-Id: I6d36801592a20cb9dc8f87c7d9d4babf0986c448
2020-11-05 10:30:59 +00:00
Nikita Iashchenko
97f35bbbef Merge "Import TLS handshake atom for Conscrypt" 2020-11-05 10:14:31 +00:00
Anton Hansson
fd4bcbd76a Merge "Remove unused monolithic jars" 2020-11-05 09:50:23 +00:00
Paul Hu
a1c0a06580 Merge "Replace Context @hide APIs" 2020-11-05 08:05:09 +00:00
Paul Hu
a80bc72775 Merge "Replace AppOpsManager @hide APIs" 2020-11-05 08:03:55 +00:00
Paul Hu
01bec3bb2b Merge "Expose AppOpsManager#OPSTR_ACTIVATE_PLATFORM_VPN as system API" 2020-11-05 07:55:10 +00:00
James Mattis
df86206d82 Merge "Adding @IgnoreUpTo for testOemPrivate" 2020-11-05 04:31:51 +00:00
Bill Yi
2c67d7f24a Merge "Merge rvc-release RP1A.201105.002 to aosp-master - DO NOT MERGE" 2020-11-05 01:06:53 +00:00
James Mattis
aad8075de9 Adding @IgnoreUpTo for testOemPrivate
Adding @IgnoreUpTo for NetworkCapabilitiesTest.testOemPrivate so that
this test can run on previous releases.

Bug: 172400600
Bug: 171505922
Test: atest CtsNetTestCasesLatestSdk:NetworkCapabilitiesTest
Change-Id: Ibc728c986ad6faeed78c631ca2675956b95c6ac1
2020-11-04 16:52:11 -08:00
Tyler Gunn
08ddbc2b6d Add support for DTMF and RTP header extension communications.
Add support for:
- reporting of incoming DTMF tones from IMS stack.
- incoming/outgoing RTP header extension data.

Test: Added unit tests where possible.
Test: Added test intents to inject test data into framework for platform
testing.
Bug: 163085177
Change-Id: If34faeba0461c677a1381c82ead4a79c607bcf13
2020-11-05 00:19:52 +00:00
Bill Yi
f2d4156f5b Merge rvc-release RP1A.201105.002 to aosp-master - DO NOT MERGE
Merged-In: Ic1e07d28a41eea2ce59cc21702dae95d61adc24e
Change-Id: Ibc69b3e372167485bb70ae3277222bbe8ef7ff27
2020-11-04 13:57:54 -08:00
Mohammad Islam
55103afd78 Merge "Improve logging for why a staged session was reverted" 2020-11-04 21:49:57 +00:00
Grace Jia
3014218c9e Merge "Add missed information relative parameter and fields." 2020-11-04 21:16:48 +00:00
Mohammad Samiul Islam
558f0c8842 Improve logging for why a staged session was reverted
mFailureReason gets populated with actual reason when we try to resume
the staged session in checkpointing mode. But, if the device has a
native crash due to which the device reboots even before we attempt to
"resume" staged session, then it will never get populated.

As such, during boot loops that occur earlier than "resume" of staged
session, we end up logging nothing.

In this CL, we improve on the scenario by falling back to using
mNativeFailureReason if mFailureReason is empty. But this only works if
our staged session contains APEX package in it. For apk-only staged
sessions, we will still be logging blanks.

Bug: 163787002
Test: atest ApexRollbackTests#testReasonForRevertIsLoggedDuringBootloop
Change-Id: I5cd1733d66aa0b30855803b95eb9818dc81aa0d7
Merged-In: I5cd1733d66aa0b30855803b95eb9818dc81aa0d7
(cherry picked from commit a4cb493bdb)
2020-11-04 19:15:42 +00:00
Benedict Wong
e5e2388844 Merge "Add NonNull annotation to getAllSubscriptionInfoList" 2020-11-04 18:40:53 +00:00
Benedict Wong
061b2f769d Add NonNull annotation to getAllSubscriptionInfoList
This change marks getAllSubscriptionInfoList as NonNull; the method
already catches all exceptions, and returns an empty ArrayList if
something failed.

Test: atest FrameworksTelephonyTest
Change-Id: I7799d05f0f1f249fa5f4a47a3f4ff2c2691c75dc
2020-11-04 18:40:41 +00:00
Sooraj Sasindran
11a66cb266 Ability to configure NR dual connectivity
Provide ability to configure EUTRANR dual
connectivity

Bug: 162373679
Test: build
Change-Id: I48f5ef0a5f84157de9feffa8c5aa85d226163068
2020-11-04 10:28:10 -08:00
Brian Stack
04c894b6fa Merge "Remove erroneous logs in UWB RangingParamsTest" 2020-11-04 16:38:36 +00:00
Jay Patel
b43dd5007f Merge "Call setArcStatus(false) before standby" 2020-11-04 16:26:27 +00:00
Anton Hansson
7350b62384 Merge "Dist merged jar instead of monolithic one" 2020-11-04 15:51:30 +00:00
Anton Hansson
1de077e8fd Merge "Restrict visibility of framework-module-common-defaults" 2020-11-04 15:49:55 +00:00
vichang
6d5fbc8434 Merge "Add app compat config from ICU4J" 2020-11-04 12:28:57 +00:00
Eran Messeri
817969762e Merge "DO NOT MERGE: Introduce DPMS shim for active DO/PO check" 2020-11-04 11:56:33 +00:00
daren.liao
ab378a865a Call setArcStatus(false) before standby
[Description]
DisableDevice is called before standby.
If clearDeviceInfoList() is called before <Terminate ARC> is received,
CEC can't get device info & portId of AVR
And thus enableAudioReturnChannel is not success.

Therefore, we call setArcStatus(false) earlier
before RequestArcTerminationAction and receives <Terminate ARC>

Note that we don't use SetArcTransmissionStateAction since it is not
safe to create too many Actions during standby process

Bug: 137344668
Bug: 157184079

Change-Id: Ic67b31ce7d9b1dc0c3c578f87fdd782fcc797d3e
2020-11-04 19:52:27 +09:00
Eran Messeri
bdd52cb48b DO NOT MERGE: Introduce DPMS shim for active DO/PO check
Introduce a shim into DevicePolicyManagerInternal &
DevicePolicyManagerService so that NetworkStatsAccessTest would not
diverge from internal development branches.

The DevicePolicyManagerService refactoring on the internal branch
removed isActiveAdminWithPolicy in favour of isActiveDeviceOwner and
isActiveProfileOwner.

These methods are being made available in AOSP for
NetworkStatsAccessTest.

Bug: 170459325
Test: atest NetworkStatsAccessTest
Change-Id: Ic7e0898989fb8222aaba2b35436765c04eb3250c
2020-11-04 10:07:06 +00:00
Allen Su
15075fcca0 Merge "[IMS]Add bitrate and bandwidth into ImsStreamMediaProfile" 2020-11-04 07:53:42 +00:00
Brian Stack
484581193b Remove erroneous logs in UWB RangingParamsTest
Bug: 170323306
Test: atest UwbManagerTests
Change-Id: I6de1f98dbbd822bdbe04a5a0985c7e0139a85e2d
2020-11-03 20:07:31 -08:00
Treehugger Robot
84afc97ad7 Merge "Add UWB Tests to verify Builders and Parcels" 2020-11-04 01:10:22 +00:00
Hall Liu
730f35321d Merge "Update docs for RttCall#write" 2020-11-03 21:29:25 +00:00
Fabian Kozynski
344fb48d8e Merge "Prevent guest user from toggling mobile data Quick Setting" 2020-11-03 21:21:39 +00:00
Treehugger Robot
c3808b00b6 Merge "CEC : Use system property to get the audio device name" 2020-11-03 20:54:00 +00:00
Torbjorn Eklund
376060d1d7 Prevent guest user from toggling mobile data Quick Setting
Prevents the guest user from toggling mobile data on/off by using the
mobile data quick setting.

The guest user is not able to access the network settings menu where
mobile data is usually toggled. The guest user should therefore not be
able to toggle mobile data on/off by using quick settings.

Bug: 150262422
Test: atest SystemUITests
Change-Id: I24262d4580fa5d7414d5d3e7e0e42873432ab74f
Merged-In: I24262d4580fa5d7414d5d3e7e0e42873432ab74f
2020-11-03 19:53:58 +00:00
Anton Hansson
3a8e03610b Remove unused monolithic jars
Nothing depends on these. They were only here for easy comparison
with the merged variant while we ironed out diffs.

Rename the merged variants instead of having duplicate compilation
rules.

Bug: 171029603
Test: m nothing
Change-Id: I7859589b93b861439fb1b7de084e52294da53671
Merged-In: I7859589b93b861439fb1b7de084e52294da53671
2020-11-03 19:38:55 +00:00
Anton Hansson
533fb47c7e Dist merged jar instead of monolithic one
The monolithic ones are being deleted in a follow-up CL.

Bug: 158465496
Test: m sdk dist
Change-Id: I41b38d4828f8dc5d90dbb3ae59462812b8c036f2
2020-11-03 19:33:50 +00:00
Benedict Wong
a569019536 Merge "Add test mapping and setup tests for VCN" 2020-11-03 19:09:27 +00:00
Treehugger Robot
0976b5d9ab Merge changes I8d3b81a5,I36a6c9f1
* changes:
  Implement parcelable for UWB types
  Implement UWB Address
2020-11-03 17:20:09 +00:00
Brian Stack
1a702459c5 Add UWB Tests to verify Builders and Parcels
Bug: 170323306
Test: atest UwbManagerTests
Test: Runnng `atest` in frameworks/base/core/java/android/uwb runs
      UwbManagerTests

Change-Id: I4d46baf7886376cd0255fb9ae78fc12bc94f10a6
2020-11-03 09:15:05 -08:00
Nikita Iashchenko
ff64fd0f36 Import TLS handshake atom for Conscrypt
Bug: 160345816
Test: m droid
Change-Id: I7ddf7626376bd649c8b10306d464b783cf16959b
Merged-In: I142a792c34dced6b0e27b867ed3a1d95249a5f7f
2020-11-03 16:48:04 +00:00
allenwtsu
2fd9ba433d [IMS]Add bitrate and bandwidth into ImsStreamMediaProfile
Pipe these information for Dialer to determine HD+ icon

Bug: 169586285
Bug: 172304392
Test: build pass
Change-Id: If4149c3020230eff8da06a37a3cf4bf69c011a6d
2020-11-03 16:42:09 +00:00