OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Attempt to fix bug where OwnerInfo gets lost." into nyc-dev
Jim Miller [Wed, 2 Mar 2016 23:01:58 +0000 (23:01 +0000)]
Merge "Attempt to fix bug where OwnerInfo gets lost." into nyc-dev

8 years agoMerge "Revert the default wall paper for framework / emulator b/27451024 Change-Id...
Hyunyoung Song [Wed, 2 Mar 2016 22:54:04 +0000 (22:54 +0000)]
Merge "Revert the default wall paper for framework / emulator b/27451024 Change-Id: I68ed094f44f1b4c48407497790f809147ec0ad5a" into nyc-dev

8 years agoMerge "config_supportsMultiWindow for device to specify multi-window support" into...
Wale Ogunwale [Wed, 2 Mar 2016 21:55:20 +0000 (21:55 +0000)]
Merge "config_supportsMultiWindow for device to specify multi-window support" into nyc-dev

8 years agoMerge "Camera2: Switch to auto-gen C++ binder interfaces" into nyc-dev
Eino-Ville Talvala [Wed, 2 Mar 2016 21:47:08 +0000 (21:47 +0000)]
Merge "Camera2: Switch to auto-gen C++ binder interfaces" into nyc-dev

8 years agoMerge "Fix a regression in SettingsProvider" into nyc-dev
Svetoslav Ganov [Wed, 2 Mar 2016 21:32:04 +0000 (21:32 +0000)]
Merge "Fix a regression in SettingsProvider" into nyc-dev

8 years agoMerge "checking additional metadata and completed categories before displaying sugges...
Ido Ofir [Wed, 2 Mar 2016 21:30:34 +0000 (21:30 +0000)]
Merge "checking additional metadata and completed categories before displaying suggested actions in settings." into nyc-dev

8 years agoFix a regression in SettingsProvider
Svetoslav Ganov [Wed, 2 Mar 2016 21:26:40 +0000 (13:26 -0800)]
Fix a regression in SettingsProvider

bug24990012

Change-Id: I1631d125df029f559ffc059ffcb73067389184e8

8 years agoMerge "Grant fixed SMS & Phone permission to package handling the twinning settings...
Pierre-Laurent Coirier [Wed, 2 Mar 2016 21:14:49 +0000 (21:14 +0000)]
Merge "Grant fixed SMS & Phone permission to package handling the twinning settings intent." into cw-e-dev am: 54c3808802
am: 0048acfc16  -s ours

* commit '0048acfc16dc29aef69faeafa1200d0fd0206763':
  Grant fixed SMS & Phone permission to package handling the twinning settings intent.

8 years agoMerge "Guard against battery tile crash" into nyc-dev
Jason Monk [Wed, 2 Mar 2016 21:08:11 +0000 (21:08 +0000)]
Merge "Guard against battery tile crash" into nyc-dev

8 years agoGuard against battery tile crash
Jason Monk [Wed, 2 Mar 2016 21:04:39 +0000 (16:04 -0500)]
Guard against battery tile crash

Bug: 27419759
Change-Id: Ic152ab56f7648e7346cbddf21840bd5313e50d3c

8 years agoMerge "Fix crash while editing QS" into nyc-dev
Jason Monk [Wed, 2 Mar 2016 20:31:13 +0000 (20:31 +0000)]
Merge "Fix crash while editing QS" into nyc-dev

8 years agoFix crash while editing QS
Jason Monk [Wed, 2 Mar 2016 20:28:30 +0000 (15:28 -0500)]
Fix crash while editing QS

Bug: 27061859
Change-Id: I758bb6b881eadddca1a2e4eaae7b24319e512d14

8 years agoMerge "Allow notifications to be hidden from lockscreen at a package level." into...
Julia Reynolds [Wed, 2 Mar 2016 20:15:52 +0000 (20:15 +0000)]
Merge "Allow notifications to be hidden from lockscreen at a package level." into nyc-dev

