Commit Graph

67974 Commits

Author SHA1 Message Date
TreeHugger Robot
1d4578fed1 Merge "Reenable task snapshots without using RenderThread in SystemServer." 2017-03-10 23:54:50 +00:00
Amith Yamasani
6732ea2a0b Merge "AssistStructure improvements" 2017-03-10 19:34:35 +00:00
Dmitri Plotnikov
1f1416e51a Merge "Support for a remote key chord to trigger a bugreport on TV" 2017-03-10 18:14:39 +00:00
TreeHugger Robot
a2b2a29078 Merge "Allow Font providers to return status codes" 2017-03-10 18:10:43 +00:00
TreeHugger Robot
a9767337b0 Merge "TextClassifier: Multiple entities & confidence scores." 2017-03-10 17:55:33 +00:00
Amith Yamasani
858f98d13e AssistStructure improvements
Added isOpaque() for Views
Added getAcquisitionStartTime(), ...EndTime()
Added isHomeActivity()

Bug: 30895450
Test: cts-tradefed run cts-dev -m CtsAssistTestCases -t
android.assist.cts.AssistStructureTest#testAssistStructure

Change-Id: I294a089aa3454ebfebf0442036d98ccb86cb2827
2017-03-10 09:40:32 -08:00
Clara Bayarri
bacf2352ab Allow Font providers to return status codes
This was requested by the current users, need to state
that a font is unavailable (needs downloading) or that
the query is unsupported.

Also add tests :)

Test: runtest --path frameworks/base/core/tests/coretests/src/android/provider/FontsContractTest.java
Also CTS attached to topic
Bug: 35097775
Change-Id: Ib15bf4c70185d81a4c20426722eb44c4210771c2
2017-03-10 16:24:04 +00:00
Abodunrinwa Toki
a6096f6c4c TextClassifier: Multiple entities & confidence scores.
- Updates JNI layer to support multiple entities & confidence scores
 - Updates code to include multiple entities & confidence scores
 - Fixes EntityConfidence sorting to be descending order

Test: cts-tradefed run cts-dev -m CtsViewTestCases -t
android.view.textclassifier.cts.TextClassificationManagerTest
Bug: 35153211

Change-Id: I4878fe7573f5cb7f3eafb1b50c7baf331a336cb1
2017-03-10 15:23:26 +00:00
TreeHugger Robot
642028fccd Merge "Replaced auto-fill by autofill to keep it consistent with API style." 2017-03-10 07:05:41 +00:00
TreeHugger Robot
cfdfd997bd Merge "Modify SurfaceView to use SurfaceFlinger child surfaces." 2017-03-10 05:15:21 +00:00
TreeHugger Robot
05eb84582e Merge "Address comments from API council." 2017-03-10 02:32:58 +00:00
Robert Carr
a35e5de13c Reenable task snapshots without using RenderThread in SystemServer.
Instead just directly queue the buffer to the Surface.

Test: Make sure recents works.
Change-Id: I9488ae614f117f39f9471f3c368bf98152c4f107
2017-03-09 17:47:34 -08:00
Dmitri Plotnikov
82e6dfc54d Support for a remote key chord to trigger a bugreport on TV
Bug: 35635126
Test: verified that a bugreport is triggered by the gesture
Change-Id: I79d7392241c415ce895c2ea05009b162ca5b24d9
2017-03-09 15:38:43 -08:00
TreeHugger Robot
9a84cf75a9 Merge "add process ID to LogMaker" 2017-03-09 22:46:29 +00:00
Nate Fischer
f7683a6f17 Merge "Add WebView Safe Browsing error code" 2017-03-09 22:14:31 +00:00
Evan Rosky
af0c423326 Merge "Revert "Fixed poor behavior of position-based focus order"" 2017-03-09 21:37:35 +00:00
Evan Rosky
e46675263f Revert "Fixed poor behavior of position-based focus order"
This reverts commit 5fd69c3864.

Reason for revert: still doesn't seem to meet sorting contract

