OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Revert "Extract network observer code from NetworkManagementService.""
Remi NGUYEN VAN [Tue, 29 Jan 2019 14:47:16 +0000 (06:47 -0800)]
Merge "Revert "Extract network observer code from NetworkManagementService.""
am: 9fdc6d2963

Change-Id: Ib4a7b32a143b3c8f029ccd92191494cd9579e8bd

5 years agoMerge "Revert "Extract network observer code from NetworkManagementService.""
Remi NGUYEN VAN [Tue, 29 Jan 2019 14:30:56 +0000 (14:30 +0000)]
Merge "Revert "Extract network observer code from NetworkManagementService.""

5 years agoMerge "Move FdEventsReader to the shared area."
Chalard Jean [Tue, 29 Jan 2019 12:11:44 +0000 (04:11 -0800)]
Merge "Move FdEventsReader to the shared area."
am: 4a838a68d6

Change-Id: I27ecc795228c7bd91c8443a9ba3dad19d8010cf8

5 years agoMerge "Move FdEventsReader to the shared area."
Treehugger Robot [Tue, 29 Jan 2019 11:45:15 +0000 (11:45 +0000)]
Merge "Move FdEventsReader to the shared area."

5 years agoMerge "Run IpClientLinkObserver on Binder thread"
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:25:26 +0000 (03:25 -0800)]
Merge "Run IpClientLinkObserver on Binder thread"
am: f89a1cfd21

Change-Id: I13c2a2c9c03c26777eb9c57e0ec62eab3d2df7da

5 years agoMerge "Add utils connect, setsockopt, bind, sendTo"
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:21:22 +0000 (03:21 -0800)]
Merge "Add utils connect, setsockopt, bind, sendTo"
am: 1e002eede3

Change-Id: Ida2a99f35affe3cb9213f71ba622ace51c4d6f57

5 years agoMerge "Add NetworkUtils utilities to SystemApi"
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:17:41 +0000 (03:17 -0800)]
Merge "Add NetworkUtils utilities to SystemApi"
am: 9cc31061fe

Change-Id: I82f20718d86b08cd0916ee33300ca0ee734305a6

5 years agoMerge "Run IpClientLinkObserver on Binder thread"
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:07:42 +0000 (11:07 +0000)]
Merge "Run IpClientLinkObserver on Binder thread"

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 agoRevert "Extract network observer code from NetworkManagementService."
Remi NGUYEN VAN [Tue, 29 Jan 2019 04:03:38 +0000 (04:03 +0000)]
Revert "Extract network observer code from NetworkManagementService."

This reverts commit d8bc829a85c9c9bb390e18b59ef1455b6d0b94ec.

Reason for revert: Refactoring was unnecessary

Merged-In: Ib4e7da3274e49f25676505a08e6ce7e7b0dfdb8d
Change-Id: Iff332c680315b560f0b762c1d7311ec83d539115

5 years agoMove FdEventsReader to the shared area.
Chalard Jean [Tue, 29 Jan 2019 09:30:03 +0000 (18:30 +0900)]
Move FdEventsReader to the shared area.

This is necessary both in the network stack app and the
framework.

Test: FrameworksNetTests
Change-Id: I48af0ab29405501f0581a6c0c9ce6e5d4a32c8b4

5 years agoMerge "Remove IpClient usage of NetworkManagementService"
Remi NGUYEN VAN [Tue, 29 Jan 2019 09:16:21 +0000 (01:16 -0800)]
Merge "Remove IpClient usage of NetworkManagementService"
am: 9fe79edfd2

Change-Id: Ia66a457d3cb73c92c97de025348724fa3f5cbc55

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 agoRun IpClientLinkObserver on Binder thread
Remi NGUYEN VAN [Tue, 29 Jan 2019 07:46:48 +0000 (16:46 +0900)]
Run IpClientLinkObserver on Binder thread

This restores previous behavior, where callbacks would not be called on
the IpClient handler thread.

Test: atest FrameworksNetTests NetworkStackTests
Test: flashed, WiFi works
Bug: 123062477
Change-Id: I3015566b0922d76ac7cf70579a1de3e033bf7b4a

5 years agoMerge "uce: Updating UCE API to accept ICC-ID."
Gnaneshwar Gatla [Tue, 29 Jan 2019 06:04:32 +0000 (22:04 -0800)]
Merge "uce: Updating UCE API to accept ICC-ID."
am: d20bdb915a

Change-Id: I09c1bb2f89d2fe456c3547671d1d81731b130d28

5 years agoMerge "Disable view compilation for privileged apps"
Mathieu Chartier [Tue, 29 Jan 2019 06:00:08 +0000 (22:00 -0800)]
Merge "Disable view compilation for privileged apps"
am: 3c496729de

