529719 Commits

Author SHA1 Message Date
Jeff Sharkey
52b9862f87 Improve OWNERS coverage across frameworks/base/.
As general background, OWNERS files expedite code reviews by helping
code authors quickly find relevant reviewers, and they also ensure
that stakeholders are involved in code changes in their areas.

Some teams under frameworks/base/ have been using OWNERS files
successfully for many years, and we're ready to expand them to cover
more areas.  Here's the historical coverage statistics for the last
two years of changes before these new OWNERS changes land:

-- 56% of changes are fully covered by OWNERS
-- 17% of changes are partially covered by OWNERS
-- 25% of changes have no OWNERS coverage

Working closely with team leads, we've now identified clear OWNERS on
a per-package basis, and we're using "include" directives whenever
possible to to simplify future maintenance.  With this extensive
effort, we've now improved our coverage as follows:

-- 98% of changes are fully covered by OWNERS
-- 1% of changes are partially covered by OWNERS
-- 1% of changes have no OWNERS coverage

This specific change is automatically generated by a script that
identifies relevant "include" directives.

Bug: 174932174
Test: manual
Exempt-From-Owner-Approval: refactoring with team leads buy-in
Merged-In: I3480ddf2fe7ba3dfb922b459d4da01fa17a2c813
Change-Id: I3480ddf2fe7ba3dfb922b459d4da01fa17a2c813
2020-12-08 08:36:28 -07:00
Jeff Sharkey
fab0ab3c9c Improve OWNERS coverage across frameworks/base/.
As general background, OWNERS files expedite code reviews by helping
code authors quickly find relevant reviewers, and they also ensure
that stakeholders are involved in code changes in their areas.

Some teams under frameworks/base/ have been using OWNERS files
successfully for many years, and we're ready to expand them to cover
more areas.  Here's the historical coverage statistics for the last
two years of changes before these new OWNERS changes land:

-- 56% of changes are fully covered by OWNERS
-- 17% of changes are partially covered by OWNERS
-- 25% of changes have no OWNERS coverage

Working closely with team leads, we've now identified clear OWNERS on
a per-package basis, and we're using "include" directives whenever
possible to to simplify future maintenance.  With this extensive
effort, we've now improved our coverage as follows:

-- 98% of changes are fully covered by OWNERS
-- 1% of changes are partially covered by OWNERS
-- 1% of changes have no OWNERS coverage

This specific change is automatically generated by a script from
detailed ownership information confirmed by team leads.

Bug: 174932174
Test: manual
Exempt-From-Owner-Approval: refactoring with team leads buy-in
Merged-In: I9789c97c1de8e5d962b48c29c57d82fe83729eba
Change-Id: I9789c97c1de8e5d962b48c29c57d82fe83729eba
2020-12-08 08:36:27 -07:00
Jeff Sharkey
061c2ec3b6 Improve OWNERS coverage across frameworks/base/.
As general background, OWNERS files expedite code reviews by helping
code authors quickly find relevant reviewers, and they also ensure
that stakeholders are involved in code changes in their areas.

Some teams under frameworks/base/ have been using OWNERS files
successfully for many years, and we're ready to expand them to cover
more areas.  Here's the historical coverage statistics for the last
two years of changes before these new OWNERS changes land:

-- 56% of changes are fully covered by OWNERS
-- 17% of changes are partially covered by OWNERS
-- 25% of changes have no OWNERS coverage

Working closely with team leads, we've now identified clear OWNERS on
a per-package basis, and we're using "include" directives whenever
possible to to simplify future maintenance.  With this extensive
effort, we've now improved our coverage as follows:

-- 98% of changes are fully covered by OWNERS
-- 1% of changes are partially covered by OWNERS
-- 1% of changes have no OWNERS coverage

This specific change begins defining top-level OWNERS lists,
including a general catch-all for string translations.

