Commit Graph

301953 Commits

Author SHA1 Message Date
Bill Yi
b3b6b8171f Import translations. DO NOT MERGE am: 95cd3f1976 -s ours am: f432618582 -s ours
am: 5b76d7851d  -s ours

Change-Id: I5ff4df11eb70892778004c6dfceecc87d65fa7ba
2016-11-09 02:50:23 +00:00
Erik Kline
1f08afa239 Merge "Handle IpReachabilityMonitor errors better." into nyc-mr2-dev am: 88424ed1b2
am: 7add842b43

Change-Id: I39d90c71f173b72b1193d4a5f511da3d01813287
2016-11-09 02:49:23 +00:00
Erik Kline
5f4a37c9aa Handle IpReachabilityMonitor errors better. am: e452660466
am: d8a06fa28a

Change-Id: I820f887205de7565bbf70fe66de66680fa571475
2016-11-09 02:48:22 +00:00
Bill Yi
1fbaeedf8c Merge "Import translations. DO NOT MERGE" into cw-f-dev am: aa13d0f09d -s ours
am: 497956cf15  -s ours

Change-Id: I75369b3d4c5dfa7ed1bb703c19a2e8c35251caf5
2016-11-09 02:39:43 +00:00
Bill Yi
5b76d7851d Import translations. DO NOT MERGE am: 95cd3f1976 -s ours
am: f432618582  -s ours

Change-Id: I25f9d4fe5ffb60461bf087b4fcaf88f473850df6
2016-11-09 02:38:47 +00:00
Erik Kline
7add842b43 Merge "Handle IpReachabilityMonitor errors better." into nyc-mr2-dev
am: 88424ed1b2

Change-Id: Ibd1a629182efc5b8e5db9fa6299496ff217df029
2016-11-09 02:37:21 +00:00
Erik Kline
d8a06fa28a Handle IpReachabilityMonitor errors better.
am: e452660466

Change-Id: I3bb9ce7caa99e166ddc576399453fcc9e172d6a6
2016-11-09 02:37:17 +00:00
Bill Yi
497956cf15 Merge "Import translations. DO NOT MERGE" into cw-f-dev
am: aa13d0f09d  -s ours

Change-Id: I8580ef0aca3b98579053a3eae475167b2037c3ed
2016-11-09 02:32:19 +00:00
Bill Yi
f432618582 Import translations. DO NOT MERGE
am: 95cd3f1976  -s ours

Change-Id: I1e881c254423133430aae108a87d349d49ba07d6
2016-11-09 02:32:18 +00:00
TreeHugger Robot
aa13d0f09d Merge "Import translations. DO NOT MERGE" into cw-f-dev 2016-11-09 02:26:16 +00:00
Hugo Benichi
fce4e43167 Merge "DhcpClient: guard against failure to parse packets" into mnc-dev 2016-11-09 02:24:45 +00:00
TreeHugger Robot
fd869cfe53 Merge "Add ability to modify credential via shell command" 2016-11-09 02:04:25 +00:00
Romain Guy
12ae9a0736 Improve support for half floats and expose as public API
Half floats (often called fp16) are commonly used to store floating
point data efficiently without having to use lossy compression schemes.

Half floats are commonly used in the following cases:
- Wide gamut colors
- Meshes (OpenGL and Vulkan)
- HDR images/textures
- Lookup tables as textures (OpenGL and Vulkan), particularly
  in physically-based renderers
- Maching learning/compute

OpenGL and Renderscript both provide Java language APIs that accept
half floats but the platform offers no support to create fp16 values
from fp32 data. The Half class is an IEEE 754 compliant implementation
of half floats that can be used to feed OpenGL and Renderscript properly
encoded values. A comprehensive series of test is also added to CTS.

Test: cts-tradefed run singleCommand cts-dev --module CtsUtilTestCases --test android.util.cts.HalfTest
Bug: 29940137

Change-Id: I908bde7b3c6f65f7a24e0ab5652be4d16cc0358d
2016-11-08 17:58:54 -08:00
TreeHugger Robot
c62ca218ba Merge "Add AppFuseBridge class to the system service." 2016-11-09 01:49:23 +00:00
TreeHugger Robot
664e8e5829 Merge "Move wallpaper related methods to WallpaperToken" 2016-11-09 01:43:03 +00:00
liangweikang
a9c9bf5106 fixed applyConfigurationToResourcesLocked WeakReference is null
https://code.google.com/p/android/issues/detail?id=226956

Test: compile anr monkey test

Signed-off-by: liangweikang <liangweikang900911@gmail.com>
2016-11-09 01:40:33 +00:00
Bill Yi
95cd3f1976 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 32363164
Change-Id: I8b2e02fa6ddcf65e7bd9f413e9d31022b60b57a5
2016-11-08 17:24:36 -08:00
Erik Kline
88424ed1b2 Merge "Handle IpReachabilityMonitor errors better." into nyc-mr2-dev 2016-11-09 01:21:26 +00:00
Randy Pan
7872f39869 Wifi Tx/Rx rate computation
Factor in the timestamp when computing the Tx/Rx rates. The
reported rate is a combination of current and previous rates
with a heavier weight from the current rate.

