309872 Commits

Author SHA1 Message Date
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
Christopher Tate
630d98b0ff Shell can now fake battery presence
For testing purposes it's useful to have a device pretend to be
a hard-power permanent-power type device for a while.

Bug 34221968
Test: dumpsys verification + cts

Change-Id: Iaace582ee2af051bd1bd3319b079172d6540f5f9
2017-03-07 15:50:10 -08:00
Peng Xu
7d96fa0b2a Sensor direct report HardwareBuffer implementation
Implemented API for sensor direct channel creating with HardwareBuffer
shared memory. Also, simplified jni code for ashmem shared memory direct
channel.

Bug: 30985702
Test: cts-tradefed run cts --module CtsSensorTestCases
      --test android.hardware.cts.SensorDirectReportTest
Test: cts-tradefed run cts --module CtsSensorTestCases
      --test android.hardware.cts.SensorNativeTest

Change-Id: I067fe21808cf370e4a659fc762131ed3007334a8
2017-03-07 15:47:52 -08:00
Peng Xu
63483ad252 Parameter checks for sensor NDK APIs, fix map file
* Add parameter check for all sensor NDK APIs.
* Added a previously added API (from AOSP contribution) to
  libandroid.map.txt file.

Test: SensorNativeTest pass
Change-Id: I6482a684767034f2a31d806a4cba0d6648dcabff
2017-03-07 15:47:21 -08:00
Romain Guy
5acc476878 Write Bitmap's color space in parcel
This change also resets the cached color space field in Bitmap.java
when reconfigure() is called or when a bitmap is reused by the
bitmap factory.

Bug: 32072280
Test: CtsGraphicsTestCases.BitmapColorSpaceTest
Change-Id: I232b729b7a29e65bfff21dc749570c3c80adf855
2017-03-07 15:41:07 -08:00
Dianne Hackborn
3744d8ba14 Merge "Fix issue #35813125: API Review: android.os > Bundle" 2017-03-07 23:30:33 +00:00
Dianne Hackborn
11e8636889 Merge "Fix issue #35813031: API Review: RemoteCallbackList" 2017-03-07 23:30:04 +00:00
Selim Cinek
1826d98381 Fixes an issue where the notification header could be invisible
It's not actually necessary to set the visibility of the notification header
since it is actually in the ChildrenContainer which already handles the visiblity.
This existed from legacy times where it was outside of the viewgroup.
When animating the headers, this could actually lead to blank headers.

Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/ExpandableNotificationRowTest.java
Change-Id: I7763b47340a347ed44fc9ce34a98f74c7e55ef8d
Fixes: 35993698
2017-03-07 15:27:09 -08:00
TreeHugger Robot
aae1cc597d Merge "Expose Instant App API defined in MR1" 2017-03-07 23:20:53 +00:00
TreeHugger Robot
22b3c1b185 Merge "Allow disk writes on main thread in SharedPrefs" 2017-03-07 23:02:25 +00:00
TreeHugger Robot
1966cccd32 Merge "Keep Settings.Global.NETWORK_RECOMMENDATIONS_ENABLED updated." 2017-03-07 23:01:50 +00:00
Daniel Nishi
8603ad42df Merge "Use the fast track for the AppCollector." 2017-03-07 22:55:20 +00:00
TreeHugger Robot
af47f67df4 Merge "Revert "Start locking down /data/media access."" 2017-03-07 22:47:21 +00:00
Fyodor Kupolov
07eaef0bcd Merge "Throw exception if slot has invalid offset" 2017-03-07 22:42:29 +00:00