OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Add utils connect, setsockopt, bind, sendTo"
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:07:20 +0000 (11:07 +0000)]
Merge "Add utils connect, setsockopt, bind, sendTo"

5 years agoMerge "Add NetworkUtils utilities to SystemApi"
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:07:04 +0000 (11:07 +0000)]
Merge "Add NetworkUtils utilities to SystemApi"

5 years agoMerge "Remove IpClient usage of NetworkManagementService"
Remi NGUYEN VAN [Tue, 29 Jan 2019 08:58:32 +0000 (08:58 +0000)]
Merge "Remove IpClient usage of NetworkManagementService"

5 years agoAdd utils connect, setsockopt, bind, sendTo
Remi NGUYEN VAN [Tue, 29 Jan 2019 06:17:00 +0000 (15:17 +0900)]
Add utils connect, setsockopt, bind, sendTo

The utilities are not supported as public API but required as SystemApi
for the NetworkStack.

Test: flashed, boots, WiFi works
Bug: 112869080
Change-Id: Ia64b3bf9c6c33cf61bed76469ea9963b550bed2b

5 years agoAdd NetworkUtils utilities to SystemApi
Remi NGUYEN VAN [Tue, 29 Jan 2019 03:08:43 +0000 (12:08 +0900)]
Add NetworkUtils utilities to SystemApi

attach*Filter and addArpEntry are necessary for the NetworkStack but are
only usable for apps that have system permissions.
Also includes system API for IpPrefix, LinkAddress, LinkProperties,
Network, and static modifier in ApfCapabilities that were missed in
previous CLs.

Test: Builds, flashed, WiFi works
Bug: 112869080
Change-Id: If141ae6a2f9145f5af64ba002ca44938f39b90a9

5 years agoMerge "uce: Updating UCE API to accept ICC-ID."
Treehugger Robot [Tue, 29 Jan 2019 04:43:32 +0000 (04:43 +0000)]
Merge "uce: Updating UCE API to accept ICC-ID."

5 years agoMerge "Disable view compilation for privileged apps"
Mathieu Chartier [Tue, 29 Jan 2019 04:24:10 +0000 (04:24 +0000)]
Merge "Disable view compilation for privileged apps"

5 years agoMerge "Fix for CTS testAllowWhileIdleJobInTempwhitelist"
Treehugger Robot [Tue, 29 Jan 2019 03:51:11 +0000 (03:51 +0000)]
Merge "Fix for CTS testAllowWhileIdleJobInTempwhitelist"

5 years agoRemove IpClient usage of NetworkManagementService
Remi NGUYEN VAN [Mon, 28 Jan 2019 06:15:59 +0000 (15:15 +0900)]
Remove IpClient usage of NetworkManagementService

Use the new NetworkObserverRegistry instead.

Test: atest FrameworksNetTests NetworkStackTests
Test: flashed, WiFi working fine
Bug: 112869080
Change-Id: If16ecfd6489f86afec67c22b4c3692cd68f4edbf

5 years agoDisable view compilation for privileged apps
Mathieu Chartier [Fri, 25 Jan 2019 21:05:34 +0000 (13:05 -0800)]
Disable view compilation for privileged apps

Bug: 111895153
Test: look that there are no selinux denials

Change-Id: Id759171654888f8172d46fd05094f58842442a81

5 years agoMerge "new SystemAPI to getSimLocale"
Pengquan Meng [Tue, 29 Jan 2019 00:21:49 +0000 (00:21 +0000)]
Merge "new SystemAPI to getSimLocale"

5 years agoMerge "Add SocketUtils for NetworkStack"
Remi NGUYEN VAN [Mon, 28 Jan 2019 23:14:08 +0000 (23:14 +0000)]
Merge "Add SocketUtils for NetworkStack"

5 years agoMerge "clang-format ManifestFixer_test.cpp"
Treehugger Robot [Mon, 28 Jan 2019 22:15:35 +0000 (22:15 +0000)]
Merge "clang-format ManifestFixer_test.cpp"

5 years agoMerge "Add Secure NFC functionality"
Ruchi Kandoi [Mon, 28 Jan 2019 22:11:32 +0000 (22:11 +0000)]
Merge "Add Secure NFC functionality"

5 years agoMerge "Data profile refactoring"
Jack Yu [Mon, 28 Jan 2019 21:29:27 +0000 (21:29 +0000)]
Merge "Data profile refactoring"

