OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Fixed crash in data service"
Jack Yu [Thu, 31 Jan 2019 01:08:00 +0000 (17:08 -0800)]
Merge "Fixed crash in data service"
am: 7fab753180

Change-Id: Iee394217f127e288f598ec802eb2b0b914823ff8

5 years agoMerge "Fixed crash in data service"
Jack Yu [Thu, 31 Jan 2019 00:46:04 +0000 (00:46 +0000)]
Merge "Fixed crash in data service"

5 years agoFixed crash in data service
Jack Yu [Wed, 30 Jan 2019 00:26:49 +0000 (16:26 -0800)]
Fixed crash in data service

Test: telephony sanity tests
Bug: 123598340
Change-Id: Ie15f8869849a2aed4a32f4f6731abd5ba1eb05cd

5 years agoMerge "Add SystemApi for captive portal metrics"
Remi NGUYEN VAN [Wed, 30 Jan 2019 22:35:30 +0000 (14:35 -0800)]
Merge "Add SystemApi for captive portal metrics"
am: 55849979a5

Change-Id: I1d1406a10c33034cf379ea7735cb106d3c536c8e

5 years agoMerge "Nuke old setAlwaysOnVpnPackageForUser method."
Pavel Grafov [Wed, 30 Jan 2019 22:27:01 +0000 (14:27 -0800)]
Merge "Nuke old setAlwaysOnVpnPackageForUser method."
am: 35a8f1a38a

Change-Id: If3cb37b8fa19dd49b8595622b293886653d7a319

5 years agoMerge "Add SystemApi for captive portal metrics"
Remi NGUYEN VAN [Wed, 30 Jan 2019 22:24:12 +0000 (22:24 +0000)]
Merge "Add SystemApi for captive portal metrics"

5 years agoMerge "Nuke old setAlwaysOnVpnPackageForUser method."
Treehugger Robot [Wed, 30 Jan 2019 22:10:40 +0000 (22:10 +0000)]
Merge "Nuke old setAlwaysOnVpnPackageForUser method."

5 years agoMerge "Use default argument for VintfObject::CheckCompatibility."
Yifan Hong [Wed, 30 Jan 2019 21:30:50 +0000 (13:30 -0800)]
Merge "Use default argument for VintfObject::CheckCompatibility."
am: 0296deccca

Change-Id: I6d23d6d7e9c4c29483ae927be7df4e4b7bc7a6d3

5 years agoMerge "Added a broadcast intent for clients to listen for country changes"
Jack Yu [Wed, 30 Jan 2019 21:20:02 +0000 (13:20 -0800)]
Merge "Added a broadcast intent for clients to listen for country changes"
am: 090b59fa45

Change-Id: Iee0449afa659b6ee43db88901de99d45dc0254ec

5 years agoMerge "Some of us are weird."
Dan Sandler [Wed, 30 Jan 2019 21:15:53 +0000 (13:15 -0800)]
Merge "Some of us are weird."
am: 559d6018b6

Change-Id: Icf919c902d9a7e5e8eda1ac2e7f551cf51891281

5 years agoMerge "Use default argument for VintfObject::CheckCompatibility."
Yifan Hong [Wed, 30 Jan 2019 21:09:14 +0000 (21:09 +0000)]
Merge "Use default argument for VintfObject::CheckCompatibility."

5 years agoMerge "Added a broadcast intent for clients to listen for country changes"
Jack Yu [Wed, 30 Jan 2019 21:02:17 +0000 (21:02 +0000)]
Merge "Added a broadcast intent for clients to listen for country changes"

5 years agoMerge "Some of us are weird."
Dan Sandler [Wed, 30 Jan 2019 20:58:46 +0000 (20:58 +0000)]
Merge "Some of us are weird."

5 years agoNuke old setAlwaysOnVpnPackageForUser method.
Pavel Grafov [Wed, 30 Jan 2019 19:56:36 +0000 (19:56 +0000)]
Nuke old setAlwaysOnVpnPackageForUser method.