Bug: 174932174
Test: manual
Exempt-From-Owner-Approval: refactoring with team leads buy-in
Change-Id: Ie7ac3302d40a717fa048115cca2ea4359de64959
2020-12-08 08:36:27 -07:00
Treehugger Robot
6fb53d53d4 Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-12-05 23:52:02 +00:00
Treehugger Robot
1b11e4ca9c Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-12-05 23:14:52 +00:00
Bill Yi
25e43d4abb Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iea31a83c92860b10a8f16b6f9733f596412febab
2020-12-05 21:57:51 +00:00
Treehugger Robot
8816df37e4 Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-12-05 20:53:10 +00:00
Treehugger Robot
fdbeaf63ec Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-12-05 20:52:51 +00:00
Bill Yi
befb449270 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I85dca250638c5097249cb226109e4028a3c156d1
2020-12-05 20:02:45 +00:00
Bill Yi
d90f296dd0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib4c485293281b1588e90ae799afcd1b8d4528c66
2020-12-05 19:29:22 +00:00
Treehugger Robot
8136182dcd Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-12-05 18:36:50 +00:00
Bill Yi
964d4bfbac Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7f7c641801fcd1e593a578b6dd1a8b7595441b6d
2020-12-05 18:22:39 +00:00
Bill Yi
25588e22f3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I303edea34d19f2263d4619da12822be5e2506864
2020-12-05 16:45:46 +00:00
Treehugger Robot
338f4e1d6f Merge "MediaCodec: Pass missing C2Info for MediaCodecLinearBlock." 2020-12-05 01:05:09 +00:00
Julia Reynolds
1c6283339a Merge "Missed call LED pulse notification is... missing" 2020-12-05 00:06:27 +00:00
Treehugger Robot
e98c214507 Merge "Add more logging for wakelock stats inquiries" 2020-12-04 23:45:55 +00:00
Ray Lee
73b682f61e MediaCodec: Pass missing C2Info for MediaCodecLinearBlock.
Bug: 174722272
Test: local test ok.
Change-Id: Id2283f84febe48939496ecc9fb78af13452cf111
2020-12-04 23:28:56 +00:00
Dan Shi
471929b98f Merge "Move CtsTelecomTestCases to group presubmit-large" 2020-12-04 23:27:17 +00:00
Treehugger Robot
3c12991e94 Merge "Add ThermalMitigation API to Telephony." 2020-12-04 21:25:08 +00:00
Michael Sun
757b01b94b Add more logging for wakelock stats inquiries
Add additional logging after receiving wakelock statistics from
SystemSuspend via AIDL.

Test: atest FrameworksCoreTests:KernelWakelockReaderTest
Test: manually verified new log presented
Bug: 173539101
Change-Id: Ia64ca7edaa4c7925348e1c31d5681943cfbe4f33
2020-12-04 20:25:28 +00:00
Jay Patel
ba1f9833fc Merge "AudioService: remove DEVICE_OUT_SPDIF from mFixedVolumeDevices" 2020-12-04 18:31:22 +00:00
Dan Shi
4d46518b6f Move CtsTelecomTestCases to group presubmit-large
Also move OverlayRemountedTest, RollbackTest

The test config takes longer than 15mins to run. Move it to a dedicated
group for running slow presubmit Test Mapping test.

Bug: 174654670
Bug: 174495337
Test: none
Change-Id: Ie134c5d171bd99cca908f316d03050001c22ac32
2020-12-04 18:14:10 +00:00
Treehugger Robot
6bf4f2535a Merge "Clean up unused indication update mode definition in TelephonyManager" 2020-12-04 18:06:18 +00:00
Daniel Bright
90f426fab4 Merge "Add indication APIs to expose QOS from LTE and NR bearers" 2020-12-04 17:37:58 +00:00
Cody Kesting
fcb4e29a9c Merge "Allow the System UID to unregister ConnDiags CBs." 2020-12-04 17:35:28 +00:00
Treehugger Robot
e98351f355 Merge changes I1f880aa6,Ie8ba8208,Ic45aa87c,I04c1263a
* changes:
  Add tests for UWB AdapterStateListener
  Implement UWB AdapterStateListener
  Implement UwbManager functions
  Expose UwbManager through Context.getSystemService
2020-12-04 16:56:26 +00:00
Treehugger Robot
3ae4d1c8e1 Merge "Add test validating CEC messages with unregistered source" 2020-12-04 16:33:25 +00:00
Treehugger Robot
e59313abcc Merge "Create linker namespace in startServiceFromJar" 2020-12-04 07:34:41 +00:00
Treehugger Robot
3af010fe57 Merge "Fix visibility rules for apex/statsd" 2020-12-04 07:25:42 +00:00
Treehugger Robot
d14298172c Merge "RESTRICT AUTOMERGE Only update native InputApplicationHandle once" 2020-12-04 06:11:31 +00:00
Baligh Uddin
a73e594013 Fix visibility rules for apex/statsd
The //frameworks/base/apex/statsd path is being migrated to
//packages/modules/StatsD/apex.
BUG: 167962588
TEST: TH

Change-Id: Ifee35a00de64e194abb80af5d85e34732244f509
2020-12-04 03:59:37 +00:00
Jayachandran C
0f14f81d7c Add indication APIs to expose QOS from LTE and NR bearers
Add indication APIs to expose Quality Of Service (QOS) information
from LTE and NR default as well as dedicated bearers. The QOS is
added to the existing SetupDataCallResult structure so that the
baseband can notify whenever there is a change in QoS on a PDN.

Bug: 158315614
Test: 1) Simulated V1_6 SetupDataCallResult and verified the Qos objects
         are passed correctly in the APIs
      2) atest frameworks/opt/telephony/tests/telephonytests/