5 years agoMerge "Add Emergency Number Test Mode"
Amit Mahajan [Mon, 28 Jan 2019 20:51:25 +0000 (20:51 +0000)]
Merge "Add Emergency Number Test Mode"

5 years agoMerge "jni: more O_CLOEXECs"
Treehugger Robot [Mon, 28 Jan 2019 20:40:43 +0000 (20:40 +0000)]
Merge "jni: more O_CLOEXECs"

5 years agoMerge "Whitelist packages from VPN lockdown."
Pavel Grafov [Mon, 28 Jan 2019 20:15:49 +0000 (20:15 +0000)]
Merge "Whitelist packages from VPN lockdown."

5 years agoMerge "CallQuality is set to empty instead of null"
Jordan Liu [Mon, 28 Jan 2019 19:16:06 +0000 (19:16 +0000)]
Merge "CallQuality is set to empty instead of null"

5 years agoAdd Emergency Number Test Mode
sqian [Wed, 16 Jan 2019 02:26:35 +0000 (18:26 -0800)]
Add Emergency Number Test Mode

Add EMERGENCY_NUMBER_SOURCE_TEST_MODE

This also does not allow to send the service categories from database when
dialing.

Bug: 122840137
Test: Manual; Treehugger
Merged-in: I4ea3539e3b814b71e03e956d4a857ec20141fa8c
Change-Id: I4ea3539e3b814b71e03e956d4a857ec20141fa8c
(cherry picked from commit cb4bd3a30f40611bc91f1f7f8289a4dd61b8251b)

5 years agoMerge "Add Emergency Uniform Resource Number (URN)"
Amit Mahajan [Mon, 28 Jan 2019 18:50:55 +0000 (18:50 +0000)]
Merge "Add Emergency Uniform Resource Number (URN)"

5 years agojni: more O_CLOEXECs
Nick Kralevich [Mon, 28 Jan 2019 18:39:10 +0000 (10:39 -0800)]
jni: more O_CLOEXECs

Prevent FDs from leaking across an execve() boundary.

Test: compiles and boots
Change-Id: I5f91046917b55b6abead0a5c6e939f82814e6f18

5 years agoAdd Emergency Uniform Resource Number (URN)
sqian [Thu, 10 Jan 2019 03:10:58 +0000 (19:10 -0800)]
Add Emergency Uniform Resource Number (URN)

Test: Treehugger
Bug: 112657134
Change-Id: I87537f7123910e9843207428eb3167a90a15b6df
Merged-In: I87537f7123910e9843207428eb3167a90a15b6df
(cherry picked from commit 03bde886e5cfe06fcbced55b45d2b3d6fc5746ae)

5 years agoData profile refactoring
Jack Yu [Tue, 18 Dec 2018 00:09:03 +0000 (16:09 -0800)]
Data profile refactoring

Data profile should use the public defined types
instead of the internal defined data types.

1. Using integer instead of string for protocol type.
2. Using TelephonyManager.NetworkTypeBitMask instead of
   the internal ServiceState.RIL_RADIO_TECHNOLOGY_XXX
   in data profile.

Test: Telephony sanity tests
Bug: 73659459
Merged-In: I04b910f8e349e8b7819ff058bf37ad06c3fd9adc
Change-Id: I04b910f8e349e8b7819ff058bf37ad06c3fd9adc
(cherry picked from commit af6b47af54e35a665fb18bd6d63fa945c333b6a9)

5 years agoMerge "Remove DumpstateOptions"
Nandana Dutt [Mon, 28 Jan 2019 17:20:45 +0000 (17:20 +0000)]
Merge "Remove DumpstateOptions"

5 years agoMerge "startop: use static_lib dependency on libdexfile."
Treehugger Robot [Mon, 28 Jan 2019 16:46:41 +0000 (16:46 +0000)]
Merge "startop: use static_lib dependency on libdexfile."

5 years agoMerge "framework.jar: Include all radio HIDL libs."
Steven Moreland [Mon, 28 Jan 2019 16:30:36 +0000 (16:30 +0000)]
Merge "framework.jar: Include all radio HIDL libs."

5 years agoMerge "Expose bugreporting API as system API."
Nandana Dutt [Mon, 28 Jan 2019 16:27:07 +0000 (16:27 +0000)]
Merge "Expose bugreporting API as system API."

