310816 Commits

Author SHA1 Message Date
Roshan Pius
60d9c84209 Merge "WifiConfiguration: Update psk documentation" 2017-03-17 03:59:40 +00:00
Joel Scherpelz
5e1eb40c8f Merge "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces" am: 52f8421b77 am: b8933942fc
am: f9cd5cd81b

Change-Id: I5ebbe1a63da43f28b0d582bc7e6480ffe74195b7
2017-03-17 03:05:45 +00:00
Joel Scherpelz
f9cd5cd81b Merge "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces" am: 52f8421b77
am: b8933942fc

Change-Id: Ic1b6226da3cfb68eeb352c1f81df09733ab52e4d
2017-03-17 02:59:11 +00:00
Joel Scherpelz
b8933942fc Merge "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces"
am: 52f8421b77

Change-Id: I5b5d5460f9fe7ed228ab32b2c63cb601be5e1edb
2017-03-17 02:53:11 +00:00
Treehugger Robot
52f8421b77 Merge "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces" 2017-03-17 02:44:07 +00:00
Karthik Ravi Shankar
e6ccc3e816 Merge "Add API to get compatibility display id" 2017-03-17 02:34:07 +00:00
Philip P. Moltmann
389d1c2b43 Merge "TRON log important auto-fill events" 2017-03-17 02:23:35 +00:00
Jakub Pawlowski
9f9597e248 Merge "Bluetooth 5 AdvertisingSet implementation (1/4)" am: 15e69df921 am: 45e0c6ea7f
am: d2da3a7874

Change-Id: I3b14feb1d470f818b48acf99b32785f653790cc2
2017-03-17 01:21:38 +00:00
TreeHugger Robot
85fcc0bde8 Merge "IBiometricsFingerprint uses "default" service name" 2017-03-17 01:19:51 +00:00
TreeHugger Robot
bdc813a6ea Merge "Change vold cryptkeeper permissions to be more sensible" 2017-03-17 01:15:11 +00:00
Jakub Pawlowski
d2da3a7874 Merge "Bluetooth 5 AdvertisingSet implementation (1/4)" am: 15e69df921
am: 45e0c6ea7f

Change-Id: I6975c6629e8c4a7be20f355fdeaba268b33396a2
2017-03-17 01:15:08 +00:00
Jakub Pawlowski
45e0c6ea7f Merge "Bluetooth 5 AdvertisingSet implementation (1/4)"
am: 15e69df921

Change-Id: I585fc900b4a153744116fa87764db98b038184d5
2017-03-17 01:09:02 +00:00
Treehugger Robot
15e69df921 Merge "Bluetooth 5 AdvertisingSet implementation (1/4)" 2017-03-17 01:01:17 +00:00
Yifan Hong
d8f3fe9421 Merge "Start android.frameworks.sensorservice@1.0 in system_server" 2017-03-17 00:58:14 +00:00
Joel Scherpelz
25870a2c9e Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces
This patch tries to change accept_ra_rt_info_max_plen to 64 from its
default value of 0 on kernels that support router advertisements with
route information options. The code fails silently on older unsupported
platforms.

Also factor existing startIPv6() code into a self documenting function
enableInterfaceIpv6PrivacyExtensions()

Bug: 33333670
Test: as follows
    - build sailfish
    - flashed
    - booted
    - runtest frameworks-net passes
    - runtest frameworks-wifi passes

Change-Id: I10ec83b9e04836089477d74417b7222499820066
2017-03-17 09:41:43 +09:00
Derek Sollenberger
08153e655a Merge "Remove usage of deprecated makeImageSnapshot parameter Test: Does it compile?" 2017-03-17 00:41:16 +00:00
TreeHugger Robot
ffe0bbbf60 Merge "Camera: Enable batching for constrained high speed recording" 2017-03-17 00:32:54 +00:00
Chris Craik
97b4ccbd97 Merge "Expose color filter mutate methods" 2017-03-17 00:32:21 +00:00
Jack He
e7739053f0 Merge "Add a flag that indicates whether in-band ringing is avalable" am: 41f5b61f5d am: 592d78238d
am: 90397ba054

Change-Id: I11c594bb6da104a85a1fd05138e7f224a3d18b09
2017-03-17 00:21:31 +00:00
Jack He
90397ba054 Merge "Add a flag that indicates whether in-band ringing is avalable" am: 41f5b61f5d
am: 592d78238d

Change-Id: I47b79c0113f3452df40325df4d96952aa1c7d835
2017-03-17 00:14:57 +00:00
Fyodor Kupolov
ef1ab44024 Merge "Handle stopped users in onCleanupUser" 2017-03-17 00:14:03 +00:00
Jack He
592d78238d Merge "Add a flag that indicates whether in-band ringing is avalable"
am: 41f5b61f5d

