374762 Commits

Author SHA1 Message Date
Nan Zhang
81f29f5cd6 Enable jdiff for api-stubs-docs
And also clean legacy MK code in Android.mk

Test: api-stubs-docs-diff
Bug: b/78245848
Change-Id: I733e0e2c29f8273db3ffb9730c70d5b4e2b1438d
2018-09-17 15:29:11 -07:00
Treehugger Robot
dbe20066d3 Merge "Frameworks: Replace deprecated MetricsLogger usage" 2018-09-17 19:09:17 +00:00
vichang
abb7b3d0e5 Merge "Expose android.icu.text.CaseMap API" 2018-09-17 18:10:31 +00:00
Treehugger Robot
056a095dd3 Merge "Unifying source of statsd BleScan calls and cleaning it up." 2018-09-17 17:46:01 +00:00
Youming Ye
34721e16a0 Merge "Increase customization options for wfcSpnFormats" 2018-09-17 16:55:14 +00:00
Yuanjia Hsu
55b91f6d93 Merge "Add feature flag in Settings." 2018-09-17 13:43:08 +00:00
Adam Vartanian
27eec4b376 Merge "Update greylist for Conscrypt update" 2018-09-17 12:36:50 +00:00
Shaotang Li
0b925f85c0 Merge "Add extra data when starting emergency dialer intent" 2018-09-17 04:14:51 +00:00
Andreas Gampe
7bad8fd371 Frameworks: Replace deprecated MetricsLogger usage
Update OtaDexoptService to use an instance of MetricsLogger.

Test: m
Change-Id: I8892430392a9d3b4ca25dd52643d21cab7d36b78
2018-09-15 11:27:58 -07:00
Treehugger Robot
daabcae955 Merge "Don't fail if there are no comments." 2018-09-15 02:41:13 +00:00
Treehugger Robot
86f991a7bd Merge "Don't Use NPE for Flow Control in getCellLocation" 2018-09-15 00:23:28 +00:00
Peter Collingbourne
6d66e03371 Merge "libandroid_runtime: Link libselinux dynamically instead of statically." 2018-09-14 22:45:55 +00:00
Mathew Inwood
6be0fdde4a Don't fail if there are no comments.
Grep exits with non-zero if it find no matches. But it doesn't matter in
this case, so just carry on.

Test: frameworks/base/tools/hiddenapi/sort_api.sh \
Test:    frameworks/base/config/hiddenapi-light-greylist.txt
Change-Id: I7c219ee617f7dfa3cff5232ab979cc4ba38ebbfd
2018-09-14 15:29:35 +01:00
Treehugger Robot
53f6d1b060 Merge "Use IPv6 hop limit from upstream interface." 2018-09-14 11:21:37 +00:00
Erik Kline
8e492f8de4 Use IPv6 hop limit from upstream interface.
Test: as follows
    - built, flashed, booted
    - runtest frameworks-net passes
    - manually setting /proc/sys/net/ipv6/<upiface>/conf/hop_limit
      to various value yields RAs with expected hop limit settings
      in downstream RAs
Bug: 32163131
Change-Id: I248154ca9d836318bf21a2971d0884040525d9fc
2018-09-14 18:46:25 +09:00
Treehugger Robot
741521940a Merge "Migrate all offline/online sdk docs generation to use Metalava" 2018-09-13 22:44:35 +00:00
Peter Collingbourne
d7e42641de libandroid_runtime: Link libselinux dynamically instead of statically. 2018-09-13 14:34:32 -07:00
Bookatz
ae6738ed2a Unifying source of statsd BleScan calls and cleaning it up.
Bug: 80308558
Test: cts-tradefed run cts-dev -m CtsStatsdHostTestCases
Change-Id: I0b4a0b56631b4354b73f0fafea2c0dc7dff248d1
2018-09-13 18:48:10 +00:00
Evan Laird
375af769e6 Merge "Leave spaces between Operator name and Clock in StatusBar" 2018-09-13 17:24:09 +00:00
Steven Moreland
82e3d2f066 Merge changes from topic "remove-hidl-boot-jars"
* changes:
  pm: Add hidl libraries to old class paths.
  preloaded-classes: remove core HIDL libs