Bug: 30982272
Test: Ran the new image and compared the results against the
      old algorithm.

Change-Id: I485b7002416f382993353d9f6240ea63cb08ddae
2016-11-09 00:39:39 +00:00
TreeHugger Robot
1183883b2e Merge "Implement new API" 2016-11-09 00:30:44 +00:00
Jorim Jaggi
879ff721be Move wallpaper related methods to WallpaperToken
It was a bit weird to have them in WindowToken, so we create
WallpaperToken where they have a better home.

Test: Device still boots, wallpaper scrolling still
works.
Change-Id: I81576420f31e01a0ac615f6dcb73fec201b14be8
2016-11-08 15:58:01 -08:00
Jorim Jaggi
2fef6f7b15 Add ability to modify credential via shell command
Test: adb shell locksettings set-pattern 1234
Test: adb shell locksettings set-pin --old 1234 1234
Test: adb shell locksettings set-password --old 1234 1234
Test: adb shell locksettings clear --old 1234
Test: runtest frameworks-services -c
com.android.server.LockSettingsShellCommandTest

Change-Id: I8f541effc7eab0d7453cd9a9b46c280a6425e258
2016-11-08 15:52:15 -08:00
Adam Lesinski
f96789d37c Merge "Add font type to AAPT2" 2016-11-08 23:03:58 +00:00
Dianne Hackborn
80361c9ea7 Merge "Move code for handling uid obs "cutoff" to activity manager" 2016-11-08 23:03:21 +00:00
Felipe Leme
5381aa4b58 Initial implementation of the Auto-Fill Framework classes.
This CL provides the initial, skeleton implementation of the Auto-Fill
Framework classes:

- Defines the system service and app-based
  AIDL (IAutoFillManagerService.aidl and IAutoFillService.aidl respectively).
- Defines the 'adb shell cmd' interface.
- Defines the permission required to access the service.
- Registers the service on SystemServer.
- Adds the code to bind the app-specified service to system_server.
- Defines the service class (AutoFillService) required by providers.
- Implements the initial startSession() method.

This is still a very early, "work-in-progress" change:
- It has many TODOs.
- It does not have unit or CTS tests yet.
- It does not provide a callback method to auto-fill the fields.
- In fact, it has a lot of TODOs.

Despite these adversities, it can be tested by following the steps
below:

1.Create an app with a service extending AutoFillService

2.Implement the onNewSession() method

3.In the manifest:
 - Listen to android.service.autofill.AutoFillService intents.
 - Require the android.permission.BIND_AUTO_FILL permission.

4.Explicitly set the app as an autofill-service by running:
  adb shell settings put secure auto_fill_service MY_APP/.MY_SERVICE

5.Start a session against the top activity:
  adb shell cmd autofill start session

BUG: 31001899
Test: manually built and ran it

Change-Id: I00f4822159b31ddddba8f513e57c4474bc74eb89
2016-11-08 14:40:56 -08:00
Adrian Roos
e9d8272e9a Keyguard: Fix screenTurnedOn trace tag
Test: run systrace, check tags are correct
Change-Id: I7c7bbc103d20daedb708997b7a7f40e9e3dcb8d3
2016-11-08 14:32:30 -08:00
Michael Kwan
686de42711 Enable swipe to dismiss for watch devices.
Bug: 32745441
Change-Id: Ic59784e6cd52e32d57ec845ceec02d726e6e4ef0
2016-11-08 14:29:26 -08:00
Philip Cuadra
5b5e08dcdf Merge "Pinner Service - update Camera app max size to 80MB" into nyc-mr2-dev am: c2cbd3380b
am: 9c3b89dfc7

Change-Id: If7636c43bbc19a75427a2532d4a71cd0ff1e9b6b
2016-11-08 22:27:44 +00:00
Philip Cuadra
b9f0d27738 Pinner Service - update Camera app max size to 80MB am: ac39b9626d
am: 635c494841

Change-Id: I257a03cadefaacbc7136b1546d58165eadb87072
2016-11-08 22:26:34 +00:00
Philip Cuadra
9c3b89dfc7 Merge "Pinner Service - update Camera app max size to 80MB" into nyc-mr2-dev
am: c2cbd3380b

Change-Id: I3dcbcafdb1cff59863c836a572347b7e88b3bbde
2016-11-08 22:18:28 +00:00
Philip Cuadra
635c494841 Pinner Service - update Camera app max size to 80MB
am: ac39b9626d

Change-Id: I71ac0010c55b0362b878d294288779279a16cdf5
2016-11-08 22:18:17 +00:00
TreeHugger Robot
8f68c8b9a8 Merge "Always scan all apps after each OTA for manifest shortcuts" 2016-11-08 22:06:26 +00:00
TreeHugger Robot
c2cbd3380b Merge "Pinner Service - update Camera app max size to 80MB" into nyc-mr2-dev 2016-11-08 22:05:21 +00:00
Abhishek Adappa
2449564455 ims:rcs: New API change to notify EAB about UnPublish
Desc: New API change to notify EAB about UnPublish Message
sent to network