8 years agoAllow notifications to be hidden from lockscreen at a package level.
Julia Reynolds [Wed, 24 Feb 2016 13:31:22 +0000 (08:31 -0500)]
Allow notifications to be hidden from lockscreen at a package level.

Bug: 26642033
Change-Id: I67674ea9d42ee6b5865702be5d9ab2b09b53e15f

8 years agoMerge "Delay power broadcasts until system is booted." into nyc-dev
Jeff Sharkey [Wed, 2 Mar 2016 20:10:46 +0000 (20:10 +0000)]
Merge "Delay power broadcasts until system is booted." into nyc-dev

8 years agoMerge "Force disconnect when the surface is about to be saved." into nyc-dev
Chong Zhang [Wed, 2 Mar 2016 20:10:09 +0000 (20:10 +0000)]
Merge "Force disconnect when the surface is about to be saved." into nyc-dev

8 years agoDelay power broadcasts until system is booted.
Jeff Sharkey [Wed, 2 Mar 2016 20:07:56 +0000 (13:07 -0700)]
Delay power broadcasts until system is booted.

When the system isn't booted yet, enqueue any early broadcasts to be
sent after the system is ready.

Bug: 27449137
Change-Id: I5a93be3a2cf4d038149b54e0510b040fd69d3579

8 years agoMerge "Shrink button ripple on QS btns to 36dp" into nyc-dev
Jason Monk [Wed, 2 Mar 2016 20:07:33 +0000 (20:07 +0000)]
Merge "Shrink button ripple on QS btns to 36dp" into nyc-dev

8 years agoMerge "DevicePolicyManager#removeKeyPair- update contract" into nyc-dev
Robin Lee [Wed, 2 Mar 2016 20:05:39 +0000 (20:05 +0000)]
Merge "DevicePolicyManager#removeKeyPair- update contract" into nyc-dev

8 years agoMerge "Don't show title in delete confirmation." into nyc-dev
Steve McKay [Wed, 2 Mar 2016 19:56:20 +0000 (19:56 +0000)]
Merge "Don't show title in delete confirmation." into nyc-dev

8 years agoDevicePolicyManager#removeKeyPair- update contract
Robin Lee [Wed, 2 Mar 2016 19:54:04 +0000 (19:54 +0000)]
DevicePolicyManager#removeKeyPair- update contract

May also return true if the keypair didn't exist in the first place
which is a small reduction in the amount of information leakage, but
more importantly lets a caller be sure about keystore state at the end
of their call.

Bug: 27335182
Change-Id: I5e6d4c599b74f031e3f6d17cb7540898ffaf2571

8 years agoShrink button ripple on QS btns to 36dp
Jason Monk [Wed, 2 Mar 2016 19:52:27 +0000 (14:52 -0500)]
Shrink button ripple on QS btns to 36dp

Bug: 27388390
Change-Id: I1efbedfdf720edf4cf5d43797da59904d91cb543

8 years agoRevert the default wall paper for framework / emulator
Hyunyoung Song [Wed, 2 Mar 2016 19:50:16 +0000 (11:50 -0800)]
Revert the default wall paper for framework / emulator
b/27451024
Change-Id: I68ed094f44f1b4c48407497790f809147ec0ad5a

8 years agoMerge "Add edit title to QS edit" into nyc-dev
Jason Monk [Wed, 2 Mar 2016 19:48:24 +0000 (19:48 +0000)]
Merge "Add edit title to QS edit" into nyc-dev

8 years agoMerge "Guard against monkey crash" into nyc-dev
Jason Monk [Wed, 2 Mar 2016 19:48:00 +0000 (19:48 +0000)]
Merge "Guard against monkey crash" into nyc-dev

8 years agoMerge "Tweak root item layouts." into nyc-dev
Ben Kwa [Wed, 2 Mar 2016 19:39:04 +0000 (19:39 +0000)]
Merge "Tweak root item layouts." into nyc-dev

8 years agoGuard against monkey crash
Jason Monk [Wed, 2 Mar 2016 19:38:31 +0000 (14:38 -0500)]
Guard against monkey crash

