309942 Commits

Author SHA1 Message Date
Etan Cohen
0501c50040 Merge "[AWARE] Add data-path security configuration (Passphrase)"
am: 769fa0c881

Change-Id: If38fa15ce7c6606f081b86dad1ecbe0cac453ed5
2017-03-08 15:05:18 +00:00
Paul Duffin
48a78f4852 Merge "Replace usages of littlemock with mockito" am: 0a11c83016
am: b29311bbba

Change-Id: I94c0ab304eb1ac8b68b897e6b74f737df2c2bff8
2017-03-08 15:04:06 +00:00
Paul Duffin
b29311bbba Merge "Replace usages of littlemock with mockito"
am: 0a11c83016

Change-Id: I1456ae3d07d396080a817de01796eefc71230981
2017-03-08 14:59:26 +00:00
Etan Cohen
769fa0c881 Merge "[AWARE] Add data-path security configuration (Passphrase)" 2017-03-08 14:55:05 +00:00
Jason Monk
1fdde2da76 Fix random clicks in QS
The entire header was getting set as clickable because of old code
which would eat the clicks of the brightness slider (and other things)
when expanded.

Fixes: 35628944
Test: Trigger expandable update (like clear user_setup and set it)
      then click on brightness in QS

Change-Id: I2d23aabf6b8a5b05f3b2b93ee723ec145514ce5e
2017-03-08 09:41:17 -05:00
Paul Duffin
0a11c83016 Merge "Replace usages of littlemock with mockito" 2017-03-08 14:36:18 +00:00
Jerome Gaillard
80447d42f0 Ignore native color spaces following Change I0164a18f
Test: layoutlib tests
Change-Id: I2fc2f13621524142d00fb86c45e75ecdb250479a
2017-03-08 14:15:51 +00:00
Jason Monk
ba3643290d Add version of @UiThreadTest that works at class level
Saves a bunch of lines of tagging every test with @UiThreadTest

Test: runtest systemui
Change-Id: Id565dbe6bf1ae3dd7b3b23c507d1b3c386a36974
2017-03-08 09:15:48 -05:00
Jason Monk
9f1422d04a Protect against crash while sysui is initing
Sometimes when switching users not all the views are there yet, but
we will get another layout callback once they are, and can update
our animators then.

Change-Id: I029839e5c69c8c441cf89b0536a90e223dc35180
Fixes: 35949496
Test: Switch users
2017-03-08 09:11:51 -05:00
Gustav Sennton
e8288804a1 Merge "Update WebView.getCurrentWebViewPackage documentation." 2017-03-08 13:47:36 +00:00
Tobias Thierer
137b460e5f Merge "Don't allow MapCollections to iterate past the end." 2017-03-08 12:18:28 +00:00
Narayan Kamath
b192344234 MathUtils: Remove static Random field.
This is unsafe because the random will be seeded in the zygote, which
means all processes on the system generate the same sequence of random
numbers. Fortunately, this code is only used in tests, so get rid of it.

Note that the Random that backs Math.random() is reseeded after every
fork to avoid a similar issue.

Bug: 35918685
Test: HwAccelerationTest
Change-Id: Ice79aa25bb9017f7a0b91659afe04112850cb74b
2017-03-08 10:07:03 +00:00
Suprabh Shukla
84d11b4716 Updated javadoc for ACTION_MANAGE_EXTERNAL_SOURCES
Added an optional parameter that can be passed as data to directly open
the app specific page

Test: N/A

Bug: 35487166

Change-Id: Ib20fe902670d98d949c5776cd633c38a5332b751
2017-03-07 23:40:29 -08:00
TreeHugger Robot
07be4d6781 Merge "Revert "Modify SurfaceView to use SurfaceFlinger child surfaces."" 2017-03-08 06:28:11 +00:00
TreeHugger Robot
a76761d55c Merge "Removed deprecated setSavableids()." 2017-03-08 06:03:07 +00:00
TreeHugger Robot
4ad75b0541 Merge "Throw at getPackageSizeInfoAsUser() callers." 2017-03-08 05:30:49 +00:00
Daichi Hirono
d61817e07f Add metric for openProxyFileDescriptor.
Bug: 35300828
Test: None
Change-Id: I5175a8ab51ef4d93d032777a71295874a1189969
2017-03-08 14:11:52 +09:00
Felipe Leme
e6010f2fb4 Provided an AutofillCallback API.
Some custom views - like WebView - might have their own auto-complete mechanism,
so we need to provide a way for them to know when the auto-fill UI is shown or
hidden.