Change-Id: Ice8a1710b04f93036dcdc831402d8975528f3fc2

5 years agoMerge "Fix for CTS testAllowWhileIdleJobInTempwhitelist"
Kulwinder Singh [Tue, 29 Jan 2019 05:50:20 +0000 (21:50 -0800)]
Merge "Fix for CTS testAllowWhileIdleJobInTempwhitelist"
am: 23b144eb40

Change-Id: Ifce8f15e876694a35c0e0a31b05d8ea47c462628

5 years agoMerge "new SystemAPI to getSimLocale"
Pengquan Meng [Tue, 29 Jan 2019 05:24:15 +0000 (21:24 -0800)]
Merge "new SystemAPI to getSimLocale"
am: 5cf41e47fe

Change-Id: I61c7c147efc223000a58ae003231f97756783076

5 years agoMerge "Add SocketUtils for NetworkStack"
Remi NGUYEN VAN [Tue, 29 Jan 2019 05:19:36 +0000 (21:19 -0800)]
Merge "Add SocketUtils for NetworkStack"
am: cec60fa56a

Change-Id: I0db40afbf2de55d77d9d5493e556f499d2383f59

5 years agoMerge "clang-format ManifestFixer_test.cpp"
Colin Cross [Tue, 29 Jan 2019 05:16:13 +0000 (21:16 -0800)]
Merge "clang-format ManifestFixer_test.cpp"
am: 171c9cdc6a

Change-Id: Ia252884dd1ddb2d1aad7b9b881e1107aa8160122

5 years agoMerge "Add Secure NFC functionality"
Ruchi Kandoi [Tue, 29 Jan 2019 04:48:08 +0000 (20:48 -0800)]
Merge "Add Secure NFC functionality"
am: 3ffdb26aa8

Change-Id: Ic3131f8763d0e04e50a81652f6b0e08e48bd0f1e

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 "Data profile refactoring"
Jack Yu [Tue, 29 Jan 2019 04:43:20 +0000 (20:43 -0800)]
Merge "Data profile refactoring"
am: b551d0d6d3

Change-Id: Ibb6374fab2282a5db6d4f931c53ce8a1a0811988

5 years agoMerge "Add Emergency Number Test Mode"
Amit Mahajan [Tue, 29 Jan 2019 04:36:15 +0000 (20:36 -0800)]
Merge "Add Emergency Number Test Mode"
am: 783400c390

Change-Id: I5c831c92ef0a24496f7aabc1d0a50a5ee493cb26

5 years agoMerge "jni: more O_CLOEXECs"
Nick Kralevich [Tue, 29 Jan 2019 04:31:59 +0000 (20:31 -0800)]
Merge "jni: more O_CLOEXECs"
am: 0bd511611e

Change-Id: Id9eabfa92a488dbf7a27108aff8101d602e1adc9

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 "Whitelist packages from VPN lockdown."
Pavel Grafov [Tue, 29 Jan 2019 04:18:23 +0000 (20:18 -0800)]
Merge "Whitelist packages from VPN lockdown."
am: 774c3ce152

Change-Id: I3332e495ba0c903dff3dbb9c53c5c4784ea519f4

5 years agoMerge "CallQuality is set to empty instead of null"
Jordan Liu [Tue, 29 Jan 2019 04:14:51 +0000 (20:14 -0800)]
Merge "CallQuality is set to empty instead of null"
am: b3f282daa1

Change-Id: I57b228b8d8b2c42c8a23e33d4c1c18a94c838907

5 years agoMerge "Add Emergency Uniform Resource Number (URN)"
Amit Mahajan [Tue, 29 Jan 2019 03:57:11 +0000 (19:57 -0800)]
Merge "Add Emergency Uniform Resource Number (URN)"
am: e01a358b5b

Change-Id: I0c9f4182f8255ba0a6eeac501834ff26837cd357

5 years agoMerge "Remove DumpstateOptions"
Nandana Dutt [Tue, 29 Jan 2019 03:51:36 +0000 (19:51 -0800)]
Merge "Remove DumpstateOptions"
am: 706b2d0e16

Change-Id: I4134f2cd095e8d91a7f4444030a4c1523adb5483

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 agoMerge "startop: use static_lib dependency on libdexfile."
Orion Hodson [Tue, 29 Jan 2019 03:48:13 +0000 (19:48 -0800)]
Merge "startop: use static_lib dependency on libdexfile."
am: ff1aa4e49a

Change-Id: I943a8bbf6945cb156ecb202b4537dc75ba2f5cf5