Bug: 27448755
Change-Id: I8345a274c979bf8ca1b4041c14318dd73810f79a

8 years agoMerge "Check process state when killing background processes for density" into nyc-dev
Alan Viverette [Wed, 2 Mar 2016 19:21:16 +0000 (19:21 +0000)]
Merge "Check process state when killing background processes for density" into nyc-dev

8 years agoAdd edit title to QS edit
Jason Monk [Wed, 2 Mar 2016 19:11:14 +0000 (14:11 -0500)]
Add edit title to QS edit

Bug: 27439419
Change-Id: I3807dc56a05b1ffafcd9b390dfdbc1da9a7ebcac

8 years agoSupport keyboard entry of non-ASCII characters
Jim Kaye [Thu, 11 Feb 2016 16:27:51 +0000 (08:27 -0800)]
Support keyboard entry of non-ASCII characters

Add characters to the keyboard mapping to allow them
to be entered into the AVD from the developer's PC
keyboard.

This mapping supports the non-ASCII keys that appear
on the "US International" keyboard. Most of the Latin-1
characters (but not all) appear on this keyboard.

This change does not remove support for any keys.

b.android.com/200042

Change-Id: I65d54eb36183382b171c388b26848941eb0ff8d9
(cherry picked from commit dac57966a9ddc2e3dbd233c8b1e7b83f60e11373)

8 years agoMerge "Grant fixed SMS & Phone permission to package handling the twinning settings...
Pierre-Laurent Coirier [Wed, 2 Mar 2016 18:53:21 +0000 (18:53 +0000)]
Merge "Grant fixed SMS & Phone permission to package handling the twinning settings intent." into cw-e-dev
am: 54c3808802

* commit '54c3808802e643785cc76b29067d1119e9c78af4':
  Grant fixed SMS & Phone permission to package handling the twinning settings intent.

8 years agoMerge changes I4f72448f,I74b7233c into nyc-dev
Chris Craik [Wed, 2 Mar 2016 18:52:33 +0000 (18:52 +0000)]
Merge changes I4f72448f,I74b7233c into nyc-dev

* changes:
  Fix ripple positioning within scrolled node
  Clip projected ripples to outlines

8 years agoMerge "Always show intern storage." into nyc-dev
Steve McKay [Wed, 2 Mar 2016 18:49:27 +0000 (18:49 +0000)]
Merge "Always show intern storage." into nyc-dev

8 years agoFix ripple positioning within scrolled node
Chris Craik [Wed, 2 Mar 2016 02:48:37 +0000 (18:48 -0800)]
Fix ripple positioning within scrolled node

bug:27275799

Skip applying clip/matrix properties from projected node op, since we
don't want to respect the clip, and matrix is already baked into
transformFromCompositedAncestor.

This skips op clips in the new pipeline, and fixed a double application
of scroll on ripple backgrounds.

Change-Id: I4f72448fe0463ab666564ca538d8b6bf525d98de

8 years agoAlways show intern storage.
Steve McKay [Tue, 1 Mar 2016 23:41:47 +0000 (15:41 -0800)]
Always show intern storage.

Only show debug root when devel mode is enabled.
Remove all traces of "advanced".

Bug: 27297398

Change-Id: Ie7e8be282531bd245351d56ababa8ca625c10fd2

8 years agoMerge "PIP: Show recents again when PIP menu is closed" into nyc-dev
Dongwon Kang [Wed, 2 Mar 2016 18:34:08 +0000 (18:34 +0000)]
Merge "PIP: Show recents again when PIP menu is closed" into nyc-dev

8 years agoMerge "AssetManager: Cache a pre-filtered list of configurations" into nyc-dev
Adam Lesinski [Wed, 2 Mar 2016 18:32:15 +0000 (18:32 +0000)]
Merge "AssetManager: Cache a pre-filtered list of configurations" into nyc-dev