2018-09-13 15:14:35 +00:00
Shigeki Yokomichi
52a11bbe15 Leave spaces between Operator name and Clock in StatusBar
In StatusBar, there are no spaces between Operator name and Clock,
so leaving spaces to improve design.

Bug: 114133664
Test: Manual, enable operator name in status row
config_showOperatorNameInStatusBar, insert sim card with operator name,
watch status row.

Change-Id: I1a2e33436ed50d429ae4b1769d0a72d501233a22
2018-09-13 11:39:30 +00:00
Erik Kline
31830456cd Merge "Initial rename to IpServer" 2018-09-13 10:28:27 +00:00
Adam Vartanian
c3dc82878f Update greylist for Conscrypt update
Conscrypt has been refactored to eliminate the ConscryptSocketBase
class, so its greylisted methods no longer exist.

Test: make droid
Change-Id: Iffcfe529d960a397d0ced012f5a97de93dde69fa
2018-09-13 11:01:14 +01:00
Erik Kline
7a4ccc69d0 Initial rename to IpServer
Rename TetherInterfaceStateMachine to IpServer. IControlsTethering
is folded into IpServer.Callback and some of the dependencies in
TetheringDependencies are moved into IpServer.Dependencies.

Several things still need fixing, including:
    - convert message passing into method calls
    - the calls that enable forwarding should be moved up out of
      IpServer into the Tethering layer above it

Test: as follows
    - built, flashed, booted
    - runtest frameworks-net passes
Change-Id: I015f800ed23c8aa5c8c81a74d7b508abfcaab659
2018-09-13 15:46:01 +09:00
Treehugger Robot
e7f1dc6661 Merge "Remove the last of the ResolvUtil uses" 2018-09-13 06:39:16 +00:00
Shaotang Li
0dcc53fd52 Merge "Add new telecom metrics for emergency dialer" 2018-09-13 05:59:51 +00:00
Luke Huang
8dc60930ab Merge "Bandwidth-related commands porting" 2018-09-13 03:01:22 +00:00
Treehugger Robot
57d9052ce8 Merge "Simplify logic for connect in HfpClientProfile" 2018-09-13 03:00:19 +00:00
Treehugger Robot
eff45f36cf Merge "Simplify logic for connect in A2dpSinkProfile" 2018-09-13 02:58:50 +00:00
Pengquan Meng
b65aca27af Merge "Add New TelephonyManager APIs" 2018-09-13 01:09:47 +00:00
Nan Zhang
7764a4b84f Migrate all offline/online sdk docs generation to use Metalava
These targets all depend on libcore sources which are blocker for us to
enable java9 feature, so convert them to Metalava.

Also enable API level annotations for api-stubs-docs, offline-sdk-docs,
and online-sdk-docs.

Test: m -j docs
Bug: b/78245848
Change-Id: I354d699a79cc5e6580b50e0613e7602c77b9c0b5
2018-09-12 16:31:49 -07:00
Treehugger Robot
57e5e68385 Merge "OMS: fix typos in permission check message" 2018-09-12 22:26:26 +00:00
Treehugger Robot
b848ce8e20 Merge "ByteBucketArray.h: fix typo" 2018-09-12 22:26:22 +00:00
Pengquan Meng
14faaf660d Merge "Update TelephonyManager document" 2018-09-12 22:12:15 +00:00
Treehugger Robot
ec52757ecb Merge "Restrict IMM.notifyUserAction() with targetSdkVersion <= P" 2018-09-12 19:04:40 +00:00
Benedict Wong
583f3632e5 Merge "Use UID as requestID" 2018-09-12 18:51:33 +00:00
Nan Zhang
5eb84c0065 Merge "For metalava target, use droidstubs instead of droiddoc" 2018-09-12 18:15:11 +00:00
Treehugger Robot
fe78728e32 Merge "Remove IInputMethodManager.getEnabledInputMethodList() from greylist" 2018-09-12 17:29:55 +00:00
Pengquan Meng
efe8adff87 Update TelephonyManager document
Bug: 111453847
Test: build
Merged-In: Ief746e771dc9435782dec75cf2259d5b9f040c27
Change-Id: Ief746e771dc9435782dec75cf2259d5b9f040c27
2018-09-12 10:23:56 -07:00
Chih-hung Hsieh
d3f10fe89c Merge "Use multiple patterns and emails in per-file syntax." 2018-09-12 16:27:02 +00:00
Steven Moreland
f36ad62907 pm: Add hidl libraries to old class paths.
These two libraries:
android.hidl.base-V1.0-java
android.hidl.manager-V1.0-java

