OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "audioservice: modify default music volume" into oc-dr1-dev
Eric Laurent [Wed, 12 Jul 2017 17:41:36 +0000 (17:41 +0000)]
Merge "audioservice: modify default music volume" into oc-dr1-dev
am: b6f946c081

Change-Id: Ia13c9e28deba3ddd0b7ab74862d2febbf01f1142

7 years agoMerge "audioservice: modify default music volume" into oc-dr1-dev
TreeHugger Robot [Wed, 12 Jul 2017 17:35:49 +0000 (17:35 +0000)]
Merge "audioservice: modify default music volume" into oc-dr1-dev

7 years agoMerge "Document WifiScanner callback behaviors" into oc-dr1-dev
Ningyuan Wang [Wed, 12 Jul 2017 17:24:40 +0000 (17:24 +0000)]
Merge "Document WifiScanner callback behaviors" into oc-dr1-dev
am: 4a82979153

Change-Id: I66871bfc1148c29fce78063d258911fbe85cba05

7 years agoMerge "Document WifiScanner callback behaviors" into oc-dr1-dev
TreeHugger Robot [Wed, 12 Jul 2017 17:14:05 +0000 (17:14 +0000)]
Merge "Document WifiScanner callback behaviors" into oc-dr1-dev

7 years agoMerge "Remove ALOGD_IF_SLOW" into oc-dr1-dev-plus-aosp
Tom Cherry [Wed, 12 Jul 2017 17:13:19 +0000 (17:13 +0000)]
Merge "Remove ALOGD_IF_SLOW" into oc-dr1-dev-plus-aosp

7 years agoMerge "canBeModified accessors for AmbientDisplay pickup setting" into oc-dr1-dev
Geoffrey Pitsch [Wed, 12 Jul 2017 16:59:14 +0000 (16:59 +0000)]
Merge "canBeModified accessors for AmbientDisplay pickup setting" into oc-dr1-dev
am: 7c9a6b502a

Change-Id: I40ced751c59fbc10d0a23a3e06fe66cc59eafd17

7 years agoMerge "canBeModified accessors for AmbientDisplay pickup setting" into oc-dr1-dev
Geoffrey Pitsch [Wed, 12 Jul 2017 16:50:53 +0000 (16:50 +0000)]
Merge "canBeModified accessors for AmbientDisplay pickup setting" into oc-dr1-dev

7 years agoMerge "Address further API review comments" am: b279ec51b6 am: cf8e06c0ac
Neil Fuller [Wed, 12 Jul 2017 16:07:03 +0000 (16:07 +0000)]
Merge "Address further API review comments" am: b279ec51b6 am: cf8e06c0ac
am: 92189b6e21

Change-Id: I6b15cc75923cd712ca62302b8f797899ad43ad00

7 years agoMerge "Add OffloadHardwareInterface.getForwardedStats() wrapper" am: b27c5e92a2 am...
Erik Kline [Wed, 12 Jul 2017 16:00:02 +0000 (16:00 +0000)]
Merge "Add OffloadHardwareInterface.getForwardedStats() wrapper" am: b27c5e92a2 am: e5e3bdd460
am: b63707c0ca  -s ours

Change-Id: I4910aa2c3e1284b0959d576af99fa1ef7a0071bf

7 years agoMerge "Address further API review comments" am: b279ec51b6
Neil Fuller [Wed, 12 Jul 2017 15:59:57 +0000 (15:59 +0000)]
Merge "Address further API review comments" am: b279ec51b6
am: cf8e06c0ac

Change-Id: I7364fbcc09eaf47a3c90def9fd03b5f9f1d92a7d

7 years agoMerge "Add OffloadHardwareInterface.getForwardedStats() wrapper" am: b27c5e92a2
Erik Kline [Wed, 12 Jul 2017 15:53:04 +0000 (15:53 +0000)]
Merge "Add OffloadHardwareInterface.getForwardedStats() wrapper" am: b27c5e92a2
am: e5e3bdd460

Change-Id: I6e9bdfa3632ffa9abace5823c0982440f269a2c1

7 years agoMerge "Address further API review comments"
Neil Fuller [Wed, 12 Jul 2017 15:52:20 +0000 (15:52 +0000)]
Merge "Address further API review comments"
am: b279ec51b6

Change-Id: Idbb8fc5c6e6cd912acbca1b5b144533dbfff2775

7 years agoMerge "Add OffloadHardwareInterface.getForwardedStats() wrapper"
Erik Kline [Wed, 12 Jul 2017 15:47:59 +0000 (15:47 +0000)]
Merge "Add OffloadHardwareInterface.getForwardedStats() wrapper"
am: b27c5e92a2

Change-Id: Ibb5f53e5e81c7969ae8edf73a42d11cd8505b0d4

7 years agoMerge "Address further API review comments"
Treehugger Robot [Wed, 12 Jul 2017 15:37:40 +0000 (15:37 +0000)]
Merge "Address further API review comments"

7 years agoMerge "Add OffloadHardwareInterface.getForwardedStats() wrapper"
Treehugger Robot [Wed, 12 Jul 2017 15:36:18 +0000 (15:36 +0000)]
Merge "Add OffloadHardwareInterface.getForwardedStats() wrapper"

