Commit Graph

379472 Commits

Author SHA1 Message Date
Nathan Harold
f199334e3e Merge "Update CellInfo Documentation on Updates" 2019-02-08 01:24:22 +00:00
Nathan Harold
fde347156d Merge "Coerce Unreported BER from ASU=99 to UNAVAILABLE" 2019-02-08 01:22:52 +00:00
Amit Mahajan
7299401e81 Merge "Include phoneId as extra when subId is not available." 2019-02-07 23:53:18 +00:00
Alexander Smundak
ad8b5c9939 Merge "Provide java_defaults as a counterpart to the settings.mk file" 2019-02-07 23:03:02 +00:00
Sahin Caliskan
90f86257f0 Merge "Make RCS Message Store APIs ready to unhide" 2019-02-07 22:05:00 +00:00
Mathieu Chartier
b5a69ab764 Merge "Add use_app_image_startup_cache feature flag" 2019-02-07 21:28:37 +00:00
Amit Mahajan
ba71c5f015 Include phoneId as extra when subId is not available.
Test: basic sanity
Bug: 122819162
Change-Id: Ia55b5550930b1e34e14e46c718261ec11ac56f43
2019-02-07 12:34:21 -08:00
Sahin Caliskan
2f932d72ba Make RCS Message Store APIs ready to unhide
This change makes necessary changes to unhide the APIs in a future
commit. All the classes that end with Parameters needed to be converted
to Params, which resulted in a rather large change. I also had to reintroduce
RcsOutgoingMessageCreationParameters as it was required to make
Parcelables final, which means I had to make this new class parcelable
and RcsMessageCreationParameters non-parcelable and non-final

Test: Existing tests pass

Bug:109759350
Change-Id: I2fe9382d28a9abf02ad22ec7ccdeaedc55ae4337
2019-02-07 19:20:45 +00:00
Treehugger Robot
21b38267fa Merge "Deprecate BreakIterator.getTitleInstance() functions and KIND_TITLE field" 2019-02-07 10:20:01 +00:00
Treehugger Robot
af931e60dc Merge "Move hiddenapi rules to Soong" 2019-02-07 07:27:33 +00:00
Chih-hung Hsieh
e45eefe8ec Merge "Add default code reviewers into OWNERS" 2019-02-07 06:21:24 +00:00
Chih-Hung Hsieh
34cd77a651 Add default code reviewers into OWNERS
Bug: 33166666
Test: gerrit uploader
Change-Id: Ief5d4bf9005bb3a712803101f98dd2b876662eb8
2019-02-06 22:19:19 -08:00
Remi NGUYEN VAN
5cdb4c3451 Merge "Check MAINLINE_NETWORK_STACK in ConnectivityService" 2019-02-07 03:33:54 +00:00
Remi NGUYEN VAN
ca551ce981 Merge "Add API for NetworkStack to start captive portal" 2019-02-07 02:39:17 +00:00
Amit Mahajan
f552341204 Merge "Avoid NPE caused by null encodedBearerData in privateGetSubmitPdu" 2019-02-07 01:31:18 +00:00
Amit Mahajan
74a0dd8092 Merge "Use correct PLMN info for an incoming CB-SMS" 2019-02-07 01:30:09 +00:00
Treehugger Robot
f46b14b6af Merge "Update navigation bar upon change of display density" 2019-02-06 23:44:05 +00:00
Chih-hung Hsieh
c6036971e7 Merge "Work around clang-tidy bug in dex_builder.cc." 2019-02-06 22:01:44 +00:00
Youming Ye
bd2016353c Merge "Add connect time to conference participant." 2019-02-06 21:55:06 +00:00
Treehugger Robot
502900a093 Merge "Atom: Add BluetoothSocketConnectionStateChanged" 2019-02-06 20:36:24 +00:00
Mathieu Chartier
f5cd8c1601 Add use_app_image_startup_cache feature flag
Passed down to the zygote if the corresponding system property is set:
runtime_native / use_app_image_startup_cache.

Bug: 123524494
Bug: 116059983
Test: adb shell device_config put runtime_native use_app_image_startup_cache true

(cherry picked from commit ced7e08129)

Merged-In: I27c0b9ea9533b2b6ad1ccd45f0fb9292c4cfca02
Change-Id: I27c0b9ea9533b2b6ad1ccd45f0fb9292c4cfca02
2019-02-06 12:30:36 -08:00
Jack He
9c30c7c6ba Atom: Add BluetoothSocketConnectionStateChanged
* Logs when a Bluetooth socket's connection state is changed
* A Bluetooth socket can be:
  - RFCOMM socket
  - SCO socket
  - BR/EDR L2CAP socket
  - BLE L2CAP socket

