439331 Commits

Author SHA1 Message Date
Tom Hsu
03cbd5d35c Merge "Change TelephonyManager#isManualNetworkSelectionAllowed to system api" 2020-01-07 02:24:31 +00:00
Treehugger Robot
928f0bf26e Merge "Convert apct/framework/window_manager_presubmit-cloud-tf to Test Mapping Suite." 2020-01-07 02:18:22 +00:00
Treehugger Robot
0c648888ea Merge "Change get sub id list to get sub info list" 2020-01-07 02:14:00 +00:00
Taesu Lee
e93312767b Merge "SMS service loads MMS config directly instead"
am: 250a41a139

Change-Id: If563ce6935b844a9747c6544c67f1988d64e0e4e
2020-01-06 17:34:39 -08:00
Treehugger Robot
250a41a139 Merge "SMS service loads MMS config directly instead" 2020-01-07 01:29:05 +00:00
Rambo Wang
d9832ed2ed Deprecate some UICC related APIs in TelephonyManager
In specific, the following APIs are marked deprecated:
- TelephonyManager#iccOpenLogicalChannel
- TelephonyManager#iccCloseLogicalChannel
- TelephonyManager#iccCloseLogicalChannelBySlot
- TelephonyManager#iccTransmitApduLogicalChannel
- TelephonyManager#iccTransmitApduLogicalChannelBySlot
- TelephonyManager#iccTransmitApduBasicChannel
- TelephonyManager#iccTransmitApduBasicChannelBySlot
- TelephonyManager#iccExchangeSimIO
- TelephonyManager#sendEnvelopeWithStatus

The comments of the APIs are updated, suggesting to switch to
android.se.omapi.SEService APIs instead.

Telephony APIs do not provide any resource management for opened
logical channels, so it's easy for apps to open channels and
never close them. Secure Element Service does provide resource
management, so we are directing apps to use those APIs instead.

Bug: 146360599
Test: N/A
Change-Id: Id44402c637aaa77c77ee7672e0ceddf1bee20f7c
2020-01-06 17:12:40 -08:00
Hall Liu
9ca0d16b2e Merge "Expose SignalStrength.CREATOR"
am: b0546af594

Change-Id: Idb80ef1a90cb0a79d73dcd54dfa3577467c0d304
2020-01-06 17:08:55 -08:00
Treehugger Robot
b0546af594 Merge "Expose SignalStrength.CREATOR" 2020-01-07 01:02:53 +00:00
Daniel Bright
a67b57d56b Commented out NETWORK_TYPE_LTE_CA in logging function
Bug: 147111233
Test: TelephonyRegistryTest
Merged-In: If5714d147c583e5d76a35d3f215ce818129f8e3d
Change-Id: Ic7e7f68451a45d0a103345208a8db51e4499e457
2020-01-06 16:59:43 -08:00
Hall Liu
b128b793c7 Merge "Clean up SmsApplication and expose getDefaultSmsPackage"
am: 2ada7fbac2

Change-Id: Ie4ca7c239295ba9e3bfb60815ca5c7d65bf0fdc1
2020-01-06 16:45:17 -08:00
Daniel Bright
4542838c08 Change get sub id list to get sub info list
Bug: 147239065
Test: FrameworkBaseTests
Merged-In: Id9860eb48cffbe6c5517e51d1c6ed29a84997bbd
Change-Id: Id9860eb48cffbe6c5517e51d1c6ed29a84997bbd
2020-01-06 16:44:08 -08:00
Hall Liu
2ada7fbac2 Merge "Clean up SmsApplication and expose getDefaultSmsPackage" 2020-01-07 00:36:51 +00:00
Taesu Lee
5f39e5d863 SMS service loads MMS config directly instead
getCarrierConfigValues() is removed from MmsManager and SMS service
loads Carrier configuration values directly since MmsService could
return null or cached config instead if an app requests the config by
receiving ACTION_CARRIER_CONFIG_CHANGED before the config is loaded
newly in MmsService by ACTION_CARRIER_CONFIG_CHANGED.

Bug: 145768042
Test: manual

Change-Id: Idc21015cab2902bd0f67e2131ea89b04c4fc4f5e
Merged-In: Idc21015cab2902bd0f67e2131ea89b04c4fc4f5e
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
2020-01-07 00:12:54 +00:00
Marco Nelissen
8e7b2b5f9d Merge "Mediacodec to use C interface to mediametrics"
am: 3f51e53b12

Change-Id: Ie4e1cbdef444de78602dc705577e8e77f99f4da5
2020-01-06 16:05:18 -08:00
Hall Liu
4d1771a3fb Merge "Create new APIs for overriding APNs"
am: 13beb87783

