Commit Graph

383331 Commits

Author SHA1 Message Date
Baligh Uddin
d832bacfac Merge "Set networking module APKs version to 10"
am: 222d1d04bf

Change-Id: I484120c6ca2a94322f778312a880e6983a0b0e7b
2019-02-28 08:08:38 -08:00
Baligh Uddin
222d1d04bf Merge "Set networking module APKs version to 10" 2019-02-28 15:54:28 +00:00
Adrian Roos
1ca78f6ee4 Merge "Apilint: Lint missing nullability annotations"
am: d6a886a500

Change-Id: I4aaec5b2341b73af5cc976d7f27a4e61fbc9c138
2019-02-28 07:39:12 -08:00
Adrian Roos
d6a886a500 Merge "Apilint: Lint missing nullability annotations" 2019-02-28 15:27:18 +00:00
Chiachang Wang
2c8c5928ab Merge "Fix broken javadoc links"
am: 5eae14aa54

Change-Id: I7f1ef96544450ae71af3b76783fcbdc7641a2d43
2019-02-28 05:46:29 -08:00
Treehugger Robot
5eae14aa54 Merge "Fix broken javadoc links" 2019-02-28 13:34:52 +00:00
Jordan Liu
6549c55523 Merge "Update annotations for UiccCardInfo APIs"
am: c76c5529bf

Change-Id: I229d251c7f3749738d407ced2464a44b231f9bf5
2019-02-28 05:18:17 -08:00
Treehugger Robot
c76c5529bf Merge "Update annotations for UiccCardInfo APIs" 2019-02-28 13:01:02 +00:00
Adrian Roos
80545ef56d Apilint: Lint missing nullability annotations
Also adds support for limited range blame parsing.

Bug: 124882145
Test: python apilint_test.py
Change-Id: Idbc7f67eeff27902c37ec482278f5888781c6e78
2019-02-28 12:46:04 +01:00
Adrian Roos
bb74d55781 Merge "Apilint: Enforce final builders"
am: 2886d307bd

Change-Id: I065ff3fede26d527860606ee60b2b6ca8a6d4fbd
2019-02-28 02:10:24 -08:00
Adrian Roos
2886d307bd Merge "Apilint: Enforce final builders" 2019-02-28 09:57:22 +00:00
Adrian Roos
deb0ff2bf4 Apilint: Enforce final builders
Test: run apilint
Bug: 124883027
Change-Id: I7f2866e46bc40be60487846b2af9f8fd7edb7623
2019-02-28 09:54:08 +00:00
Remi NGUYEN VAN
29812e6a31 Merge "Add Os.connect(fd, SocketAddress) to public API"
am: 6c1f09f77e

Change-Id: I7c24f8458159b0069b29abff75d5da943039ea39
2019-02-27 20:53:17 -08:00
Remi NGUYEN VAN
6c1f09f77e Merge "Add Os.connect(fd, SocketAddress) to public API" 2019-02-28 04:42:36 +00:00
Remi NGUYEN VAN
72decd9258 Add Os.connect(fd, SocketAddress) to public API
1. There are already related socket API methods that return
   SocketAddress, such as Os.getpeername().
2. Having APIs that take SocketAddress are a closer match
   to the POSIX APIs that android.system.Os is exposing,
   and are more flexible than just taking InetAddress+port
   combinations since the latter only supports IPv4 and
   IPv6.

This was covered by tests in change:
Iadf9f10e26bbc650c5e1b9d03f32c5dafb6f21b4

And completes Ic496c1212dc2d97cf34db2a7c7d024b02790e8ed.

Test: m
Bug: 123062477
Change-Id: I885bfe1bf24a361bef2bb2f783622b934637ba99
2019-02-28 04:39:32 +00:00
Remi NGUYEN VAN
4af3cdae16 Set networking module APKs version to 10
Up to now the version in output APKs was 28 (platform version by
default). This should make it easier to track and bump up the version.

Test: booted, WiFi works
Test: aapt dump badging shows version 10
Change-Id: I199eb55fd82e16ae748c8b011ce93cf48b505395
2019-02-28 11:28:50 +09:00
Lorenzo Colitti
d9b7731230 Merge changes from topic "nat64"
am: a02847ec0d

Change-Id: I3f7f74c197dd5da3db7d8d41fa4a26aacf38c2e8
2019-02-27 15:56:18 -08:00
Lorenzo Colitti
a02847ec0d Merge changes from topic "nat64"
* changes:
  Catch ServiceSpecificException instead of IllegalStateException.
  Manage NAT64 prefix discovery lifecycle in the framework.
  Track NAT64 in the framework and start clatd iff NAT64 detected
  Change Nat464Xlat lifecycle.
  Minor improvements to verifyTcpBufferSizeChange.