8 years agoMerge "Don't change resize mode if AM didn't dock the task as requested" into nyc-dev
Chong Zhang [Wed, 2 Mar 2016 18:29:57 +0000 (18:29 +0000)]
Merge "Don't change resize mode if AM didn't dock the task as requested" into nyc-dev

8 years agoClip projected ripples to outlines
Chris Craik [Tue, 1 Mar 2016 21:27:54 +0000 (13:27 -0800)]
Clip projected ripples to outlines

bug:27343928

Also fixes positioning of ripples to a scrolled projection receiver.

Change-Id: I74b7233c46d7c15839ca8bf50e188ba6646d7432

8 years agoMerge "Removes swipe-to-dismiss from Wear window styles." into nyc-dev
Gus Prevas [Wed, 2 Mar 2016 18:28:27 +0000 (18:28 +0000)]
Merge "Removes swipe-to-dismiss from Wear window styles." into nyc-dev

8 years agoMerge "Added dump method to NetworkTimeUpdateService" into nyc-dev
Fyodor Kupolov [Wed, 2 Mar 2016 18:18:35 +0000 (18:18 +0000)]
Merge "Added dump method to NetworkTimeUpdateService" into nyc-dev

8 years agochecking additional metadata and completed categories before displaying
Ido Ofir [Tue, 1 Mar 2016 21:27:54 +0000 (13:27 -0800)]
checking additional metadata and completed categories before displaying
suggested actions in settings.

Bug: 27271616
Change-Id: I855bc03337b04c5ff685c102f44dfc0d6638592b

8 years agoMerge "add all those great comments from the other file" into nyc-dev
Chris Wren [Wed, 2 Mar 2016 17:51:23 +0000 (17:51 +0000)]
Merge "add all those great comments from the other file" into nyc-dev

8 years agoPIP: Show recents again when PIP menu is closed
Jaewan Kim [Fri, 26 Feb 2016 20:54:33 +0000 (12:54 -0800)]
PIP: Show recents again when PIP menu is closed

Framework enforces that an app cannot go back to Recents.
So launches the Recents again for the PIP menu.

Change-Id: I7526edfe7dd38c7eb1befe6a8b2b5f4ea30aa84e

8 years agoMerge "Fix widget icon and tap behaviour." into nyc-dev
Rubin Xu [Wed, 2 Mar 2016 17:48:04 +0000 (17:48 +0000)]
Merge "Fix widget icon and tap behaviour." into nyc-dev

8 years agoMerge "Fix crash from battery detail" into nyc-dev
Jason Monk [Wed, 2 Mar 2016 17:42:26 +0000 (17:42 +0000)]
Merge "Fix crash from battery detail" into nyc-dev

8 years agoFix crash from battery detail
Jason Monk [Wed, 2 Mar 2016 17:40:43 +0000 (12:40 -0500)]
Fix crash from battery detail

Bug: 27417780
Change-Id: Ia63dd78a4b7b75470b57c8262bbc836180274bf5

8 years agoMerge "SensorEventListener: Clarify documentation." into nyc-dev
Greg Kaiser [Wed, 2 Mar 2016 17:27:46 +0000 (17:27 +0000)]
Merge "SensorEventListener: Clarify documentation." into nyc-dev

8 years agoMerge "doc: Fix syntax error in code example." into nyc-dev
Greg Kaiser [Wed, 2 Mar 2016 17:26:44 +0000 (17:26 +0000)]
Merge "doc: Fix syntax error in code example." into nyc-dev

8 years agoMerge "docs: Mild fix to a sensors_overview code example" into nyc-dev
Greg Kaiser [Wed, 2 Mar 2016 17:15:51 +0000 (17:15 +0000)]
Merge "docs: Mild fix to a sensors_overview code example" into nyc-dev

8 years agoMerge "Revert "Revert "make isUiModeLocked, isNightModeLocked test api""" into nyc-dev
Keun-young Park [Wed, 2 Mar 2016 17:12:40 +0000 (17:12 +0000)]
Merge "Revert "Revert "make isUiModeLocked, isNightModeLocked test api""" into nyc-dev