Change-Id: I523c37c06cb7636775131720c252f06cb2eb152f
2020-01-06 16:02:13 -08:00
Tyler Gunn
1aba8b3f6c Merge "Cleanup API docs for audio codecs and add intdef."
am: dff38f5610

Change-Id: Ifc7ceba91d183f4ea7ff96e37cc2797106b03296
2020-01-06 15:56:53 -08:00
Hall Liu
9ded659a50 Add setDisabledForSimNetworkLock to StatusBarManager
Add a new @SystemApi disable utility method to allow telephony's
mainline module to disable the status bar when the device is SIM-locked

Bug: 146834818
Bug: 138956541
Test: atest StatusBarManagerTest
Change-Id: Id3757fc560c5b70bed553f19b050524a024b4c78
2020-01-06 15:47:45 -08:00
Marco Nelissen
3f51e53b12 Merge "Mediacodec to use C interface to mediametrics" 2020-01-06 23:42:33 +00:00
Steven Moreland
623e66caa7 vibrator: use package as name
In order to provide a more descriptive name, and to be consistent
with HIDL, the stable AIDL package names are switching from
vintf-vibrator format to the package format
(android.hardware.vibrator).

Bug: N/A
Test: all build time
Change-Id: I3805fea0be71c6cec9354d0ca71b4678387e516c
Merged-In: I3805fea0be71c6cec9354d0ca71b4678387e516c
2020-01-06 15:33:50 -08:00
Rahul Sabnis
e36a171b23 Add setConnectionPolicy to BluetoothPbap
Bug: 145943634
Test: Manual
Change-Id: I72fc624d5c6578ca0374a1e943810d97b6361250
2020-01-06 15:22:55 -08:00
Hall Liu
13beb87783 Merge "Create new APIs for overriding APNs" 2020-01-06 23:14:44 +00:00
Tyler Gunn
dff38f5610 Merge "Cleanup API docs for audio codecs and add intdef." 2020-01-06 23:12:58 +00:00
Jordan Liu
65dfd9d938 Add isEmergencyApn
DcTracker uses this to make sure emergency APNs are not set for initial
attach. This is used instead of canHandleType because it doesn't depend
on the APN being enabled.

Bug: 144932430
Test: manual
Change-Id: I642c7d2171adb862751a5022a9b613ab58b22bf8
2020-01-06 14:42:07 -08:00
Benedict Wong
0c53919e1b Merge "Add fcntlInt to public API"
am: f864a5a355

Change-Id: I187afbfd4b363c61a9351a298232ff7b33fa48bf
2020-01-06 13:15:31 -08:00
Benedict Wong
f864a5a355 Merge "Add fcntlInt to public API" 2020-01-06 21:04:17 +00:00
Neil Fuller
c0f9b27214 Merge "Add new permissions"
am: 62ace8c46a

Change-Id: I618e2f4a608914d1bf679186880cd358a75a238d
2020-01-06 13:02:34 -08:00
nchalko
acb2a3c481 Merge "Mark DVB methods and classes as System APIs."
am: 046609406d

Change-Id: Ica6c0eaa19abc6294b40d18232c59bc142a86f58
2020-01-06 12:24:55 -08:00
Neil Fuller
62ace8c46a Merge "Add new permissions" 2020-01-06 19:38:25 +00:00
nchalko
046609406d Merge "Mark DVB methods and classes as System APIs." 2020-01-06 19:08:36 +00:00
Neil Fuller
3afc961f4a Merge "Add more info to dumpsys output"
am: 6109ea3b16

Change-Id: Ib899fc9e8a68411be35e64eab4b78b745ac8fdbf
2020-01-06 10:25:04 -08:00
Neil Fuller
6109ea3b16 Merge "Add more info to dumpsys output" 2020-01-06 18:14:30 +00:00
Ray Essick
e981a55d0c Mediacodec to use C interface to mediametrics
Use stable C interface instead of C++ interface.

Bug: 123543273
Bug: 140763926
Test: compilation, boot, dumpsys
Change-Id: Id516998b671e9876567175351ba04959963fee5d
Merged-In: I920b47da1316fb427837795fe3e2f625589f0b4d
2020-01-06 09:39:02 -08:00
ruibin zhang
ad2689c1a1 Add the DHCP server address to LinkProperties.
Bug: 134098566
Test: see subsequent CL in topic
Change-Id: If0f80067934189137c87cd379e7ae47b187562fd
2020-01-07 01:21:07 +09:00
Rob Barnes
bb8ecaef09 Merge "Make KeyStoreCryptoOperationChunkedStreamer lazy."
am: c13f012cc5

