438849 Commits

Author SHA1 Message Date
evitayan
996aa2a146 Make mainline IPsec(IKE) to statically include @UiccAppType
This commit adds android.telephony.Annotation to
framework-ike-shared-srcs so that mainline module IPsec(IKE) can
statically include it.

Bug: 146360859
Test: build, flash, boot
Test: atest FrameworksIkeTests
Change-Id: I58b733fd6c020b76313b750e18eebb7bd0c12e7c
2020-01-08 14:17:31 -08:00
Chen Xu
bcc31107cd move UiccAppType to annotation class
this is to allow non-telephony mainline module statically link
to telephony annotatons.

Bug: 135956699
Test: Manual
Change-Id: I1207418cc83217cefc603589496660aa0d4be202
(cherry picked from commit d1b06a2090b63143481a706aed5659b5a341f2fe)
Merged-In: I1207418cc83217cefc603589496660aa0d4be202
2020-01-08 14:17:15 -08:00
evitayan
e22e47f48e Allow mainline IPsec(IKE) to statically include @PolicyDirection
@PolicyDirection was hidden API defined in IpSecManager and
mainline module IPsec(IKE) needs to depend on it.

To remove this hidden API dependency, this commit:
- Moves definition of @PolicyDirection to a separate class
- Creates sharing filegroup framework-ike-shared-srcs for mainline
  IKE and include PolicyDirection.java

Bug: 146360859
Test: build, flash, boot
Test: atest FrameworksIkeTests
Change-Id: Ic6d7c06d4b92e16a9a65430365c9acc73932147b
2020-01-08 13:53:14 -08:00
Peter Wang
18077c1587 Merge "[Telephony Mainline] Move CarrierAppUtils and LocationAccessPolicy to telephony common" 2020-01-07 22:59:17 +00:00
Daniel Bright
599866e91f Merge "Commented out NETWORK_TYPE_LTE_CA in logging function" 2020-01-07 22:47:39 +00:00
Steven Moreland
663e1700be Merge "vibrator: use package as name" 2020-01-07 22:43:01 +00:00
Treehugger Robot
c0c8c00976 Merge "Add setConnectionPolicy to BluetoothPbap" 2020-01-07 20:33:21 +00:00
Treehugger Robot
736ed507d6 Merge "Both build 32 and 64 architecture for TetheringTests" 2020-01-07 20:30:15 +00:00
Meng Wang
d8836ba33f Merge "Remove unused broadcast DATA_CONNECTION_FAILED" 2020-01-07 19:59:36 +00:00
Jordan Liu
660a94aea9 Merge "Add isEmergencyApn" 2020-01-07 19:29:39 +00:00
Chen Xu
06675f9106 Merge "Revert submission 1182953-1576003954286-8455af5a" 2020-01-07 19:29:08 +00:00
James Lin
166c8761a4 Merge "Do not use hidden HandlerExecutor" 2020-01-07 18:35:07 +00:00
Neil Fuller
69bbb1904f Merge "Fix annotation / debugging" 2020-01-07 16:24:38 +00:00
Neil Fuller
4d10019960 Fix annotation / debugging
Fix copy and paste errors from commit 4ab8a199de8 -
the API is new so does not need @UnsupportedAppUsage and
the debug log was incorrect.

Bug: 140712361
Test: build only
Change-Id: I123f76d011d7505d3dc053cb48c40353f0579d17
2020-01-07 14:32:29 +00:00
Sooraj Sasindran
041a6d3125 Do not use hidden HandlerExecutor
Do not use hidden HandlerExecutor

Bug: 140908357
Test: Build