8 years agoRemoves swipe-to-dismiss from Wear window styles.
Gus Prevas [Tue, 23 Feb 2016 14:06:57 +0000 (09:06 -0500)]
Removes swipe-to-dismiss from Wear window styles.

Change-Id: I15eef22c0c90961932b9aad9b618e582804aea9e
(cherry picked from commit 6da0566a03f93c4576a0dbd5facfd6bac5206066)

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 2 Mar 2016 16:38:49 +0000 (16:38 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoconfig_supportsMultiWindow for device to specify multi-window support
Wale Ogunwale [Wed, 2 Mar 2016 16:28:08 +0000 (08:28 -0800)]
config_supportsMultiWindow for device to specify multi-window support

Devices that have the config set to false will not allow any multi-window
operation.

Also, added ActivityManager.supportsMultiWindow that checks the new config
and also returns false if the device is a low RAM device.

Bug: 27419483
Change-Id: I8dd85c17d290a5a752de3253beb3b34c17d7736d

8 years agoMerge "Simplify the error logs for profiles we can't open." into nyc-dev
Calin Juravle [Wed, 2 Mar 2016 16:17:33 +0000 (16:17 +0000)]
Merge "Simplify the error logs for profiles we can't open." into nyc-dev

8 years agoCheck process state when killing background processes for density
Alan Viverette [Wed, 2 Mar 2016 15:47:14 +0000 (10:47 -0500)]
Check process state when killing background processes for density

Previously, we were not killing many processes because we weren't in an
actual OOM condition. This CL moves the background killing rules to a
separate method and checks the process state. This removes the OOM
adjustment check and *will* kill persistent processes.

Bug: 27397233
Change-Id: Ibc21e97cfc729a0835e613095acd9a4b648906d8

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 2 Mar 2016 15:30:42 +0000 (07:30 -0800)]
Import translations. DO NOT MERGE

Change-Id: I0b50c9fa731657538936e961e3c0fa1eaa594489
Auto-generated-cl: translation import

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 2 Mar 2016 15:26:06 +0000 (15:26 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 2 Mar 2016 15:25:28 +0000 (07:25 -0800)]
Import translations. DO NOT MERGE

Change-Id: I5f64277ff355790a3babb97dfeb37ecc892dfa71
Auto-generated-cl: translation import

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 2 Mar 2016 15:22:26 +0000 (15:22 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 2 Mar 2016 15:20:37 +0000 (07:20 -0800)]
Import translations. DO NOT MERGE

Change-Id: Id4836eb0d7454cbb028a40032ecd229e4a4d90d3
Auto-generated-cl: translation import

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 2 Mar 2016 15:20:12 +0000 (15:20 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 2 Mar 2016 15:14:03 +0000 (07:14 -0800)]
Import translations. DO NOT MERGE

Change-Id: If6f96f29b8c300b1edc27cf0725dfe3492465e7d
Auto-generated-cl: translation import

8 years agoMerge "Track libcore change 2729b8c4d26170." into nyc-dev
Narayan Kamath [Wed, 2 Mar 2016 14:25:37 +0000 (14:25 +0000)]
Merge "Track libcore change 2729b8c4d26170." into nyc-dev

8 years agoTrack libcore change 2729b8c4d26170.
Narayan Kamath [Wed, 2 Mar 2016 13:35:23 +0000 (13:35 +0000)]
Track libcore change 2729b8c4d26170.

test-current.txt was regenerated on nyc-dev.

bug: 27423298

(cherry picked from commit b16a96538aa735c6926a95250fde2eca4b8e38ad)

Change-Id: Ieba7afaff407a421d3c2430f243151857cb42f97

8 years agoMerge "Don't clear widget providers from stopped profiles." into nyc-dev
Kenny Guy [Wed, 2 Mar 2016 14:16:17 +0000 (14:16 +0000)]
Merge "Don't clear widget providers from stopped profiles." into nyc-dev