7 years agoMerge "Avoid exposing OffloadCallbackEvent values" into oc-dr1-dev
Erik Kline [Wed, 12 Jul 2017 15:32:58 +0000 (15:32 +0000)]
Merge "Avoid exposing OffloadCallbackEvent values" into oc-dr1-dev
am: fcceb3ada4

Change-Id: Ie91b974fbf70a4242f8b220d5fa3d6a0de59201d

7 years agoMerge "Avoid exposing OffloadCallbackEvent values" into oc-dr1-dev
TreeHugger Robot [Wed, 12 Jul 2017 15:23:04 +0000 (15:23 +0000)]
Merge "Avoid exposing OffloadCallbackEvent values" into oc-dr1-dev

7 years agoMerge "Update keyguard mic icon to rounded" into oc-dr1-dev
Evan Laird [Wed, 12 Jul 2017 15:07:38 +0000 (15:07 +0000)]
Merge "Update keyguard mic icon to rounded" into oc-dr1-dev
am: ea0beea5dd

Change-Id: I25406b379b0cb7d554505ad72912b45d01880f33

7 years agoMerge "Update animations in QS" into oc-dr1-dev
Evan Laird [Wed, 12 Jul 2017 15:05:23 +0000 (15:05 +0000)]
Merge "Update animations in QS" into oc-dr1-dev
am: 497d73f35e

Change-Id: I64226ee9f79dc94e2009d27572b85b1668bff3d7

7 years agoMerge "Update keyguard mic icon to rounded" into oc-dr1-dev
TreeHugger Robot [Wed, 12 Jul 2017 14:58:20 +0000 (14:58 +0000)]
Merge "Update keyguard mic icon to rounded" into oc-dr1-dev

7 years agoMerge "Update animations in QS" into oc-dr1-dev
TreeHugger Robot [Wed, 12 Jul 2017 14:58:04 +0000 (14:58 +0000)]
Merge "Update animations in QS" into oc-dr1-dev

7 years agoMerge "Stop unnecessary tethering reconfigurations" into oc-dr1-dev
Erik Kline [Wed, 12 Jul 2017 14:51:35 +0000 (14:51 +0000)]
Merge "Stop unnecessary tethering reconfigurations" into oc-dr1-dev
am: 49a16f0998

Change-Id: I1fc87f9c2a31f7fd16889275e6ba197b2b48a264

7 years agoMerge "Stop unnecessary tethering reconfigurations" into oc-dr1-dev
TreeHugger Robot [Wed, 12 Jul 2017 14:43:53 +0000 (14:43 +0000)]
Merge "Stop unnecessary tethering reconfigurations" into oc-dr1-dev

7 years agoAdd OffloadHardwareInterface.getForwardedStats() wrapper
Erik Kline [Wed, 12 Jul 2017 06:46:54 +0000 (15:46 +0900)]
Add OffloadHardwareInterface.getForwardedStats() wrapper

Test: as follows
    - built
    - flashed
    - booted
    - "runtest frameworks-net" passes
Bug: 29337859
Bug: 32163131

Merged-In: I41f837e16eff9a4cd763d65155bd9b5d5d980acd
Merged-In: Id9766983a3bbd885ef0f0d3ba9e33de903939f2d
Merged-In: Id831bc99cadbd59d280b026866707dbbe3b0e542
(cherry picked from commit 9a5b02a89c02d5ff633d8456b22d3d5b7a15bd44)

Change-Id: I0752b6e2cf1e0b9a5075f7911408528538683c84

7 years agoMerge "Add OffloadHardwareInterface.getForwardedStats() wrapper" into oc-dr1-dev
Erik Kline [Wed, 12 Jul 2017 14:15:29 +0000 (14:15 +0000)]
Merge "Add OffloadHardwareInterface.getForwardedStats() wrapper" into oc-dr1-dev
am: 9df88e1fe7

Change-Id: Id9766983a3bbd885ef0f0d3ba9e33de903939f2d

7 years agoMerge "Don't animate bouncer changes when fading out Keyguard" into oc-dr1-dev
Jorim Jaggi [Wed, 12 Jul 2017 14:07:21 +0000 (14:07 +0000)]
Merge "Don't animate bouncer changes when fading out Keyguard" into oc-dr1-dev
am: f33b1eda88

Change-Id: I2ea9ccbfe01cfa948fb6dc6012859fc43a5c284b

7 years agoMerge "Add OffloadHardwareInterface.getForwardedStats() wrapper" into oc-dr1-dev
TreeHugger Robot [Wed, 12 Jul 2017 14:06:52 +0000 (14:06 +0000)]
Merge "Add OffloadHardwareInterface.getForwardedStats() wrapper" into oc-dr1-dev

7 years agoMerge "Don't animate bouncer changes when fading out Keyguard" into oc-dr1-dev
Jorim Jaggi [Wed, 12 Jul 2017 12:57:33 +0000 (12:57 +0000)]
Merge "Don't animate bouncer changes when fading out Keyguard" into oc-dr1-dev