Change-Id: I998224991cb31d642435a23851aa18da3f00f159
Merged-In: I998224991cb31d642435a23851aa18da3f00f159
2020-01-07 13:50:12 +00:00
Treehugger Robot
106d798af8 Merge "android.net.http: Update OWNERS." 2020-01-07 13:45:20 +00:00
Remi NGUYEN VAN
9933ad1e47 Merge "Add FrameworksNetIntegrationTests to postsubmit" 2020-01-07 12:16:34 +00:00
Peter Wang
d10972957f [Telephony Mainline] Move CarrierAppUtils and LocationAccessPolicy to telephony common
Bug: 146904426
Test: Build
Change-Id: I6f6d24fd0adab803899b25a47199839bcbb09eb0
Merged-In: I6f6d24fd0adab803899b25a47199839bcbb09eb0
2020-01-07 02:44:34 -08:00
Treehugger Robot
8e56dc3951 Merge "Revert "Convert apct/framework/window_manager_presubmit-cloud-tf to Test Mapping Suite."" 2020-01-07 10:22:48 +00:00
Neil Fuller
48247d9223 Merge "Change NetworkTimeUpdateServiceImpl behavior" 2020-01-07 10:07:08 +00:00
Treehugger Robot
3e16a10a3e Merge "Change tetheroffloadjni to tetheringutilsjni" 2020-01-07 09:05:43 +00:00
Chun-Yi Lee
4b027f3c9a Revert "Convert apct/framework/window_manager_presubmit-cloud-tf to Test Mapping Suite."
This reverts commit 1aa15ffa25c39001f6f72ea45e8aa45807c498a1.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I0515cd2e7c5e4d296def579e23c3ddbd59250711
2020-01-07 08:42:41 +00:00
markchien
771c3e9a3d Change tetheroffloadjni to tetheringutilsjni
Rename tetheroffloadjni to tetheringutilsjni and move setupRaSocket
jni method from NetUtils into tetheringutilsjni.

Bug: 143195885
Test: -build, flash, boot
      -atest TetheringTests
      -Off/On hotspot with ipv6 upstream

Change-Id: Ib68eb6999bbe2d3ca97e68712f22b105311ef800
2020-01-07 07:42:13 +00:00
Treehugger Robot
2b89b0c7ca Merge "android.net: Update OWNERS." 2020-01-07 07:38:36 +00:00
Treehugger Robot
a6a681768c Merge "Make TokenBucket available to the network stack" 2020-01-07 06:57:46 +00:00
Lorenzo Colitti
96529ad7fc Merge changes If28f0be6,If0f80067
* changes:
  Make LinkPropertiesTest pass, and fix an NPE.
  Add the DHCP server address to LinkProperties.
2020-01-07 06:43:20 +00:00
SongFerng Wang
6297d2548d Merge "isTetheringApnRequired's permission is wrong." 2020-01-07 04:34:59 +00:00
Lorenzo Colitti
348577e09f Make LinkPropertiesTest pass, and fix an NPE.
aosp/973686 added the DHCP server address to LinkProperties, but
it did not have any tests, and would throw NPE when parceling a
LinkProperties that did not have a DHCP server.

Add tests and fix the bug.

Bug: 134098566
Test: unit test now passes
Change-Id: If28f0be650963e8d9af7eb53f6940824582a2db3
2020-01-07 13:02:32 +09:00
Treehugger Robot
93318a40ee Merge "Remove unused system_modules" 2020-01-07 03:51:08 +00:00
Treehugger Robot
159c9e52ef Merge "Add API signature files for the system server APIs" 2020-01-07 03:15:03 +00:00
Treehugger Robot
eebbbea8f0 Merge "Add minOccurs="0"" 2020-01-07 03:13:04 +00:00
Treehugger Robot
2bc689c178 Merge "Remove FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT in tethering" 2020-01-07 02:31:41 +00:00
Rick Yiu
bc0290a7b0 Merge "Implement the ThreadPrioritySetter interface" 2020-01-07 02:31:17 +00:00
Allen Su
267b83e7d6 Merge "Convert some users of Time.format() to an alt." 2020-01-07 02:28:15 +00:00
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
Treehugger Robot
250a41a139 Merge "SMS service loads MMS config directly instead" 2020-01-07 01:29:05 +00: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
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
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
f864a5a355 Merge "Add fcntlInt to public API" 2020-01-06 21:04:17 +00:00