8 years agoMerge "Add StubMethodAdapterTest" into nyc-dev
Deepanshu Gupta [Wed, 2 Mar 2016 13:32:17 +0000 (13:32 +0000)]
Merge "Add StubMethodAdapterTest" into nyc-dev

8 years agoAdd StubMethodAdapterTest
Deepanshu Gupta [Wed, 2 Mar 2016 08:39:24 +0000 (00:39 -0800)]
Add StubMethodAdapterTest

This tests the bugfix in StubMethodAdapter made in the change with id
I098996e43e330e995d33f12df1c16355bbc02f0f (commit 491523d)

Change-Id: I1ac897a49071dd9558bdc6b8abec29df913a6047

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Wed, 2 Mar 2016 13:28:43 +0000 (13:28 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoLayoutLib: Reference android's junit in intellij project.
Deepanshu Gupta [Wed, 7 Oct 2015 00:53:51 +0000 (17:53 -0700)]
LayoutLib: Reference android's junit in intellij project.

Prevents errors due to mismatch in junit version.

Change-Id: I2adf32efb16472aa5f5e51025b6bb75afc76a8b4

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 2 Mar 2016 13:25:51 +0000 (08:25 -0500)]
Import translations. DO NOT MERGE

Change-Id: I290495e9a0b12c372f30904725ac1d5fad961042
Auto-generated-cl: translation import

8 years agoMerge "Grant fixed SMS & Phone permission to package handling the twinning settings...
Pierre-Laurent Coirier [Wed, 2 Mar 2016 13:04:25 +0000 (13:04 +0000)]
Merge "Grant fixed SMS & Phone permission to package handling the twinning settings intent." into cw-e-dev

8 years agoMerge "Close InputStream in BatteryStatsHelper" into nyc-dev
Nimrod Gileadi [Wed, 2 Mar 2016 09:17:20 +0000 (09:17 +0000)]
Merge "Close InputStream in BatteryStatsHelper" into nyc-dev

8 years agoMerge "Fix DocumentUI's perf tests compile failure." into nyc-dev
Tomasz Mikolajewski [Wed, 2 Mar 2016 09:00:46 +0000 (09:00 +0000)]
Merge "Fix DocumentUI's perf tests compile failure." into nyc-dev

8 years agoFix DocumentUI's perf tests compile failure.
Tomasz Mikolajewski [Wed, 2 Mar 2016 08:57:46 +0000 (17:57 +0900)]
Fix DocumentUI's perf tests compile failure.

It compiled locally, but not on the APCT.

Bug: 27370274
Change-Id: I7f10f3bf5b370d8e92311febfdcae133148e1312

8 years agoMerge "Fix layoutlib expand unit test" into nyc-dev
Diego Perez [Wed, 2 Mar 2016 08:57:25 +0000 (08:57 +0000)]
Merge "Fix layoutlib expand unit test" into nyc-dev

8 years agoAdd 464xlat notification callback
Erik Kline [Wed, 2 Mar 2016 08:37:06 +0000 (08:37 +0000)]
Add 464xlat notification callback
am: 8d6edc3270

* commit '8d6edc3270616b119645fbdf8752c0ea37de0731':
  Add 464xlat notification callback

8 years agoMerge changes Id78aab9c,I51096b18 into nyc-dev
Lorenzo Colitti [Wed, 2 Mar 2016 08:32:50 +0000 (08:32 +0000)]
Merge changes Id78aab9c,I51096b18 into nyc-dev

* changes:
  Speed up ConnectivityServiceTest.
  Make it easier to test code that uses WakeupMessage.

8 years agoMerge "Add a missing include in DocumentsUI Android.mk." into nyc-dev
Tomasz Mikolajewski [Wed, 2 Mar 2016 08:06:02 +0000 (08:06 +0000)]
Merge "Add a missing include in DocumentsUI Android.mk." into nyc-dev

8 years agoAdd a missing include in DocumentsUI Android.mk.
Tomasz Mikolajewski [Wed, 2 Mar 2016 07:58:55 +0000 (16:58 +0900)]
Add a missing include in DocumentsUI Android.mk.

