OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Delete old WifiNotificationController strings." am: 6daef4499f am: f412290e94
Stephen Chen [Wed, 11 Jan 2017 02:28:54 +0000 (02:28 +0000)]
Merge "Delete old WifiNotificationController strings." am: 6daef4499f am: f412290e94
am: 62f70c44b8

Change-Id: I95544b5507b89bc4354f49a191714fb3b56a09f6

7 years agoMerge "Delete old WifiNotificationController strings." am: 6daef4499f
Stephen Chen [Wed, 11 Jan 2017 02:24:26 +0000 (02:24 +0000)]
Merge "Delete old WifiNotificationController strings." am: 6daef4499f
am: f412290e94

Change-Id: I40bfd75b95a299516d08b4fdf699317249156eda

7 years agoMerge "Delete old WifiNotificationController strings."
Stephen Chen [Wed, 11 Jan 2017 02:20:14 +0000 (02:20 +0000)]
Merge "Delete old WifiNotificationController strings."
am: 6daef4499f

Change-Id: I20a68ca904cc0ad8042be61820808f4ff4680bee

7 years agoMerge "Delete old WifiNotificationController strings."
Treehugger Robot [Wed, 11 Jan 2017 02:12:48 +0000 (02:12 +0000)]
Merge "Delete old WifiNotificationController strings."

7 years agoMerge "Moved isCallerActiveScorer() to the score service." am: 663b444196 am: 5fbd2791ac
Jeremy Joslin [Wed, 11 Jan 2017 01:50:13 +0000 (01:50 +0000)]
Merge "Moved isCallerActiveScorer() to the score service." am: 663b444196 am: 5fbd2791ac
am: 11b1311e21

Change-Id: I9e00b4593005729cdf2b01e2347f0513a6d52cf0

7 years agoMerge "Moved isCallerActiveScorer() to the score service." am: 663b444196
Jeremy Joslin [Wed, 11 Jan 2017 01:45:43 +0000 (01:45 +0000)]
Merge "Moved isCallerActiveScorer() to the score service." am: 663b444196
am: 5fbd2791ac

Change-Id: If5649294845f01a390bccd47fe99add3b27b0829

7 years agoMerge changes I559eb049,I52425b84 am: 60d10ea0f4 am: 575726487f
Hugo Benichi [Wed, 11 Jan 2017 01:43:19 +0000 (01:43 +0000)]
Merge changes I559eb049,I52425b84 am: 60d10ea0f4 am: 575726487f
am: 5e4f253e6c

Change-Id: I348f7bf72778409db883c4bc0a27ff49a351ce38

7 years agoDO NOT MERGE Captive portals: login activity probes like NetworkMonitor am: 2c02197bd...
Hugo Benichi [Wed, 11 Jan 2017 01:42:01 +0000 (01:42 +0000)]
DO NOT MERGE Captive portals: login activity probes like NetworkMonitor am: 2c02197bdd  -s ours am: 2a913049ab  -s ours
am: debe4cea39

Change-Id: I6f4c7a0c15373e56fc178f287f6a0eb54d0d4018

7 years agoMerge "Moved isCallerActiveScorer() to the score service."
Jeremy Joslin [Wed, 11 Jan 2017 01:41:14 +0000 (01:41 +0000)]
Merge "Moved isCallerActiveScorer() to the score service."
am: 663b444196

Change-Id: I44134284edc88567703435ce663b3d0efd9cff26

7 years agoDO NOT MERGE Logging improvements in CaptivePortalLoginActivity am: 7f086e162b ...
Hugo Benichi [Wed, 11 Jan 2017 01:41:10 +0000 (01:41 +0000)]
DO NOT MERGE Logging improvements in CaptivePortalLoginActivity am: 7f086e162b  -s ours am: 7520a07036  -s ours
am: fd13a23784

Change-Id: I7d87e45371cc337c44b9d3660afb48cfeabaf90d

7 years agoMerge changes I1eaab5ea,I42928da8 am: b1e3c8aaf4 am: 22e7d2ed20
Hugo Benichi [Wed, 11 Jan 2017 01:34:23 +0000 (01:34 +0000)]
Merge changes I1eaab5ea,I42928da8 am: b1e3c8aaf4 am: 22e7d2ed20
am: 994978461f

Change-Id: Id4b45a161e8b2d6b077bc27bd7ab797a308fea29

7 years agoDO NOT MERGE Captive portal systel log improvements am: b32417a772 -s ours am: 6352f...
Hugo Benichi [Wed, 11 Jan 2017 01:32:49 +0000 (01:32 +0000)]
DO NOT MERGE Captive portal systel log improvements am: b32417a772  -s ours am: 6352f85398  -s ours
am: 9b07cb2fc1

Change-Id: Ie831b10e45cee740f519896312ede84ebb69e6f2