Bug: 112969790
Test: make, test drive with statsd
Change-Id: I97b1e650e197a0dad1e2959e2f5b4dd98370d892
Merged-In: I97b1e650e197a0dad1e2959e2f5b4dd98370d892
(cherry picked from commit 815cdbaae0)
2019-02-06 11:12:08 -08:00
Sasha Smundak
1109a1f65a Provide java_defaults as a counterpart to the settings.mk file
Test: treehugger
Change-Id: I9e57744737430ff7e1ab57891dc81d1dd3bbcb83
Merged-In: I9e57744737430ff7e1ab57891dc81d1dd3bbcb83
2019-02-06 10:07:38 -08:00
Neil Fuller
1fe970651f Merge "Revert "Minimum viable TimeZoneDetectorService"" 2019-02-06 18:02:38 +00:00
Chalard Jean
6110472c77 Merge "[KA07] Drop TCP keepalive ack packets" 2019-02-06 17:54:28 +00:00
Sahin Caliskan
c4ed10103a Merge "Implementation of RcsMessageStore APIs [base]" 2019-02-06 17:44:09 +00:00
nchalko
3fe37342ed Merge "Fix reference leak on TvInputManagerService" 2019-02-06 16:33:19 +00:00
Sahin Caliskan
f00a876893 Implementation of RcsMessageStore APIs [base]
This change adds the implementation of RcsMessageStore. Please see the
bug for the design and one-pager

Test: Added unit tests

Bug: 109759350
Change-Id: I6049dcf74ef9e19a38ce58148a89497992bc1c98
2019-02-06 15:49:16 +00:00
Chalard Jean
e5f71e4ed0 Merge "[KA04] Expose TCP socket keepalive API" 2019-02-06 15:13:02 +00:00
Aaron Huang
a63c40e0de [KA07] Drop TCP keepalive ack packets
To support TCP keepalive offload, APF filter needs to add program
for dropping keepalive ack packets when offload is starting.

Bug: 114151147
Test: runtest frameworks-net -c android.net.apf.ApfTest
Change-Id: If16a9bc04eb29dfedb950b6e4c85fe9ad4cf259f
2019-02-06 22:51:49 +09:00
junyulai
352dc2f202 [KA04] Expose TCP socket keepalive API
The new set of API allows applications to request keepalives
offload for established TCP sockets over wifi.

However, the application must not write to or read from the
socket after calling this method, until specific callbacks are
called.

Bug: 114151147
Test: atest FrameworksNetTests FrameworksWifiTests NetworkStackTests

Change-Id: I3880505dbc35fefa34ef6c79555458ecf5d296a4
2019-02-06 22:51:42 +09:00
Remi NGUYEN VAN
6606b77247 Merge "Add Os.bind, Os.sendTo to public API" 2019-02-06 10:58:54 +00:00
Kyeongkab.Nam
8d6b71aa1d Fix reference leak on TvInputManagerService
Fix reference leak when TV input changed.

Test: 1. Modify to call android.os.Debug.dumpReferenceTables() in
TvInputManagerService#onServiceConnected
2. Build and run
3. Repeat to launch and finish TV player application with logcat output
4. Confirm Global Reference Table information on logcat whether
reference increase

Change-Id: I9b9896115088d8b179a9cf29ddca88e8a8fa529a
2019-02-06 18:43:30 +09:00
Chalard Jean
533b2960fc Merge "[KA03.5] Add stable AIDL parcelable for TcpKeepalivePacketData" 2019-02-06 09:19:07 +00:00
Remi NGUYEN VAN
dd29f2078d Check MAINLINE_NETWORK_STACK in ConnectivityService
Treat NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK as equivalent to
NETWORK_STACK, CONNECTIVITY_INTERNAL and NETWORK_SETTINGS combined.
NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK is defined as signature
permission in NetworkStackPermissionStub, which is signed with the
platform certificate, so requirements are the same for both permissions.

The permission is defined by NetworkStackPermissionStub and only used by
NetworkStack, which must be signed with the same key as the stub.

Test: flashed, booted, WiFi works, also with changes on top removing
      CONNECTIVITY_INTERNAL and NETWORK_SETTINGS
Bug: 112869080
Change-Id: I9d0ea8fc99eadf7e902421efdba9b8bf535658b8
2019-02-06 17:57:09 +09:00
Treehugger Robot
4b7cae6c0d Merge "Deprecate getActiveLinkProperties." 2019-02-06 08:32:10 +00:00
Remi NGUYEN VAN
dc48356147 Add API for NetworkStack to start captive portal
Endpoints protected with INTERACT_ACROSS_USERS_FULL, such as
startActivityAsUser, should only be used by modules signed with the
platform cert. The NetworkStack needs to have the system server start
the application so this restriction can be applied.