Without it, perf tests were not built on APCT.

Bug: 27370274
Change-Id: Ie154526d240bb9d1b4cce6fc089d502bf808c366

8 years agoSpeed up ConnectivityServiceTest.
Lorenzo Colitti [Sat, 20 Feb 2016 16:09:26 +0000 (01:09 +0900)]
Speed up ConnectivityServiceTest.

1. Override WakeupMessage with an implementation that uses
   sendEmptyMessageDelayed. This allows us to replace a
   6-second sleep with a 150ms wait.
2. Change waitFor()'s polling interval from 100ms to 50ms.

With these changes ConnectivityServiceTest goes from ~9s to ~3s.

Change-Id: Id78aab9cded90a5b17f09d7f437904e179808dd2

8 years agoAdd 464xlat notification callback
Erik Kline [Mon, 29 Feb 2016 07:00:01 +0000 (16:00 +0900)]
Add 464xlat notification callback

Bug: 26238390
Bug: 26991160
Change-Id: I556e779c642d19cd8d26637dd98055157d005f77

8 years agoMerge "Fix broken tests due to uninitialized roots." into nyc-dev
Tomasz Mikolajewski [Wed, 2 Mar 2016 06:12:28 +0000 (06:12 +0000)]
Merge "Fix broken tests due to uninitialized roots." into nyc-dev

8 years agoFix broken tests due to uninitialized roots.
Tomasz Mikolajewski [Wed, 2 Mar 2016 05:38:23 +0000 (14:38 +0900)]
Fix broken tests due to uninitialized roots.

Change-Id: I014657cab86ffa17290ab8990f0adaa6f6451e15

8 years agoMerge "MediaBrowserService: Make SubscriptionCallback.onError be called" into nyc-dev
Sungsoo Lim [Wed, 2 Mar 2016 05:40:00 +0000 (05:40 +0000)]
Merge "MediaBrowserService: Make SubscriptionCallback.onError be called" into nyc-dev

8 years agoMerge "Add scaffolds for performance tests of DocumentsUI" into nyc-dev
Tomasz Mikolajewski [Wed, 2 Mar 2016 05:35:02 +0000 (05:35 +0000)]
Merge "Add scaffolds for performance tests of DocumentsUI" into nyc-dev

8 years agoMake it easier to test code that uses WakeupMessage.
Lorenzo Colitti [Sat, 20 Feb 2016 16:04:13 +0000 (01:04 +0900)]
Make it easier to test code that uses WakeupMessage.

Code that uses WakeupMessage uses the AlarmManager. Testing such
code is slow because AlarmManager.MIN_FUTURITY ensures that
alarms must wait at least 5 seconds before firing.

This change makes WakeupMessage's fields protected so that test
code can subclass from it and override schedule() and cancel()
with implementations that do not use AlarmManager, for example
by making schedule() call sendEmptyMessageDelayed and making
cancel() call removeMessages.

Change-Id: I51096b182d9eb87cc7bd46c3c91906f18356b354

8 years agoMediaBrowserService: Make SubscriptionCallback.onError be called
Sungsoo Lim [Tue, 23 Feb 2016 08:30:33 +0000 (17:30 +0900)]
MediaBrowserService: Make SubscriptionCallback.onError be called

Bug: 26733259
Change-Id: I8324e1c56e87071e781550ac0701e632a4122e73

8 years agoMerge "Enable add/remove window manager log points" into nyc-dev
Wale Ogunwale [Wed, 2 Mar 2016 04:46:52 +0000 (04:46 +0000)]
Merge "Enable add/remove window manager log points" into nyc-dev

8 years agoEnable add/remove window manager log points
Wale Ogunwale [Wed, 2 Mar 2016 04:42:53 +0000 (20:42 -0800)]
Enable add/remove window manager log points

To debug 27286867.

Bug: 27286867
Change-Id: Iab5e608f8437ee0e315bfa3d091980f4a9e3a3b5