Change-Id: Ic5d8bef04f390e850cedef2cab55e8214e6d1f4e
2016-11-08 14:04:37 -08:00
Steven Moreland
78c6b4cfa5 Merge "Update for namespaced services in hwservicemanager." am: 605df82c9e am: 3dcee9882d am: 1a384933df
am: 97186e09ae

Change-Id: Idc856de883500636be54f91d7529a1cc82c7313e
2016-11-08 21:48:59 +00:00
Todd Kennedy
e5195dd17c Implement new API
This is the first swack at the new, 2-phase API. Adds the new methods
to the resolver service and makes the split name explicit on the
installer intent.

The 2nd phase will not yet be invoked; that's coming in a follow-on
change.

Bug: 25119046
Test: build & install the sample resolver and run 'adb shell am start -a android.intent.action.VIEW -c android.intent.category.BROWSABLE -d "https://www.tripadvisor.com/Tourism-g33020-San_Jose_California-Vacations.html"'
Change-Id: I2df6fa64d46f17a86a2e32b19417632c594fb10f
2016-11-08 13:47:28 -08:00
Steven Moreland
97186e09ae Merge "Update for namespaced services in hwservicemanager." am: 605df82c9e am: 3dcee9882d
am: 1a384933df

Change-Id: I3ab231d9342ec1100866d3da2d752c70793cdcd8
2016-11-08 21:36:10 +00:00
Steven Moreland
1a384933df Merge "Update for namespaced services in hwservicemanager." am: 605df82c9e
am: 3dcee9882d

Change-Id: I929f34098061e084f1d9a92070179351c65d5acc
2016-11-08 21:29:31 +00:00
Xin Li
cc115c5931 Merge "Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into marshmallow-dev" into mnc-dev." into mnc-dev 2016-11-08 21:25:43 +00:00
Xin Li
49b144e630 Merge "Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into nougat-dev" into nyc-dev." into nyc-dev 2016-11-08 21:24:59 +00:00
TreeHugger Robot
00c2ed26f6 Merge "Add an extra to pass initial location URI for file choosers." 2016-11-08 21:24:55 +00:00
Xin Li
78f15948fb Merge "Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into lollipop-mr1-dev" into lmp-mr1-dev." into lmp-mr1-dev 2016-11-08 21:24:17 +00:00
Steven Moreland
3dcee9882d Merge "Update for namespaced services in hwservicemanager."
am: 605df82c9e

Change-Id: I38d861ca107665f1f865f19eebd1be368a8c77a4
2016-11-08 21:20:57 +00:00
Treehugger Robot
605df82c9e Merge "Update for namespaced services in hwservicemanager." 2016-11-08 21:10:07 +00:00
Julia Reynolds
af0f1e071d Merge "Have a userId? use it." 2016-11-08 20:51:15 +00:00
Jason Monk
bbe6f49147 Merge "Allow persistent changes to the vendor overlay theme" 2016-11-08 19:54:27 +00:00
Vadim Tryshev
16bb2c75d0 Not blocking focus on action bar on tab
When the focus jumps from action bar to
outside of it, action bar disables focusing
on it so that tabbing couldn’t get back to it.
Currently, it does the check that the focus
has left the bar from onFocusChange(), when
the internal data structures are in process
of updating the current focus; as a result, the
check may report a wrong result, and the
focus will be blocked while it’s actually is still in
the action bar. This caused the action bar to
lose focus.
The fix makes the check in a posted action,
fixing the issue.

Bug: 32087180
Test: Manual test that the issue doesn’t repro.
Change-Id: I67069d2ae58f2843e6fcc8c705943324cc1533f4
2016-11-08 11:47:16 -08:00
Dianne Hackborn
5614bf5a1a Move code for handling uid obs "cutoff" to activity manager
To do this, I had to fix the PROCESS_STATE_NONEXISTENT constant
to be the last value (instead of the special magical -1 value)
so it semantically matches the public importance constants.  I
think this is better anyway.

Also this fixes a big problem in the implementation, where we
weren't keeping track of the last proc state per uid...!  Duh.

Test: manually ran testUidImportanceListener
Change-Id: Ie3008f824446089840f896885e6033472abb065e
2016-11-08 11:38:04 -08:00
Manu Cornet
3799c85248 Merge "DO NOT MERGE - Slightly better encapsulation for the set of recent activities" into nyc-mr2-dev am: c7f90bfb4f
am: ced2abbc7b  -s ours

Change-Id: I4fb6c67a6d7c30325046caf2adfab4e23eeaf2ff
2016-11-08 19:34:15 +00:00
Manu Cornet
3a4932e006 DO NOT MERGE - Slightly better encapsulation for the set of recent activities am: 6abecd2c2a
am: b1d7726419  -s ours

Change-Id: I1ea668b992243b9c08729ba5b184cbbc3eb901c3
2016-11-08 19:32:51 +00:00