OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Add get last entitlement value callback API" am: 4163ff7928
Mark Chien [Thu, 31 Jan 2019 07:49:43 +0000 (23:49 -0800)]
Merge "Add get last entitlement value callback API" am: 4163ff7928
am: 524fbd619e

Change-Id: I42892bdacaa41f9cea7e653f0bb9b5497192e5f6

5 years agoMerge "Add get last entitlement value callback API"
Mark Chien [Thu, 31 Jan 2019 07:35:15 +0000 (23:35 -0800)]
Merge "Add get last entitlement value callback API"
am: 4163ff7928

Change-Id: I1961297c3fa31f5575ae3a11a3fc90d695cb7de5

5 years agoMerge "Add get last entitlement value callback API"
Mark Chien [Thu, 31 Jan 2019 07:23:31 +0000 (07:23 +0000)]
Merge "Add get last entitlement value callback API"

5 years agoMerge "Add UserHandle.getAppId to SystemApi" am: b334bbefd4
Remi NGUYEN VAN [Thu, 31 Jan 2019 06:29:31 +0000 (22:29 -0800)]
Merge "Add UserHandle.getAppId to SystemApi" am: b334bbefd4
am: dac257d27c

Change-Id: If35e251dbbbca2839529bbb999c6813fb601d1c0

5 years agoMerge "Add UserHandle.getAppId to SystemApi"
Remi NGUYEN VAN [Thu, 31 Jan 2019 06:17:58 +0000 (22:17 -0800)]
Merge "Add UserHandle.getAppId to SystemApi"
am: b334bbefd4

Change-Id: I6be04cb335e642921d67a68970078c2cae4af4e7

5 years agoMerge "Add UserHandle.getAppId to SystemApi"
Remi NGUYEN VAN [Thu, 31 Jan 2019 06:04:11 +0000 (06:04 +0000)]
Merge "Add UserHandle.getAppId to SystemApi"

5 years agoMerge "Add a method to determine if a reboot is required to alter the modem config...
Nazanin Bakhshi [Thu, 31 Jan 2019 05:56:34 +0000 (21:56 -0800)]
Merge "Add a method to determine if a reboot is required to alter the modem config" am: 3483983223
am: 215383a8c3

Change-Id: I07189ff44859e1e6e07f1bdaed5e9d4957897475

5 years agoMerge "[KA06] export keepalive offload permission as system api." am: 6943546771
junyulai [Thu, 31 Jan 2019 05:46:18 +0000 (21:46 -0800)]
Merge "[KA06] export keepalive offload permission as system api." am: 6943546771
am: c9ada8727f

Change-Id: Ib1772c573a4cdb8413276f67c98091029254782f

5 years agoMerge "Add a method to determine if a reboot is required to alter the modem config"
Nazanin Bakhshi [Thu, 31 Jan 2019 05:40:48 +0000 (21:40 -0800)]
Merge "Add a method to determine if a reboot is required to alter the modem config"
am: 3483983223

Change-Id: Ifd643a44abfbb8cd9eab47279d14ad46c26a5dbc

5 years agoMerge "[KA06] export keepalive offload permission as system api."
junyulai [Thu, 31 Jan 2019 05:35:02 +0000 (21:35 -0800)]
Merge "[KA06] export keepalive offload permission as system api."
am: 6943546771

Change-Id: I7e73e50ff8bdbeff8b2f01e1d3bb4bbf95fba70f

5 years agoMerge "Add a method to determine if a reboot is required to alter the modem config"
Nazanin Bakhshi [Thu, 31 Jan 2019 05:23:43 +0000 (05:23 +0000)]
Merge "Add a method to determine if a reboot is required to alter the modem config"

5 years agoMerge "[KA06] export keepalive offload permission as system api."
Treehugger Robot [Thu, 31 Jan 2019 05:18:17 +0000 (05:18 +0000)]
Merge "[KA06] export keepalive offload permission as system api."

5 years agoAdd get last entitlement value callback API
markchien [Wed, 16 Jan 2019 09:44:13 +0000 (17:44 +0800)]
Add get last entitlement value callback API

The callback would be used to notify entitlement value. If the
cache value indicates entitlement succeeded, it just fire
callback with cache value instead of run entitlement check.

Bug: 120887283
Test: atest FrameworksNetTests
Change-Id: I8afe928423bd75c54c61533a50a5c0814922ceb1

5 years agoAdd a method to determine if a reboot is required to alter the modem config
Nazanin Bakhshi [Wed, 30 Jan 2019 18:49:29 +0000 (10:49 -0800)]
Add a method to determine if a reboot is required to alter the modem config