7 years agoAdd OffloadHardwareInterface.getForwardedStats() wrapper
Erik Kline [Wed, 12 Jul 2017 06:46:54 +0000 (15:46 +0900)]
Add OffloadHardwareInterface.getForwardedStats() wrapper

Test: as follows
    - built
    - flashed
    - booted
    - "runtest frameworks-net" passes
Bug: 29337859
Bug: 32163131

Change-Id: Id831bc99cadbd59d280b026866707dbbe3b0e542

7 years agoresolve merge conflicts of 5e7b01c8236b to oc-dr1-dev-plus-aosp
Lorenzo Colitti [Wed, 12 Jul 2017 11:41:21 +0000 (20:41 +0900)]
resolve merge conflicts of 5e7b01c8236b to oc-dr1-dev-plus-aosp

Test: make -j64 framework services
Change-Id: I00460c8fe606fdce1f121685919d9a2e54febe5a

7 years agoMerge "Use RFC 7217 stable privacy addresses" into oc-dr1-dev
Lorenzo Colitti [Wed, 12 Jul 2017 07:57:49 +0000 (07:57 +0000)]
Merge "Use RFC 7217 stable privacy addresses" into oc-dr1-dev

7 years agoMerge "CaptivePortalLogin ignores some ssl errors." into oc-dev-plus-aosp
Hugo Benichi [Wed, 12 Jul 2017 07:14:03 +0000 (07:14 +0000)]
Merge "CaptivePortalLogin ignores some ssl errors." into oc-dev-plus-aosp
am: 3425a6e5c7  -s ours

Change-Id: I1967f5540ff997645a8a2f69b4a7939a01fc69e0

7 years agoMerge "CaptivePortalLogin ignores some ssl errors." into oc-dev-plus-aosp
Hugo Benichi [Wed, 12 Jul 2017 07:02:42 +0000 (07:02 +0000)]
Merge "CaptivePortalLogin ignores some ssl errors." into oc-dev-plus-aosp

7 years agoMerge "Instrument captive portal login activity" into oc-dev-plus-aosp
Hugo Benichi [Wed, 12 Jul 2017 06:34:05 +0000 (06:34 +0000)]
Merge "Instrument captive portal login activity" into oc-dev-plus-aosp
am: 50c561a3db  -s ours

Change-Id: I068db2d0b7e08f373ce2e1d7ed2618245cec6562

7 years agoMerge "Restructure use of absent tether_offload_disabled setting" am: 5bb30496cf...
Erik Kline [Wed, 12 Jul 2017 06:32:14 +0000 (06:32 +0000)]
Merge "Restructure use of absent tether_offload_disabled setting" am: 5bb30496cf am: c8b4ef85dc
am: d21ad47d43  -s ours

Change-Id: I0d755e5c6a8d89fe91706e1b06863d0fc660b245

7 years agoMerge "Instrument captive portal login activity" into oc-dev-plus-aosp
TreeHugger Robot [Wed, 12 Jul 2017 06:29:01 +0000 (06:29 +0000)]
Merge "Instrument captive portal login activity" into oc-dev-plus-aosp

7 years agoMerge "Restructure use of absent tether_offload_disabled setting" am: 5bb30496cf
Erik Kline [Wed, 12 Jul 2017 06:25:04 +0000 (06:25 +0000)]
Merge "Restructure use of absent tether_offload_disabled setting" am: 5bb30496cf
am: c8b4ef85dc

Change-Id: I2210e9d25a4e7c497b9383324e574c9f8aca0d6f

7 years agoCaptivePortalLogin ignores some ssl errors.
Hugo Benichi [Sat, 17 Jun 2017 04:36:35 +0000 (13:36 +0900)]
CaptivePortalLogin ignores some ssl errors.

This patch changes the ssl error handler of the captive portal login
activity to ignore errors for resources coming from a different hostname
that the top-level page currently loading.

This allows logging into misconfigured portals that incorrectly bans ssl
to some hostnames necessary for loading their portal login pages.

Bug: 62332137
Test: manually tested with captive portal entwork.
Merged-In: I05378ed74e678829e46fbeee18df916ec6ec2856
Merged-In: Iff025d68b824eac2c30b9656fd2494338eb07eb3

(cherry pick from commit 22542ed48090e2e6e9474b658fdd368041a4060b which
was skipped from merging into oc-dev-plus-aosp due to missing patch)

Change-Id: I4e1be381195a8d1e510fd62533039ab3cd441679

7 years agoInstrument captive portal login activity
Hugo Benichi [Mon, 5 Jun 2017 05:52:24 +0000 (14:52 +0900)]
Instrument captive portal login activity

Also add CAPTIVE_PORTAL_LOGIN_ACTIVITY_SSL_ERROR constants to
metrics_constants.proto for counting ssl error pages shown by the
captive portal login activity.

Bug: 36203355
Bug: 34901696
Bug: 36532213
Test: manually tested with captive portal testing setup while watching
      event logs: adb logcat -b events | grep captiveportallogin
        06-08 16:25:20.279 21558 21558 I sysui_action: [1004,com.android.captiveportallogin]
        06-08 17:01:04.052 21558 21558 I sysui_action: [1007,com.android.captiveportallogin]