7 years agoDO NOT MERGE Fix flaky IpPrefixTest. am: f6b180ff1a -s ours am: 68ec108b6e -s ours
Hugo Benichi [Wed, 11 Jan 2017 01:31:54 +0000 (01:31 +0000)]
DO NOT MERGE Fix flaky IpPrefixTest. am: f6b180ff1a  -s ours am: 68ec108b6e  -s ours
am: b1a3f76900

Change-Id: Ieeeb425675715dc9910c4901f9c1bce7dbd168ad

7 years agoMerge "Fix a use-of-uninitialized-value warning." am: 95ef9ec5b1 am: 44e14d0d2b
John Reck [Wed, 11 Jan 2017 01:30:59 +0000 (01:30 +0000)]
Merge "Fix a use-of-uninitialized-value warning." am: 95ef9ec5b1 am: 44e14d0d2b
am: 5f3ed9b7de

Change-Id: I6e35191f4ddda2590eae4cfac9af5c781d0e493b

7 years agoMerge "Moved isCallerActiveScorer() to the score service."
Treehugger Robot [Wed, 11 Jan 2017 01:30:02 +0000 (01:30 +0000)]
Merge "Moved isCallerActiveScorer() to the score service."

7 years agoMerge changes I559eb049,I52425b84 am: 60d10ea0f4
Hugo Benichi [Wed, 11 Jan 2017 01:29:11 +0000 (01:29 +0000)]
Merge changes I559eb049,I52425b84 am: 60d10ea0f4
am: 575726487f

Change-Id: I0b218cc9a6820380b8e32ea0e020d39929a42826

7 years agoDO NOT MERGE Captive portals: login activity probes like NetworkMonitor am: 2c02197bd...
Hugo Benichi [Wed, 11 Jan 2017 01:27:40 +0000 (01:27 +0000)]
DO NOT MERGE Captive portals: login activity probes like NetworkMonitor am: 2c02197bdd  -s ours
am: 2a913049ab  -s ours

Change-Id: Icf09b29bfe619ee56d4e9ae0d640ed00fbb4ef31

7 years agoDO NOT MERGE Logging improvements in CaptivePortalLoginActivity am: 7f086e162b ...
Hugo Benichi [Wed, 11 Jan 2017 01:26:47 +0000 (01:26 +0000)]
DO NOT MERGE Logging improvements in CaptivePortalLoginActivity am: 7f086e162b  -s ours
am: 7520a07036  -s ours

Change-Id: If035aa5fb1783bfc180c928969f08d89b5dd19f0

7 years agoMerge changes I1eaab5ea,I42928da8 am: b1e3c8aaf4
Hugo Benichi [Wed, 11 Jan 2017 01:25:09 +0000 (01:25 +0000)]
Merge changes I1eaab5ea,I42928da8 am: b1e3c8aaf4
am: 22e7d2ed20

Change-Id: I6b0a8e3c2831933199c8cb55ce8c666e8db186e3

7 years agoDO NOT MERGE Captive portal systel log improvements am: b32417a772 -s ours
Hugo Benichi [Wed, 11 Jan 2017 01:23:51 +0000 (01:23 +0000)]
DO NOT MERGE Captive portal systel log improvements am: b32417a772  -s ours
am: 6352f85398  -s ours

Change-Id: If06761b413cda9d3f79aa79e8ae60cf0ce306946

7 years agoDO NOT MERGE Fix flaky IpPrefixTest. am: f6b180ff1a -s ours
Hugo Benichi [Wed, 11 Jan 2017 01:22:35 +0000 (01:22 +0000)]
DO NOT MERGE Fix flaky IpPrefixTest. am: f6b180ff1a  -s ours
am: 68ec108b6e  -s ours

Change-Id: Ic492f64b8fc44dc9a8ca1abd539fe757c703acac

7 years agoMerge "Fix a use-of-uninitialized-value warning." am: 95ef9ec5b1
John Reck [Wed, 11 Jan 2017 01:21:30 +0000 (01:21 +0000)]
Merge "Fix a use-of-uninitialized-value warning." am: 95ef9ec5b1
am: 44e14d0d2b

Change-Id: I5e5243c75f446d46bb81252583cfa46e47d60309

7 years agoMerge changes I559eb049,I52425b84
Hugo Benichi [Wed, 11 Jan 2017 01:18:07 +0000 (01:18 +0000)]
Merge changes I559eb049,I52425b84
am: 60d10ea0f4

Change-Id: Ided0ebc7e0aaab0f88c2b0af7e3e99fa9e674a60

7 years agoDO NOT MERGE Captive portals: login activity probes like NetworkMonitor
Hugo Benichi [Wed, 11 Jan 2017 01:18:00 +0000 (01:18 +0000)]
DO NOT MERGE Captive portals: login activity probes like NetworkMonitor
am: 2c02197bdd  -s ours

Change-Id: I12ea7b87369c3228bb1fcc914cfdb316a3b501ce

7 years agoDO NOT MERGE Logging improvements in CaptivePortalLoginActivity
Hugo Benichi [Wed, 11 Jan 2017 01:17:16 +0000 (01:17 +0000)]
DO NOT MERGE Logging improvements in CaptivePortalLoginActivity
am: 7f086e162b  -s ours