5 years agoMerge "Remove unused library framework-oahl-backward-compatibility"
Paul Duffin [Mon, 28 Jan 2019 15:40:13 +0000 (15:40 +0000)]
Merge "Remove unused library framework-oahl-backward-compatibility"

5 years agoMerge "Add gaillard@ to owners."
Treehugger Robot [Mon, 28 Jan 2019 15:37:24 +0000 (15:37 +0000)]
Merge "Add gaillard@ to owners."

5 years agoMerge "Add @UnsupportedAppUsage to methods known to be used by apps"
David Brazdil [Mon, 28 Jan 2019 14:23:43 +0000 (14:23 +0000)]
Merge "Add @UnsupportedAppUsage to methods known to be used by apps"

5 years agostartop: use static_lib dependency on libdexfile.
Orion Hodson [Mon, 28 Jan 2019 11:35:16 +0000 (11:35 +0000)]
startop: use static_lib dependency on libdexfile.

libdexfile.so is moving to APEX and the external API doesn't include
the features needed for startop.

Bug: 119632407
Test: Builds
Change-Id: I6d33e8737341a508637321921ca732af913827a3

5 years agoAdd @UnsupportedAppUsage to methods known to be used by apps
David Brazdil [Mon, 28 Jan 2019 12:43:28 +0000 (12:43 +0000)]
Add @UnsupportedAppUsage to methods known to be used by apps

Exempted-From-Owner-Approval: Automatic changes to the codebase
affecting only @UnsupportedAppUsage annotations, themselves added
without requiring owners approval earlier.

Bug: 123308819
Bug: 122291025
Test: m appcompat
Change-Id: Iafd62b8ece0d19268fad65086134a1e7369bc0bb

5 years agoAdd SocketUtils for NetworkStack
Remi NGUYEN VAN [Wed, 23 Jan 2019 14:11:12 +0000 (23:11 +0900)]
Add SocketUtils for NetworkStack

These utilities can only be used for privileged apps. The underlying
implementation cannot be @SystemApi.

Test: m
Bug: 112869080
Change-Id: Idfa90561102e5b03ab2b79486d3ad46457128bf8

5 years agoMerge "Add hidden utils and constants to NetworkStack"
Remi NGUYEN VAN [Mon, 28 Jan 2019 11:08:00 +0000 (11:08 +0000)]
Merge "Add hidden utils and constants to NetworkStack"

5 years agoRemove DumpstateOptions
Nandana Dutt [Fri, 16 Nov 2018 17:22:59 +0000 (17:22 +0000)]
Remove DumpstateOptions

This is not used anymore, instead bugreport mode is used to encapulsate
a number of options.

BUG: 111441001
Test: builds

Change-Id: I04f17b2605d242a33909cfaecbc647e9eee8d1fc

5 years agoExpose bugreporting API as system API.
Nandana Dutt [Wed, 23 Jan 2019 20:02:29 +0000 (20:02 +0000)]
Expose bugreporting API as system API.

BUG: 111441001
Test: Builds
Change-Id: I1530f92971807b7e43c763a58dd1e18e793255da
Merged-In: I1530f92971807b7e43c763a58dd1e18e793255da

5 years agoMerge "Move NetworkUtils used by NetworkStack"
Remi NGUYEN VAN [Mon, 28 Jan 2019 09:06:20 +0000 (09:06 +0000)]
Merge "Move NetworkUtils used by NetworkStack"

5 years agoMerge "Add NetworkObserverRegistry to NetworkStack"
Remi NGUYEN VAN [Mon, 28 Jan 2019 08:54:06 +0000 (08:54 +0000)]
Merge "Add NetworkObserverRegistry to NetworkStack"

5 years agoMerge "Add NetworkStack tests to postsubmit"
Remi NGUYEN VAN [Mon, 28 Jan 2019 08:53:13 +0000 (08:53 +0000)]
Merge "Add NetworkStack tests to postsubmit"

5 years agoMerge "Add INetd to SystemServiceRegistry"
Remi NGUYEN VAN [Mon, 28 Jan 2019 08:27:02 +0000 (08:27 +0000)]
Merge "Add INetd to SystemServiceRegistry"

5 years agoMerge "Add NetworkStack networking deps to SystemApi"
Remi NGUYEN VAN [Mon, 28 Jan 2019 08:12:55 +0000 (08:12 +0000)]
Merge "Add NetworkStack networking deps to SystemApi"