2019-02-27 23:37:42 +00:00
Jordan Liu
28911517b2 Update annotations for UiccCardInfo APIs
Fixes: 124800040
Test: no change to behavior
Change-Id: I0644eb9bac417b9a8b0fd8eaf691728ed0784527
2019-02-27 14:45:23 -08:00
Harry Zhang
817f75df59 Merge "Added a filegroup for statsd config proto definition."
am: 0d99ab3f18

Change-Id: I02009acc840bd1a8268fb6296bec1c7ba6da19de
2019-02-27 14:08:26 -08:00
Harry Zhang
0d99ab3f18 Merge "Added a filegroup for statsd config proto definition." 2019-02-27 21:56:23 +00:00
Jordan Liu
b63abf252b Merge "Implement isRemovable"
am: eee18bd546

Change-Id: I86f43209be67cf3b93ac3fc1c3059d1967ff5972
2019-02-27 12:55:16 -08:00
Jordan Liu
eee18bd546 Merge "Implement isRemovable" 2019-02-27 20:40:31 +00:00
Hai Zhang
7e9b5b3c76 Merge "Add OBSERVE_ROLE_HOLDERS permission to shell."
am: 3d8cef1fa8

Change-Id: Id4d2229546b9a8469a6ec2abb897ec620f82995b
2019-02-27 12:30:43 -08:00
Treehugger Robot
3d8cef1fa8 Merge "Add OBSERVE_ROLE_HOLDERS permission to shell." 2019-02-27 20:15:59 +00:00
Amruth Ramachandran
e212a01efe Merge "Expose DataSpecificRegistrationState as System API"
am: d5386dfe1f

Change-Id: Iacf5ba15d1d31c5d52e40db3f777b6300ed44f47
2019-02-27 11:12:46 -08:00
Amruth Ramachandran
d5386dfe1f Merge "Expose DataSpecificRegistrationState as System API" 2019-02-27 19:00:44 +00:00
Nathan Harold
e3c38f71a4 Merge "Add Documentation for ACTION_DEBUG_EVENT"
am: fd8cb59cc1

Change-Id: I35b0ed3d291ffa6847d902a26e673361ba48709d
2019-02-27 10:54:31 -08:00
Nathan Harold
fd8cb59cc1 Merge "Add Documentation for ACTION_DEBUG_EVENT" 2019-02-27 18:39:59 +00:00
Nicolas Geoffray
3d5e81fc62 Merge "No need to pass shared library infos explicitly in performDexOpt."
am: a838467fb4

Change-Id: I5e584b4b2d813e02a92113fcc961f95cd9f10448
2019-02-27 08:56:21 -08:00
Nicolas Geoffray
a838467fb4 Merge "No need to pass shared library infos explicitly in performDexOpt." 2019-02-27 16:42:39 +00:00
Nicolas Geoffray
a7f44ba867 No need to pass shared library infos explicitly in performDexOpt.
The method can just infer it from the passed package.

(cherry picked from commit 1158b87c6e)

Test: m
Change-Id: I676ee7d49600a36a8bd54893679d7dc900da2012
Merged-In: I676ee7d49600a36a8bd54893679d7dc900da2012
Exempt-From-Owner-Approval: approved in internal.
2019-02-27 16:42:28 +00:00
Adrian Roos
436fe4c8f0 Merge "apilint: Correctly parse packages with annotations"
am: 57b5479a6b

Change-Id: Ifbc59f9c0997ccf012a59a61b5e55476e14a2ade
2019-02-27 08:09:13 -08:00
Adrian Roos
57b5479a6b Merge "apilint: Correctly parse packages with annotations" 2019-02-27 15:50:21 +00:00
Adam Vartanian
dc310b7ccd Merge "Use public APIs instead of Conscrypt ones"
am: 1b9adbfdd1

Change-Id: I8747b75ef6eccaabffa0455f2a6e53a9865dbd7d
2019-02-27 04:34:46 -08:00
Lorenzo Colitti
b313e0c834 Catch ServiceSpecificException instead of IllegalStateException.
The old NetworkManagementService methods to start clatd threw
IllegalStateException, but the new netd methods throw
ServiceSpecificException. Update the catch clauses so that if
starting clatd fails, the system doesn't crash.

Also stop logging stack traces but only include the exception
message itself.