Change-Id: Id2f32089145a13a199838d8c004504fee1c7c011

7 years agoMerge changes I1eaab5ea,I42928da8
Hugo Benichi [Wed, 11 Jan 2017 01:14:10 +0000 (01:14 +0000)]
Merge changes I1eaab5ea,I42928da8
am: b1e3c8aaf4

Change-Id: I744394de40b72744ac60f3d6c2a138c6e876ee28

7 years agoDO NOT MERGE Captive portal systel log improvements
Hugo Benichi [Wed, 11 Jan 2017 01:14:04 +0000 (01:14 +0000)]
DO NOT MERGE Captive portal systel log improvements
am: b32417a772  -s ours

Change-Id: Ibce1d4e604e5fd8c67c012cd7f264e4585117b24

7 years agoDO NOT MERGE Fix flaky IpPrefixTest.
Hugo Benichi [Wed, 11 Jan 2017 01:12:54 +0000 (01:12 +0000)]
DO NOT MERGE Fix flaky IpPrefixTest.
am: f6b180ff1a  -s ours

Change-Id: I929a0ef7a6a044d2263a04867c2701653c3634de

7 years agoMerge "Fix a use-of-uninitialized-value warning."
John Reck [Wed, 11 Jan 2017 01:11:59 +0000 (01:11 +0000)]
Merge "Fix a use-of-uninitialized-value warning."
am: 95ef9ec5b1

Change-Id: I0b088bc47b1311ace1000cc700fd81d56eec4b7f

7 years agoMerge changes I559eb049,I52425b84
Treehugger Robot [Wed, 11 Jan 2017 01:06:56 +0000 (01:06 +0000)]
Merge changes I559eb049,I52425b84

* changes:
  DO NOT MERGE Captive portals: login activity probes like NetworkMonitor
  DO NOT MERGE Logging improvements in CaptivePortalLoginActivity

7 years agoMerge changes I1eaab5ea,I42928da8
Treehugger Robot [Wed, 11 Jan 2017 01:02:05 +0000 (01:02 +0000)]
Merge changes I1eaab5ea,I42928da8

* changes:
  DO NOT MERGE Captive portal systel log improvements
  DO NOT MERGE Fix flaky IpPrefixTest.

7 years agoMerge "Fix a use-of-uninitialized-value warning."
John Reck [Wed, 11 Jan 2017 00:57:34 +0000 (00:57 +0000)]
Merge "Fix a use-of-uninitialized-value warning."

7 years agoMoved isCallerActiveScorer() to the score service.
Jeremy Joslin [Tue, 10 Jan 2017 00:22:20 +0000 (16:22 -0800)]
Moved isCallerActiveScorer() to the score service.

Implemented isCallerActiveScorer() in the NetworkScoreService to make
it more efficient (no need to query PM). Exposed the call as a new
internal API on NetworkScoreManager and deprecated the call on
NetworkScorerAppManager.

Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest
Bug: 33781558
Change-Id: I8ad232f8ef34b6e2f155ebb232e64300303300f0
Merged-In: I0e2142af95b068d322343f7c9362ac53d46b545e

7 years agoMerge "Fix naming of key" am: 0b74a1dabb am: c68c2f6885
Jordan Liu [Tue, 10 Jan 2017 23:55:55 +0000 (23:55 +0000)]
Merge "Fix naming of key" am: 0b74a1dabb am: c68c2f6885
am: 1d67d022fb

Change-Id: I6165395ac186baac90c2d08d7c7114c7b5bc72d3

7 years agoMerge changes Ia1f2535c,I9ca93f31,If5b53f6f,I119e0bfc am: 98d86fe2b7 am: c6d9f0fbce
Robert Sesek [Tue, 10 Jan 2017 23:53:40 +0000 (23:53 +0000)]
Merge changes Ia1f2535c,I9ca93f31,If5b53f6f,I119e0bfc am: 98d86fe2b7 am: c6d9f0fbce
am: 367f70cca4

Change-Id: I039178a775f15d9a6e82ab481d15896e243759e9

7 years agoDynamically add the webview_zygote's preloaded APK to the zygote FD whitelist. am...
Robert Sesek [Tue, 10 Jan 2017 23:52:13 +0000 (23:52 +0000)]
Dynamically add the webview_zygote's preloaded APK to the zygote FD whitelist. am: 54e387ddbe am: 839a185b2e
am: df781cc514

Change-Id: I869aaa330de7fb0de2d608a6cbf7a8974e9757ba

7 years agoSplit core/jni/fd_utils-inl.h into a .h/.cpp pair. am: 8225b7c951 am: 63a7fe6de8
Robert Sesek [Tue, 10 Jan 2017 23:51:14 +0000 (23:51 +0000)]
Split core/jni/fd_utils-inl.h into a .h/.cpp pair. am: 8225b7c951 am: 63a7fe6de8
am: 024793713f