5 years agoAdd NetworkObserverRegistry to NetworkStack
Remi NGUYEN VAN [Mon, 28 Jan 2019 01:24:42 +0000 (10:24 +0900)]
Add NetworkObserverRegistry to NetworkStack

The NetworkObserverRegistry will replace usage of
NetworkManagementService in the app.

Test: m, booted, WiFi working
Bug: 112869080
Change-Id: Ic7f0114d0c9361dd2408e47bb04a8dd44a908a47

5 years agoAdd hidden utils and constants to NetworkStack
Remi NGUYEN VAN [Sun, 20 Jan 2019 04:48:19 +0000 (13:48 +0900)]
Add hidden utils and constants to NetworkStack

Test: atest FrameworksNetTests NetworkStackTests
Bug: 112869080
Change-Id: I1a803f7954ab760294436226d6c1cffb934e98f9

5 years agoMove NetworkUtils used by NetworkStack
Remi NGUYEN VAN [Sun, 20 Jan 2019 00:35:10 +0000 (09:35 +0900)]
Move NetworkUtils used by NetworkStack

Depending on usage move into NetworkStackUtils or shared
Inet4AddressUtils.

Test: atest FrameworksNetTests NetworkStackTests
Bug: 112869080
Merged-In: Ie20dcee375b377236004a7689890729493aca857
Change-Id: Ib8d000529872796022706a35050fdc2c7141f2ab

5 years agoAdd NetworkStack networking deps to SystemApi
Remi NGUYEN VAN [Mon, 28 Jan 2019 04:28:35 +0000 (13:28 +0900)]
Add NetworkStack networking deps to SystemApi

Cherry-pick with conflicts fixed in CaptivePortalLoginActivity imports.
Test: atest FrameworksNetTests
Bug: 112869080
Merged-In: Id59dc06fb85e4ac88098f56b621ec880610759ce
Change-Id: I3c05e8fdd70497426d4fa433295c4fbdad07d9c9

5 years agoAdd INetd to SystemServiceRegistry
Remi NGUYEN VAN [Mon, 28 Jan 2019 02:40:08 +0000 (11:40 +0900)]
Add INetd to SystemServiceRegistry

Includes @SystemApi for Context.NETD_SERVICE so system apps (including
the network stack) can obtain the service.

Test: m
Bug: 112869080
Change-Id: Ida63747cd30abb7b3c19559803353eb0e42e6efa

5 years agoFix for CTS testAllowWhileIdleJobInTempwhitelist
Kulwinder Singh [Fri, 31 Aug 2018 07:44:03 +0000 (13:14 +0530)]
Fix for CTS testAllowWhileIdleJobInTempwhitelist

In this test case when all constraints to run the jobs are satisfied,
then to make job ready to run, intent MSG_CHECK_JOB is send to job handler.
But this intent is not dispatched to job handler.

BUG: 113778907
Test:After these changes this CTS case always passed.

Change-Id: I8c63361dcd7ade19b724c9bc2fdf78d5f10c8d71
Merged-In: I8c63361dcd7ade19b724c9bc2fdf78d5f10c8d71

Feature: CTS(*)

5 years agoMerge "Add yuhany@ and aadmal@ to OWNERS"
Treehugger Robot [Sun, 27 Jan 2019 00:08:17 +0000 (00:08 +0000)]
Merge "Add yuhany@ and aadmal@ to OWNERS"

5 years agoMerge "more O_CLOEXEC"
Treehugger Robot [Sat, 26 Jan 2019 01:32:15 +0000 (01:32 +0000)]
Merge "more O_CLOEXEC"

5 years agoCallQuality is set to empty instead of null
Jordan Liu [Wed, 23 Jan 2019 00:17:35 +0000 (16:17 -0800)]
CallQuality is set to empty instead of null

Bug: 110107501
Test: manual
Change-Id: Ifb289c1c61d7cf16a7c6b60b181b94cf759f75d8

5 years agoMerge "even more O_CLOEXECs!"
Treehugger Robot [Fri, 25 Jan 2019 22:32:40 +0000 (22:32 +0000)]
Merge "even more O_CLOEXECs!"

5 years agoMerge "[view compilation] Add separate compilation property"
Mathieu Chartier [Fri, 25 Jan 2019 21:48:38 +0000 (21:48 +0000)]
Merge "[view compilation] Add separate compilation property"

5 years ago[view compilation] Add separate compilation property
Mathieu Chartier [Thu, 24 Jan 2019 19:13:35 +0000 (11:13 -0800)]
[view compilation] Add separate compilation property