Merged-In: Ia05853506d424ad4cb2c11770ae7718fbef3f01c
Merged-In: I55ea3c61842f16bf6a98e812fb6dc940f96f895c
Merged-In: I38b8e4dd3d62ad1261695780aeb2377f26a25997
Merged-In: I9184f6263a003c2be28f41a550c6164c8d6ee907

(cherry picked from commit c61dc92fc0619d101c4b789f6305012701cc47a0)

Change-Id: I89ca3dfc74d09b7b2d303c0eb01b7b9883b01a42

7 years agoMerge "Restructure use of absent tether_offload_disabled setting"
Erik Kline [Wed, 12 Jul 2017 06:18:11 +0000 (06:18 +0000)]
Merge "Restructure use of absent tether_offload_disabled setting"
am: 5bb30496cf

Change-Id: I9d1ec7d1c060278018c80c9374d724ee0ddba3a4

7 years agoMerge "Restructure use of absent tether_offload_disabled setting"
Treehugger Robot [Wed, 12 Jul 2017 06:06:07 +0000 (06:06 +0000)]
Merge "Restructure use of absent tether_offload_disabled setting"

7 years agoMerge "Connectivity: Fix format arguments" am: ba8ab362ad am: 2a13286d8d
Andreas Gampe [Wed, 12 Jul 2017 05:00:56 +0000 (05:00 +0000)]
Merge "Connectivity: Fix format arguments" am: ba8ab362ad am: 2a13286d8d
am: ce4c57fd0e

Change-Id: Ia789f019394b7870994fcce8e64dee3b0501f7c1

7 years agoMerge "Connectivity: Fix format arguments" am: ba8ab362ad
Andreas Gampe [Wed, 12 Jul 2017 04:53:54 +0000 (04:53 +0000)]
Merge "Connectivity: Fix format arguments" am: ba8ab362ad
am: 2a13286d8d

Change-Id: I7517abe404637f92d7e361033d2d609b981f05f4

7 years agoMerge "Connectivity: Fix format arguments"
Andreas Gampe [Wed, 12 Jul 2017 04:48:10 +0000 (04:48 +0000)]
Merge "Connectivity: Fix format arguments"
am: ba8ab362ad

Change-Id: I844c7d1faea3dcc90cf9816cae984277d7525f15

7 years agoMerge "Connectivity: Fix format arguments"
Treehugger Robot [Wed, 12 Jul 2017 04:35:34 +0000 (04:35 +0000)]
Merge "Connectivity: Fix format arguments"

7 years agoRestructure use of absent tether_offload_disabled setting
Erik Kline [Fri, 7 Jul 2017 08:38:30 +0000 (17:38 +0900)]
Restructure use of absent tether_offload_disabled setting

This restructures the fetching of the default disposition such
that we disable (and enable) the feature with only a single
character change.

Additionally: fix unittests with proper use of FakeSettingsProvider.

Test: as follows
    - built
    - flashed
    - booted
    - "runtest frameworks-net" passed with developer enabled and disabled
Bug: 29337859
Bug: 32163131
Bug: 63250751
(cherry picked from commit c87cd411843484225897ebdf91cd05073c1c5f35)
Merged-In: Ib32489d07778465134bca52c589baddbd78ab129
Merged-In: I03d68b0da192fbd6172639343d4ab88c20127ad7
Merged-In: I10c0af2b2c4f6b6e613380e637cc3acb1f7a55a3

Change-Id: Ie16a022be8dacd76b0402bcb777680c36163a084

7 years agoMerge "Remove return value of ipSecAddSecurityAssociation" am: cd5c1161ab am: 38e72983a5
Di Lu [Wed, 12 Jul 2017 04:13:52 +0000 (04:13 +0000)]
Merge "Remove return value of ipSecAddSecurityAssociation" am: cd5c1161ab am: 38e72983a5
am: c554c2c1cb

Change-Id: I94e533d415e0afdbd4be72536ec667513a32f025

7 years agoMerge "Remove return value of ipSecAddSecurityAssociation" am: cd5c1161ab
Di Lu [Wed, 12 Jul 2017 04:08:24 +0000 (04:08 +0000)]
Merge "Remove return value of ipSecAddSecurityAssociation" am: cd5c1161ab
am: 38e72983a5

Change-Id: I08b1498e05321b8cda04f56d07a0a5f50260d7d2

7 years agoMerge "Add first OWNERS files for core networking" am: 4066930a36 am: 531cae76fd
Hugo Benichi [Wed, 12 Jul 2017 04:07:18 +0000 (04:07 +0000)]
Merge "Add first OWNERS files for core networking" am: 4066930a36 am: 531cae76fd
am: 59de81533d

Change-Id: Id149a16336fd5adfe8b247bb4b116db1ee357653

7 years agoMerge "Remove return value of ipSecAddSecurityAssociation"
Di Lu [Wed, 12 Jul 2017 04:02:24 +0000 (04:02 +0000)]
Merge "Remove return value of ipSecAddSecurityAssociation"
am: cd5c1161ab