Change-Id: If30588787332fbfcdf4573f976ec8ca086db8260

7 years agoZygote: Additional whitelisting for legacy devices. am: f701ba36b3 am: 7a69406767
Narayan Kamath [Tue, 10 Jan 2017 23:50:23 +0000 (23:50 +0000)]
Zygote: Additional whitelisting for legacy devices. am: f701ba36b3 am: 7a69406767
am: 647986fd54

Change-Id: I1c508f812298bc9ec6870a3e655129e630e536e5

7 years agoMerge "Fix naming of key" am: 0b74a1dabb
Jordan Liu [Tue, 10 Jan 2017 23:44:43 +0000 (23:44 +0000)]
Merge "Fix naming of key" am: 0b74a1dabb
am: c68c2f6885

Change-Id: Ibdd5177ea43ee9c2ea5603363429a7207a59d5ba

7 years agoMerge "resolve merge conflicts of 53726c0bbfaf to nyc-mr1-dev-plus-aosp" into nyc...
Andreas Gampe [Tue, 10 Jan 2017 23:42:19 +0000 (23:42 +0000)]
Merge "resolve merge conflicts of 53726c0bbfaf to nyc-mr1-dev-plus-aosp" into nyc-mr1-dev-plus-aosp
am: ba33854fbc

Change-Id: I109dedc6bec6847b81a2a88b698938910a2715bf

7 years agoresolve merge conflicts of 53726c0bbfaf to nyc-mr1-dev-plus-aosp
Andreas Gampe [Tue, 10 Jan 2017 23:42:12 +0000 (23:42 +0000)]
resolve merge conflicts of 53726c0bbfaf to nyc-mr1-dev-plus-aosp
am: be3a8ad2ba

Change-Id: I76970ff769a4cad2b3d702f0282515fb58defcbb

7 years agoMerge changes Ia1f2535c,I9ca93f31,If5b53f6f,I119e0bfc am: 98d86fe2b7
Robert Sesek [Tue, 10 Jan 2017 23:41:13 +0000 (23:41 +0000)]
Merge changes Ia1f2535c,I9ca93f31,If5b53f6f,I119e0bfc am: 98d86fe2b7
am: c6d9f0fbce

Change-Id: I0010cbf45a5e9fc10f86dbfbda510d34ba4b7429

7 years agoDynamically add the webview_zygote's preloaded APK to the zygote FD whitelist. am...
Robert Sesek [Tue, 10 Jan 2017 23:40:15 +0000 (23:40 +0000)]
Dynamically add the webview_zygote's preloaded APK to the zygote FD whitelist. am: 54e387ddbe
am: 839a185b2e

Change-Id: I1e761ea737447b347f2542419d18d1f42b1b50db

7 years agoSplit core/jni/fd_utils-inl.h into a .h/.cpp pair. am: 8225b7c951
Robert Sesek [Tue, 10 Jan 2017 23:39:28 +0000 (23:39 +0000)]
Split core/jni/fd_utils-inl.h into a .h/.cpp pair. am: 8225b7c951
am: 63a7fe6de8

Change-Id: I9148523bae8466e56cf00d7624c53c22318215f7

7 years agoZygote: Additional whitelisting for legacy devices. am: f701ba36b3
Narayan Kamath [Tue, 10 Jan 2017 23:38:18 +0000 (23:38 +0000)]
Zygote: Additional whitelisting for legacy devices. am: f701ba36b3
am: 7a69406767

Change-Id: I932aa16137686cce2be00a13f32978df34857709

7 years agoMerge "resolve merge conflicts of 53726c0bbfaf to nyc-mr1-dev-plus-aosp" into nyc...
Andreas Gampe [Tue, 10 Jan 2017 23:34:41 +0000 (23:34 +0000)]
Merge "resolve merge conflicts of 53726c0bbfaf to nyc-mr1-dev-plus-aosp" into nyc-mr1-dev-plus-aosp

7 years agoFix a use-of-uninitialized-value warning.
George Burgess IV [Tue, 10 Jan 2017 23:33:57 +0000 (15:33 -0800)]
Fix a use-of-uninitialized-value warning.

This warning was generated by the static analyzer:
warning: The left expression of the compound assignment is an
uninitialized value. The computed value will also be garbage
        *mDirtyMask |= animator->dirtyMask();

This can be fixed by initializing dirtyMask before using it in
AnimateFunctor.

Bug: None
Test: Static analyzer no longer complains about this.
Change-Id: I892749079cf93a012f1bed059a3f0c8bbaed9d7e

7 years agoresolve merge conflicts of 53726c0bbfaf to nyc-mr1-dev-plus-aosp
Andreas Gampe [Tue, 10 Jan 2017 23:12:18 +0000 (15:12 -0800)]
resolve merge conflicts of 53726c0bbfaf to nyc-mr1-dev-plus-aosp

Change-Id: Iddf65660f9ac1d66907c8a3d2a3d34d9f3f66d81