Add separate compilation pm.precompile_layouts property for
precompiled layouts that controls compilation. Previously
this was controlled by view.precompiled_layout_enabled.

Movitation:
Enable view compilation without loading to get extra coverage.

(cherry picked from commit 9e7a5f6078536c7090269303bfbdbbaabda7b056)

Bug: 111895153
Test: manual
Exempt-From-Owner-Approval: Previously approved by owner

Merged-In: Ica79ec076714f76d6ae75d398a2f62d7dd85a6a6
Change-Id: Ica79ec076714f76d6ae75d398a2f62d7dd85a6a6

5 years agoclang-format ManifestFixer_test.cpp
Colin Cross [Mon, 11 Jun 2018 20:20:17 +0000 (13:20 -0700)]
clang-format ManifestFixer_test.cpp

Fix formatting errors introduced by Iee2bd9a3981c7d4681509f18b735c6e9e6c1a336.

Test: m checkbuild
Change-Id: I5d9a4cec277e31f4124bff281bf7a52cc97f73e3
Merged-In: I10b27abb8fa8a99a41976c42c4d684b99978b4f9

5 years agoMerge "Follow API guidelines in BugreportManager"
Treehugger Robot [Fri, 25 Jan 2019 21:04:55 +0000 (21:04 +0000)]
Merge "Follow API guidelines in BugreportManager"

5 years agoAdd yuhany@ and aadmal@ to OWNERS
Yu-Han Yang [Fri, 18 Jan 2019 22:32:34 +0000 (14:32 -0800)]
Add yuhany@ and aadmal@ to OWNERS

Test: OWNERS update only
Change-Id: I97c6eb451448534b8a99f7d5bd8ca0313b8d9b83

5 years agoWhitelist packages from VPN lockdown.
Pavel Grafov [Fri, 25 Jan 2019 08:50:06 +0000 (08:50 +0000)]
Whitelist packages from VPN lockdown.

Bug: 77468593
Test: atest com.android.server.connectivity.VpnTest
Change-Id: I9119c139ab07a761ce5dfd1365b70eb905fd32dc

5 years agoMerge "Remove IpClient wrapper"
Treehugger Robot [Fri, 25 Jan 2019 19:58:36 +0000 (19:58 +0000)]
Merge "Remove IpClient wrapper"

5 years agoeven more O_CLOEXECs!
Nick Kralevich [Fri, 25 Jan 2019 18:24:42 +0000 (10:24 -0800)]
even more O_CLOEXECs!

Bug: 120983106
Test: device boots and no obvious problems.
Change-Id: If13fc115187f36a4c577d74a7f138fa62a7316de

5 years agomore O_CLOEXEC
Nick Kralevich [Fri, 25 Jan 2019 18:08:58 +0000 (10:08 -0800)]
more O_CLOEXEC

Bug: 120983106
Test: device boots and no obvious problems.
Change-Id: Ia7a426304a8e7fc41d7d8388dbb858b790d98cf1

5 years agoMerge "Track change of some java.nio.Buffer methods to nonfinal."
Tobias Thierer [Fri, 25 Jan 2019 17:22:04 +0000 (17:22 +0000)]
Merge "Track change of some java.nio.Buffer methods to nonfinal."

5 years agoMerge "JankBench: Add Bitmap Upload to list of runnable tests"
Joel Fernandes [Fri, 25 Jan 2019 17:14:44 +0000 (17:14 +0000)]
Merge "JankBench: Add Bitmap Upload to list of runnable tests"

5 years agoMerge "JankBench: Fix execution of incorrect benchmark"
Joel Fernandes [Fri, 25 Jan 2019 17:14:15 +0000 (17:14 +0000)]
Merge "JankBench: Fix execution of incorrect benchmark"

5 years agoMerge "DO NOT MERGE: Revert "Revert "Add libprocessgroup dependency and fix sched_pol...
Suren Baghdasaryan [Fri, 25 Jan 2019 17:09:02 +0000 (17:09 +0000)]
Merge "DO NOT MERGE: Revert "Revert "Add libprocessgroup dependency and fix sched_policy include"""

5 years agoFollow API guidelines in BugreportManager
Nandana Dutt [Fri, 25 Jan 2019 14:31:05 +0000 (14:31 +0000)]
Follow API guidelines in BugreportManager

* Add an executor for callback
* Rename *listener to *callback
* Accept ParcelFileDescriptor.