Change-Id: I25931f4ed056f6990c6ecb2d9f6629d89610c072
2017-03-17 00:09:58 +00:00
Treehugger Robot
41f5b61f5d Merge "Add a flag that indicates whether in-band ringing is avalable" 2017-03-17 00:00:16 +00:00
Android Build Merger (Role)
abac7a6758 Merge "Merge "Merge "wifi: add a flag indicating legacy Passpoint configuration" am: 2d87679a11 am: 1228b6cdec" into nyc-mr2-dev-plus-aosp am: 01213393fb" 2017-03-16 23:56:01 +00:00
Yohei Yukawa
7e44218f54 Merge "Add a compat hack into SurfaceView#setWindowType()" 2017-03-16 23:54:23 +00:00
Peter Qiu
b1aff6b190 Merge "Merge "wifi: add a flag indicating legacy Passpoint configuration" am: 2d87679a11 am: 1228b6cdec" into nyc-mr2-dev-plus-aosp
am: 01213393fb

Change-Id: Ic5ea3f8c8521e818ee771b20cdb4d43875d6daa7
2017-03-16 23:54:12 +00:00
Andrew Zeng
18a8af21b5 Merge "Fix NPE in LockSettingsService." into cw-f-dev am: 4aff3d53ef am: a01e2212c8
am: d4e88e2642

Change-Id: Ie7d409e8ef3ec5c3201bcaf0ae125ca71dc10c08
2017-03-16 23:52:44 +00:00
Android Build Merger (Role)
01213393fb Merge "Merge "wifi: add a flag indicating legacy Passpoint configuration" am: 2d87679a11 am: 1228b6cdec" into nyc-mr2-dev-plus-aosp 2017-03-16 23:41:35 +00:00
Roshan Pius
a3406db72c WifiConfiguration: Update psk documentation
Adding some documentation to explain the expected contents of this
field.

Bug: 35967623
Test: make update-api
Change-Id: Ia28e2c79834c4d7b0de7350c18d5f32633e6309d
2017-03-16 16:41:04 -07:00
Andrew Zeng
d4e88e2642 Merge "Fix NPE in LockSettingsService." into cw-f-dev am: 4aff3d53ef
am: a01e2212c8

Change-Id: Id333403e3a989e233a97760b716055b3abd186d6
2017-03-16 23:40:09 +00:00
Peter Qiu
5b6543f2c0 Merge "wifi: add a flag indicating legacy Passpoint configuration" am: 2d87679a11
am: 1228b6cdec

Change-Id: Ifc293108dfdfb503ab7596da657e9768a8fea25d
2017-03-16 23:39:52 +00:00
Glenn Kasten
24b7831f8b Merge "USB audio: fix imports" 2017-03-16 23:37:42 +00:00
Peter Qiu
1228b6cdec Merge "wifi: add a flag indicating legacy Passpoint configuration"
am: 2d87679a11

Change-Id: I12bc10c8bf51df93ee7c2c7b770820ca7189527d
2017-03-16 23:32:33 +00:00
Andrew Zeng
a01e2212c8 Merge "Fix NPE in LockSettingsService." into cw-f-dev
am: 4aff3d53ef

Change-Id: I17880622c489df79eeea5116b3afe3c462b06554
2017-03-16 23:22:05 +00:00
Treehugger Robot
2d87679a11 Merge "wifi: add a flag indicating legacy Passpoint configuration" 2017-03-16 23:20:45 +00:00
Tadashi G. Takaoka
576de9fb77 Merge "Add has-feature shell command to PackageManagerService" 2017-03-16 23:17:15 +00:00
TreeHugger Robot
cd1c654af1 Merge "Dont send broadcasts to manifest-receivers in IA" 2017-03-16 23:16:34 +00:00
Andrew Zeng
4aff3d53ef Merge "Fix NPE in LockSettingsService." into cw-f-dev 2017-03-16 23:03:06 +00:00
Glenn Kasten
967e832200 Merge "Add units to variable names" 2017-03-16 23:00:29 +00:00
Hyunyoung Song
5d0a358b62 Merge "Add LauncherIcons.AdaptiveIconDrawableWithShadow class to support shadow b/36088922" 2017-03-16 22:51:43 +00:00
Chris Craik
6097eca721 Expose color filter mutate methods
Bug: 36025103
Test: cts-tradefed run singleCommand cts-dev --module CtsGraphicsTestCases

Now, similar to Shaders, we defer native creation until Paint is being
used, and ensure that we have an up to date filter when drawing.

Also implements ColorMatrix#equals to behave like Matrix#equals.

