Commit Graph

566893 Commits

Author SHA1 Message Date
Benedict Wong
3996048bad Merge "Add additional logging to improve debugability of VcnManagementService" 2021-05-10 21:22:23 +00:00
Brad Ebinger
0ad0a88143 Merge "Add the REGISTRATION_TECH_NR Tech type" 2021-05-10 21:02:25 +00:00
Siim Sammul
60cd2fa626 Merge "Create BinderLatencyObserver to collect binder call latency stats. Pushing these as a metric will come in a future change." 2021-05-10 18:10:58 +00:00
Rahul Sabnis
d8c539d8b8 Merge "Update docs for BluetoothDevice#fetchUuidsWithSdp to reflect that if the device is bonding, we either broadcast cached UUIDs or wait for SDP to be performed after the device is bonded." 2021-05-10 17:41:36 +00:00
Siim Sammul
5e6453dc94 Create BinderLatencyObserver to collect binder call latency stats.
Pushing these as a metric will come in a future change.

This is a direct cherrypick with no changes.

Test: unit tests

Change-Id: I8a123f7aed7c0ce416814372f2287b04a8a04ac0
Merged-In: I8a123f7aed7c0ce416814372f2287b04a8a04ac0
(cherry picked from commit 8d0ecde2b8)
2021-05-10 16:53:05 +00:00
Calin Juravle
c900ba3cd6 Merge "Enforce system/root/shell for dexopt operation." 2021-05-10 16:39:50 +00:00
Andy Hung
ba32f57428 Merge "AudioFormat: Retrieve sample rate capability from framework" 2021-05-10 16:23:37 +00:00
Andy Hung
4afe15ccb0 AudioFormat: Retrieve sample rate capability from framework
Allows a device to specify a higher sample rate (e.g. 384kHz)
and have it acknowledged by CTS.

Test: AudioTrackTest#testGetMinBufferSizeTooHighSR
Bug: 135474352
Bug: 187062102
Change-Id: I2a44590970b437c1090c615961432afce974f2ba
2021-05-10 16:22:59 +00:00
Jay Patel
249034de9d Merge "AudioSystem: update framework channel capabilities" 2021-05-10 14:47:52 +00:00
Gavin Corkery
c27a2ab087 Merge "Add OWNERS to RescueParty" 2021-05-10 13:54:23 +00:00
Gavin Corkery
b9d9b1ac79 Add OWNERS to RescueParty
Test: Builds
Bug: 180579911
Change-Id: Icb592c7db07feefe7e35278496532a91e49f9b3d
2021-05-10 13:00:17 +01:00
Anton Hansson
ee95f486e5 Merge "Add targets to build doc-stubs for non-updatable" 2021-05-10 08:55:07 +00:00
Paul Hu
e01bb41ad7 Merge "Add missed break" 2021-05-10 01:42:24 +00:00
Mark Chien
20df56adb7 Merge "startTethering with silent entitlement in systemui" 2021-05-09 16:16:55 +00:00
James Lin
011be0d15a Merge "Add carrier config for the SIP 486 request forbidden and add API for SHELL command to remove the UCE requests cannot be sent the network status." 2021-05-09 13:50:14 +00:00
Treehugger Robot
3736d7ac1b Merge "Call apexd's API to allocate space before install non-AB package" 2021-05-08 21:44:57 +00:00
Treehugger Robot
d943c45349 Merge "DO NOT MERGE - Merge RQ2A.210505.003." 2021-05-08 21:38:02 +00:00
Xin Li
4ba43d5b0b DO NOT MERGE - Merge RQ2A.210505.003.
Bug: 187544653
Merged-In: If9e34a0120121ed851b911c8a8bd2bbe0e0f9e34
Merged-In: Ia6bd5658b77a26ab15fea013ec875050457473e0
Change-Id: I2e22d2bdd2c54eb3489fe82f2601ded2af16bd5c
2021-05-08 08:39:19 +00:00
Rahul Sabnis
6f92ae94ab Update docs for BluetoothDevice#fetchUuidsWithSdp to reflect that if the
device is bonding, we either broadcast cached UUIDs or wait for SDP to
be performed after the device is bonded.

Tag: #feature
Bug: 187157597
Test: Manual
Change-Id: I1bd694195c4e974b7cd72f81848a6343b45c98fd
2021-05-07 19:13:25 -07:00
Benedict Wong
1d9c19a635 Add additional logging to improve debugability of VcnManagementService
Test: atest FrameworksVcnTests
Change-Id: I23af20ea655e11934f6ac679c1bfc0943d5a148f
2021-05-07 17:18:21 -07:00
James.cf Lin
cf451204eb Add carrier config for the SIP 486 request forbidden and add API for SHELL command to remove the UCE requests cannot be sent the network status.
Bug: 186131340
Test: atest ImsServiceTest RcsUceAdapterTest
Change-Id: Id3a97fc975764754d6b610478c17a501f65aa229
2021-05-08 07:33:03 +08:00
Calin Juravle
f4a6ba88b3 Enforce system/root/shell for dexopt operation.
Dexopt acquires system level locks (e.g. installd locks) so it should
not be called by artbitrary apps via `adb shell` commands.