8 years agoMerge "Update wallpaper asset for N dev preview Bug: 27434845" into nyc-dev
Hyunyoung Song [Wed, 2 Mar 2016 04:40:45 +0000 (04:40 +0000)]
Merge "Update wallpaper asset for N dev preview Bug: 27434845" into nyc-dev

8 years agoUpdate wallpaper asset for N dev preview
Hyunyoung Song [Wed, 2 Mar 2016 04:39:03 +0000 (20:39 -0800)]
Update wallpaper asset for N dev preview
Bug: 27434845

Change-Id: I0f9ff168beab12d630ab824ab632f98051564570

8 years agoMerge changes Ic366b532,I0179b45b into nyc-dev
Lorenzo Colitti [Wed, 2 Mar 2016 04:18:02 +0000 (04:18 +0000)]
Merge changes Ic366b532,I0179b45b into nyc-dev

* changes:
  Move PinningNetworkCallback out to a new NetworkPinner class.
  Use MessageUtils in ConnectivityManager.

8 years agoAdd scaffolds for performance tests of DocumentsUI
Tomasz Mikolajewski [Wed, 24 Feb 2016 03:53:44 +0000 (12:53 +0900)]
Add scaffolds for performance tests of DocumentsUI

Bug: 27370274
Change-Id: I14dea1b85cd84c8bb3c0eee27b2954108bfa4f8b

8 years agoMove PinningNetworkCallback out to a new NetworkPinner class.
Lorenzo Colitti [Tue, 1 Mar 2016 03:55:58 +0000 (12:55 +0900)]
Move PinningNetworkCallback out to a new NetworkPinner class.

Also add tests.

Bug: 19159232
Change-Id: Ic366b53259ee5944a8e864876425a6558c0a7216

8 years agoAttempt to fix bug where OwnerInfo gets lost.
Jim Miller [Wed, 2 Mar 2016 03:21:47 +0000 (19:21 -0800)]
Attempt to fix bug where OwnerInfo gets lost.

Bug 27419272

Change-Id: I2f938606c3155afd2fc31b5da640b7b74c397a14

8 years agoDO NOT MERGE ANYWHERE Add way to query for supported Bluetooth profiles. am: 7c2539e2...
Bryce Lee [Wed, 2 Mar 2016 03:21:35 +0000 (03:21 +0000)]
DO NOT MERGE ANYWHERE Add way to query for supported Bluetooth profiles. am: 7c2539e2a5  -s ours
am: 21c47d1b22  -s ours

* commit '21c47d1b22cfa317d7925b01de1c13cc2a39b3d6':
  DO NOT MERGE ANYWHERE Add way to query for supported Bluetooth profiles.

8 years agoMerge "When system server goes down, crash admins." into nyc-dev
Jeff Sharkey [Wed, 2 Mar 2016 03:17:41 +0000 (03:17 +0000)]
Merge "When system server goes down, crash admins." into nyc-dev

8 years agoWhen system server goes down, crash admins.
Jeff Sharkey [Wed, 2 Mar 2016 02:46:25 +0000 (19:46 -0700)]
When system server goes down, crash admins.

Apps making calls into the system server may end up persisting
internal state or making security decisions based on the perceived
success or failure of a call, or the default values returned.

The reality is that if the system process just died, init will be
along shortly to kill all running apps, so we should have no problem
rethrowing the RemoteException as a RuntimeException.

Bug: 27364859
Change-Id: I866a8c3c9682da1de2a31fe8b4ffcc9d7f4d8ba0

8 years agoDO NOT MERGE ANYWHERE Add way to query for supported Bluetooth profiles.
Bryce Lee [Wed, 2 Mar 2016 03:12:09 +0000 (03:12 +0000)]
DO NOT MERGE ANYWHERE Add way to query for supported Bluetooth profiles.
am: 7c2539e2a5  -s ours

* commit '7c2539e2a50ec3dcdb1c9420f9215bba438b21b6':
  DO NOT MERGE ANYWHERE Add way to query for supported Bluetooth profiles.