Merged-In: I29b13975288286d9706a1c3fb227eeb46527efc3
Change-Id: I29b13975288286d9706a1c3fb227eeb46527efc3
2020-12-04 03:24:39 +00:00
Baligh Uddin
cb00db1b88 Merge "Migrate frameworks/base/cmds/statsd to packages/modules/StatsD/bin" 2020-12-04 02:23:25 +00:00
Treehugger Robot
c20770fee5 Merge "Remove NATT keepalive from IpSecTransform" 2020-12-04 02:07:56 +00:00
Remi NGUYEN VAN
75304108e7 Merge "Use IPV6_MIN_MTU from NetworkConstants in Ikev2Vpn" 2020-12-04 02:05:01 +00:00
Remi NGUYEN VAN
1ded24221e Merge "Set NetworkIdentity subscriberId on all networks" 2020-12-04 02:03:29 +00:00
Brian Stack
26728aefc2 Add tests for UWB AdapterStateListener
Bug: 170323306
Test: atest UwbManagerTests
Change-Id: I1f880aa6df30405960d4fa7442c23bc87eed5aaa
2020-12-03 17:45:55 -08:00
Brian Stack
93964f8f80 Implement UWB AdapterStateListener
The AdapterStateListener registers with the underlying UWB Service for
UWB Adapter state changes and notifies registered client callbacks.

Bug: 170323306
Test: atest UwbManagerTests
Change-Id: Ie8ba8208909652b98ee2df15e08433627542f28b
2020-12-03 17:45:51 -08:00
Cody Kesting
4248f22f18 Allow the System UID to unregister ConnDiags CBs.
This CL updates ConnectivityService to allow the System's UID to
unregister ConnectivityDiagnostics callbacks. Preivously, only the
registrant was allowed to unregister them - this caused problems for
callbacks that were attempted to be unregistered via binderDied() when
the registrant app dies.

Bug: 159912975
Bug: 174713659
Test: manually verified
Change-Id: I20d0cad5f902708d366aa703c2893b0ea3e55052
2020-12-03 17:43:50 -08:00
Brian Stack
8cc2de8ccd Implement UwbManager functions
Provides implementations for the basic UwbManager functions that
directly query the UWB Service.

Bug: 170323306
Test: atest UwbManagerTests
Change-Id: Ic45aa87ce90c414642e3186890f6ef08e1fd8486
2020-12-03 16:55:41 -08:00
Baligh Uddin
3eab1b0983 Migrate frameworks/base/cmds/statsd to packages/modules/StatsD/bin
Add statsd protos to platform_protos rule

BUG: 167962588
TEST: TH
TEST: Local build [ m com.android.os.statsd ]
Merged-In: I053f2a211ea28c2f181937af3d58ad16b235d096
Change-Id: I637a1af27d572924e88b1f8a930fc45d0794fa20
2020-12-04 00:40:07 +00:00
Brad Ebinger
ad55c3468b Merge "Fix incorrect cache checking of string config values" 2020-12-03 20:35:14 +00:00
Jack Nudelman
d64c58744a Add ThermalMitigation API to Telephony.
go/telephony-thermal-mitigation

Test: make, cts
Bug: 158872959

Change-Id: Ib4be5edf063e4c54e9238b0403f59e1621df671e
Merged-In: Ib4be5edf063e4c54e9238b0403f59e1621df671e
2020-12-03 19:41:31 +00:00
Mingming Cai
8dd47fcfc5 Merge "Add CQI and table index to LTE and NR CellSignalStrength" 2020-12-03 19:13:21 +00:00
Treehugger Robot
a9f7570de6 Merge "BluetoothClass: Use mask to get MajorDeviceClass" 2020-12-03 19:00:23 +00:00
Treehugger Robot
b8fca94cfe Merge "Remove dependency on ModuleTestUtils" 2020-12-03 14:58:46 +00:00
Riddle Hsu
5e4b075554 RESTRICT AUTOMERGE Only update native InputApplicationHandle once
This makes sure the write operation (NativeInputApplicationHandle
::updateInfo) is always called from window manager side once when
calling SurfaceControl.Transaction#setInputWindowInfo or
InputManagerService#setFocusedApplication. If the info of input
application handle is changed, a new instance will be created.
That avoids the race condition of reading the fields of the same
InputApplicationInfo instance from input dispatcher.

Bug: 171857140
Bug: 161334769
Test: WindowInputTests

Change-Id: I70de9835c7699fe6f56fc3655b0fee5c317ecc3a
2020-12-03 11:57:42 +00:00
Treehugger Robot
f5d8e97da6 Merge "Add ART optimization dimension to reportFullyDrawn" 2020-12-03 11:55:52 +00:00
Patrick Rohr
176ba02184 Merge changes from topic "restricted-networking-mode"
* changes:
  Add Restricted Mode Firewall Chain
  Clean Up NetworkManagementService Tests
2020-12-03 10:50:25 +00:00
Aaron Huang
3de9a7240f Merge "Migrate Slog to Log used in connectivity service module" 2020-12-03 10:17:45 +00:00