5 years agoMerge "framework.jar: Include all radio HIDL libs."
Steven Moreland [Tue, 29 Jan 2019 03:44:18 +0000 (19:44 -0800)]
Merge "framework.jar: Include all radio HIDL libs."
am: 3c7ac4e991

Change-Id: Ib45dc36987acd944f0abe9496b62701557d18e2e

5 years agoMerge "Expose bugreporting API as system API."
Nandana Dutt [Tue, 29 Jan 2019 03:40:54 +0000 (19:40 -0800)]
Merge "Expose bugreporting API as system API."
am: 6ac57c669a

Change-Id: I98b7d492e8b800670a3127224d152b8fe75e758f

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 16:18:21 +0000 (08:18 -0800)]
Merge "Remove unused library framework-oahl-backward-compatibility"
am: 2111aeb289

Change-Id: I0ae3adfa825565c6e0f3321ace47dcee897eb337

5 years agoMerge "Add gaillard@ to owners."
Olivier Gaillard [Mon, 28 Jan 2019 16:14:05 +0000 (08:14 -0800)]
Merge "Add gaillard@ to owners."
am: 1e02188bfe

Change-Id: Ibb94159565a70a597de098f79c13c6a991e3ebcc

5 years agoMerge "Add @UnsupportedAppUsage to methods known to be used by apps"
David Brazdil [Mon, 28 Jan 2019 16:10:41 +0000 (08:10 -0800)]
Merge "Add @UnsupportedAppUsage to methods known to be used by apps"
am: faedae5981

Change-Id: I5263e1aa1a3a14fab7feb15acd3295f11dee0b15

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 agoMerge "Add hidden utils and constants to NetworkStack"
Remi NGUYEN VAN [Mon, 28 Jan 2019 11:22:16 +0000 (03:22 -0800)]
Merge "Add hidden utils and constants to NetworkStack"
am: 567cc7890a

Change-Id: I589b2ca6ac0a1562969ec4aeda1a8a4a60660814

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:21:01 +0000 (01:21 -0800)]
Merge "Move NetworkUtils used by NetworkStack"
am: b8bbc48dee

Change-Id: Ib83c3cb8ced0d226bd57375cd4600665d72fd962

5 years agoMerge "Add NetworkObserverRegistry to NetworkStack"
Remi NGUYEN VAN [Mon, 28 Jan 2019 09:10:44 +0000 (01:10 -0800)]
Merge "Add NetworkObserverRegistry to NetworkStack"
am: 375b3c075d

Change-Id: Ife53135ab98c56a276ede9c7bbe7c345484c5e55

5 years agoMerge "Add NetworkStack tests to postsubmit"
Remi NGUYEN VAN [Mon, 28 Jan 2019 09:06:51 +0000 (01:06 -0800)]
Merge "Add NetworkStack tests to postsubmit"
am: f4fb1b5251

Change-Id: I50ff0bb440318d3bb9ac8304868b5f3f58a10fff

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:38:38 +0000 (00:38 -0800)]
Merge "Add INetd to SystemServiceRegistry"
am: e3f18bd77c

Change-Id: I510c964ead030f3522c26c123e709117c7c14f6a

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:26:39 +0000 (00:26 -0800)]
Merge "Add NetworkStack networking deps to SystemApi"
am: 9188b49259

Change-Id: Id8b31f100ab07ca9a38f4cff26c719dd9d74bc54

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"
Yu-Han Yang [Sun, 27 Jan 2019 00:25:12 +0000 (16:25 -0800)]
Merge "Add yuhany@ and aadmal@ to OWNERS"
am: 223d681503

Change-Id: Ibf7c18fc2936bc0b854b914f41e41966a4485466

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"
Nick Kralevich [Sat, 26 Jan 2019 01:51:51 +0000 (17:51 -0800)]
Merge "more O_CLOEXEC"
am: 350f48328b

Change-Id: I14c8a19b241e29ad4a9bd74d8ed904aa2ef7e5b3

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!"
Nick Kralevich [Fri, 25 Jan 2019 22:43:37 +0000 (14:43 -0800)]
Merge "even more O_CLOEXECs!"
am: bb5b645454

Change-Id: I8435d69b72dbbbc881bbd43c7a640f3460e5777a

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 22:05:20 +0000 (14:05 -0800)]
Merge "[view compilation] Add separate compilation property"
am: 9343b88b43

Change-Id: I2944873c615c6278507a39a78a5c0dec2f4104df

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"
Nandana Dutt [Fri, 25 Jan 2019 21:17:45 +0000 (13:17 -0800)]
Merge "Follow API guidelines in BugreportManager"
am: 37aee80c76

Change-Id: I2bb33876a9318cc347600726e9277cf71db9c75d

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