Fixes: 35948429
Test: CtsAutoFillServiceTestCases (with new tests) pass
Test: m update-api
Test: manual verification

Change-Id: I5682a3b9645d5d077a4a2446e79256d6f77b4b5a
2017-03-07 20:52:48 -08:00
Jeff Sharkey
597c934546 Throw at getPackageSizeInfoAsUser() callers.
But only when targeting O; if they're old apps then log and pass
a soft failure message to their callback.

Test: builds, boots
Bug: 35749102
Change-Id: Ifecf7108397444e88763f404a4b5f3fdc48443bb
2017-03-07 21:03:21 -07:00
TreeHugger Robot
e8831ed674 Merge "Add logging constant for hardware info dialog" 2017-03-08 03:52:33 +00:00
Jeff Sharkey
09734df8bc Grumble, nobody likes kibibytes.
All the cool kids are using storage in increments of 1000 instead
of 1024, so find a balance somewhere between the two.  We still round
to nice values like 32GB, 64GB, etc, but we represent them using
kilobytes under the hood.

Test: runtest -x frameworks/base/core/tests/coretests/src/android/os/FileUtilsTest.java
Bug: 28327846
Change-Id: I573aea43790816291e2b5c784b344b51b4444c06
2017-03-07 20:52:29 -07:00
TreeHugger Robot
eb7ca5ca3a Merge "Skip the MTP notification when the system has the default app." 2017-03-08 03:26:13 +00:00
TreeHugger Robot
66f53ca937 Merge "Sensor direct report HardwareBuffer implementation" 2017-03-08 03:12:58 +00:00
TreeHugger Robot
a6a31fd3eb Merge "Fix ApfTest" 2017-03-08 03:11:15 +00:00
Felipe Leme
6ee1ed48b5 Removed deprecated setSavableids().
Bug: 35727295
Test: LoginActivityTest#testAutoFillOneDatasetAndSave passes

Change-Id: I33a33bf438fe258685025118a3dfa8a59bd456da
2017-03-07 19:09:16 -08:00
Etan Cohen
62a2f9f6ab [AWARE] Add data-path security configuration (Passphrase)
Add API to optionally provide a passphrase to
configure security on a data-path.

Bug: 33552694
Test: unit tests and integration (sl4a) tests
Change-Id: Ie011345348a3918a412957e38610cabe147c35fa
2017-03-07 19:07:14 -08:00
TreeHugger Robot
9d64b054d2 Merge "AOD: Invert color spans for ambient display view" 2017-03-08 02:49:12 +00:00
Eugene Susla
915b42bd95 Merge "Record app<->device association to xml file" 2017-03-08 02:16:13 +00:00
Srinivas Visvanathan
3b12f4cf02 Merge "Adding handle extra in unread-message broadcast" 2017-03-08 02:14:22 +00:00
TreeHugger Robot
dfcebf672d Merge "Write Bitmap's color space in parcel" 2017-03-08 02:06:49 +00:00
Wonsik Kim
5aec7b9031 Revert "Modify SurfaceView to use SurfaceFlinger child surfaces."
This reverts commit cd4aeef88052571365d4e193a2c41e2e6d145491.

Bug: 36027342
Bug: 36015884
Change-Id: Ifd5b69caf64d65a8cd6570b7fe1fb6abe90e30b8
2017-03-08 01:52:19 +00:00
Hugo Benichi
22291f84e0 Fix ApfTest
By adding missing native libraries to frameworks-net make file. The list
of missing libraries was found by adding libhidlbase and then resolving
new linkage errors iteratively until ApfTest worked.

This is a temporary fix. Ideally only adding libhidlbase should be
enough.