Bug: 65674744
Test: atest FrameworksNetTests
Test: connecting/disconnecting to v6-only wifi in a loop does not crash
Change-Id: I4a9ec7f104712fbbe08f4f67e3288df03e8ed873
2019-02-27 18:21:22 +09:00
Chiachang Wang
90882258ed Fix broken javadoc links
Bug: 123683994
Test: Verify with javadoc
Change-Id: I4b1b936e3cf86104ace5fcb6829778710801f2d5
2019-02-27 17:18:40 +08:00
Treehugger Robot
1b9adbfdd1 Merge "Use public APIs instead of Conscrypt ones" 2019-02-27 09:01:03 +00:00
Irina Dumitrescu
121dab8e6b Merge "Add @NonNull annotation to set proxy on VPN parameter."
am: 909baeddfa

Change-Id: I0213524c6b71576bafb46e5b9378c3f43a325888
2019-02-26 22:08:55 -08:00
Treehugger Robot
909baeddfa Merge "Add @NonNull annotation to set proxy on VPN parameter." 2019-02-27 05:56:28 +00:00
Tor Norbye
588413cf2b Merge "Revert "Update MbmsDownloadServiceBase to reflect implements IInterface""
am: e701106d6e

Change-Id: I2ec59e09a441c97236404980a1a53127496df920
2019-02-26 18:58:54 -08:00
Tor Norbye
e701106d6e Merge "Revert "Update MbmsDownloadServiceBase to reflect implements IInterface"" 2019-02-27 02:33:15 +00:00
Irina Dumitrescu
5155a2d7e4 Add @NonNull annotation to set proxy on VPN parameter.
Test: manual
Bug: 124883120
Change-Id: Ifb4bd98a69a006220b1a824033395fc6f12ea6ce
2019-02-27 01:06:00 +00:00
Hai Zhang
f7e8368d31 Add OBSERVE_ROLE_HOLDERS permission to shell.
This allows testing relevant APIs in CTS tests. The listener itself
only gives the changed role name and user affected.

Bug: 125404675
Test: build
Merged-In: I5c979a26dae103ea1b633c2119c59363d8953aa2
Change-Id: I29ca1827e597d318cbd74ba3e70796c5853a9dc4
2019-02-26 16:55:35 -08:00
Nathan Harold
b609e1cc83 Add Documentation for ACTION_DEBUG_EVENT
The debug event action lost out on the documentation
for DebugEventReporter when it migrated to TM. This
change adds documentation for ACTION_DEBUG_EVENT
EXTRA_DEBUG_EVENT_ID, and EXTRA_DEBUG_EVENT_DESCRIPTION

Bug: 126178766
Test: make offline-sdk-docs (docstring-only change)
Change-Id: I6073d8b181c1258dbd7b47e8d5a45732d619396a
2019-02-26 16:42:54 -08:00
Tor Norbye
2c76358add Revert "Update MbmsDownloadServiceBase to reflect implements IInterface"
This reverts commit ddc496d622.

Reason for revert: b/126374865

Change-Id: I53f87d15712a0f2acc5787efcf68c72021e9b831
2019-02-27 00:21:39 +00:00
Martin Stjernholm
181c318f1f Merge "Log the pid of the forked zygote child."
am: 820cfa422c

Change-Id: Ic569ae560a9efd9ceb5861b67c397a2a37f6f29c
2019-02-26 15:42:20 -08:00
Treehugger Robot
820cfa422c Merge "Log the pid of the forked zygote child." 2019-02-26 23:22:52 +00:00
Harry Zhang
330403de24 Added a filegroup for statsd config proto definition.
This is used in other parts of the framework for serializing some
statsd text proto config at build time. The filegroup allows aprotoc
to access the definitions elsewhere in the source tree.

Bug: 120569785
Test: Build is not affected.
Change-Id: I82a5f8869a2d05ea27d205f471b9c5b5b875fefc
Merged-In: I0e37a9b9a1f22a5dcebbf07ccc5cad98cf76024c
2019-02-26 22:43:40 +00:00
Amruth Ramachandran
e4cbd119d4 Expose DataSpecificRegistrationState as System API
LteVopsSupportInfo is currently not accessible for telephony
  APK since DataSpecificRegistrationState is @hide api. This info is
  required to determine if current LTE network support IMS. This
  change exposes DataSpecificRegistrationState and LteVops info
  as System API.

Bug: 112194535
Test: atest

Change-Id: Iec5c42ccef88b66c3f8ef05f8f96b2a4133ca63f
2019-02-26 14:16:40 -08:00