Not changing the binder interface to accept ParcelFileDescriptor because
there seem to a bug in generated java code for "out"
ParcelFileDescriptors causing compilation errors.

BUG: 111441001
Test: Builds
Change-Id: I9caf91b504eacc3ab6ff23620f1d6ded51caee1a

5 years agoDO NOT MERGE: Revert "Revert "Add libprocessgroup dependency and fix sched_policy...
Suren Baghdasaryan [Fri, 25 Jan 2019 05:23:40 +0000 (05:23 +0000)]
DO NOT MERGE: Revert "Revert "Add libprocessgroup dependency and fix sched_policy include""

This reverts commit c5e0fdab2c7ff039db26e4d6512bd3d69bdd71d6.

Reason for revert: AOSP is fixed with new vendor image

Change-Id: Iae858f743fbd7e4f58f89b8ba0498f10f6ae0e81
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
5 years agoRemove IpClient wrapper
Remi NGUYEN VAN [Fri, 25 Jan 2019 06:07:04 +0000 (15:07 +0900)]
Remove IpClient wrapper

The wrapper was useful to help clients migrate out of the old API, but
all clients are now migrated.
It also conflicts with IpClient in the NetworkStack on Go devices.

Test: Flashed, booted, WiFI works
Bug: 123371264
Change-Id: Ibf04ad9371a07d2c66c478547539ba41c540116f

5 years agoMerge "Fix IpClientTest"
Remi NGUYEN VAN [Fri, 25 Jan 2019 05:55:08 +0000 (05:55 +0000)]
Merge "Fix IpClientTest"

5 years agoAdd NetworkStack tests to postsubmit
Remi NGUYEN VAN [Fri, 25 Jan 2019 03:57:53 +0000 (12:57 +0900)]
Add NetworkStack tests to postsubmit

The NetworkStack tests were unit tests in FrameworksNetTests, but were
moved out so were no longer run in presubmit.
After a while the tests should be moved to presubmit.

Test: atest NetworkStackTests
Change-Id: I06ddcafd6de6d9029ac710f0fc3c4f2d1d705c01

5 years agoframework.jar: Include all radio HIDL libs.
Steven Moreland [Thu, 24 Jan 2019 20:03:26 +0000 (12:03 -0800)]
framework.jar: Include all radio HIDL libs.

Before, some of these were duplicated, some weren't. Now they are here
and telephony-common doesn't double-include them.

Bug: 111107855
Test: (sanity) boot Pixel 2 and check logs
Change-Id: I5b40ba139d60ff330cfbc0d9d881f775616ad0dd
Merged-In: I5b40ba139d60ff330cfbc0d9d881f775616ad0dd

5 years agoMerge "Enables the use of the blastula pool."
Christian Wailes [Fri, 25 Jan 2019 02:06:47 +0000 (02:06 +0000)]
Merge "Enables the use of the blastula pool."

5 years agoMerge "Added Java Language methods for blastula management."
Christian Wailes [Fri, 25 Jan 2019 02:06:28 +0000 (02:06 +0000)]
Merge "Added Java Language methods for blastula management."

5 years agoEnables the use of the blastula pool.
Chris Wailes [Sat, 12 Jan 2019 01:13:00 +0000 (17:13 -0800)]
Enables the use of the blastula pool.

This commit adds the code necessar to initialize and use the blastula
pool during application launching.  Highlights include:
* Modifying ZygoteState to allow the creation of blastula session
sockets
* Modified application startup to track if a web view process is being
created.
* Initialization of the blastula pool during Zygote initialization.
* Blastula lifecycle management via reporting pipes and event FDs.
* Launching of applications via the blastula pool.

The creation, maintenance, and use of the blastula pool can be disabled
by setting Zygote.BLASTULA_POOL_ENABLED to false.  When this feature is
disabled applications will launch as they did before this patch.

Topic: zygote-prefork
Test: make & flash & launch app & check log message
Bug: 68253328
Change-Id: I46c32ad09400591e866b6c6121d5a9b0332092f3
Merged-In: I46c32ad09400591e866b6c6121d5a9b0332092f3

5 years agoAdded Java Language methods for blastula management.
Chris Wailes [Sat, 12 Jan 2019 01:04:41 +0000 (17:04 -0800)]
Added Java Language methods for blastula management.

This commit adds Java Language wrappers for native blastula management
functions.  No changes are made to the application lifecycle.