Change-Id: Ib4eb06fec50b93add49bfd50459c8997bc6f4acc
Bug: 36031778
2017-03-09 21:06:45 +00:00
Chris Wren
67b3eb953f add process ID to LogMaker
Bug: 32806111
Test: runtest --path frameworks/base/core/tests/coretests/src/android/metrics
Change-Id: I3efa38a6b25502def3ba7ace04b6ba76e4d1a6cb
2017-03-09 15:57:44 -05:00
TreeHugger Robot
af526ec9c3 Merge "Corrects the recents and home stacks position around docked state (1/2)" 2017-03-09 20:39:51 +00:00
Ashutosh Joshi
521d92bcdf Merge "Fix error in width of nanoAppId" 2017-03-09 19:04:25 +00:00
Ashutosh Joshi
6f64bf0590 Fix error in width of nanoAppId
NanoAppId should not be 32 bits as exposed in some APIs.
Adding new methods to accept a 64 bit nanoAppId and deprecating
the buggy API methods.

Test: Compile build, ensure CHRE applications (eg: geofencing) work.

Change-Id: I08b09ff1b1d23b616214282f200202c99620c300
2017-03-09 11:02:24 -08:00
Hector Tellez
7986b529f7 Merge "Revert "Support multiple filters per association request"" 2017-03-09 18:30:53 +00:00
Hector Tellez
d66c95fa90 Revert "Support multiple filters per association request"
This reverts commit e70e6aa62c.

Change-Id: I12857cbbea0a0c74521191ab5e3713db230626ab
2017-03-09 17:55:43 +00:00
Eugene Susla
acddd2c2ae Merge "Support multiple filters per association request" 2017-03-09 17:19:20 +00:00
Felipe Leme
640f30a776 Replaced auto-fill by autofill to keep it consistent with API style.
This change will affects 2 types of apps: autofill service implementations
and apps that use autofill APIs.

Since just the former is known to be used at the moment, we're not trying
to keep backward compatibility with the latter.

Bug: 35956626
Test: CtsAutoFillServiceTestCases pass
Test: android.provider.SettingsBackupTest pass

Change-Id: Ia720083508716deae9e887f9faa7ae7c5a82f471
2017-03-09 08:14:49 -08:00
TreeHugger Robot
6e2026c348 Merge "Fix stale data due to stopped loader." 2017-03-09 15:13:09 +00:00
Narayan Kamath
a444636d39 Merge "MathUtils: Remove static Random field." 2017-03-09 11:13:39 +00:00
Martijn Coenen
c16b8a3b4c Merge "Remove interfaceChain from IServiceManager::add()" am: 4a75e32f1d am: 7665332a7a
am: 7669e41d8a

Change-Id: Ide4a33b8532954659a9c7c997d8d5203279a270e
2017-03-09 08:48:59 +00:00
Martijn Coenen
7665332a7a Merge "Remove interfaceChain from IServiceManager::add()"
am: 4a75e32f1d

Change-Id: I9443e22ed730c44abc6fd6f697f8b3f04b667f37
2017-03-09 08:39:15 +00:00
Martijn Coenen
4a75e32f1d Merge "Remove interfaceChain from IServiceManager::add()" 2017-03-09 08:33:04 +00:00
Lei Yu
18f805e73d Merge "Hook up screen brightness knob to DisplayPowerController." 2017-03-09 04:05:25 +00:00
TreeHugger Robot
c66b2d2313 Merge "Add OverlayManagerService#setEnableExclusive" 2017-03-09 03:14:57 +00:00
Donghyun Cho
d5386fd4ef Merge "CEC: Add a method to control standby mode of the device" 2017-03-09 02:06:52 +00:00
TreeHugger Robot
9042dddb24 Merge "Fix API checking for some" 2017-03-09 01:37:22 +00:00
Robert Carr
d5c7dd6da8 Modify SurfaceView to use SurfaceFlinger child surfaces.
Here we have SurfaceView bypass the WindowManager and speak
directly to SurfaceFlinger using child surfaces. We also
implement some logic in the WM to handle child surfaces
in various Surface replacement scenarios.

For those following along in the revert Saga, this
also includes the follow up CLs to the original CL.
- Surface inset calculation
- Animation fixes.

The error causing the revert was an incorrect JNI signature
around deferTransactionUntilSurface. I've noted it inline.