Change-Id: I8387f3e35250fd814f010c8b649caa06e4259551
2020-01-06 08:04:22 -08:00
tom hsu
070f90cab2 Change TelephonyManager#isManualNetworkSelectionAllowed to system api
Bug: 146036213
Test: make and atest pass
Change-Id: I185d4b1bb2061dbde3b18e6e9f0baf6461ff609d
2020-01-06 16:03:21 +00:00
Rob Barnes
c13f012cc5 Merge "Make KeyStoreCryptoOperationChunkedStreamer lazy." 2020-01-06 15:33:06 +00:00
Maciej Żenczykowski
d872904d2c Merge "convert 'Stats stats; memset(&stats, 0, sizeof(Stats));' to 'Stats stats = {};'"
am: 12a638d9a5

Change-Id: Ie1dd18260ab392ae9992a794d50925e28ec2d7c9
2020-01-06 07:09:10 -08:00
Maciej Żenczykowski
39b66243ee Merge "remove spurious 'struct' on Stats"
am: 34ad903954

Change-Id: Iecd6eec2787fcb1d8f7055d89075769b2f781795
2020-01-06 07:04:41 -08:00
markchien
4cbc1a9ff7 Remove FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT in tethering
Tethering is started after system ready that AMS is ready to deal with
intent broadcast, mProcessesReady is true.

Bug: 143195885
Test: build, flash, boot
Change-Id: Ib9a6008654267b6d0fca78923247c336e90b5534
2020-01-06 14:42:52 +00:00
Neil Fuller
5739ce00c0 Add more info to dumpsys output
There's some extra state it may be useful to log.

Bug: 140712361
Test: build only
Change-Id: I1f509bac5807289f71f09c8a593e32f8f1637ad6
2020-01-06 14:19:21 +00:00
Treehugger Robot
12a638d9a5 Merge "convert 'Stats stats; memset(&stats, 0, sizeof(Stats));' to 'Stats stats = {};'" 2020-01-06 14:12:26 +00:00
Treehugger Robot
34ad903954 Merge "remove spurious 'struct' on Stats" 2020-01-06 14:12:21 +00:00
Remi NGUYEN VAN
4be48b1ed8 Add FrameworksNetIntegrationTests to postsubmit
After checking flake metrics for this test, it can be added in
presubmit.

Test: this change is to check results in postsubmit
Change-Id: I70cb149629a3e959e29cfd21048e7b148bd29fe9
2020-01-06 22:03:43 +09:00
Yo Chiang
3244294cad Merge "VerificationActivity clones calling Intent"
am: ff266fb064

Change-Id: I95b7b712d64f058a527a9b72a315a62f60897284
2020-01-05 22:07:34 -08:00
Treehugger Robot
ff266fb064 Merge "VerificationActivity clones calling Intent" 2020-01-06 06:01:37 +00:00
Paul Hu
b6bf5042c1 Merge "Add permissions for FrameworksNetIntegrationTests"
am: eb1eac5931

Change-Id: I27ecd6182ff3794098b6486cb48736df7a849b0e
2020-01-05 21:07:51 -08:00
Paul Hu
eb1eac5931 Merge "Add permissions for FrameworksNetIntegrationTests" 2020-01-06 05:01:44 +00:00
paulhu
f88a88d72f Add permissions for FrameworksNetIntegrationTests
The protected permissions were changed in some connectivity APIs
since aosp/1099096. Add required permissions for
FrameworksNetIntegrationTests.

Bug: 147121740
Test: atest FrameworksNetIntegrationTests
Change-Id: I38ba5c8e93fd5bc94371b2a02a280f503f2e1367
2020-01-06 09:30:03 +08:00
Hall Liu
39839dc63b Create new APIs for overriding APNs
Create new APIs in TelephonyManager for DevicePolicyManager to add
override APNs, and use them in DevicePolicyManagerService instead of
directly accessing the APN database.

Bug: 146834818
Test: cts-tradefed run cts --module DevicePolicyManager --test
com.android.cts.devicepolicy.DeviceOwnerTest#testOverrideApn
Test: atest TelephonyManagerTest

Change-Id: I6c6214424169c05fd452db71a8c6593f8473b9d4
Merged-In: I6c6214424169c05fd452db71a8c6593f8473b9d4
2020-01-05 14:24:22 -08:00
shilu
c0e176d635 Expose Searching Status
Bug: 143184531
Test: manual
Change-Id: I2822bfabaa7014260f8f37af2697e9c5c99bbb52
2020-01-04 19:05:37 -08:00