Test: manual
Bug: 180652564
Change-Id: I385d5346df7721d95edf40c45d06b969870e4bda
2021-05-07 15:31:09 -07:00
Zhangrui Zhang
cee3c552b8 AudioSystem: update framework channel capabilities
Anticipate more than 8 channels (such as 7.1.4) on
future devices, but keep at 8 for now.

Test: atest AudioTrackTest#testImmersiveStreaming
Test: same test by manually adjusting to 24 channels.
Bug: 127896072
Bug: 187062102
Change-Id: I72c2ff0faa7794f22deaeb794920afb65788f40b
2021-05-07 13:06:18 -07:00
Brad Ebinger
500397d3e8 Add the REGISTRATION_TECH_NR Tech type
Adds the new NR registration technology for devices
that support IMS over NR so that the APIs can report
this technology.

Bug: 179724463
Test: atest CtsTelephonyTestCases
Merged-In: I4b0f9882dcf36e2ff7151778cbadb8e83513df5a
Change-Id: I4b0f9882dcf36e2ff7151778cbadb8e83513df5a
2021-05-07 19:08:37 +00:00
Treehugger Robot
61f27d7d52 Merge "Add platform-systemserverclasspath." 2021-05-07 18:34:52 +00:00
Yan Wang
d9c35709f8 Merge "Add empty boot image profile and preload classes for framework" 2021-05-07 16:31:39 +00:00
Treehugger Robot
9417be4487 Merge "Remove non-updatable-* prefix from .txt files" 2021-05-07 15:39:04 +00:00
Anton Hansson
c7f5e7d439 Add targets to build doc-stubs for non-updatable
Like the jar stubs, the doc stubs need modularization to avoid depending
on module sources and instead being assembled by merging the doc stubs
of the constituent modules. This will allow generating e.g. the lint
database, annotation zips, and the documentation itself from prebuilts
(which in turn allows mixing e.g. non-updatable R with the latest
modules).

Move the defaults for the non-updatable jar stubs to the shared bp file
and reuse it for the non-updatable doc stubs, and add two targets for
the public and the system stubs.

Bug: 186197911
Test: m android-non-updatable-doc-stubs{,-system}
Merged-In: Ic2cef748c42c141ea42b8cd7b4afd7ee78a1399d
Change-Id: Ic2cef748c42c141ea42b8cd7b4afd7ee78a1399d
2021-05-07 13:51:28 +01:00
Lucas Lin
9639cd6242 Merge "Replace MAX_NETWORK_TYPE with TYPE_VPN" 2021-05-07 08:48:28 +00:00
markchien
5024d4d046 startTethering with silent entitlement in systemui
During R development cycle, default entitlement check is changed from
silent to showUI(start activity) in TetheringRequest. So start hotspot
by systemui is changed from silent to trigger UI. Expcility set
entitlement back to silent check in systemui for better user experience.

Fix: 182724427
Fix: 169493230
Test: atest HotspotControllerImplTest
      atest CtsTetheringTest
      on/off hotspot by systemui
Change-Id: Ida1964e28a7b2d0f1a1394e5de2ec437e0bc420a
2021-05-07 07:26:57 +00:00
Treehugger Robot
c8fd9b844b Merge "Move myself to emeritus section" 2021-05-06 22:24:55 +00:00
Wessam Hassanein
45087d31f8 Merge "Enable PerfettoJavaHeapStackProf in the zygote." 2021-05-06 21:08:01 +00:00
Rambo Wang
a863b0297b Merge "Make LocationAccessQuery's builder safer to use" 2021-05-06 18:45:03 +00:00
Seth Moore
27bc799e7e Merge "Don't re-wrap DeviceIdAttestationExceptions" 2021-05-06 17:09:56 +00:00
Treehugger Robot
44da0f67b4 Merge "Allow ART profile saver period to be parsed from sys props" 2021-05-06 16:01:15 +00:00
Treehugger Robot
9e7ac57a6c Merge "Cancel NotificationTimeout alarms when canceling notification" 2021-05-06 14:25:45 +00:00
Eran Messeri
d5296e3ec4 Move myself to emeritus section
Will no longer be actively developing Device Policy Manager code.