All callers have migrated to 4-argument one.

Test: builds
Bug: 77468593
Change-Id: I253515f6b0100b675505646339e5b82d373c9429

5 years agoAdded a broadcast intent for clients to listen for country changes
Jack Yu [Fri, 25 Jan 2019 22:50:15 +0000 (14:50 -0800)]
Added a broadcast intent for clients to listen for country changes

Added a broadcast intent ACTION_NETWORK_COUNTRY_CHANGED for clients
to listen for network country code changes. The same value can be
retrieved from TelephonyManager.getNetworkCountryIso().

Test: Manual + unit tests
Bug: 122900588
Merged-In: Ifec87dda7bae386118b7bc7523844342bd16c3ea
Change-Id: Ifec87dda7bae386118b7bc7523844342bd16c3ea
(cherry picked from commit 3d33698bf5d98a6480a9f6928d1f1e23d519cc08)

5 years agoMerge "VpnDialogs should be able to control always-on VPN."
Pavel Grafov [Wed, 30 Jan 2019 19:48:25 +0000 (11:48 -0800)]
Merge "VpnDialogs should be able to control always-on VPN."
am: d5d7492040

Change-Id: I08f5f69168f58318afb0fd848a8177319018356a

5 years agoMerge "VpnDialogs should be able to control always-on VPN."
Treehugger Robot [Wed, 30 Jan 2019 19:34:47 +0000 (19:34 +0000)]
Merge "VpnDialogs should be able to control always-on VPN."

5 years agoMerge "new API for IMS call fail cause"
Chen Xu [Wed, 30 Jan 2019 18:18:21 +0000 (10:18 -0800)]
Merge "new API for IMS call fail cause"
am: ebad5a64d0

Change-Id: I70870709a27c48bc30c748e04e53c72780224bd8

5 years agoMerge "[layout precompilation] Add testing hook for precompiled layouts"
Eric Holk [Wed, 30 Jan 2019 18:11:53 +0000 (10:11 -0800)]
Merge "[layout precompilation] Add testing hook for precompiled layouts"
am: 15b86c9037

Change-Id: I7c1e46dc5ebce025e1aafd6131596d352e0c1bc8

5 years agoMerge "new API for IMS call fail cause"
Chen Xu [Wed, 30 Jan 2019 18:01:56 +0000 (18:01 +0000)]
Merge "new API for IMS call fail cause"

5 years agoMerge "[layout precompilation] Add testing hook for precompiled layouts"
Treehugger Robot [Wed, 30 Jan 2019 17:55:18 +0000 (17:55 +0000)]
Merge "[layout precompilation] Add testing hook for precompiled layouts"

5 years agoVpnDialogs should be able to control always-on VPN.
Pavel Grafov [Wed, 30 Jan 2019 17:11:33 +0000 (17:11 +0000)]
VpnDialogs should be able to control always-on VPN.

Bug: 77468593
Test: atest HostsideVpnTests#testIsAlwaysOnIsLockdown
Change-Id: I0a0c6b138c748a6cb8681c20c137f70ee1fc6cf9

5 years agoMerge "Initialise hidden api usage logger pre-fork"
Andrei-Valentin Onea [Wed, 30 Jan 2019 17:00:41 +0000 (09:00 -0800)]
Merge "Initialise hidden api usage logger pre-fork"
am: 763747b7ce

Change-Id: Ic1bd433cb1dc61c0f048c70f33360a41f7bde2c5

5 years agoMerge "Initialise hidden api usage logger pre-fork"
Andrei-Valentin Onea [Wed, 30 Jan 2019 16:42:54 +0000 (16:42 +0000)]
Merge "Initialise hidden api usage logger pre-fork"

5 years ago[layout precompilation] Add testing hook for precompiled layouts
Eric Holk [Fri, 18 Jan 2019 19:49:55 +0000 (11:49 -0800)]
[layout precompilation] Add testing hook for precompiled layouts