Change-Id: I3cf6dbc44af4934c34b074dccdfff77dede6a693

7 years agoMerge "Add first OWNERS files for core networking" am: 4066930a36
Hugo Benichi [Wed, 12 Jul 2017 04:01:15 +0000 (04:01 +0000)]
Merge "Add first OWNERS files for core networking" am: 4066930a36
am: 531cae76fd

Change-Id: I099ee71d8b9ed767af2f4556e4798a1263dab9c0

7 years agoMerge "Add first OWNERS files for core networking"
Hugo Benichi [Wed, 12 Jul 2017 03:54:57 +0000 (03:54 +0000)]
Merge "Add first OWNERS files for core networking"
am: 4066930a36

Change-Id: Ib8e1b85be03ad5e75a89a7951a59b9bc2a04d112

7 years agoMerge "Remove return value of ipSecAddSecurityAssociation"
Di Lu [Wed, 12 Jul 2017 03:53:57 +0000 (03:53 +0000)]
Merge "Remove return value of ipSecAddSecurityAssociation"

7 years agoMerge "audioservice: fix media volume reset at boot" into oc-dr1-dev
Eric Laurent [Wed, 12 Jul 2017 03:47:59 +0000 (03:47 +0000)]
Merge "audioservice: fix media volume reset at boot" into oc-dr1-dev
am: 09a93b9739

Change-Id: Id77262dcf3f4fe46c8a080c7b5147161809c6332

7 years agoMerge "Add first OWNERS files for core networking"
Treehugger Robot [Wed, 12 Jul 2017 03:41:57 +0000 (03:41 +0000)]
Merge "Add first OWNERS files for core networking"

7 years agoMerge "audioservice: fix media volume reset at boot" into oc-dr1-dev
TreeHugger Robot [Wed, 12 Jul 2017 03:38:14 +0000 (03:38 +0000)]
Merge "audioservice: fix media volume reset at boot" into oc-dr1-dev

7 years agoMerge "Restructure use of absent tether_offload_disabled setting" into oc-dr1-dev
Erik Kline [Wed, 12 Jul 2017 03:11:15 +0000 (03:11 +0000)]
Merge "Restructure use of absent tether_offload_disabled setting" into oc-dr1-dev
am: d8fdb26ebf

Change-Id: I03d68b0da192fbd6172639343d4ab88c20127ad7

7 years agoMerge "app_main: silence static analyzer warnings" am: cf188f664a am: 8a4be2a6ae
George Burgess IV [Wed, 12 Jul 2017 03:07:46 +0000 (03:07 +0000)]
Merge "app_main: silence static analyzer warnings" am: cf188f664a am: 8a4be2a6ae
am: 5987ab35ca

Change-Id: Idc8694cc79e336bb93b38d25fbd7b25ca7a31f0b

7 years agoMerge "Restructure use of absent tether_offload_disabled setting" into oc-dr1-dev
TreeHugger Robot [Wed, 12 Jul 2017 03:05:18 +0000 (03:05 +0000)]
Merge "Restructure use of absent tether_offload_disabled setting" into oc-dr1-dev

7 years agoMerge "Fix z-order issue with text cursors and PiP." into oc-dr1-dev
Winson Chung [Wed, 12 Jul 2017 03:02:44 +0000 (03:02 +0000)]
Merge "Fix z-order issue with text cursors and PiP." into oc-dr1-dev
am: bd2682d056

Change-Id: I0dd3a57d7f2e87074f1bd5275c011116dcba1d9d

7 years agoMerge "GATT: Expose opportunistic client API to Java" into oc-dr1-dev
Jack He [Wed, 12 Jul 2017 03:00:58 +0000 (03:00 +0000)]
Merge "GATT: Expose opportunistic client API to Java" into oc-dr1-dev
am: b822ad3e06  -s ours

Change-Id: Ib97a6200288808c35d30d86d8043284cf9e1437f

7 years agoMerge "app_main: silence static analyzer warnings" am: cf188f664a
George Burgess IV [Wed, 12 Jul 2017 03:00:43 +0000 (03:00 +0000)]
Merge "app_main: silence static analyzer warnings" am: cf188f664a
am: 8a4be2a6ae

Change-Id: Ic7b6e1092261a0e76fc84b213166729ea3451166

7 years agoMerge "app_main: silence static analyzer warnings"
George Burgess IV [Wed, 12 Jul 2017 02:54:24 +0000 (02:54 +0000)]
Merge "app_main: silence static analyzer warnings"
am: cf188f664a

Change-Id: Ibad16ec8fabb4edaaa832bc43505f81fefb10ec7

7 years agoMerge "Fix z-order issue with text cursors and PiP." into oc-dr1-dev
Winson Chung [Wed, 12 Jul 2017 02:53:59 +0000 (02:53 +0000)]
Merge "Fix z-order issue with text cursors and PiP." into oc-dr1-dev