7 years agoMerge "Fix naming of key"
Jordan Liu [Tue, 10 Jan 2017 22:59:18 +0000 (22:59 +0000)]
Merge "Fix naming of key"
am: 0b74a1dabb

Change-Id: I8eaaee259d96c2c2da70828cd882a86ae6bde8f1

7 years agoMerge "Fix naming of key"
Jordan Liu [Tue, 10 Jan 2017 22:51:49 +0000 (22:51 +0000)]
Merge "Fix naming of key"

7 years agoMerge "Cleanup test method names." am: 8e9fd295c8 am: 361412ced4
Jeremy Joslin [Tue, 10 Jan 2017 22:48:47 +0000 (22:48 +0000)]
Merge "Cleanup test method names." am: 8e9fd295c8 am: 361412ced4
am: f41881b7fe

Change-Id: I779562d42a399beaa8df47050d68a6fc95f47fba

7 years agoMerge "Cleanup test method names." am: 8e9fd295c8
Jeremy Joslin [Tue, 10 Jan 2017 22:39:23 +0000 (22:39 +0000)]
Merge "Cleanup test method names." am: 8e9fd295c8
am: 361412ced4

Change-Id: I160b077d4faff67a721e9557f7dae10682dc2d81

7 years agoMerge changes Ia1f2535c,I9ca93f31,If5b53f6f,I119e0bfc
Robert Sesek [Tue, 10 Jan 2017 22:33:04 +0000 (22:33 +0000)]
Merge changes Ia1f2535c,I9ca93f31,If5b53f6f,I119e0bfc
am: 98d86fe2b7

Change-Id: If98bcf93212e84c0e01eb3281b729e1760762356

7 years agoDynamically add the webview_zygote's preloaded APK to the zygote FD whitelist.
Robert Sesek [Tue, 10 Jan 2017 22:33:00 +0000 (22:33 +0000)]
Dynamically add the webview_zygote's preloaded APK to the zygote FD whitelist.
am: 54e387ddbe

Change-Id: I7b4e809767e4cdd64da4094decc929504e1e93d8

7 years agoSplit core/jni/fd_utils-inl.h into a .h/.cpp pair.
Robert Sesek [Tue, 10 Jan 2017 22:32:05 +0000 (22:32 +0000)]
Split core/jni/fd_utils-inl.h into a .h/.cpp pair.
am: 8225b7c951

Change-Id: Ic5a021e5851f158caddc7f58ad7098a070f6219a

7 years agoZygote: Additional whitelisting for legacy devices.
Narayan Kamath [Tue, 10 Jan 2017 22:30:41 +0000 (22:30 +0000)]
Zygote: Additional whitelisting for legacy devices.
am: f701ba36b3

Change-Id: Ic12fdc0261f258dcd1019290a057fef4fcedd0f3

7 years agoZygote: Additional whitelists for runtime overlay / other static resources.
Narayan Kamath [Tue, 10 Jan 2017 22:29:55 +0000 (22:29 +0000)]
Zygote: Additional whitelists for runtime overlay / other static resources.
am: 0ff7ef60f5

Change-Id: Ia4ee03a2a8e801918306cacf5ff1f69401f3847d

7 years agoMerge "Cleanup test method names."
Jeremy Joslin [Tue, 10 Jan 2017 22:28:51 +0000 (22:28 +0000)]
Merge "Cleanup test method names."
am: 8e9fd295c8

Change-Id: Idb000e2b6cd8b7ba2046d329e039f6b05424686e

7 years agoMerge changes Ia1f2535c,I9ca93f31,If5b53f6f,I119e0bfc
Treehugger Robot [Tue, 10 Jan 2017 22:21:01 +0000 (22:21 +0000)]
Merge changes Ia1f2535c,I9ca93f31,If5b53f6f,I119e0bfc

* changes:
  Dynamically add the webview_zygote's preloaded APK to the zygote FD whitelist.
  Split core/jni/fd_utils-inl.h into a .h/.cpp pair.
  Zygote: Additional whitelisting for legacy devices.
  Zygote: Additional whitelists for runtime overlay / other static resources.

7 years agoMerge "Cleanup test method names."
Treehugger Robot [Tue, 10 Jan 2017 22:18:56 +0000 (22:18 +0000)]
Merge "Cleanup test method names."

7 years agoMerge "Remove unused variable." am: f3b1881bb2 am: f338ed34f9
Tao Wu [Tue, 10 Jan 2017 21:39:19 +0000 (21:39 +0000)]
Merge "Remove unused variable." am: f3b1881bb2 am: f338ed34f9
am: cab27fbbf4

Change-Id: I454d6359029bdbffa5e124e31759f30d6aec5f76

7 years agoMerge "Remove unused variable." am: f3b1881bb2
Tao Wu [Tue, 10 Jan 2017 21:34:20 +0000 (21:34 +0000)]
Merge "Remove unused variable." am: f3b1881bb2
am: f338ed34f9