We want to be able to control at a fine grained level whether precompiled
layouts are enabled so we can compare inflation results with and without. This
changes adds a @TestApi method that supports this.

Bug: 111895153
Merged-In: Ib6b62d79a9ca7aefefff8639752aa5838e491038
Change-Id: I2f28f6912499825e52c17cc163be9c0fe93855cb

5 years agoAdd SystemApi for captive portal metrics
Remi NGUYEN VAN [Wed, 30 Jan 2019 06:22:01 +0000 (15:22 +0900)]
Add SystemApi for captive portal metrics

The metrics go through NetworkMonitor in the NetworkStack so that they
can be upgraded to new metrics in the future.

Test: flashed, captive portal login works, metrics shown in events log
Bug: 112869080
Merged-In: I4bccfbd87bae5b2d65e45c7a5918aa45ab5d76e8
Change-Id: Ib5e2126788f8d56a00a56d7efcd33c5f9a37a6de

5 years agoInitialise hidden api usage logger pre-fork
Andrei Onea [Fri, 25 Jan 2019 16:29:44 +0000 (16:29 +0000)]
Initialise hidden api usage logger pre-fork

Topic: hidden-api-reporting-upcall
Test: m
Bug: 119217680
Change-Id: I8722f0bf4275fea4a8faf41d7b862c04b4014824
Merged-In: I80f82092ef779a7dc1f1322cb7c05ebf5e59939b

5 years agoMerge "Track ZygoteHooks API changes in libcore"
Neil Fuller [Wed, 30 Jan 2019 11:10:21 +0000 (03:10 -0800)]
Merge "Track ZygoteHooks API changes in libcore"
am: 20bca262f5

Change-Id: I9245629f0a5ba6fed9695f591396747eb1ae911c

5 years agoMerge "Track ZygoteHooks API changes in libcore"
Neil Fuller [Wed, 30 Jan 2019 10:53:55 +0000 (10:53 +0000)]
Merge "Track ZygoteHooks API changes in libcore"

5 years agoMerge "API: Fix missing @NonNull annotations"
Adrian Roos [Wed, 30 Jan 2019 09:55:30 +0000 (01:55 -0800)]
Merge "API: Fix missing @NonNull annotations"
am: b852f6636f

Change-Id: Id6451f9cd18debf51137a81159ead79064fbafca

5 years agoMerge "API: Add missing nullability annotations"
Adrian Roos [Wed, 30 Jan 2019 09:51:31 +0000 (01:51 -0800)]
Merge "API: Add missing nullability annotations"
am: e148fbcf03

Change-Id: I6b092f370a8b2eba20d19c6e43b4e5f5b217af16

5 years agoMerge "API: Fix missing @NonNull annotations"
Adrian Roos [Wed, 30 Jan 2019 09:31:58 +0000 (09:31 +0000)]
Merge "API: Fix missing @NonNull annotations"

5 years agoMerge "API: Add missing nullability annotations"
Adrian Roos [Wed, 30 Jan 2019 09:31:58 +0000 (09:31 +0000)]
Merge "API: Add missing nullability annotations"

5 years agoMerge "move ServiceState.getDataRegState to greylist"
Chen Xu [Wed, 30 Jan 2019 06:37:01 +0000 (22:37 -0800)]
Merge "move ServiceState.getDataRegState to greylist"
am: 607e797932

Change-Id: I7d63f204bb34e462039d3889d1876b3264d0f567

5 years agoMerge "Add APIs to get/set if usage of multiple SIMs is restricted."
Michele Berionne [Wed, 30 Jan 2019 06:31:18 +0000 (22:31 -0800)]
Merge "Add APIs to get/set if usage of multiple SIMs is restricted."
am: 59133875e7

Change-Id: Ie9c2a17b65f21862502056957ff5603b62f7d4dd