Change-Id: I5f74addd97f5662800802e6f660fead58d518725
2017-03-16 15:45:43 -07:00
Philip P. Moltmann
7b77116802 TRON log important auto-fill events
Example log from
android.autofillservice.cts.LoginActivityTest#testAutoFill#testAutoFillOneDatasetAndSave
(translated from numbers of human readable string):

AUTOFILL_SESSION_STARTED
   package=android.autofillservice.cts
AUTOFILL_REQUEST
   type=TYPE_SUCCESS
   package=android.autofillservice.cts
   FIELD_AUTOFILL_SERVICE=android.autofillservice.cts
   FIELD_AUTOFILL_NUM_DATASETS=1
AUTOFILL_FILL_UI
   type=TYPE_ACTION
   package=android.autofillservice.cts
   FIELD_AUTOFILL_NUM_DATASETS=1
   FIELD_AUTOFILL_FILTERTEXT_LEN=0
AUTOFILL_DATASET_APPLIED
   package=android.autofillservice.cts
   FIELD_AUTOFILL_NUM_VALUES=2
   FIELD_AUTOFILL_NUM_VIEWS_FILLED=2
AUTOFILL_SAVE_UI
   package=android.autofillservice.cts
   FIELD_AUTOFILL_NUM_IDS=2
AUTOFILL_DATA_SAVE_REQUEST
   type=TYPE_SUCCESS
   package=android.autofillservice.cts
   FIELD_AUTOFILL_SERVICE=android.autofillservice.cts
AUTOFILL_SESSION_FINISHED
   package=android.autofillservice.cts

Test: Ran auto-fill tests and looked at event log.
Change-Id: I58aaa58e4435e7d04c8cd91878411943d3eb13de
2017-03-16 15:41:33 -07:00
Yohei Yukawa
3b5011afc9 Add a compat hack into SurfaceView#setWindowType()
This is a follow up CL to a previous CL [1] that removed an @hide method
SurfaceView#setWindowType(int).

It turns out that at least one application has relied on this @hide method
via refection to set TYPE_APPLICATION_PANEL to the internal Window object
for some reasons.  Such an operation has never ever been allowed to the
application developers.

To minimize the risk of compatibility issues and to help developers and
QA teams figure out what is going on, this CL re-introduces the method in
question to do three things:

 1. Show an error message with stack trace in logcat if this method was
    still called.
 2. To emulate the previous behavior for applications that set
    TYPE_APPLICATION_PANEL, call SurfaceView#setZOrderOnTop(true) on behalf
    of them as a stop-gap, short-term solution until application developers
    are notified that their products are doing something unsupported.
 3. Throw an exception if the targetApi is Android O or later.

 [1]: Ie56b6f7ab16f32d7fc459b8eba26594337ad55de
      d5c7dd6da810a6b89151b337bea79fd817e6b72a

Test: Manually verified that the complaint in Bug 36345857 disappeared
Bug: 36345857
Change-Id: I5217f6417a73690ae8a978754218b7b089070fdd
2017-03-16 15:34:12 -07:00
Todd Kennedy
7e5407ec43 Add new metrics tags
Change-Id: I79c5609237246a2835c41fffed1092f859cbd4d8
Fixes: 35431326
Fixes: 35430849
Test: Manual; the tree builds and the constants can be accessed by other classes
2017-03-16 15:26:20 -07:00
Jack He
317f5043ba Add a flag that indicates whether in-band ringing is avalable
* Add a flag in config.xml and symbols.xml to indicate whether in-band
  ringing is available on current platform

Bug: 19171297
Test: make, testplans/79248
Change-Id: I7eaa0d838ae25184502587d0bcc73f055d62170d
2017-03-16 22:26:00 +00:00
Yifan Hong
25d5eaa14c IBiometricsFingerprint uses "default" service name
The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.

Test: fingerprint works

Bug: 33844934
Change-Id: Ie5c03ff0e2fc38a1e41e2c292fc76b7592c33eb7
2017-03-16 15:25:43 -07:00
Jakub Pawlowski
5f00f173fb Bluetooth 5 AdvertisingSet implementation (1/4)
This patch wires up fist methods of AdvertisingSet, making it possible
to start advertising and stop advertising. It also replaces legacy
implemementation with calls to new implementation.

Bug: 30622771
Test: sl4a ConcurrentBleAdvertisingTest
Change-Id: I80a4b1b2b632d5ef8a80d958615897684cfa0c16
2017-03-16 22:17:09 +00:00
TreeHugger Robot
e74f59aef9 Merge "Don't announce state changes in QS" 2017-03-16 22:16:16 +00:00
Calin Juravle
f18cec265d Merge "Register secondary dex files for JIT profiling" 2017-03-16 22:03:58 +00:00
TreeHugger Robot
321c5a19c7 Merge "Clean up some QS user switcher colors" 2017-03-16 21:48:34 +00:00