Bug: 123101701
Test: sanity
Change-Id: I841b947efda0016c003f54ecf7853624582abab9
Merged-In: I841b947efda0016c003f54ecf7853624582abab9
(cherry picked from commit 7eca4afab4565ca1bd0f9827e93370885ba5ccea)

5 years agoMerge "Add telephony API to switch multi sim config" am: 602df1aa8c
Nazanin Bakhshi [Thu, 31 Jan 2019 04:09:58 +0000 (20:09 -0800)]
Merge "Add telephony API to switch multi sim config" am: 602df1aa8c
am: 9fef7be245

Change-Id: Iad4a48b5117b11f63f3d086b42f879034fd415e3

5 years agoAdd UserHandle.getAppId to SystemApi
Remi NGUYEN VAN [Thu, 31 Jan 2019 03:36:54 +0000 (12:36 +0900)]
Add UserHandle.getAppId to SystemApi

This is consistent with other methods in this class, and unbundled
system apps such as the network stack need this API to verify their
callers regardless of the userid. The method is already marked as
TestApi.

Test: m
Bug: 123655057
Change-Id: I0ecef4abcd850dc641cd70681a56cb038778c04c

5 years agoMerge "Add telephony API to switch multi sim config"
Nazanin Bakhshi [Thu, 31 Jan 2019 03:52:01 +0000 (19:52 -0800)]
Merge "Add telephony API to switch multi sim config"
am: 602df1aa8c

Change-Id: I313e7b92c485cf6f5b955b01391a52bcd9ee51f9

5 years agoMerge "Call Screening / Caller ID API Changes" am: 8b194fe9d8
Tyler Gunn [Thu, 31 Jan 2019 03:45:30 +0000 (19:45 -0800)]
Merge "Call Screening / Caller ID API Changes" am: 8b194fe9d8
am: d030f9d160

Change-Id: I2bed419aaf6e357c82e48506f70085ac98e729f7

5 years agoMerge "Add telephony API to switch multi sim config"
Nazanin Bakhshi [Thu, 31 Jan 2019 03:44:15 +0000 (03:44 +0000)]
Merge "Add telephony API to switch multi sim config"

5 years agoMerge "Add an API that allows VPNs to declare themselves as metered." am: 62a9b66a38
Varun Anand [Thu, 31 Jan 2019 03:39:50 +0000 (19:39 -0800)]
Merge "Add an API that allows VPNs to declare themselves as metered." am: 62a9b66a38
am: 9563c15d09

Change-Id: Iab1d2a3bf27ec9c033253ccd48ce8026e3b18799

5 years agoMerge "Informing app idle listeners on enabled state changes." am: 8c43f731cf
Kweku Adams [Thu, 31 Jan 2019 03:33:59 +0000 (19:33 -0800)]
Merge "Informing app idle listeners on enabled state changes." am: 8c43f731cf
am: 1dbfcbc6f1

Change-Id: I06a21081e46a6773c1716329f7754f6ad00ae6d2

5 years agoMerge "Call Screening / Caller ID API Changes"
Tyler Gunn [Thu, 31 Jan 2019 03:27:41 +0000 (19:27 -0800)]
Merge "Call Screening / Caller ID API Changes"
am: 8b194fe9d8

Change-Id: I1ccdb9d1ed7c1e018dec20bbbef9334153adda21

5 years agoMerge "Add an API that allows VPNs to declare themselves as metered."
Varun Anand [Thu, 31 Jan 2019 03:09:30 +0000 (19:09 -0800)]
Merge "Add an API that allows VPNs to declare themselves as metered."
am: 62a9b66a38

Change-Id: Iadf012754e2e39f4b99efc97d5666dd0bc1ff2d6

5 years agoMerge "Call Screening / Caller ID API Changes"
Tyler Gunn [Thu, 31 Jan 2019 03:05:52 +0000 (03:05 +0000)]
Merge "Call Screening / Caller ID API Changes"

5 years agoMerge "Informing app idle listeners on enabled state changes."
Kweku Adams [Thu, 31 Jan 2019 03:04:44 +0000 (19:04 -0800)]
Merge "Informing app idle listeners on enabled state changes."
am: 8c43f731cf

Change-Id: I5adb182745f7598762ebd01ce10a3cd9d91aed01

5 years agoMerge "Add an API that allows VPNs to declare themselves as metered."
Varun Anand [Thu, 31 Jan 2019 02:43:25 +0000 (02:43 +0000)]
Merge "Add an API that allows VPNs to declare themselves as metered."