Bug: 123846255
Test: flashed, captive portal works from primary and secondary user
Change-Id: Ib3e427b3fd03ced80c02985e795f79b096a2ec9a
2019-02-06 16:38:32 +09:00
Bernie Innocenti
f100fa13ea Merge "Give owneship of packages/NetworkStack to Android Core Networking" 2019-02-06 07:22:01 +00:00
Bernie Innocenti
c3586eaa4d Give owneship of packages/NetworkStack to Android Core Networking
Test: ../../build/make/tools/checkowners.py packages/NetworkStack/OWNERS
Change-Id: I6254f1ac2a24611ca6901f8f940d9e5babaaf373
2019-02-06 16:20:35 +09:00
Chalard Jean
eb1ea889bc Deprecate getActiveLinkProperties.
There are other, more idiomatic ways to do this. Deprecating this
with usage limited to P will curb usage and reduce the maintenance
load.
This also deprecates the extra EXTRA_NETWORK_TYPE, which has
survived from an old world but has only been used in deprecated
broadcasts for some time.

Bug: 109783091
Test: eyeball current.txt
Change-Id: I87b74833bb4ec362ee3fd07511a66d318c29067d
2019-02-06 15:44:44 +09:00
Chalard Jean
5f8ddc2eb1 Merge "[KA03] Support tcp keepalive offload" 2019-02-06 06:06:53 +00:00
Bernie Innocenti
f7b1901a10 Merge "Add more android-core-netwoking members to android_net_* jni" 2019-02-06 06:05:05 +00:00
Bernie Innocenti
c60a97f826 Add more android-core-netwoking members to android_net_* jni
Would have been good to include platform/system/netd:/OWNERS here, but
per-file and include don't seem to play well together.

Test: N/A
Change-Id: Ie7a481c655fb76040eaff29a8ad249e32f5b525f
2019-02-06 14:55:01 +09:00
junyulai
2ed5d4cf92 [KA03.5] Add stable AIDL parcelable for TcpKeepalivePacketData
Bug: 114151147
Test: atest FrameworksNetTests
Change-Id: I057dde79013b9eda5037b9a44f8eee06cc07352e
2019-02-06 14:07:39 +09:00
markchien
150e191bca [KA03] Support tcp keepalive offload
When offload is starting, socket will be switched to repair
mode. Read and write on the socket will not be allowed until
repair mode is turned off. If remote packet arrives, repair
mode will be turned off automatically and a callback will
be raised to indicate that socket is ready to read from.

Bug: 114151147
Test: -atest FrameworksNetTests
      -manual

Change-Id: I0c335865912e183e7ad32a8ea12188f02ccde5fd
2019-02-06 12:22:22 +09:00
rleix
099fa87f6d Update navigation bar upon change of display density
Restart the navigation bar upon change of density or font scale, then
the facet buttons of navigation bar will be scaled properly.

Test: Settings->Display->Advanced->Display size->Largest

bug: 122563094

Change-Id: I6d2d7ac4a801fac6f30bb78acee4c00ec2c4e507
Merged-In: I6d2d7ac4a801fac6f30bb78acee4c00ec2c4e507
Signed-off-by: Lei,RayX <rayx.lei@intel.com>
Signed-off-by: Guobin Zhang <guobin.zhang@intel.com>
Exempt-from-Owner-Approval: Car specific file
2019-02-06 01:58:22 +00:00
Chih-Hung Hsieh
2b61bddc1a Work around clang-tidy bug in dex_builder.cc.
Bug: 123880763
Test: build with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=*,-readability-*,
    -google-readability-*,-google-runtime-references,-cppcoreguidelines-*,
    -modernize-*,-llvm-*,-bugprone-narrowing-conversions,
    -misc-non-private-member-variables-in-classes,
    -misc-unused-parameters,-hicpp-*,-fuchsia-*

Change-Id: Ibf80f951ae2369a55570770febe8a1c4422181e1
2019-02-05 17:11:05 -08:00
Tyler Gunn
d6471064e9 Merge "Add nuisance call reporting API to Telecom." 2019-02-05 21:23:15 +00:00
Colin Cross
98d3da8651 Move hiddenapi rules to Soong
The hiddenapi rules are now in build/soong/java/hiddenapi_singleton.go.
The dist goals are still here for now.

Bug: 123645297
Test: m checkbuild
Change-Id: Id25b2bf0d6b49be2f908a4613f012773fb1f02c4
2019-02-05 12:49:54 -08:00
Treehugger Robot
3fdbf46ac1 Merge "Update the Hearing Aids Strings" 2019-02-05 20:20:51 +00:00