5 years agoMerge "move ServiceState.getDataRegState to greylist"
Chen Xu [Wed, 30 Jan 2019 06:20:01 +0000 (06:20 +0000)]
Merge "move ServiceState.getDataRegState to greylist"

5 years agoMerge "Add APIs to get/set if usage of multiple SIMs is restricted."
Michele Berionne [Wed, 30 Jan 2019 06:18:19 +0000 (06:18 +0000)]
Merge "Add APIs to get/set if usage of multiple SIMs is restricted."

5 years agoMerge "Compile NetworkStack as system_current"
Remi NGUYEN VAN [Wed, 30 Jan 2019 05:18:39 +0000 (21:18 -0800)]
Merge "Compile NetworkStack as system_current"
am: 17c303b79d

Change-Id: If74cbb1e9f59373636350c24aa07831d1705db49

5 years agoMerge "Remove last NetworkStack usage of hidden APIs"
Remi NGUYEN VAN [Wed, 30 Jan 2019 05:13:46 +0000 (21:13 -0800)]
Merge "Remove last NetworkStack usage of hidden APIs"
am: 16ec5d038c

Change-Id: I27c78d09938f672a4428a17436d5ed0541170d0d

5 years agoMerge "Compile NetworkStack as system_current"
Remi NGUYEN VAN [Wed, 30 Jan 2019 04:56:15 +0000 (04:56 +0000)]
Merge "Compile NetworkStack as system_current"

5 years agoMerge "Remove last NetworkStack usage of hidden APIs"
Remi NGUYEN VAN [Wed, 30 Jan 2019 04:55:21 +0000 (04:55 +0000)]
Merge "Remove last NetworkStack usage of hidden APIs"

5 years agoMerge "Whitelist packages from VPN lockdown: DPM API."
Pavel Grafov [Wed, 30 Jan 2019 01:41:49 +0000 (17:41 -0800)]
Merge "Whitelist packages from VPN lockdown: DPM API."
am: c9d834e3f5

Change-Id: I5723a0970a0e37995c9db6e42ae527b8692bc48a

5 years agoAdd APIs to get/set if usage of multiple SIMs is restricted.
Michele [Fri, 21 Dec 2018 22:51:01 +0000 (14:51 -0800)]
Add APIs to get/set if usage of multiple SIMs is restricted.

Add API that indicates if the usage of multiple SIMs at the same time is
allowed or restricted in order to support requirements from carriers for
dual SIM devices

Bug: 123537730
Test: Verified with test application.
Change-Id: I5e3e5ff41927e43ead4a30988630cf9125d5a048
Merged-In: I5e3e5ff41927e43ead4a30988630cf9125d5a048
(cherry picked from commit 398d5d91136d6e2146bf56ad3bdbb326a835c8ef)

5 years agoMerge "Whitelist packages from VPN lockdown: DPM API."
Treehugger Robot [Wed, 30 Jan 2019 01:29:45 +0000 (01:29 +0000)]
Merge "Whitelist packages from VPN lockdown: DPM API."

5 years agoCompile NetworkStack as system_current
Remi NGUYEN VAN [Tue, 29 Jan 2019 12:32:48 +0000 (21:32 +0900)]
Compile NetworkStack as system_current

Test: make NetworkStack
Test: flashed, WiFi and tethering working
Bug: 112869080
Change-Id: I2d805c0fefe271199f4f0e0d49d91e03f41a7eef

5 years agoRemove last NetworkStack usage of hidden APIs
Remi NGUYEN VAN [Tue, 29 Jan 2019 06:38:52 +0000 (15:38 +0900)]
Remove last NetworkStack usage of hidden APIs

Includes various small changes to stop using hidden APIs

Test: make NetworkStack
Test: flashed, booted, WiFi and tethering working
Bug: 112869080
Change-Id: Id2830795a444f484b377ed6437435a1cd833697a