5 years agoMerge "Informing app idle listeners on enabled state changes."
Treehugger Robot [Thu, 31 Jan 2019 02:35:42 +0000 (02:35 +0000)]
Merge "Informing app idle listeners on enabled state changes."

5 years agoMerge "Add sandness@ and rubinxu@ to OWNERS for UserRestrictionsUtils" am: 04bade33ce
Pavel Grafov [Thu, 31 Jan 2019 02:08:46 +0000 (18:08 -0800)]
Merge "Add sandness@ and rubinxu@ to OWNERS for UserRestrictionsUtils" am: 04bade33ce
am: a49e88e74f

Change-Id: I67960b43a3eedabef418f4557edf7d4e2242e9bb

5 years agoMerge "Add sandness@ and rubinxu@ to OWNERS for UserRestrictionsUtils"
Pavel Grafov [Thu, 31 Jan 2019 01:59:51 +0000 (17:59 -0800)]
Merge "Add sandness@ and rubinxu@ to OWNERS for UserRestrictionsUtils"
am: 04bade33ce

Change-Id: I3d51d93e5c992fc27df9c637af68bb22f1f37dd1

5 years agoMerge "Add sandness@ and rubinxu@ to OWNERS for UserRestrictionsUtils"
Treehugger Robot [Thu, 31 Jan 2019 01:37:43 +0000 (01:37 +0000)]
Merge "Add sandness@ and rubinxu@ to OWNERS for UserRestrictionsUtils"

5 years agoMerge "Added OWNERS entries for some Zygote related files." am: 3ad8923842
Christian Wailes [Thu, 31 Jan 2019 01:29:36 +0000 (17:29 -0800)]
Merge "Added OWNERS entries for some Zygote related files." am: 3ad8923842
am: 2f0392e6f7

Change-Id: If5c42163657b9704bcd4e257a0869e4ee8345793

5 years agoMerge "Fixed crash in data service" am: 7fab753180
Jack Yu [Thu, 31 Jan 2019 01:19:24 +0000 (17:19 -0800)]
Merge "Fixed crash in data service" am: 7fab753180
am: ab5a5e8a58

Change-Id: I38fcae7f92de719ec49e3ecc4d630c0ec02b3e33

5 years agoMerge "Added OWNERS entries for some Zygote related files."
Christian Wailes [Thu, 31 Jan 2019 01:18:05 +0000 (17:18 -0800)]
Merge "Added OWNERS entries for some Zygote related files."
am: 3ad8923842

Change-Id: I2d7923044351f0473ee353d516a4d89657d0f05b

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 "Added OWNERS entries for some Zygote related files."
Christian Wailes [Thu, 31 Jan 2019 01:04:28 +0000 (01:04 +0000)]
Merge "Added OWNERS entries for some Zygote related files."

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 agoAdd telephony API to switch multi sim config
Nazanin Bakhshi [Wed, 30 Jan 2019 22:57:28 +0000 (14:57 -0800)]
Add telephony API to switch multi sim config

Bug: 122115649
Test: sanity
Change-Id: Idace8ed7f3fe78a6ce831225bda499a58a34c80f
Merged-In: Idace8ed7f3fe78a6ce831225bda499a58a34c80f
(cherry picked from commit 1e031bde1a85048bc43e72b38869d296db9ae228)

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

Change-Id: I15adc597039539d53e5c08dc5f8cac74bcb0eda2

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

Change-Id: I7f0de294357ae6c691d38be52dd278eb37d42116

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 agoAdd an API that allows VPNs to declare themselves as metered.
Varun Anand [Mon, 14 Jan 2019 19:45:33 +0000 (11:45 -0800)]
Add an API that allows VPNs to declare themselves as metered.

For VPN apps targeting Q and above, they will by default be treated as
metered unless they override this setting before establishing VPN.

Bug: 120145746
Test: atest FrameworksNetTests
Test: On device tests verifying meteredness setup correctly for apps
targeting Q and apps targeting P.
Change-Id: Ia6d1f7ef244bc04ae2e28faa59625302b5994875

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

Change-Id: I93bc43e00fa0d5955b88f71232fda39d3760966c

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

Change-Id: I071e3246b31fe1d768df95908f2484565375cd29

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 "Some of us are weird." am: 559d6018b6
Dan Sandler [Wed, 30 Jan 2019 21:24:06 +0000 (13:24 -0800)]
Merge "Some of us are weird." am: 559d6018b6
am: 99c3f55c89

Change-Id: I9605a2e5f9efd41ca4c5eb0e6f0c636e6920774d

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 agoMerge "VpnDialogs should be able to control always-on VPN." am: d5d7492040
Pavel Grafov [Wed, 30 Jan 2019 20:13:46 +0000 (12:13 -0800)]
Merge "VpnDialogs should be able to control always-on VPN." am: d5d7492040
am: 09aa059ec4