are being removed from BOOT_JARS. This change facilitates linking to them
for libraries or prebuilts in or before P.

Test: atest android.content.pm.AndroidHidlUpdaterTest
Bug: 77307025

Change-Id: Ic0db24cc68d66f5dbfab126ce7e304eec0bfc969
2018-09-12 09:18:40 -07:00
Steven Moreland
766b425c27 preloaded-classes: remove core HIDL libs
These are being removed from boot jars.

Test: (sanity) boot device, no longer see 'Class not found for preloading'
Bug: 77307025
Change-Id: I854d3397ff362495ff392c2c4ea8594d1b2449bd
2018-09-12 09:17:53 -07:00
Treehugger Robot
8dc7e43bad Merge "Fix typo in android.net.Uri documentation." 2018-09-12 15:33:36 +00:00
Chienyuan
b6e4b8ab58 Simplify logic for connect in HfpClientProfile
* connect: remove connected device check logic.
  HeadsetClientStateMachine will check it.
* Remove member variable V and related checks.
* wrap if/else statement in curly brackets.
* add robotest for HfpClientProfile.

Bug: 111812003
Test: make -j42 RunSettingsLibRoboTests ROBOTEST_FILTER=HfpClientProfileTest
Change-Id: Ie36efd6d0a9f8e6501a3690b026ea4bd39744b5c
Merged-In: Ie36efd6d0a9f8e6501a3690b026ea4bd39744b5c
2018-09-12 15:24:37 +08:00
Chienyuan
dcbc7def1f Simplify logic for connect in A2dpSinkProfile
* connect: remove connected device check logic. A2dpSinkService
  will check it.
* Remove member variable V and related checks.
* wrap if/else statement in curly brackets.
* add robotest for A2dpSinkProfile.

Bug: 111812003
Test: make -j42 RunSettingsLibRoboTests ROBOTEST_FILTER=A2dpSinkProfileTest
Change-Id: Ia0a118d73e5bb35ed3b2b75e67aeb98ae936981f
Merged-In: Ia0a118d73e5bb35ed3b2b75e67aeb98ae936981f
2018-09-12 15:15:42 +08:00
Erik Kline
95999bda8d Remove the last of the ResolvUtil uses
This is the completion of cleanup work started in aosp/674269.
Consequently, also remove ResolvUtil.

Test: as follows
    - built, flashed, booted
    - runtest frameworks-net passes
    - presubmit
Bug: 64133961
Bug: 72345192
Bug: 73872000
Bug: 78548486
Change-Id: I980f8a9b67f3f06f2d97a60f8e58e92c36316d40
2018-09-12 14:58:58 +09:00
Treehugger Robot
2a10846e04 Merge "Fix ConcurrentModificationException crash due to race in IpClient" 2018-09-12 04:32:19 +00:00
Jacob Abrams
56fbfc0460 Fix ConcurrentModificationException crash due to race in IpClient
Bug: https://issuetracker.google.com/issues/114838819

Test: manual
Change-Id: Ifd1522ccaca10c0416fc2d00641c4effee37fc6c
2018-09-12 00:23:26 +00:00
Treehugger Robot
241aa86ed6 Merge "Make SubscriptionManager.isValidSubscriptionId public" 2018-09-11 23:47:31 +00:00
Mike Ma
a52b601ef3 Merge "Avoiding potential NPE when dumping to proto." 2018-09-11 23:28:39 +00:00