Commit Graph

529704 Commits

Author SHA1 Message Date
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
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
Myles Watson
89bf39528f BluetoothClass: Use mask to get MajorDeviceClass
Bug: 174650196
Test: compiles
Change-Id: I6042a02fa329c5291aa7b9719907485e748582bf
2020-12-02 20:48:08 -08:00
Remi NGUYEN VAN
179419f810 Merge "Remove hidden API usage in metrics toString" 2020-12-03 03:21:42 +00:00
Remi NGUYEN VAN
692a8748a5 Merge "Do not query CS in NetworkProvider constructor" 2020-12-03 01:48:01 +00:00
Mingming Cai
f4753f6373 Add CQI and table index to LTE and NR CellSignalStrength
Bug: 170771377
Test: make
Change-Id: I4c9281d5a606d3371d53020af3470e6f0f04524f
2020-12-02 17:20:15 -08:00
Treehugger Robot
deb1024b75 Merge "SystemServer: fix an infinite loop in TvInputManagerService [1/1]" 2020-12-02 22:00:27 +00:00
Brian Stack
3163bf0d35 Expose UwbManager through Context.getSystemService
Bug: 170323306
Test: atest UwbManagerTests
Change-Id: I04c1263a191fcfeee5824be5d6d1944354819d02
Merged-In: I04c1263a191fcfeee5824be5d6d1944354819d02
2020-12-02 13:58:28 -08:00
Rambo Wang
936e99473b Clean up unused indication update mode definition in TelephonyManager
INDICATION_UPDATE_MODE_NORMAL and
INDICATION_UPDATE_MODE_IGNORE_SCREEN_OFF was used to set the indication
update mode. But all the usage has been removed, the definitions become
orphan.

Bug: 174614001
Test: m -j
Merged-In: I1ddf89bae8d7a477ae3a521f052bc921cf3ee5ae
Change-Id: I1ddf89bae8d7a477ae3a521f052bc921cf3ee5ae
(cherry picked from commit 4bb237e4ae)
2020-12-02 21:33:52 +00:00
Mohammad Samiul Islam
3a2612c9d2 Remove dependency on ModuleTestUtils
Bug: 160296318
Test: atest StagedInstallInternalTest
Change-Id: Ic311aeaf4801c3b7c0dc5cd7a222cc304bba1335
Merged-In: Ic311aeaf4801c3b7c0dc5cd7a222cc304bba1335
2020-12-02 19:49:49 +00:00
Brad Ebinger
32fd8e5692 Fix incorrect cache checking of string config values
Bug: 174541711
Test: atest CtsTelephonyTestCases:ImsServiceTest
Change-Id: Idca646dc7cbd562b357092967245cd7aa48a7c86
2020-12-02 11:48:38 -08:00
Treehugger Robot
f86411654e Merge "Make auto time source suggestions prioritisation configurable." 2020-12-02 19:04:09 +00:00
Treehugger Robot
240fe52811 Merge "Turn vibrator off explicitly on waveforms when amplitude is zero" 2020-12-02 17:59:09 +00:00
Almaz Mingaleev
a80891bebe Make auto time source suggestions prioritisation configurable.
Also get prefix is removed from Callback.getAutoOriginPriorities
to make it consistent with the rest of the interface.
Extra information added to TimeDetectorStrategyImpl dump.

Bug: 172230856
Test: atest
frameworks/base/services/tests/servicestests/src/com/android/server/timedetector

Change-Id: I2a67414d4f2b9d972507052c7c2c817d59be59ba
Merged-In: I2a67414d4f2b9d972507052c7c2c817d59be59ba
2020-12-02 17:27:16 +00:00
James Lin
7a964f2199 Merge "[RCS UCE] Modify the data type of parameter retryAfter from String to long" 2020-12-02 15:15:26 +00:00
Treehugger Robot
777d7d838a Merge "Update comment for new proto directory" 2020-12-02 13:08:47 +00:00
Remi NGUYEN VAN
e8f300c360 Merge "Remove CaptivePortal deps on @hide MetricEvents" 2020-12-02 11:12:56 +00:00