302884 Commits

Author SHA1 Message Date
Diego Perez
c5708ef76d Catch all exceptions in NativeAllocationRegistry free
The NativeAllocationRegistry delegate free calls might run in the
context of the finalizer thread. If a crash happens during the free
call, it might bring down the finalizer thread and the VM.

Bug: http://b.android.com/213927
Change-Id: I8d4b8ab5b8d0532aad46f27d039a943894e021a0
2017-01-16 15:33:50 +00:00
Jerome Gaillard
02d091aa2a Merge "Update layoutlib following Change Id10ca97f on FontFamily" 2017-01-16 14:24:57 +00:00
Jerome Gaillard
8dd288f420 Merge "Add measure only call to layoutlib" 2017-01-16 14:24:15 +00:00
Jerome Gaillard
1a376e2df4 Merge "Create a mock Display Mode" 2017-01-16 14:20:51 +00:00
Narayan Kamath
f5bda2874f Merge "PackageParser: Disable package cache on "eng" builds." 2017-01-16 13:28:49 +00:00
Hugo Benichi
84f43a3e15 Merge "IP connectivity metrics: fix tests" 2017-01-16 08:28:47 +00:00
Hugo Benichi
a5bf819216 Stricter NetworkNotificationManagerTest
This patch changes NetworkNotificationManagerTest to populate extraInfo
of NetworkInfo in order to catch regressions in malformed format Strings
of log statements in NetworkNotificationManager.

Test: verified that the test fails when reintroducing the format String
bug.
Bug: 33737715

(cherry picked from commit a865790a5b30a2d5e29e3d443e7b02a5d8aa01a4)

Change-Id: Ic2f23e860a17cb83b90edcfd2ba365134cacfe36
2017-01-16 15:15:26 +09:00
Hugo Benichi
1af06a6e09 IP connectivity metrics: fix tests
Change 4e89a026292338761838b33fc83b250f3519819c did not update the unit
tests checking serialization of ipconnectivity.proto protobufs.

This patch updates the tests expectations to make them pass again

Test: $ runtest frameworks-net
Bug: 34232829
Change-Id: Iccc4e1a7714c9ce1eba995dc47a2961216efc87d
2017-01-16 14:42:56 +09:00
TreeHugger Robot
e8264a92ff Merge "GNSS O Features according to go/o-gps-hal" 2017-01-16 03:39:01 +00:00
gomo
4402af6be9 GNSS O Features according to go/o-gps-hal
Added "Tow Known" as a possible gnss measurement state. As well added Automatic Gain Control (AGC)
to allow jammer detection. Also added the GNSS carrier frequeny to SV status. Also added vertical
GPS position uncertainty, speed uncertainty and bearing uncertainty. Also propagate locaton new
fields to geofence engine.
Test: Existing unit tests still pass.

Change-Id: I472b2fd2516cb7614877dea4bb054a34f50844dc
2017-01-15 18:02:21 -08:00
Jesse Hall
b12249b671 Create GraphicsEnvironment for communicating with driver loaders
The GraphicsEnvironment class is given information during application
start, and makes it available to EGL/GLES/Vulkan loaders that don't
have easy access to the VM or to the application Context. Currently
only the driver path is handled, but the existing support for setting
library paths (for Vulkan extensions) and cache directory information
should move here.

Bug: 33531483
Test: various apps w/ and w/o driver package installed
Change-Id: I5820d3d1301d5461e10706f551b268c54d4f8926
2017-01-14 17:31:56 -08:00
Jean-Michel Trivi
c1fdd5df4a Merge "AudioPlaybackConfiguration has a player control interface" 2017-01-14 23:39:12 +00:00
TreeHugger Robot
18de051c98 Merge "Send EXTRA_USER with DevicePolicy lock broadcasts" 2017-01-14 17:12:57 +00:00
Bartosz Fabianowski
9e0642287e Merge "Add install reason" 2017-01-14 12:58:20 +00:00
TreeHugger Robot
88dd9b5df0 Merge "Update bluetooth device type icon color" 2017-01-14 08:30:22 +00:00
TreeHugger Robot
acb1d39224 Merge "Treble GNSS - Removing FlpHardwareProvider" 2017-01-14 04:47:07 +00:00
TreeHugger Robot
d475219711 Merge "Also scale down thumbnail in app transitions for grid recents" 2017-01-14 04:07:22 +00:00
TreeHugger Robot
b64bfd9f95 Merge "2D Recents: Make sure thumbnail fills task view in all orientations" 2017-01-14 03:57:09 +00:00
TreeHugger Robot
40d88717b3 Merge "Stop preloading EGL/GLES in Zygote" 2017-01-14 02:35:56 +00:00
Aurimas Liutikas
673de10bd0 Merge "Remove unused classes from com.android.internal.widget" 2017-01-14 01:23:10 +00:00
Roozbeh Pournader
93449caeca Merge "Treat Latin American locales specially" into nyc-mr2-dev am: 0e099a283e
am: bdb68feffd