5 years agoUse default argument for VintfObject::CheckCompatibility.
Yifan Hong [Wed, 30 Jan 2019 00:45:45 +0000 (16:45 -0800)]
Use default argument for VintfObject::CheckCompatibility.

The default argument has been changed to ENABLE_ALL_CHECKS to DEFAULT.
Just use the default argument implicitly.

Test: boots (sanity)
Bug: 117914319
Change-Id: Ib3d44c89625abcce50c6f22253461417dd130f80

5 years agoMerge "Add IntRange and FloatRange annotations"
Chen Xu [Wed, 30 Jan 2019 00:32:21 +0000 (16:32 -0800)]
Merge "Add IntRange and FloatRange annotations"
am: 94a9377222

Change-Id: Iab472ad2c0ffe875069ea7b71ce10a14e9ef70f5

5 years agoMerge "Add IntRange and FloatRange annotations"
Chen Xu [Wed, 30 Jan 2019 00:06:23 +0000 (00:06 +0000)]
Merge "Add IntRange and FloatRange annotations"

5 years agomove ServiceState.getDataRegState to greylist
chen xu [Tue, 29 Jan 2019 23:56:40 +0000 (15:56 -0800)]
move ServiceState.getDataRegState to greylist

given we don't have a public alternatives for dataregstate for Q,
thus we shouldn't move this API to app-compat dark list.

Bug: 123099466
Test: Build
Change-Id: I67531ce536e004e1bc0f764824a261fb51cd27fa

5 years agoMerge "Merge "Card ID APIs are public" am: bd4a4dc889" into stage-aosp-master
Android Build Merger (Role) [Tue, 29 Jan 2019 23:14:51 +0000 (23:14 +0000)]
Merge "Merge "Card ID APIs are public" am: bd4a4dc889" into stage-aosp-master

5 years agoMerge "Card ID APIs are public"
Jordan Liu [Tue, 29 Jan 2019 23:13:25 +0000 (15:13 -0800)]
Merge "Card ID APIs are public"
am: bd4a4dc889

Change-Id: Ie436f74a0501d46ac12ea641ab71741fc6cbf3ba

5 years agoMerge "Card ID APIs are public"
Jordan Liu [Tue, 29 Jan 2019 23:06:01 +0000 (15:06 -0800)]
Merge "Card ID APIs are public"
am: bd4a4dc889

Change-Id: I2cf670328f7b2f35d6009eecb0e3741311d6e2df

5 years agoMerge "Card ID APIs are public"
Jordan Liu [Tue, 29 Jan 2019 22:43:47 +0000 (22:43 +0000)]
Merge "Card ID APIs are public"

5 years agoAdd IntRange and FloatRange annotations
chen xu [Tue, 29 Jan 2019 21:58:29 +0000 (13:58 -0800)]
Add IntRange and FloatRange annotations

Bug: 123223163
Test: Build
Change-Id: I17f27075007df642ec93e5b762b0717da4a1e927

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

Bug: 77468593
Test: atest MixedDeviceOwnerTest#testAlwaysOnVpn
Test: atest MixedDeviceOwnerTest#testAlwaysOnVpnAcrossReboot
Change-Id: I7508070f828fb7150df5d9e34846535d57c6a7c3
Merged-In: I7508070f828fb7150df5d9e34846535d57c6a7c3

5 years agoMerge "Define more thresholds for opportunistic data"
Sooraj Sasindran [Tue, 29 Jan 2019 20:09:58 +0000 (12:09 -0800)]
Merge "Define more thresholds for opportunistic data"
am: cf2e069962

Change-Id: I8426e90c7f8a6b251e3bfdf0e2f3f0cf819fa777

5 years agoMerge changes I94d15307,I7deb8556,I755b3140
Jack He [Tue, 29 Jan 2019 19:53:43 +0000 (11:53 -0800)]
Merge changes I94d15307,I7deb8556,I755b3140
am: 5aef5c6508