Change-Id: Ia2ab8632bfe5e5b4751bb89aad30c3c739112469

7 years agoMerge "Remove unused variable."
Tao Wu [Tue, 10 Jan 2017 21:29:16 +0000 (21:29 +0000)]
Merge "Remove unused variable."
am: f3b1881bb2

Change-Id: I563647e4f5abc635ff3f67d7f0b658bdd1d92716

7 years agoMerge "Remove unused variable."
Treehugger Robot [Tue, 10 Jan 2017 21:15:01 +0000 (21:15 +0000)]
Merge "Remove unused variable."

7 years agoCleanup test method names.
Jeremy Joslin [Tue, 10 Jan 2017 16:53:02 +0000 (08:53 -0800)]
Cleanup test method names.

Renamed some test methods to reflect the proper permission.

Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest
Bug: 1764042
Change-Id: Ia7db8826ad18c3b8f119aa063cb2c7b3793a9d17
Merged-In: I5551ddcb411432c6aeb14c03d9a284aa68f1bd1b

7 years agoDynamically add the webview_zygote's preloaded APK to the zygote FD whitelist.
Robert Sesek [Fri, 2 Dec 2016 22:27:50 +0000 (17:27 -0500)]
Dynamically add the webview_zygote's preloaded APK to the zygote FD whitelist.

This refactors the whitelist to be a class, rather than just a static C array.
The whitelist can then be augmented dynamically when the package path is known
in the webview_zygote.

Test: m
Test: sailfish boots
Test: Enable Multi-process WebView in developer options, perform a search in GSA.

Bug: 21643067
Change-Id: Ia1f2535c7275b42b309631b4fe7859c30cbf7309
(cherry picked from commit 061ee3088a79ab0e07d37d1c0897d51422f29c4e)

7 years agoSplit core/jni/fd_utils-inl.h into a .h/.cpp pair.
Robert Sesek [Fri, 16 Dec 2016 19:02:31 +0000 (14:02 -0500)]
Split core/jni/fd_utils-inl.h into a .h/.cpp pair.

(cherry picked from commit 44afe8be8f654192dc436a9c4238a925c22b14bf)

Test: m
Test: sailfish boots

Change-Id: I9ca93f31f6c20b702b2207333a9d56f6592630b0

7 years agoZygote: Additional whitelisting for legacy devices.
Narayan Kamath [Mon, 7 Nov 2016 19:59:29 +0000 (19:59 +0000)]
Zygote: Additional whitelisting for legacy devices.

On M and below, we provide a blanket whitelist for all files under
"/vendor/zygote_whitelist". This path is whitelisted purely to allow
this patch to be applied easily on legacy devices and configurations.

Note that this does not amount to a loosening of our security policy
because whitelisted files are reopened anyway.

(cherry picked from commit 5e2f7c6229d7191183888d685b57a7d0a2835fce)

Bug: 32691930
Test: manual
Change-Id: If5b53f6f0a707f8d36603c09bfd3f72dbfbbbb99

7 years agoRemove unused variable.
Tao Wu [Fri, 11 Nov 2016 18:42:02 +0000 (10:42 -0800)]
Remove unused variable.

Code search show nobody referenced it and aosp image still compiles after
remove it.

Test: make -j18 systemimage userdataimage ramdisk

Change-Id: I3e37ea590610091b938296c999dceb3caf919906
Merged-In: I3e37ea590610091b938296c999dceb3caf919906
Signed-off-by: Tao Wu <lepton@google.com>
7 years agoZygote: Additional whitelists for runtime overlay / other static resources.
Narayan Kamath [Fri, 23 Sep 2016 08:07:11 +0000 (09:07 +0100)]
Zygote: Additional whitelists for runtime overlay / other static resources.

Partially cherry picked from commit 1c15c635785c64a.

These files are safe to reopen for the same reason that files in
/system/framework are. They're regular files and will not change after
the first zygote fork.

(cherry picked from commit 25cd01cc69fcad34756b00e52a79c0c54178f2e6)

Bug: 32618130
Test: m
Change-Id: I119e0bfcbf397cb331064adf148d92a5cd3ea92f

7 years agoDelete old WifiNotificationController strings.
Stephen Chen [Tue, 13 Dec 2016 22:44:18 +0000 (14:44 -0800)]
Delete old WifiNotificationController strings.

Bug: 33355924
Test: make

Change-Id: Ia7065549168b4f342760e2f77efe4d9eb1851eb9

7 years agoMerge "Re-Add VPN-"Settings" button to QSFooter dialog" into nyc-mr2-dev
Philipp Weiß [Tue, 10 Jan 2017 14:03:04 +0000 (14:03 +0000)]
Merge "Re-Add VPN-"Settings" button to QSFooter dialog" into nyc-mr2-dev
am: a7c6324340

Change-Id: Ia0265e6401a9c3bee533383988755da02e6a251c