Bug: 28858420
Bug: 31518219
Bug: 34888808
Bug: 35588318
Bug: 35396882
Test: Existing tests still pass (except for the ones that don't and will be deleted).
Change-Id: Ie56b6f7ab16f32d7fc459b8eba26594337ad55de
2017-03-08 17:36:10 -08:00
TreeHugger Robot
fe01038616 Merge "Updated javadoc for ACTION_MANAGE_EXTERNAL_SOURCES" 2017-03-09 01:22:00 +00:00
TreeHugger Robot
7f61163340 Merge "Provided an AutofillCallback API." 2017-03-09 01:13:14 +00:00
Eugene Susla
e70e6aa62c Support multiple filters per association request
By supporting multiple filters per one request we should be able to cover
multiple kinds of use cases such as:
 - Letting the user select from a list of devices of more then one medium
 type (e.g. Bluetooth and BLE)
 - Allowing to provide multiple criteria for any field (e.g. filtering by
 more than one service UUID)

Bug: 30932767
Test: Provide multiple filters and ensure that devices matching either are
shown in the list to choose from.
Ensure wifi SSIDs are shown in the list if wifi filter is provided
Change-Id: I6621da388e2bf4ed97c5af2692629a321d0b63c7
2017-03-08 16:52:14 -08:00
TreeHugger Robot
35fe82fd54 Merge "Throw at getPackageSizeInfoAsUser() callers." 2017-03-09 00:10:03 +00:00
Eino-Ville Talvala
4e79fe7db0 Fix API checking for some
Using AIDL constants in the definition of public API static ints seems
to confuse build tools sometimes.  Switch to just duplicating the
constants until that's worked out.

Test: Builds, at least for me!
Change-Id: I0fbe95bc0492eb8b39687f25a6c7e073fbb65dc4
2017-03-08 16:03:47 -08:00
George Mount
899ca3236d Fix stale data due to stopped loader.
Bug 33185424

When stopping an CursorLoader while data is being loaded,
the load task will be canceled. This CL marks the data as
changed if the cancel is called while the loader is stopped.

Test: I63b48210a25be72d13a2a6182eb1757cbe6a1949
Change-Id: Ibf9c5facdcc5160f6ed146c5fdd063549ac2a7a8
2017-03-08 15:29:27 -08:00
TreeHugger Robot
61c9bf957b Merge "Optimize ViewStructure for autofill by removing irrelevant nodes." 2017-03-08 23:21:54 +00:00
TreeHugger Robot
62dd27ab3b Merge "Move lagging users over to new storage API." 2017-03-08 22:51:52 +00:00
Jeff Sharkey
e6306c485f 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: I6c6b5a37c23669e7b1ed3c30207bca610821eb1f
2017-03-08 15:25:38 -07:00
Felipe Leme
d04a697ede Optimize ViewStructure for autofill by removing irrelevant nodes.
Test: CtsAutoFillServiceTestCases (with new tests) pass
Fixes: 35840787

Change-Id: Iaa2c1907c8383b4a820fd7204e67fa2d276ad2b8
2017-03-08 13:31:38 -08:00
Jeff Sharkey
4f459b85d4 Merge "Revert "Throw at getPackageSizeInfoAsUser() callers."" 2017-03-08 21:19:42 +00:00
jackqdyulei
92681e8cfb Hook up screen brightness knob to DisplayPowerController.
This knob is designed to effectively tune the battery saver.

Bug: 34693888
Test: FrameworksServicesTests
Change-Id: I9fd7896f59fabd9baf649cdb12f01b1baaf4c34b
2017-03-08 13:15:19 -08:00
TreeHugger Robot
7e547fbe88 Merge "Replace AutoFillType by view constants." 2017-03-08 21:08:56 +00:00
TreeHugger Robot
932eb90eb4 Merge "Surrounding some field names with quotes to avoid breaking CSV assumptions." 2017-03-08 21:06:21 +00:00
Jeff Sharkey
60f95aa00a Move lagging users over to new storage API.
Over the last month we've been moving everyone over to the new
StorageStatsManager public APIs, but we missed these users.

The ApplicationsState changes are straightforward, but we had to
completely rewrite StorageMeasurement to use the new fast-path
quota APIs.

Test: builds, boots, UI using StorageMeasurement works.
Bug: 36056120
Change-Id: If02177c95bf8c96ae4eceac4d631a168f99bef84
2017-03-08 13:57:29 -07:00