Change-Id: I2e38b52aeff244bdec199907f5cf90ce23ecbbfe

5 years agoTrack ZygoteHooks API changes in libcore
Neil Fuller [Mon, 28 Jan 2019 18:29:20 +0000 (18:29 +0000)]
Track ZygoteHooks API changes in libcore

Track ZygoteHooks API changes in libcore to make
the ZygoteHooks API more consistent.

Bug: 111742291
Test: build / boot / treehugger
Merged-In: Ie65aac6539cffc90663807791511b95a6cd61ab4
Change-Id: Ie65aac6539cffc90663807791511b95a6cd61ab4

5 years agoSome of us are weird.
Dan Sandler [Tue, 29 Jan 2019 19:44:39 +0000 (14:44 -0500)]
Some of us are weird.

Test: dsandler can give OWNERS approval
Change-Id: I9b4f7903513e7171dfa51aa39a32b6bcfbfbb0eb

5 years agoMerge "Define more thresholds for opportunistic data"
Sooraj Sasindran [Tue, 29 Jan 2019 19:43:26 +0000 (19:43 +0000)]
Merge "Define more thresholds for opportunistic data"

5 years agoMerge changes I94d15307,I7deb8556,I755b3140
Treehugger Robot [Tue, 29 Jan 2019 19:27:53 +0000 (19:27 +0000)]
Merge changes I94d15307,I7deb8556,I755b3140

* changes:
  Atom: Add more Bluetooth atoms
  Atom: Add A2DP playback related atoms to StatsLog
  Fix typo in hci/enums.proto: OCCURED -> OCCURRED

5 years agoCard ID APIs are public
Jordan Liu [Fri, 18 Jan 2019 18:29:56 +0000 (10:29 -0800)]
Card ID APIs are public

These were system API but we should expose them for apps with carrier
privileges.

Test: manual
Bug: 122974656
Change-Id: Ie60e4c580dfa9dd0d7d6fb6b94226661d0620dad

5 years agoMerge "Add check for slot index value"
Michele Berionne [Tue, 29 Jan 2019 17:34:53 +0000 (09:34 -0800)]
Merge "Add check for slot index value"
am: d8148b6c8c

Change-Id: I33be18a2fb8b3e35e521bdea28354ba1b7daa5b9

5 years agoMerge "Add check for slot index value"
Michele Berionne [Tue, 29 Jan 2019 17:25:17 +0000 (17:25 +0000)]
Merge "Add check for slot index value"

5 years agoMerge "apilint: Allow parsing 3.0 signature files"
Adrian Roos [Tue, 29 Jan 2019 16:23:14 +0000 (08:23 -0800)]
Merge "apilint: Allow parsing 3.0 signature files"
am: 34b11c92b3

Change-Id: I0cc45b11f079c7a0d383b49e74d55658a8915d71

5 years agoMerge "apilint: Allow parsing 3.0 signature files"
Adrian Roos [Tue, 29 Jan 2019 16:05:21 +0000 (16:05 +0000)]
Merge "apilint: Allow parsing 3.0 signature files"

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 agoapilint: Allow parsing 3.0 signature files
Adrian Roos [Tue, 29 Jan 2019 14:01:28 +0000 (15:01 +0100)]
apilint: Allow parsing 3.0 signature files

Test: python apilint_test.py
Change-Id: I59df950229c05329afde93f94efc13adb4640ad7

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 agonew API for IMS call fail cause
chen xu [Thu, 24 Jan 2019 22:14:13 +0000 (14:14 -0800)]
new API for IMS call fail cause

Bug: 119890559
Test: atest CtsTelephonyTestCases:PhoneStateListenerTest
Change-Id: Ia047b7ba2345ad0c8d998506026defc02eb80dc9
(cherry picked from commit 6ac5fc19e6db5159bb325c7c705437e7d204f463)
Merged-in: Ia047b7ba2345ad0c8d998506026defc02eb80dc9

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