Topic: zygote-prefork
Test: make & flash & launch apps & check log for messages
Bug: 68253328
Change-Id: Ie9fd0aea2952dbd3baaca22c820e9af700f5e89d
Merged-In: Ie9fd0aea2952dbd3baaca22c820e9af700f5e89d

5 years agoMerge "A get method for NR status in ServiceState"
Pengquan Meng [Fri, 25 Jan 2019 00:40:48 +0000 (00:40 +0000)]
Merge "A get method for NR status in ServiceState"

5 years agoMerge changes If54fa3a8,Ie7bd1459
Lorenzo Colitti [Fri, 25 Jan 2019 00:25:51 +0000 (00:25 +0000)]
Merge changes If54fa3a8,Ie7bd1459

* changes:
  Extract network observer code from NetworkManagementService.
  Change the signature of notifyInterfaceClassActivity.

5 years agoMerge "Fix IPMS tests timeout."
Treehugger Robot [Fri, 25 Jan 2019 00:15:50 +0000 (00:15 +0000)]
Merge "Fix IPMS tests timeout."

5 years agoMerge "Fix NPE in parcel constructor"
Jordan Liu [Thu, 24 Jan 2019 22:50:43 +0000 (22:50 +0000)]
Merge "Fix NPE in parcel constructor"

5 years agoMerge "Add a new bugreport error code"
Treehugger Robot [Thu, 24 Jan 2019 22:21:16 +0000 (22:21 +0000)]
Merge "Add a new bugreport error code"

5 years agoA get method for NR status in ServiceState
Pengquan Meng [Fri, 7 Dec 2018 01:48:05 +0000 (17:48 -0800)]
A get method for NR status in ServiceState

Bug: 111453000
Bug: 123099654
Test: build
Merged-In: I07749ff00fc9d53796208ca78721b498ed4c16fd
Change-Id: I07749ff00fc9d53796208ca78721b498ed4c16fd

5 years agoMerge "Revert "Whitelist packages from VPN lockdown.""
Dan Albert [Thu, 24 Jan 2019 21:08:46 +0000 (21:08 +0000)]
Merge "Revert "Whitelist packages from VPN lockdown.""

5 years agoRevert "Whitelist packages from VPN lockdown."
Dan Albert [Thu, 24 Jan 2019 21:05:39 +0000 (21:05 +0000)]
Revert "Whitelist packages from VPN lockdown."

This reverts commit bb9cef04c5b6699412d43d82bdd31c7a4f692cbc.

Reason for revert: broke pi-dev-plus-aosp

Change-Id: Iaf5c8aa4a8720eb2852da8cd91c81a77ccb92b68

5 years agoMerge "Define Nfc statistic data atoms"
Treehugger Robot [Thu, 24 Jan 2019 20:25:57 +0000 (20:25 +0000)]
Merge "Define Nfc statistic data atoms"

5 years agoFix NPE in parcel constructor
Jordan Liu [Thu, 24 Jan 2019 18:55:15 +0000 (10:55 -0800)]
Fix NPE in parcel constructor

Instead of calling .getClass().getClassLoader, we use .class to avoid
NPE on the uninitialized PreciseCallState and CallQuality.

Test: manual
Bug: 110107501
Change-Id: I1092122a69aa17235627a22fd973f21d49fc4812

5 years agoMerge "ParcelFileDescriptor: fix various ownership mistakes."
Josh Gao [Thu, 24 Jan 2019 18:49:03 +0000 (18:49 +0000)]
Merge "ParcelFileDescriptor: fix various ownership mistakes."

5 years agoMerge "Use delta reads for per uid traffic stats"
Chenbo Feng [Thu, 24 Jan 2019 18:16:25 +0000 (18:16 +0000)]
Merge "Use delta reads for per uid traffic stats"

5 years agoMerge changes from topics "ut_provision_api", "ims_prov_api_defs"
Brad Ebinger [Thu, 24 Jan 2019 18:09:14 +0000 (18:09 +0000)]
Merge changes from topics "ut_provision_api", "ims_prov_api_defs"

* changes:
  Add new UT provisioning CarrierConfig options
  Define a subset of provisioning integers as public

5 years agoMerge "Introduce system APIs for Bluetooth silence mode."
Treehugger Robot [Thu, 24 Jan 2019 18:08:05 +0000 (18:08 +0000)]
Merge "Introduce system APIs for Bluetooth silence mode."