7 years agoRe-Add VPN-"Settings" button to QSFooter dialog
phweiss [Tue, 10 Jan 2017 14:02:57 +0000 (14:02 +0000)]
Re-Add VPN-"Settings" button to QSFooter dialog
am: d361b181e5

Change-Id: Iee7dcfbb4a2bcaaddada850918185fc4d9cc47c1

7 years agoDismiss network logging notification when disabling logging
phweiss [Tue, 10 Jan 2017 14:01:42 +0000 (14:01 +0000)]
Dismiss network logging notification when disabling logging
am: 971236480c

Change-Id: I7f47b6318ef8c4b792115c2721a0d56dc6cdbfd3

7 years agoMerge "Re-Add VPN-"Settings" button to QSFooter dialog" into nyc-mr2-dev
Philipp Weiß [Tue, 10 Jan 2017 13:54:25 +0000 (13:54 +0000)]
Merge "Re-Add VPN-"Settings" button to QSFooter dialog" into nyc-mr2-dev

7 years agoRe-Add VPN-"Settings" button to QSFooter dialog
phweiss [Mon, 9 Jan 2017 14:56:00 +0000 (15:56 +0100)]
Re-Add VPN-"Settings" button to QSFooter dialog

Button was removed during a redesign of the dialog in the case
of active device owner. However, when no DO is set, the button should
still be there.

Also, when VPN configuration is restricted, do not show the button, and
also do not show the link that is visible in the DO-version of the dialog.

Bug:34156553
Bug:29748723
Test: manual

Change-Id: I177afdc94dc396754fc7703e4316edaa7ce104cd
(cherry picked from commit a99a3f70e2a07e7c85d25fed1881d1a6ef70a93c)

7 years agoDismiss network logging notification when disabling logging
phweiss [Mon, 9 Jan 2017 16:43:14 +0000 (17:43 +0100)]
Dismiss network logging notification when disabling logging

Bug:34116213
Bug:29748723
Test: CTSVerifier in a separate CL.