7 years agoGATT: Expose opportunistic client API to Java
Jack He [Wed, 12 Jul 2017 02:53:22 +0000 (02:53 +0000)]
GATT: Expose opportunistic client API to Java
am: 79bf7d755f  -s ours

Change-Id: I1a757066905894c1fb70f3010a723f37b43103d1

7 years agoMerge "GATT: Expose opportunistic client API to Java" into oc-dr1-dev
TreeHugger Robot [Wed, 12 Jul 2017 02:47:56 +0000 (02:47 +0000)]
Merge "GATT: Expose opportunistic client API to Java" into oc-dr1-dev

7 years agoMerge "app_main: silence static analyzer warnings"
Treehugger Robot [Wed, 12 Jul 2017 02:43:14 +0000 (02:43 +0000)]
Merge "app_main: silence static analyzer warnings"

7 years agoMerge "Move eSIM factory reset implementation to RecoverySystem" into oc-dr1-dev
qingxi [Wed, 12 Jul 2017 02:31:24 +0000 (02:31 +0000)]
Merge "Move eSIM factory reset implementation to RecoverySystem" into oc-dr1-dev
am: a249de50d1

Change-Id: I784617e0c34275adc5d177e6728b4b2c86dc1f5d

7 years agoMerge "Move eSIM factory reset implementation to RecoverySystem" into oc-dr1-dev
TreeHugger Robot [Wed, 12 Jul 2017 02:17:42 +0000 (02:17 +0000)]
Merge "Move eSIM factory reset implementation to RecoverySystem" into oc-dr1-dev

7 years agoMerge "Avoid a race in autofill manager service." into oc-dr1-dev
Svet Ganov [Wed, 12 Jul 2017 02:17:20 +0000 (02:17 +0000)]
Merge "Avoid a race in autofill manager service." into oc-dr1-dev
am: d622be1754

Change-Id: I1e94b6e3601078b9f999f5f33a3d8425035de8c2

7 years agoMerge "Avoid a race in autofill manager service." into oc-dr1-dev
TreeHugger Robot [Wed, 12 Jul 2017 02:09:00 +0000 (02:09 +0000)]
Merge "Avoid a race in autofill manager service." into oc-dr1-dev

7 years agoMerge "Use DisplayListener instead of WindowRotationListener in AudioService." into...
jiabin [Wed, 12 Jul 2017 01:56:45 +0000 (01:56 +0000)]
Merge "Use DisplayListener instead of WindowRotationListener in AudioService." into oc-dr1-dev
am: 4c66a1dd0d

Change-Id: I75bf198fe6d32ef3dcb4080b17d9f8fe2ab0dbce

7 years agoMerge "Use DisplayListener instead of WindowRotationListener in AudioService." into...
TreeHugger Robot [Wed, 12 Jul 2017 01:48:36 +0000 (01:48 +0000)]
Merge "Use DisplayListener instead of WindowRotationListener in AudioService." into oc-dr1-dev

7 years agoMerge "IpSecService: Actually throw exception" am: 3eff26449f am: c5f089e6d5
Andreas Gampe [Wed, 12 Jul 2017 01:43:13 +0000 (01:43 +0000)]
Merge "IpSecService: Actually throw exception" am: 3eff26449f am: c5f089e6d5
am: d7c0357277

Change-Id: I9d5b81d6f62b6d8ff7561d908c6d61b4a21c7419

7 years agoMerge "IpSecService: Actually throw exception" am: 3eff26449f
Andreas Gampe [Wed, 12 Jul 2017 01:36:08 +0000 (01:36 +0000)]
Merge "IpSecService: Actually throw exception" am: 3eff26449f
am: c5f089e6d5

Change-Id: Iefbe52615c1795cf1757b1f7557daf26e1d560d3

7 years agoMerge "IpSecService: Actually throw exception"
Andreas Gampe [Wed, 12 Jul 2017 01:29:47 +0000 (01:29 +0000)]
Merge "IpSecService: Actually throw exception"
am: 3eff26449f

Change-Id: I415b249d564c5ffdd2d9381b53a31dd6f6c18eab

7 years agoConnectivity: Fix format arguments
Andreas Gampe [Tue, 11 Jul 2017 22:14:41 +0000 (15:14 -0700)]
Connectivity: Fix format arguments

Fix missing argument.

Bug: 19797138
Test: m
Change-Id: I5fdd2a453c0d7422e8c3e79c8dce2d0800ec45e9

7 years agoMerge "IpSecService: Actually throw exception"
Treehugger Robot [Wed, 12 Jul 2017 01:17:19 +0000 (01:17 +0000)]
Merge "IpSecService: Actually throw exception"

7 years agoGATT: Expose opportunistic client API to Java
Jack He [Wed, 5 Jul 2017 21:55:35 +0000 (14:55 -0700)]
GATT: Expose opportunistic client API to Java

* Allow Java based programs to create an opportunistic GATT client
* Such client does not hold a GATT connection. It automatically
  disconnects when no other GATT connections are active for the
  remote device.