Test: $ runtest -x frameworks/base/tests/net/java/android/net/apf/ApfTest.java
Bug: 36012053
Change-Id: I0eff8b3adbf788ddbfc6ddbf9f74b8da01cdfce4
2017-03-08 10:33:57 +09:00
TreeHugger Robot
fc18fe78f2 Merge "Parameter checks for sensor NDK APIs, fix map file" 2017-03-08 01:31:02 +00:00
Jakub Pawlowski
5324a14cf4 Bluetooth 5 Advertising API
Test: manual
Bug: 30622771
Change-Id: Id6856e6110872ec50ff1af54ddc75c0104a6459c
2017-03-08 01:12:16 +00:00
Jakub Pawlowski
db5a87d50d Bluetooth 5 PHY selection API
Bug: 30622771
Test: manual
Change-Id: I50262a56a70466439f9700549c3c0e7bd49e2e8d
2017-03-08 01:09:04 +00:00
Selim Cinek
ae76b4c2f7 Fixed a bug where the scrim was distracting when pulling on HUN
Test: add hun, pull down, observe no scrim jump
Change-Id: Iec2a12476ac1f728c76119653226d2ca5a9d4145
Fixes: 35968030
2017-03-07 17:07:13 -08:00
Jakub Pawlowski
a48e03745b Bluetooth 5 periodc scan API (1/2)
Bug: 30622771
Test: manual
Change-Id: I61853bc71f6013e9406d1d151bb51ea4484bb92c
2017-03-08 01:06:25 +00:00
Selim Cinek
6fd06b5b80 Fixed a bug where the low-priority header wasn't cleared
For notification groups, the header could not be removed
properly leading to overlapping text.

Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/stack/NotificationChildrenContainerTest.java
Change-Id: I6823a6137655e9266e46eb33dc33c0ceaee1f45c
Fixes: 36006673
2017-03-07 17:06:15 -08:00
Jakub Pawlowski
9de522c6e4 Bluetooth 5 enhanced scanning API
Bug: 30622771
Test: manual
Change-Id: I2c8065fbcedf48777ce18c7d8fe621e568b3fd75
2017-03-08 01:05:13 +00:00
Jakub Pawlowski
2844a30f6c Merge "Bluetooth 5 feature check API (1/2)" 2017-03-08 01:02:15 +00:00
Adrian Roos
0bc3f6aae2 AOD: Invert color spans for ambient display view
Fixes a bug where notifications with color spans would not show
the text properly because we inverted the background. Now we invert
the color spans the app put on the text for the ambient view.

Fixes: 35705172
Bug: 30876804
Test: receive gmail notification, observe that subject is visible on ambient display
Change-Id: I602335562346759d62d2a69a55f3ac9d1be735a9
2017-03-08 00:57:22 +00:00
Hemant Gupta
87d48cdeae Merge "Bluetooth: Expose L2CAP API to support OPP 1.2" am: 79eb213a98 am: 12358b4057
am: 31428b1e6d

Change-Id: Ic2ff9eb34ebc8aada030f5e3e8d040c29f9b7186
2017-03-08 00:48:54 +00:00
TreeHugger Robot
9ac3c7bc32 Merge "Don't call InstantAppRegistry with a null package" 2017-03-08 00:46:15 +00:00
Hemant Gupta
31428b1e6d Merge "Bluetooth: Expose L2CAP API to support OPP 1.2" am: 79eb213a98
am: 12358b4057

Change-Id: Iab52bbff82ee0189d2d8ba1458a3d844e399864c
2017-03-08 00:43:12 +00:00
TreeHugger Robot
f4f093c52c Merge "Reinstate codes to enable RRO on system server" 2017-03-08 00:43:00 +00:00
Hemant Gupta
12358b4057 Merge "Bluetooth: Expose L2CAP API to support OPP 1.2"
am: 79eb213a98

Change-Id: I5f82a0c40c64fca0701abba44693b2892209acf3
2017-03-08 00:38:14 +00:00
Treehugger Robot
79eb213a98 Merge "Bluetooth: Expose L2CAP API to support OPP 1.2" 2017-03-08 00:28:31 +00:00
ztenghui
010df88f90 Disable versioning for pathInterpolator when no-version-vectors is on.
Test: manually build demo app for support lib, and works!
bug:33527757

Change-Id: I3badea18b2eb8cddea94f7e44f9129bb55ed9649
2017-03-07 16:12:07 -08:00
TreeHugger Robot
6587430d6f Merge "AdaptiveIconDrawable should handle all usage cases of setBounds Test: runtest --path=frameworks/base/core/tests/coretests/src/android/graphics/drawable/AdaptiveIconDrawableTest.java" 2017-03-08 00:02:44 +00:00
Jakub Pawlowski
79d66495c3 Bluetooth 5 feature check API (1/2)
Bug: 30622771
Test: manual
Change-Id: I90e2efe989745c07c2f2fb8f4ea5bc3b718382f6
2017-03-07 23:57:58 +00:00