Change-Id: Ie652505ff57665f626712c67837577833f1595d6
(cherry picked from commit 82ed31c1efeb98acba60d79d1fc0a291b1440dc2)

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev
Bill Yi [Tue, 10 Jan 2017 07:21:29 +0000 (07:21 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
am: 3faf3467e3  -s ours

Change-Id: Ibbdb7922b216c0c3ffeeccd1b2a02a8a8841ac47

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 10 Jan 2017 07:21:23 +0000 (07:21 +0000)]
Import translations. DO NOT MERGE
am: 5ef189ddeb  -s ours

Change-Id: I34abef81d61a5b9f566bbb2877271ed7ea72a977

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev
Bill Yi [Tue, 10 Jan 2017 07:19:28 +0000 (07:19 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
am: 0ffe43ecd7  -s ours

Change-Id: I06a438a8cf7de8effc3d62912c1bf8761ad08d59

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 10 Jan 2017 07:19:24 +0000 (07:19 +0000)]
Import translations. DO NOT MERGE
am: 4fcf5b1813  -s ours

Change-Id: Ie1da6f2d65250668afc630ccbfa61b7531c2721e

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev
TreeHugger Robot [Tue, 10 Jan 2017 07:12:54 +0000 (07:12 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev
TreeHugger Robot [Tue, 10 Jan 2017 07:12:11 +0000 (07:12 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev

7 years agoMerge "Methods to calculate user and external disk usage." am: 6a9ad14172 am: 7beb2b75a9
Jeff Sharkey [Tue, 10 Jan 2017 04:47:47 +0000 (04:47 +0000)]
Merge "Methods to calculate user and external disk usage." am: 6a9ad14172 am: 7beb2b75a9
am: 669affdb8e

Change-Id: I698dd15a397f16dd2358729362860443f7e81a33

7 years agoMerge "Methods to calculate user and external disk usage." am: 6a9ad14172
Jeff Sharkey [Tue, 10 Jan 2017 04:42:52 +0000 (04:42 +0000)]
Merge "Methods to calculate user and external disk usage." am: 6a9ad14172
am: 7beb2b75a9

Change-Id: I236eb3357b597cac26f5234a72551a471919a411

7 years agoMerge "Methods to calculate user and external disk usage."
Jeff Sharkey [Tue, 10 Jan 2017 04:38:15 +0000 (04:38 +0000)]
Merge "Methods to calculate user and external disk usage."
am: 6a9ad14172

Change-Id: Ie4ab045a5425b35ce1bdd245f7c6ab248c796df2

7 years agoMerge "Methods to calculate user and external disk usage."
Jeff Sharkey [Tue, 10 Jan 2017 04:30:46 +0000 (04:30 +0000)]
Merge "Methods to calculate user and external disk usage."

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 10 Jan 2017 04:17:25 +0000 (20:17 -0800)]
Import translations. DO NOT MERGE

Change-Id: I61019454236fb311bf7a428d077ddfd8a670da50
Auto-generated-cl: translation import

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 10 Jan 2017 04:05:48 +0000 (20:05 -0800)]
Import translations. DO NOT MERGE

Change-Id: Idb74740bc5560b78a7b3d3cd7f2d92aee4ba411e
Auto-generated-cl: translation import

7 years agoMerge "Support EGL_KHR_partial_update without EGL_EXT_buffer_age" am: f66126c828...
John Reck [Tue, 10 Jan 2017 00:49:35 +0000 (00:49 +0000)]
Merge "Support EGL_KHR_partial_update without EGL_EXT_buffer_age" am: f66126c828 am: 620d4c24de
am: 43818c45a4

Change-Id: Ia093688d4c9fc2e923daf5da6d5b6d67c6b56975

7 years agoMerge "Support EGL_KHR_partial_update without EGL_EXT_buffer_age" am: f66126c828
John Reck [Tue, 10 Jan 2017 00:44:29 +0000 (00:44 +0000)]
Merge "Support EGL_KHR_partial_update without EGL_EXT_buffer_age" am: f66126c828
am: 620d4c24de

Change-Id: I4fdb8ecba5a08f712871d3b99e0286c61f6d0806

7 years agoMerge "Support EGL_KHR_partial_update without EGL_EXT_buffer_age"
John Reck [Tue, 10 Jan 2017 00:39:28 +0000 (00:39 +0000)]
Merge "Support EGL_KHR_partial_update without EGL_EXT_buffer_age"
am: f66126c828

Change-Id: I649478ca7aa33de82a1524dfe9925c0a2d82a7a7

7 years agoMerge "Support EGL_KHR_partial_update without EGL_EXT_buffer_age"
Treehugger Robot [Tue, 10 Jan 2017 00:26:42 +0000 (00:26 +0000)]
Merge "Support EGL_KHR_partial_update without EGL_EXT_buffer_age"

7 years agoMerge "Cherrypick: Create ScoredNetwork Badging API changes." am: e34e47d645 am:...
Sundeep Ghuman [Tue, 10 Jan 2017 00:05:21 +0000 (00:05 +0000)]
Merge "Cherrypick: Create ScoredNetwork Badging API changes." am: e34e47d645 am: 3098d3839f
am: 4962a3829f

Change-Id: Ia3928c4113e8f07969a3d551e31d6307f61e848e

7 years agoMerge "Expose fields in WifiConfiguration." am: 1ea4180c3a am: ce13838ade
Amin Shaikh [Tue, 10 Jan 2017 00:04:00 +0000 (00:04 +0000)]
Merge "Expose fields in WifiConfiguration." am: 1ea4180c3a am: ce13838ade
am: a0961255fc

Change-Id: I1232829112d6f5ba5fa99199555e584c91ae35af

7 years agoMethods to calculate user and external disk usage.
Jeff Sharkey [Mon, 9 Jan 2017 00:06:58 +0000 (17:06 -0700)]
Methods to calculate user and external disk usage.

Add method to calculate user disk usage, which will be faster than
making a Binder call for every single appId under a user.  Add method
to calculate external disk usage, which uses file extensions to track
usage with "audio", "video", and "images" categories.

Start measuring internal and external storage space separately; new
GIDs are coming in a future CL.  Pass down all package names, inodes,
and code paths, since shared UIDs host more than one.

Test: builds, boots, stats are consistent
Bug: 2794881732206268
Change-Id: Icbb82a30fe711ef05e9a16bb1dc740dc943a9ddc

7 years agoMerge "Cherrypick: Create ScoredNetwork Badging API changes." am: e34e47d645
Sundeep Ghuman [Mon, 9 Jan 2017 23:55:47 +0000 (23:55 +0000)]
Merge "Cherrypick: Create ScoredNetwork Badging API changes." am: e34e47d645
am: 3098d3839f

Change-Id: I5f7d741dbd7f91518495f02de995bca6d191aa4e

7 years agoMerge "Expose fields in WifiConfiguration." am: 1ea4180c3a
Amin Shaikh [Mon, 9 Jan 2017 23:54:30 +0000 (23:54 +0000)]
Merge "Expose fields in WifiConfiguration." am: 1ea4180c3a
am: ce13838ade

Change-Id: Ia391a1b115646ad0409c5b52fee664d42901dd18

7 years agoMerge "Cherrypick: Create ScoredNetwork Badging API changes."
Sundeep Ghuman [Mon, 9 Jan 2017 23:51:07 +0000 (23:51 +0000)]
Merge "Cherrypick: Create ScoredNetwork Badging API changes."
am: e34e47d645

Change-Id: Ibeb6c60c30c302e12c45c7f35a7e4af904a4a6d5

7 years agoMerge "Expose fields in WifiConfiguration."
Amin Shaikh [Mon, 9 Jan 2017 23:45:15 +0000 (23:45 +0000)]
Merge "Expose fields in WifiConfiguration."
am: 1ea4180c3a

Change-Id: I6a145981692cbaf791b735d55a1a9b7aa24aee62