5 years agoMerge "Add API for proxy configuration over VPN."
Treehugger Robot [Thu, 24 Jan 2019 17:52:22 +0000 (17:52 +0000)]
Merge "Add API for proxy configuration over VPN."

5 years agoMerge "Whitelist packages from VPN lockdown."
Pavel Grafov [Thu, 24 Jan 2019 17:34:55 +0000 (17:34 +0000)]
Merge "Whitelist packages from VPN lockdown."

5 years agoTrack change of some java.nio.Buffer methods to nonfinal.
Tobias Thierer [Thu, 24 Jan 2019 16:06:58 +0000 (16:06 +0000)]
Track change of some java.nio.Buffer methods to nonfinal.

Another CL in this topic turns the methods into nonfinal
ones in oder to be able to add covariant method overloads
in java.nio.{Byte,Char,Double,Float,Int,Long,ShortBuffer.

Bug: 71597787
Test: Treehugger
Change-Id: Ife6d5938c932f4e881f8f23c85422c84b6c6a41a

5 years agoWhitelist packages from VPN lockdown.
Pavel Grafov [Wed, 5 Dec 2018 10:40:23 +0000 (10:40 +0000)]
Whitelist packages from VPN lockdown.

Bug: 77468593
Test: atest com.android.server.connectivity.VpnTest
Test: atest MixedDeviceOwnerTest#testAlwaysOnVpn
Test: MixedDeviceOwnerTest#testAlwaysOnVpnAcrossReboot
Change-Id: I7f6c5b9172063b588feacd6b9930a6cb88f764ab
Merged-In: I7f6c5b9172063b588feacd6b9930a6cb88f764ab

5 years agoAdd API for proxy configuration over VPN.
Irina Dumitrescu [Wed, 5 Dec 2018 16:19:47 +0000 (16:19 +0000)]
Add API for proxy configuration over VPN.

Test: runtest -x
frameworks/base/tests/net/java/com/android/server/ConnectivityServiceTest.java
&& atest HostsideVpnTests
Bug: 76001058
Change-Id: Id4dde4a4103fd93bfbbacc52d0e5ade56ae67a6a
Merged-In: Id4dde4a4103fd93bfbbacc52d0e5ade56ae67a6a

5 years agoExtract network observer code from NetworkManagementService.
Lorenzo Colitti [Thu, 24 Jan 2019 04:28:50 +0000 (13:28 +0900)]
Extract network observer code from NetworkManagementService.

This will allow us to use network observers in the NetworkStack
app without duplicating too much code.

Bug: 112869080
Test: atest FrameworksNetTests
Test: builds, boots, wifi works
Change-Id: If54fa3a88110ffa815899d385dbb0d5770abaead

5 years agoChange the signature of notifyInterfaceClassActivity.
Lorenzo Colitti [Thu, 24 Jan 2019 07:00:25 +0000 (16:00 +0900)]
Change the signature of notifyInterfaceClassActivity.

This simplifies an upcoming refactoring of the notification code.
There is no change in functionality because DC_POWER_STAET_MEDIUM
was never actually used.

Bug: 112869080
Test: builds, boots
Test: atest FrameworksNetTests
Change-Id: Ie7bd145961bbd7f2a424be4299e2085da9cddc38

5 years agoMerge "Allow light HAL to exit if it's a lazy HAL"
Peter Kalauskas [Thu, 24 Jan 2019 15:11:02 +0000 (15:11 +0000)]
Merge "Allow light HAL to exit if it's a lazy HAL"

5 years agoMerge "Add jar files from the runtime APEX in the whitelist."
Nicolas Geoffray [Thu, 24 Jan 2019 14:38:17 +0000 (14:38 +0000)]
Merge "Add jar files from the runtime APEX in the whitelist."

5 years agoAdd gaillard@ to owners.
Olivier Gaillard [Thu, 24 Jan 2019 11:36:10 +0000 (11:36 +0000)]
Add gaillard@ to owners.

Test: n/a
Change-Id: I6f04ee34319c780cd9d7e6c842c3a3e9c29d0b0c

5 years agoFix IpClientTest
Remi NGUYEN VAN [Thu, 24 Jan 2019 11:13:09 +0000 (20:13 +0900)]
Fix IpClientTest

NetworkStackTests is run with a version of mockito that allows mocking
final methods, which broke mocking of the ConnectivityService.

Test: atest NetworkStackTests
Change-Id: I430fe12216c43a0c4265a504dbefafad37c09291