Bug: 63347806
Test: make, run battery service
Change-Id: Ib9333817d7f17a1fa3ddacfa51c680890bac19ec
Merged-In: Ib9333817d7f17a1fa3ddacfa51c680890bac19ec
(cherry picked from commit 13f52c8118c09ffc57b581a7d44b08e5e66d62fe)

7 years agoaudioservice: fix media volume reset at boot
Eric Laurent [Tue, 11 Jul 2017 21:08:11 +0000 (14:08 -0700)]
audioservice: fix media volume reset at boot

mSafeUsbMediaVolumeIndex must be initialized after createStreamStates()
because it relies on audio policy having correct ranges for volum indexes.

Also change the safe volume threshold for USB headset from -15dBFs to
-30dBFs to account for max EQ gain.

Bug: 63462140
Bug: 63388412
Test: Verify USB headset media volume is unchanged after reboot
when no SIM is present.

Change-Id: I5252d97e3f3dcde7568681abb066752ef0d936d2

7 years agoapp_main: silence static analyzer warnings
George Burgess IV [Wed, 12 Jul 2017 00:18:26 +0000 (17:18 -0700)]
app_main: silence static analyzer warnings

This silences two warnings:

frameworks/base/cmds/app_process/app_main.cpp:238:11: warning: Potential
memory leak

frameworks/base/cmds/app_process/app_main.cpp:261:9: warning: Potential
memory leak

As the (existing) comment notes, we nuke argv later in main(), so these
copies are necessary. Since these args need to live for basically the
entire life of the process, it seems pointless to go out of our way to
free them.

Bug: 27101951
Test: mma. Static analyzer warnings are gone.
Change-Id: Icbfabfede9db909f6acb274b697cb6076c3fc11f

7 years agoAdd first OWNERS files for core networking
Hugo Benichi [Fri, 7 Jul 2017 02:55:41 +0000 (11:55 +0900)]
Add first OWNERS files for core networking

Covering
  core/java/android/net/
  core/java/com/android/server/net/
  packages/CaptivePortalLogin/
  services/core/java/com/android/server/
    ConnectivityService.java
    NsdServic.java
    NetworkManagementService.java
  services/core/java/com/android/server/connectivity/
  services/net/
  tests/net/

Android core networking files not covered:
  services/core/jni/com_android_server_connectivity_tethering_OffloadHardwareInterface.cpp
  services/core/proto/ipconnectivity.proto (path unique to aosp)

Bug: 63408147
Test: builds
Change-Id: Ifbb923d5ffdcada83864b5e0eb07911682d66efa

7 years agoMerge "Ensure transparent assistant works with PiP" into oc-dr1-dev
Winson Chung [Wed, 12 Jul 2017 00:09:35 +0000 (00:09 +0000)]
Merge "Ensure transparent assistant works with PiP" into oc-dr1-dev
am: 8d10791f5b

Change-Id: Ie8ea7cec050551193b1c0520e349f6552fe0b6dd

7 years agoMerge "Ensure transparent assistant works with PiP" into oc-dr1-dev
Winson Chung [Wed, 12 Jul 2017 00:01:48 +0000 (00:01 +0000)]
Merge "Ensure transparent assistant works with PiP" into oc-dr1-dev

7 years agoFix z-order issue with text cursors and PiP.
Winson Chung [Tue, 11 Jul 2017 16:59:56 +0000 (09:59 -0700)]
Fix z-order issue with text cursors and PiP.

- When an activity is in PiP, its windows are top most and always
  computed incorrectly as the IME target. As a result, the popup
  windows for the cursors don't find the right parent and are not
  promoted to be above the IME.

Bug: 63546389
Test: Enter PiP, open app with bottom anchored input, and select
      some text.  Ensure that the cursors are top-most.
Test: go/wm-smoke

Change-Id: I1267504e10544b0a075bbf73e41e001d07a5f74c

7 years agoUse DisplayListener instead of WindowRotationListener in AudioService.
jiabin [Mon, 26 Jun 2017 20:48:14 +0000 (13:48 -0700)]
Use DisplayListener instead of WindowRotationListener in AudioService.

In AudioService should use a DisplayListener to listen for the default
display's orientation, not handling window orientation in AudioService.

Bug: 62460024
Test: Manually test on Marlin.
Change-Id: I0b7280f9e851b10e8c23406cae3407b45c97bdda
(cherry picked from commit 383c1cefd112c0cd56a3b34a9891ce095d3013de)

7 years agoaudioservice: modify default music volume
Eric Laurent [Tue, 11 Jul 2017 23:21:44 +0000 (16:21 -0700)]
audioservice: modify default music volume

Default music volume is changed from 3/4 of max to 1/3 of max to
reduce initial volume over headphones percieved as too agressive.

Also add a property ro.config.media_vol_default to modify this
default value.

Bug: 62608451
Test: verify default music volume over headphones after factory reset.
Change-Id: Icadb99e1bafe88984d3a3a05014d4d4648830693

7 years agoFix method sinature of FuseAppLoop JNI code
Daichi Hirono [Tue, 11 Jul 2017 23:01:55 +0000 (23:01 +0000)]
Fix method sinature of FuseAppLoop JNI code
am: 81977b8929