Bug: 187395769
Test: N/A
Change-Id: Ifed25031a8b57e22dec0c8c5e07e27a92431b13f
2021-05-06 15:13:18 +01:00
satayev
8e93d887c9 Add platform-systemserverclasspath.
Make it required in platform-bootclasspath, to make sure both are
installed at the same time.

Bug: 180105615
Test: m && launch_cvd
Change-Id: I58fec3781309727e35c5eb53959e7b6ff58fee73
2021-05-06 13:32:13 +01:00
vichang
ffe7986d71 Merge "Copy StringPool to framework" 2021-05-06 11:16:09 +00:00
Nikita Iashchenko
0a632252af Merge "Rename getters and setters android.compat.Compatibility.ChangeConfig" 2021-05-06 09:14:14 +00:00
Les Lee
f437848713 Merge "wifi: Use new API for wifi data usage function" 2021-05-06 04:42:07 +00:00
lesl
fda6acc990 wifi: Use new API for wifi data usage function
For wifi, a old API: buildTemplateWifiWildcard will includes the merged
wifi which is included to mobile usage. It should not double count
again. Call new API: buildTemplateWifi with
NetworkId: NetworkTemplate.WIFI_NETWORKID_ALL
and null subscriberId to get non-merged wifi usage.

Test: atest -c DataUsageControllerTest
Test: Manual Test, wifi data usage count correctly.
Bug: 176396812
Merged-In: I047bc7dfe6a217c1a88faf3ed5c6783f33227c32
Change-Id: I047bc7dfe6a217c1a88faf3ed5c6783f33227c32
2021-05-06 09:19:41 +08:00
Seth Moore
c73fe01f16 Don't re-wrap DeviceIdAttestationExceptions
Instead of always wrapping errors in a DeviceIdAttestationException,
check to see if the underlying cause was originally a
DeviceIdAttestationException. If so, unwrap the cause and just re-throw
that, preserving the original error.

Bug: 183827468
Test: GtsGmsCoreSecurityTestApp
Change-Id: Iab78ccaff91dd1de615e1d2b18f709027aecd59e
2021-05-05 17:41:38 -07:00
Calin Juravle
f93ecde2fe Allow ART profile saver period to be parsed from sys props
Test: manual

Bug: 184714236
Bug: 185979271
Change-Id: I4ab069e8c4de9f73b7951845e7cb80bc00642e22
2021-05-05 17:15:38 -07:00
Cody Kesting
a5786a15e1 Merge changes I01ffdde2,Iecab1226
* changes:
  Set NOT_VCN_MANAGED capability for Networks in VcnMgmtSvc.
  Notify policy listeners when VCN subIds change.
2021-05-05 21:27:09 +00:00
Treehugger Robot
2a46c6491f Merge "update L photo size name with JPN_ prefix" 2021-05-05 20:36:53 +00:00
Hall Liu
6d3455e488 Make LocationAccessQuery's builder safer to use
Add new methods on LocationAccessQuery.Builder to make it harder to
screw up when using. Changes include:
* Mandatory specification of min sdk levels for enforcing both fine and
coarse permission
* Mandatory "are-you-sure" check when both fine and coarse are above the
base level (i.e. when there are api levels that are left unprotected)

Also adapt TelephonyRegistry's permission checks to follow these new
requirements on the builder.

Fixes: 157170257
Test: CTS, unit tests, manual
Merged-In: Ica8779dff4c671352b917a3ccc02cdd0e1c5856d
Change-Id: Ica8779dff4c671352b917a3ccc02cdd0e1c5856d
(cherry picked from commit d7c2351676)
2021-05-05 19:33:40 +00:00
Wessam Hassanein
f1d719b0a2 Enable PerfettoJavaHeapStackProf in the zygote.
This allows us to collect Java Heap Profiler data directly without
needing to set the flag similar to PerfettoHprof.

Test: Passing Tests
Local Testing

Bug: 160214819

Change-Id: Id4888107c7b12f076de8237fd42bab49319566b5
2021-05-05 11:55:34 -07:00
yawanng
eb2b1d53c7 Add empty boot image profile and preload classes for framework
The boot image profile and preloaded class files will be split
for two parts. One for art and one for framework.

These intial empty files are necessary for server side to
compare the difference.

Bug: 186455808
Test: m
Change-Id: I51a1ab6fa203a8e85e2cebeff3f64c9bfc59b58a
2021-05-05 17:09:55 +00:00
Kurtis Schlepp
11749564b1 update L photo size name with JPN_ prefix
Updates the Japanese Photo L media size name with JPN_ prefix

Test: L is present in API with updated name
Signed-off-by: Kurtis Schlepp <mopriadevteam@gmail.com>
Change-Id: Ib4e52b23571b166f6c000676fb81b4ac7c1f9a7a
2021-05-05 10:06:03 -07:00