Change-Id: Ic51c4a45b77e227ace457b9665050be99af56ffc
2017-01-14 01:16:43 +00:00
Roozbeh Pournader
315c4fbca3 Treat Latin American locales specially am: cf246af30d
am: 4115c64313

Change-Id: I3f6bb444b185df0998b3dc4e4aaa8e8db2db79cf
2017-01-14 01:15:30 +00:00
Roozbeh Pournader
bdb68feffd Merge "Treat Latin American locales specially" into nyc-mr2-dev
am: 0e099a283e

Change-Id: I2af561b25f9023bc7970d653386b6ca94430be73
2017-01-14 01:10:30 +00:00
Yifan Hong
383679bc1b Merge "BBinder -> BHwBinder." am: fe4d257887 am: 051b14106f am: 24b33094f6
am: 1bc9d241f6

Change-Id: I872c4f18f1a9c8fa8247f9c2b0f40107c1b51daa
2017-01-14 01:10:29 +00:00
Roozbeh Pournader
4115c64313 Treat Latin American locales specially
am: cf246af30d

Change-Id: I98ff3b1774e6cc3511fcd296d9cec5ccfce03c40
2017-01-14 01:10:25 +00:00
Yifan Hong
1bc9d241f6 Merge "BBinder -> BHwBinder." am: fe4d257887 am: 051b14106f
am: 24b33094f6

Change-Id: I4781adad935ca77148226e0ed7df5f0b5b953daa
2017-01-14 01:05:04 +00:00
TreeHugger Robot
0e099a283e Merge "Treat Latin American locales specially" into nyc-mr2-dev 2017-01-14 01:02:46 +00:00
Yifan Hong
24b33094f6 Merge "BBinder -> BHwBinder." am: fe4d257887
am: 051b14106f

Change-Id: I148771849faf22aabdcd3861e867913408d84c11
2017-01-14 01:00:31 +00:00
Yifan Hong
051b14106f Merge "BBinder -> BHwBinder."
am: fe4d257887

Change-Id: Iefe63e614d5c90f33d807aba8fac3f2095972ae8
2017-01-14 00:55:55 +00:00
Yifan Hong
fe4d257887 Merge "BBinder -> BHwBinder." 2017-01-14 00:49:23 +00:00
Sudheer Shanka
33f78f89ac Merge "Emulator: Fix CTS failure caused by removed MANAGE_USERS permission in Shell" into nyc-mr2-dev am: bdd0a2b14a
am: 3102b3c37f

Change-Id: Ia069a59715a6057aba0c742a806cf73fe85489f9
2017-01-14 00:40:09 +00:00
bohu
ed59e0e41d Emulator: Fix CTS failure caused by removed MANAGE_USERS permission in Shell am: d91dd06591
am: 906a21ba08

Change-Id: I592165bf4b159a93c388bc55b0a930667fdc1377
2017-01-14 00:38:57 +00:00
Muyuan Li
85623e3a13 Merge "update navbar assets for sw900dp device." into nyc-mr2-dev am: 659a650141
am: 8139b9f0dd

Change-Id: Ib0b87365a5dff779ff103b76f20aea559153c21a
2017-01-14 00:38:04 +00:00
Muyuan Li
38a4c8ade8 update navbar assets for sw900dp device. am: b3152ab966
am: dd804d6b3a

Change-Id: Ia6a13f26bee3341482bad0606afd670ca89d0cc3
2017-01-14 00:37:01 +00:00
Chris Craik
ffed3de159 Merge "Support shadows and reordering in ViewOverlay" into nyc-mr2-dev am: 4638ef17d5
am: f56832a949

Change-Id: I0dd2a5226276dc74addf01d683d2a64cb55fa9a4
2017-01-14 00:36:02 +00:00
Chris Craik
2553b92c0c Support shadows and reordering in ViewOverlay am: 36d9a6dfba
am: 2369a6d753

Change-Id: I1f6574a4b9a1d24ccd4fc78cbc7e3368d815f8f5
2017-01-14 00:35:02 +00:00
Andrew Scull
74ebc576b4 Merge "Merge "Don't save password metrics to disk." into nyc-dev am: 97848fc473 am: ea9463f542 am: 66d66dd50c am: b2db3761cd am: eadd29ffa6" into nyc-mr2-dev-plus-aosp
am: e688b70eb2

Change-Id: I48bfc9548432bdf41021d956617b1b37cc3c46ff
2017-01-14 00:33:43 +00:00
Andrew Scull
8e94c7b397 Merge "Don't save password metrics to disk." into nyc-dev am: 97848fc473 am: ea9463f542 am: 66d66dd50c am: b2db3761cd am: eadd29ffa6
am: 833bed16ba