Change-Id: I876f3dea409cdb90f21d4aa23ba140bcfc5ba224

7 years agoIpSecService: Actually throw exception
Andreas Gampe [Tue, 11 Jul 2017 17:25:09 +0000 (10:25 -0700)]
IpSecService: Actually throw exception

Add a missing throw.

Bug: 19797138
Test: m
Test: Device boots
Change-Id: I6c6058ecc95a5b85da43a42bac2846c31cefc038

7 years agoRemove ALOGD_IF_SLOW
Tom Cherry [Mon, 10 Jul 2017 21:31:18 +0000 (14:31 -0700)]
Remove ALOGD_IF_SLOW

ALOGD_IF_SLOW isn't intuitively implemented as it cannot handle
temporaries used as its parameters.  Since there are so few users of
it already and since it's just sugar on top of 2 otherwise trivial
lines, we opt to remove it entirely.

Bug: 62820330
Test: Build
Change-Id: I196443b3717497f6cab31bfaee94a229e4838556

7 years agoDocument WifiScanner callback behaviors
Ningyuan Wang [Tue, 20 Jun 2017 21:43:26 +0000 (14:43 -0700)]
Document WifiScanner callback behaviors

This adds the missing documents for WifiScanner.ActionListener.
This also fixes the existing inaccurate documents.

Bug: 29524465
Test: compile

Change-Id: I40d40a6293cdb0af6b8cad45062722ee2a4b746d

7 years agoMerge "GATT: Expose opportunistic client API to Java" am: 782ba0aca8 am: f0efa2c810
Jack He [Tue, 11 Jul 2017 20:45:54 +0000 (20:45 +0000)]
Merge "GATT: Expose opportunistic client API to Java" am: 782ba0aca8 am: f0efa2c810
am: 778d7cd3a7

Change-Id: Ifc8800964fc602c6eca3df03e16d1c303389dff0

7 years agoFix method sinature of FuseAppLoop JNI code
Daichi Hirono [Tue, 11 Jul 2017 02:18:34 +0000 (11:18 +0900)]
Fix method sinature of FuseAppLoop JNI code

The file size passed to replyLookup and replyGetAttr needed to be jlong,
but they were jint before the fix.

Bug: 63543158
Test: Transfer 4GB+ files through ProxyFileDescriptor

Change-Id: Idaf27538e067854a25ae413651d8f83f0df3f387
(cherry picked from commit d2229a65f53e7b9e9fc861ac300607a329153c4c)

7 years agoMerge "GATT: Expose opportunistic client API to Java" am: 782ba0aca8
Jack He [Tue, 11 Jul 2017 20:37:36 +0000 (20:37 +0000)]
Merge "GATT: Expose opportunistic client API to Java" am: 782ba0aca8
am: f0efa2c810

Change-Id: I242ede1cfe035f51920a5a1cb90cf0616bae1e93

7 years agoMerge "Final tweaks to power menu" into oc-dr1-dev
Jason Monk [Tue, 11 Jul 2017 20:31:22 +0000 (20:31 +0000)]
Merge "Final tweaks to power menu" into oc-dr1-dev
am: 0a2ada5416

Change-Id: I2f19770417a30863f99675820908623eb7a8cec0

7 years agoMerge "GATT: Expose opportunistic client API to Java"
Jack He [Tue, 11 Jul 2017 20:23:53 +0000 (20:23 +0000)]
Merge "GATT: Expose opportunistic client API to Java"
am: 782ba0aca8

Change-Id: If29bc145c1947f2e10472565ae753696e8057dd1

7 years agoMerge "Final tweaks to power menu" into oc-dr1-dev
TreeHugger Robot [Tue, 11 Jul 2017 20:22:16 +0000 (20:22 +0000)]
Merge "Final tweaks to power menu" into oc-dr1-dev

7 years agoMerge "GATT: Expose opportunistic client API to Java"
Treehugger Robot [Tue, 11 Jul 2017 20:15:17 +0000 (20:15 +0000)]
Merge "GATT: Expose opportunistic client API to Java"

7 years agoMove eSIM factory reset implementation to RecoverySystem
qingxi [Fri, 23 Jun 2017 22:32:53 +0000 (15:32 -0700)]
Move eSIM factory reset implementation to RecoverySystem

This CL reverts the implementation of eSIM factory reset in
MasterClearReceiver and uses RecoverySystem#rebootWipeUserData to erase
eSIM data. Besides this, when the eSIM data isn't erased, we should call
EuiccManager#retainSubscriptionsForFactoryReset to let the fastboot know
that.

Bug: 62957212
Test: TreeHugger
Merged-In: I08ab9d53ec4fc73a65e8e7d0c39ac95b2d44d012
Change-Id: I08ab9d53ec4fc73a65e8e7d0c39ac95b2d44d012

7 years agoUpdate keyguard mic icon to rounded
Evan Laird [Tue, 11 Jul 2017 20:04:59 +0000 (16:04 -0400)]
Update keyguard mic icon to rounded

Test: visual
Change-Id: I4032e9f496b9b70820448b6ff5794ec58623cd84
Fixes: 62386498