Change-Id: I3d2f5c5a7bc199551aad1ddb656dc076e3121fb3

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" am: ebad5a64d0
Chen Xu [Wed, 30 Jan 2019 18:35:38 +0000 (10:35 -0800)]
Merge "new API for IMS call fail cause" am: ebad5a64d0
am: 634594fb41

Change-Id: Ie6362bc5a6e7c372e7e60277feb48436a852f610

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

Change-Id: I6417624f74b779e05f5a4a30c484487a943697c6

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 agoMerge "Initialise hidden api usage logger pre-fork" am: 763747b7ce
Andrei-Valentin Onea [Wed, 30 Jan 2019 17:14:17 +0000 (09:14 -0800)]
Merge "Initialise hidden api usage logger pre-fork" am: 763747b7ce
am: c14670fc8e

Change-Id: I10aba0942a240ee041306c1bf24e6bed37e62f0a

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 agoMerge "Track ZygoteHooks API changes in libcore" am: 20bca262f5
Neil Fuller [Wed, 30 Jan 2019 11:19:42 +0000 (03:19 -0800)]
Merge "Track ZygoteHooks API changes in libcore" am: 20bca262f5
am: 97ba02c505

Change-Id: I3b377b6bd83cf6d7d293c89931ac13560e9db2c7

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" am: b852f6636f
Adrian Roos [Wed, 30 Jan 2019 10:17:56 +0000 (02:17 -0800)]
Merge "API: Fix missing @NonNull annotations" am: b852f6636f
am: d1f5939c1a

Change-Id: I3d0ac8768dcc9c314e235dc679752dd5cbfde0c5

5 years agoMerge "API: Add missing nullability annotations" am: e148fbcf03
Adrian Roos [Wed, 30 Jan 2019 10:12:37 +0000 (02:12 -0800)]
Merge "API: Add missing nullability annotations" am: e148fbcf03
am: 336e11018e

Change-Id: Idb6cbb94968f4a2ffe3055291f23fc903fe923a0

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 agoInforming app idle listeners on enabled state changes.
Kweku Adams [Tue, 6 Nov 2018 02:06:13 +0000 (18:06 -0800)]
Informing app idle listeners on enabled state changes.

Currently, if AppStandbyController is enabled after some listeners have
already registered, the listeners will be told that the system is in a
state of parole even though AppStandbyController thinks it's not in
parole. This change informs AppIdleStateChangeListeners when
AppStandbyController's enabled state changes as well so that they can be
in the correct state.

I also removed the call to setAppIdleEnabled() in onBootPhase() since
updateSettings() is called right afterwards and that also calls
setAppIdleEnabled().

Bug: 112329453
Test: atest AppStandbyControllerTests
also check logs to confirm that NetworkPolicyManagerService and
JobSchedulerService's listeners switch from ON to OFF when the system is
ready.

Change-Id: I88bc293c70b459f54f75f92126ad306d6ab8d9b7
Merged-In: I88bc293c70b459f54f75f92126ad306d6ab8d9b7

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" am: 607e797932
Chen Xu [Wed, 30 Jan 2019 06:49:57 +0000 (22:49 -0800)]
Merge "move ServiceState.getDataRegState to greylist" am: 607e797932
am: 43640ec075

Change-Id: Icf40ec83d25ec8057429e3b142fea6506f2ebe40

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

Change-Id: I383b701bff4c77596fad1d72929a5afcc5b0cf56

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" am: 17c303b79d
Remi NGUYEN VAN [Wed, 30 Jan 2019 05:33:27 +0000 (21:33 -0800)]
Merge "Compile NetworkStack as system_current" am: 17c303b79d
am: d3e0862b2c

Change-Id: I6f232f2bdd1206cc8b7d226fdae2c53b6f40fe05

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

Change-Id: I488fc028b8fd2aa5a09464082c65a4889a8a6b62

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 ago[automerger skipped] Merge "Whitelist packages from VPN lockdown: DPM API." am: c9d83...
Pavel Grafov [Wed, 30 Jan 2019 01:52:14 +0000 (17:52 -0800)]
[automerger skipped] Merge "Whitelist packages from VPN lockdown: DPM API." am: c9d834e3f5
am: aade923534 -s ours
am skip reason: change_id I7508070f828fb7150df5d9e34846535d57c6a7c3 with SHA1 5cba336daf is in history

Change-Id: Ic053580559dbe0733a19c2d74fab3fba374428ba

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