Change-Id: I67c391cd59f53682267b98a4db961cc9f9cf08fa
2017-01-14 00:33:31 +00:00
Andrew Scull
7b2b3ad337 Merge "resolve merge conflicts of ad4aa1ce7d3d to nyc-mr1-dev am: eb35ad9969 am: 3aac3ebee1 am: 9af145dcc4" into nyc-mr2-dev-plus-aosp
am: 6d85c8a833

Change-Id: I39820d0ae4d6f7b9c04451bb0969976004e6f133
2017-01-14 00:31:59 +00:00
Andrew Scull
5b2a939d01 resolve merge conflicts of ad4aa1ce7d3d to nyc-mr1-dev am: eb35ad9969 am: 3aac3ebee1 am: 9af145dcc4
am: 4c349b67aa

Change-Id: I4718d7e2c73a5f84ca43789a09db5f3ab9a6b5d6
2017-01-14 00:31:51 +00:00
Andrew Scull
3ff37effcf Merge "Merge "Don't save password metrics to disk." into nyc-dev am: 97848fc473 am: ea9463f542 am: 66d66dd50c am: b2db3761cd am: 32992b4049" into nyc-mr2-dev-plus-aosp
am: c697ffe98b

Change-Id: I79d4ec95100e09eb6225cbfe900bceb357ee6b71
2017-01-14 00:30:22 +00:00
Andrew Scull
a78e32c324 Merge "Don't save password metrics to disk." into nyc-dev am: 97848fc473 am: ea9463f542 am: 66d66dd50c am: b2db3761cd am: 32992b4049
am: bc94427593

Change-Id: I7e3cc5845ddafa4299f3bec1c2d40c05a66ffa99
2017-01-14 00:30:15 +00:00
Andrew Scull
1232590006 Merge "resolve merge conflicts of ad4aa1ce7d3d to nyc-mr1-dev am: eb35ad9969 am: 3aac3ebee1 am: 3c9b36482f" into nyc-mr2-dev-plus-aosp
am: 0877a45f02

Change-Id: I8b4a708f5204346e791f5450bfaa4501afa3704b
2017-01-14 00:28:46 +00:00
Andrew Scull
c4347a5450 resolve merge conflicts of ad4aa1ce7d3d to nyc-mr1-dev am: eb35ad9969 am: 3aac3ebee1 am: 3c9b36482f
am: 8203155664  -s ours

Change-Id: I920c10e52faef95e0d3d55e075fdc85610b358c0
2017-01-14 00:28:39 +00:00
Sudheer Shanka
3102b3c37f Merge "Emulator: Fix CTS failure caused by removed MANAGE_USERS permission in Shell" into nyc-mr2-dev
am: bdd0a2b14a

Change-Id: I4697f24ecef7cc439c94352ba2aaf98cf34bbe61
2017-01-14 00:17:40 +00:00
bohu
906a21ba08 Emulator: Fix CTS failure caused by removed MANAGE_USERS permission in Shell
am: d91dd06591

Change-Id: Ie178b790e11eb081857cd67c7f9af7fa95914868
2017-01-14 00:17:33 +00:00
Sudheer Shanka
bdd0a2b14a Merge "Emulator: Fix CTS failure caused by removed MANAGE_USERS permission in Shell" into nyc-mr2-dev 2017-01-14 00:10:08 +00:00
Jean-Michel Trivi
9dc22c227c AudioPlaybackConfiguration has a player control interface
An AudioPlaybackConfiguration contains an IPlayer
  interface for system control of a player. It is not
  exposed to non-system signature components.
AudioService, through PlaybackActivityMonitor, is monitoring
  the death of the IPlayer so the matching player can get
  unregistered  in case it meets its maker.

Test: use vendor/google_toolbox/team/audio/cmds/ClPlaybackActivity
Bug: 30258418

Change-Id: Ibf3bceba91882ff16bffbf1219c55a1f89ccb13f
2017-01-13 23:49:29 +00:00
Jesse Hall
9c9cc3e94d Stop preloading EGL/GLES in Zygote
It's not clear this actually makes much difference on modern
devices/drivers. With updatable graphics drivers, we'd have to be able
to unload the preloaded driver from processes that don't use the
system driver, which is additional complexity and risk.

On bullhead and sailfish, meminfo actually showed slightly more memory
available while sitting at launcher just after boot with this change
than previously. Looking at detailed stats, the differences appeared
to mostly within run-to-run variation, but there wasn't evidence of a
regression.

Bug: 33531483
Test: boot through lockscreen/launcher
Change-Id: I1892302c1750cdbeaf5b9979f8da4dc6bd7b3e75
2017-01-13 15:32:38 -08:00
Zak Cohen
9013325c3a Merge changes from topic 'vrmode'
* changes:
  Set ui mode in UiModeManagerService to vrheadset when VR mode is enabled.
  Introduce new UI_MODE_TYPE_VR_HEADSET and qualifier.
2017-01-13 23:15:00 +00:00