OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Use VR hal in VrManagerService."
TreeHugger Robot [Sat, 22 Oct 2016 01:22:32 +0000 (01:22 +0000)]
Merge "Use VR hal in VrManagerService."

7 years agoMerge "AAPT2: Ensure string pool ordering is compact"
TreeHugger Robot [Sat, 22 Oct 2016 00:37:16 +0000 (00:37 +0000)]
Merge "AAPT2: Ensure string pool ordering is compact"

7 years agoVPN network stat accounting changes. am: 3f0d75afe8 am: 0d309b7a47
Jeremy Joslin [Fri, 21 Oct 2016 23:47:35 +0000 (23:47 +0000)]
VPN network stat accounting changes. am: 3f0d75afe8 am: 0d309b7a47
am: 807102d7ff

Change-Id: I1edec6bf2a590f5b0ff010adfd6f2785a1aaa994

7 years agoVPN network stat accounting changes. am: 3f0d75afe8
Jeremy Joslin [Fri, 21 Oct 2016 23:43:06 +0000 (23:43 +0000)]
VPN network stat accounting changes. am: 3f0d75afe8
am: 0d309b7a47

Change-Id: I797ac586581f83ada0e94639dd435122c987f1c1

7 years agoVPN network stat accounting changes.
Jeremy Joslin [Fri, 21 Oct 2016 23:37:57 +0000 (23:37 +0000)]
VPN network stat accounting changes.
am: 3f0d75afe8

Change-Id: I1c65db583cdd1d5b519830e521c633cb8dee449f

7 years agoMerge "DO NOT MERGE: Disable dim brightness reset when using ALS-based doze" into...
Julius D'souza [Fri, 21 Oct 2016 22:43:16 +0000 (22:43 +0000)]
Merge "DO NOT MERGE: Disable dim brightness reset when using ALS-based doze" into cw-f-dev am: a39e64eac2
am: 38405b69d2  -s ours

Change-Id: I85c746508e10e7b7b739587b7d9fce081d53ecca

7 years agoDO NOT MERGE: Disable dim brightness reset when using ALS-based doze am: 637ae798cc
Julius D'souza [Fri, 21 Oct 2016 22:42:09 +0000 (22:42 +0000)]
DO NOT MERGE: Disable dim brightness reset when using ALS-based doze am: 637ae798cc
am: 0085ce0513  -s ours

Change-Id: Ibded7dd4f59a18ef3268d7c5f19074679392d234

7 years agoMerge "DO NOT MERGE: Disable dim brightness reset when using ALS-based doze" into...
Julius D'souza [Fri, 21 Oct 2016 22:37:04 +0000 (22:37 +0000)]
Merge "DO NOT MERGE: Disable dim brightness reset when using ALS-based doze" into cw-f-dev
am: a39e64eac2

Change-Id: I76a3334bd1464d9d8591f4bf1bbe369d90753d5e

7 years agoDO NOT MERGE: Disable dim brightness reset when using ALS-based doze
Julius D'souza [Fri, 21 Oct 2016 22:36:58 +0000 (22:36 +0000)]
DO NOT MERGE: Disable dim brightness reset when using ALS-based doze
am: 637ae798cc

Change-Id: I3c2045d253a75d9afcf8771a503188c47d8de49d

7 years agoMerge "Another mac fix"
Joe Onorato [Fri, 21 Oct 2016 22:32:32 +0000 (22:32 +0000)]
Merge "Another mac fix"

7 years agoAnother mac fix
Joe Onorato [Fri, 21 Oct 2016 22:18:18 +0000 (15:18 -0700)]
Another mac fix

Test: make (on linux)
Change-Id: I3f0561f3a1fc08dad5d3dd8ba860da56b51d273c

7 years agoMerge "DO NOT MERGE: Disable dim brightness reset when using ALS-based doze" into...
Julius D'souza [Fri, 21 Oct 2016 22:29:33 +0000 (22:29 +0000)]
Merge "DO NOT MERGE: Disable dim brightness reset when using ALS-based doze" into cw-f-dev

7 years agoDO NOT MERGE: Disable dim brightness reset when using ALS-based doze
Julius D'souza [Fri, 21 Oct 2016 21:06:28 +0000 (14:06 -0700)]
DO NOT MERGE: Disable dim brightness reset when using ALS-based doze

Bug: 32169300

Change-Id: I60d23405eb38ec0625b5b7f739a84918f4632359

7 years agoMerge "Fix mac build."
Christopher Ferris [Fri, 21 Oct 2016 22:22:59 +0000 (22:22 +0000)]
Merge "Fix mac build."

7 years agoMerge "Update TextView (set|get)(min|max)(width|height) ApiDoc"
Siyamed Sinir [Fri, 21 Oct 2016 21:51:13 +0000 (21:51 +0000)]
Merge "Update TextView (set|get)(min|max)(width|height) ApiDoc"

7 years agoMerge "Fix mac build of bit"
Joe Onorato [Fri, 21 Oct 2016 21:35:40 +0000 (21:35 +0000)]
Merge "Fix mac build of bit"

7 years agoFix mac build of bit
Joe Onorato [Fri, 21 Oct 2016 21:31:42 +0000 (14:31 -0700)]
Fix mac build of bit

Test: make bit
Change-Id: I8005e77babfbe2d48806f9315800e699d1917bb4

7 years agoMerge "Merge "Camera2 Legacy: catch more surface abandoned error" am: 03f14bef41...
Yin-Chia Yeh [Fri, 21 Oct 2016 21:28:30 +0000 (21:28 +0000)]
Merge "Merge "Camera2 Legacy: catch more surface abandoned error" am: 03f14bef41 am: 50f9b6e71f" into nyc-mr1-dev-plus-aosp
am: 2979f63cd9

Change-Id: I20d62c7fa14424a208901c41e9eefe8c50f5b662

7 years agoMerge "Camera2 Legacy: catch more surface abandoned error" am: 03f14bef41 am: 50f9b6e71f
Yin-Chia Yeh [Fri, 21 Oct 2016 21:28:21 +0000 (21:28 +0000)]
Merge "Camera2 Legacy: catch more surface abandoned error" am: 03f14bef41 am: 50f9b6e71f
am: 0eb99d23b4

Change-Id: Ie8dbed22423aa52b418cebfd19e29c6ae2c6e2b5

7 years agoMerge "Fwk: Only chime when docked and accessbility is on" into cw-f-dev am: 088f73a9e9
Vinod Krishnan [Fri, 21 Oct 2016 21:27:02 +0000 (21:27 +0000)]
Merge "Fwk: Only chime when docked and accessbility is on" into cw-f-dev am: 088f73a9e9
am: 10f18d04ea

Change-Id: Idd82ceb9e1b6071072af95cf3e6cbe3ad80c31a7

7 years agoFwk: Only chime when docked and accessbility is on am: cf11ceab65
Vinod Krishnan [Fri, 21 Oct 2016 21:21:18 +0000 (21:21 +0000)]
Fwk: Only chime when docked and accessbility is on am: cf11ceab65
am: ccf3baf6c5

Change-Id: I685dc2ef179087600e4d3c5776448ece338901b7

7 years agoMerge "Fix improperly laid out alert dialog title to match UX specs." into cw-f-dev...
Michael Kwan [Fri, 21 Oct 2016 21:20:14 +0000 (21:20 +0000)]
Merge "Fix improperly laid out alert dialog title to match UX specs." into cw-f-dev am: 243e966892
am: 2dfe724d12

Change-Id: Icd813ed49f2d714666745265d49d22c2953656f7

7 years agoMerge "Merge "Camera2 Legacy: catch more surface abandoned error" am: 03f14bef41...
Android Build Merger (Role) [Fri, 21 Oct 2016 21:19:31 +0000 (21:19 +0000)]
Merge "Merge "Camera2 Legacy: catch more surface abandoned error" am: 03f14bef41 am: 50f9b6e71f" into nyc-mr1-dev-plus-aosp

7 years agoFix improperly laid out alert dialog title to match UX specs. am: 9c86e68bfa
Michael Kwan [Fri, 21 Oct 2016 21:19:02 +0000 (21:19 +0000)]
Fix improperly laid out alert dialog title to match UX specs. am: 9c86e68bfa
am: 35f5700178

Change-Id: I53d1f23f72c617f6a6a63436b8afbf9f6958b3e2

7 years agoMerge "Camera2 Legacy: catch more surface abandoned error" am: 03f14bef41
Yin-Chia Yeh [Fri, 21 Oct 2016 21:18:48 +0000 (21:18 +0000)]
Merge "Camera2 Legacy: catch more surface abandoned error" am: 03f14bef41
am: 50f9b6e71f

Change-Id: I1da99a15ab8ff08d3f9ccb0e9408990ad60ff279

7 years agoMerge "Fwk: Only chime when docked and accessbility is on" into cw-f-dev
Vinod Krishnan [Fri, 21 Oct 2016 21:17:48 +0000 (21:17 +0000)]
Merge "Fwk: Only chime when docked and accessbility is on" into cw-f-dev
am: 088f73a9e9

Change-Id: Icbea8fbdefbf9979b72b7babac10e28a336d7d2f

7 years agoFwk: Only chime when docked and accessbility is on
Vinod Krishnan [Fri, 21 Oct 2016 21:14:19 +0000 (21:14 +0000)]
Fwk: Only chime when docked and accessbility is on
am: cf11ceab65

Change-Id: Ief29ef6f325a8248843faa9fbe9ae6ff893a6918

7 years agoMerge changes I1d8a9a6e,I5adcd59d
Sergei Vasilinetc [Fri, 21 Oct 2016 21:11:46 +0000 (21:11 +0000)]
Merge changes I1d8a9a6e,I5adcd59d

* changes:
  Use Bitmap in DisplayList & RecordedOps instead of SkBitmap Test: refactoring cl. bug:32216791
  Pass Bitmap instead of SkBitmap in drawNinePatch & drawBitmapMesh Test: refactoring cl. bug:32216791

7 years agoMerge "Fix improperly laid out alert dialog title to match UX specs." into cw-f-dev
Michael Kwan [Fri, 21 Oct 2016 21:11:25 +0000 (21:11 +0000)]
Merge "Fix improperly laid out alert dialog title to match UX specs." into cw-f-dev
am: 243e966892

Change-Id: I9f3ae90d6ecce4c2944faad3f6f9b95642469935

7 years agoFix improperly laid out alert dialog title to match UX specs.
Michael Kwan [Fri, 21 Oct 2016 21:11:17 +0000 (21:11 +0000)]
Fix improperly laid out alert dialog title to match UX specs.
am: 9c86e68bfa

Change-Id: I0989366635ebeb4af6ca63cc42c50913c2b7d32a

7 years agoMerge "Camera2 Legacy: catch more surface abandoned error"
Yin-Chia Yeh [Fri, 21 Oct 2016 21:07:44 +0000 (21:07 +0000)]
Merge "Camera2 Legacy: catch more surface abandoned error"
am: 03f14bef41

Change-Id: If2e05eeb8c7fe24f97fc0c5e20bfe03a6c8c9e23

7 years agoAAPT2: Ensure string pool ordering is compact
Adam Lesinski [Fri, 21 Oct 2016 20:38:42 +0000 (13:38 -0700)]
AAPT2: Ensure string pool ordering is compact

Keep styledstrings at the beginning of the StringPool
to reduce the padding in the StyledString array.

Bug:32336940
Test: manual
Change-Id: Iec820c21a54daac40ecc3b2f87517a0f1efc9d3d

7 years agoMerge "Fwk: Only chime when docked and accessbility is on" into cw-f-dev
TreeHugger Robot [Fri, 21 Oct 2016 20:41:07 +0000 (20:41 +0000)]
Merge "Fwk: Only chime when docked and accessbility is on" into cw-f-dev

7 years agoMerge "Fix improperly laid out alert dialog title to match UX specs." into cw-f-dev
Michael Kwan [Fri, 21 Oct 2016 20:38:02 +0000 (20:38 +0000)]
Merge "Fix improperly laid out alert dialog title to match UX specs." into cw-f-dev

7 years agoMerge "Camera2 Legacy: catch more surface abandoned error"
Treehugger Robot [Fri, 21 Oct 2016 20:36:29 +0000 (20:36 +0000)]
Merge "Camera2 Legacy: catch more surface abandoned error"

7 years agoFix mac build.
Christopher Ferris [Fri, 21 Oct 2016 19:56:06 +0000 (12:56 -0700)]
Fix mac build.

Do not build the bit tool on darwin.

Test: Make sure this still builds on linux.

Change-Id: Ie958649893016771f1fa3df6f10d443d0117c171

7 years agoMerge "Fix accounting for .vdex in dumpsys meminfo"
TreeHugger Robot [Fri, 21 Oct 2016 19:22:47 +0000 (19:22 +0000)]
Merge "Fix accounting for .vdex in dumpsys meminfo"

7 years agoUse Bitmap in DisplayList & RecordedOps instead of SkBitmap
sergeyv [Fri, 21 Oct 2016 01:39:04 +0000 (18:39 -0700)]
Use Bitmap in DisplayList & RecordedOps instead of SkBitmap
Test: refactoring cl.
bug:32216791

Change-Id: I1d8a9a6e772e2176b6c2409409a910478b45f8db

7 years agoMerge changes I26de316b,Iced72322,Iaa7f421d
Wale Ogunwale [Fri, 21 Oct 2016 18:55:21 +0000 (18:55 +0000)]
Merge changes I26de316b,Iced72322,Iaa7f421d

* changes:
  Removed WMS.getDefaultWindowListLocked()
  Moved display related getting of orientation into DisplayContent
  Have DisplayContent be the call point for adjusting wallpaper windows

7 years agoMerge "Removed WindowManagerService.getWindowListLocked()"
TreeHugger Robot [Fri, 21 Oct 2016 18:53:47 +0000 (18:53 +0000)]
Merge "Removed WindowManagerService.getWindowListLocked()"

7 years agoCamera2 Legacy: catch more surface abandoned error
Yin-Chia Yeh [Wed, 19 Oct 2016 20:53:33 +0000 (13:53 -0700)]
Camera2 Legacy: catch more surface abandoned error

Bug: 30140107
Change-Id: Ia293bdbb85c8078e17def55db9c599cfe70458db

7 years agoMerge "Fix broken KeyguardMessageArea"
TreeHugger Robot [Fri, 21 Oct 2016 18:37:39 +0000 (18:37 +0000)]
Merge "Fix broken KeyguardMessageArea"

7 years agoMerge changes from topic 'am_instrument'
Joe Onorato [Fri, 21 Oct 2016 17:55:42 +0000 (17:55 +0000)]
Merge changes from topic 'am_instrument'

* changes:
  Add a new build, install, test development (bit) tool
  am instrument gets protobuf
  Fix bad type codes in streaming proto compiler

7 years agoMerge "DO NOT MERGE ANYWHERE Allow Wear Home app to send wallpaper commands at any...
Erik Wolsheimer [Fri, 21 Oct 2016 17:46:06 +0000 (17:46 +0000)]
Merge "DO NOT MERGE ANYWHERE Allow Wear Home app to send wallpaper commands at any time" into cw-f-dev am: 653b982d18  -s ours
am: 7d81fa03fa  -s ours

Change-Id: Ia014c890c267b4b3bf364ecfeea72892d8c11fba

7 years agoDO NOT MERGE ANYWHERE Allow Wear Home app to send wallpaper commands at any time...
Erik Wolsheimer [Fri, 21 Oct 2016 17:45:04 +0000 (17:45 +0000)]
DO NOT MERGE ANYWHERE Allow Wear Home app to send wallpaper commands at any time am: b608d28f84  -s ours
am: b2e09827bd  -s ours

Change-Id: Ibb370e2c7ce9f920760b6e56b5a0802466872f44

7 years agoMerge "DO NOT MERGE ANYWHERE Allow Wear Home app to send wallpaper commands at any...
Erik Wolsheimer [Fri, 21 Oct 2016 17:37:05 +0000 (17:37 +0000)]
Merge "DO NOT MERGE ANYWHERE Allow Wear Home app to send wallpaper commands at any time" into cw-f-dev
am: 653b982d18  -s ours

Change-Id: Icceb19699edb6db18091844d22516eff8ac7bc4d

7 years agoMerge "Fix accounting for .vdex in dumpsys meminfo" am: 4a5789b9b1 am: bb08c03048
Mathieu Chartier [Fri, 21 Oct 2016 17:36:59 +0000 (17:36 +0000)]
Merge "Fix accounting for .vdex in dumpsys meminfo" am: 4a5789b9b1 am: bb08c03048
am: f822d0bc33

Change-Id: I28189f4d70c6b76e25db5e318855f3512755969e

7 years agoDO NOT MERGE ANYWHERE Allow Wear Home app to send wallpaper commands at any time
Erik Wolsheimer [Fri, 21 Oct 2016 17:36:58 +0000 (17:36 +0000)]
DO NOT MERGE ANYWHERE Allow Wear Home app to send wallpaper commands at any time
am: b608d28f84  -s ours

Change-Id: Ic3d70afc2f07ee8ae3e09fbb0e010daebb199f21

7 years agoMerge "Fix accounting for .vdex in dumpsys meminfo" am: 4a5789b9b1
Mathieu Chartier [Fri, 21 Oct 2016 17:28:55 +0000 (17:28 +0000)]
Merge "Fix accounting for .vdex in dumpsys meminfo" am: 4a5789b9b1
am: bb08c03048

Change-Id: I24dc9ea087f76ebb2130a4d4957f0600e189aed3

7 years agoFwk: Only chime when docked and accessbility is on
Vinod Krishnan [Fri, 21 Oct 2016 05:57:02 +0000 (22:57 -0700)]
Fwk: Only chime when docked and accessbility is on

Bug: 32036947

Change-Id: I5786abe827735cc3a4bc1d52baacaa19bccaae77

7 years agoMerge "DO NOT MERGE ANYWHERE Allow Wear Home app to send wallpaper commands at any...
TreeHugger Robot [Fri, 21 Oct 2016 17:23:42 +0000 (17:23 +0000)]
Merge "DO NOT MERGE ANYWHERE Allow Wear Home app to send wallpaper commands at any time" into cw-f-dev

7 years agoMerge "Fix accounting for .vdex in dumpsys meminfo"
Mathieu Chartier [Fri, 21 Oct 2016 17:20:27 +0000 (17:20 +0000)]
Merge "Fix accounting for .vdex in dumpsys meminfo"
am: 4a5789b9b1

Change-Id: I3e50c0e6a80bc221228dd8293ec8209ecf323123

7 years agoFix accounting for .vdex in dumpsys meminfo
Mathieu Chartier [Thu, 20 Oct 2016 22:38:55 +0000 (15:38 -0700)]
Fix accounting for .vdex in dumpsys meminfo

Before it was showing up in "Other mmap" instead. Now it is correctly
showing up in ".dex mmap".

Bug: 30937355
Test: N6P booting, dumpsys meminfo -d

(cherry picked from commit 946ebbcc510acee5c166f2945075da65d8ae6ed3)

Change-Id: I49a202deda3fc34a94247825dc059b8a854ba61a

7 years agoMerge "Fix accounting for .vdex in dumpsys meminfo"
Mathieu Chartier [Fri, 21 Oct 2016 17:07:37 +0000 (17:07 +0000)]
Merge "Fix accounting for .vdex in dumpsys meminfo"

7 years agoMerge "Fix NPEs when display is added or removed"
Andrii Kulian [Fri, 21 Oct 2016 16:56:32 +0000 (16:56 +0000)]
Merge "Fix NPEs when display is added or removed"

7 years agoFix broken KeyguardMessageArea
Adrian Roos [Thu, 20 Oct 2016 22:34:23 +0000 (15:34 -0700)]
Fix broken KeyguardMessageArea

Fixes a bug where the keyguard message area would reorder clears
after a new message was set, leading to the bouncer prompt reason
not showing.

Change-Id: I33001300d9175c521809cd4fdae5158269245c00
Fixes: 32306174
Test: runtest -x $T/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/KeyguardMessageAreaTest.java

7 years agoDO NOT MERGE ANYWHERE Allow Wear Home app to send wallpaper commands at any time
Erik Wolsheimer [Fri, 21 Oct 2016 04:09:44 +0000 (21:09 -0700)]
DO NOT MERGE ANYWHERE Allow Wear Home app to send wallpaper commands at any time

BUG: 32172459
BUG: 32069897
Change-Id: I6f030b6288433b9cefce0f2fb1a69de61bfa7617

7 years agoRemoved WMS.getDefaultWindowListLocked()
Wale Ogunwale [Fri, 21 Oct 2016 16:01:38 +0000 (09:01 -0700)]
Removed WMS.getDefaultWindowListLocked()

6th step in trying to make the WindowList private to DisplayContent.
The method was another an indirect way to the the window list
from the display content.

Test: Manual testing and existing tests pass.
Change-Id: I26de316b8c20dd891a214fb40ef3991a0e895442

7 years agoMoved display related getting of orientation into DisplayContent
Wale Ogunwale [Thu, 20 Oct 2016 22:29:42 +0000 (15:29 -0700)]
Moved display related getting of orientation into DisplayContent

5th step in trying to make WindowList private to DisplayContent.
Exact code to get orientation in WMS that is display specific
because it iterates over the window list into the DisplayContent
object.

Test: Manual testing and exiting test pass.
Change-Id: Iced72322cdebdde83882802af4a9decf323f20e1

7 years agoHave DisplayContent be the call point for adjusting wallpaper windows
Wale Ogunwale [Thu, 20 Oct 2016 17:16:29 +0000 (10:16 -0700)]
Have DisplayContent be the call point for adjusting wallpaper windows

4th step in trying to make the WindowList private to DisplayContent
Have the rest of the system call DisplayContent when they need to
adjust the position of the wallpaper windows in the window list
instead of calling WallpaperController directly. That way the display
content can control the window list that the wallpaper controller sees.

Test: Existing tests pass and manual testing.
Change-Id: Iaa7f421d7cd24d36e5a83e091f77b4a08d0ae123

7 years agoRemoved WindowManagerService.getWindowListLocked()
Wale Ogunwale [Thu, 20 Oct 2016 16:31:56 +0000 (09:31 -0700)]
Removed WindowManagerService.getWindowListLocked()

3rd step in trying to make the WindowList private to DisplayContent.
The method was another an indirect way to the the window list
from the display content.

Test: Manual testing and existing tests pass.
Change-Id: Ifb0548a91b5bc64461e14f63256b61b8fa5e2e0c

7 years agoVPN network stat accounting changes.
Jeremy Joslin [Mon, 8 Aug 2016 23:07:37 +0000 (16:07 -0700)]
VPN network stat accounting changes.

Properly account for VPN apps that make heavy use of the tun
interface. Prior to this change a VPN app could be incorrectly charged
for more data than it actually used if it sent more traffic through
the tun interface than the underlying interface.

This change excludes VPN app traffic on the tun interface from the
adjustment pool and doesn't redistribute traffic to the VPN app.
Instead all of the redistributed traffic is deducted from the VPN app
which effectively represents any overhead incurred by the VPN app.

BUG: 30557871
Change-Id: I62a75a0c0c0111e052b7903baa9f5d6d94ef57fd

7 years agoAdd new color: accent with 60% opacity. am: 4f8b640bb7
Jakub Adamek [Fri, 21 Oct 2016 09:35:45 +0000 (09:35 +0000)]
Add new color: accent with 60% opacity. am: 4f8b640bb7
am: 917d7d1a2d

Change-Id: I2a40035efbd15b8497a64d306e09d8e37301ea44

7 years agoAdd new color: accent with 60% opacity.
Jakub Adamek [Fri, 21 Oct 2016 09:27:35 +0000 (09:27 +0000)]
Add new color: accent with 60% opacity.
am: 4f8b640bb7

Change-Id: I59d23f030b6413f5cf3899d4a6b0daea7ff271c7

7 years agoAdd new color: accent with 60% opacity.
Jakub Adamek [Thu, 20 Oct 2016 08:45:38 +0000 (09:45 +0100)]
Add new color: accent with 60% opacity.

Bug: 32201256
Change-Id: Id09420b78941b59df2f248dd75994fb7275ec2ea

7 years agoMerge "Fix idmap calls when a subdir is present." into cw-f-dev am: 42f40b159f
Jakub Adámek [Fri, 21 Oct 2016 08:09:42 +0000 (08:09 +0000)]
Merge "Fix idmap calls when a subdir is present." into cw-f-dev am: 42f40b159f
am: 6ba7dabc91

Change-Id: Ibf266357d7e96683f801660ad4cf538d002ec821

7 years agoFix idmap calls when a subdir is present. am: 56b9987ed7
Jakub Adamek [Fri, 21 Oct 2016 08:08:39 +0000 (08:08 +0000)]
Fix idmap calls when a subdir is present. am: 56b9987ed7
am: 47c7e1e9f9

Change-Id: I30a8a7531080bd52145219f62133e78198eb1006

7 years agoMerge "Fix idmap calls when a subdir is present." into cw-f-dev
Jakub Adámek [Fri, 21 Oct 2016 07:58:34 +0000 (07:58 +0000)]
Merge "Fix idmap calls when a subdir is present." into cw-f-dev
am: 42f40b159f

Change-Id: I8370a4d376a02c8a16bdb1ebe5ff58a20ca0989b

7 years agoFix idmap calls when a subdir is present.
Jakub Adamek [Fri, 21 Oct 2016 07:58:26 +0000 (07:58 +0000)]
Fix idmap calls when a subdir is present.
am: 56b9987ed7

Change-Id: Ia58f447ec6bf3b63e2922b02a794f487ec9679d0

7 years agoMerge "Fix idmap calls when a subdir is present." into cw-f-dev
Jakub Adámek [Fri, 21 Oct 2016 07:51:17 +0000 (07:51 +0000)]
Merge "Fix idmap calls when a subdir is present." into cw-f-dev

7 years agoFix idmap calls when a subdir is present.
Jakub Adamek [Thu, 20 Oct 2016 14:07:57 +0000 (15:07 +0100)]
Fix idmap calls when a subdir is present.

We need to increase the size of argv so that the last one remains
a NULL.

Bug: 32202741
Change-Id: I6636b5401fa7a61686a48c9a99b3e54e596033f9

7 years agoMerge "Change name of overlay subdir 'sku'->'theme'" into cw-f-dev am: 327dbfb94f
Flavio Lerda [Fri, 21 Oct 2016 07:19:47 +0000 (07:19 +0000)]
Merge "Change name of overlay subdir 'sku'->'theme'" into cw-f-dev am: 327dbfb94f
am: 1a10780c6b

Change-Id: Id7db030eb7b76e84ee6c0236e55e796f5fb00cf4

7 years agoChange name of overlay subdir 'sku'->'theme' am: 54dcaaba4f
Jakub Adamek [Fri, 21 Oct 2016 07:16:07 +0000 (07:16 +0000)]
Change name of overlay subdir 'sku'->'theme' am: 54dcaaba4f
am: 6bbb63ad91

Change-Id: I71dfaafbebaa7bd61d182405c734eef1ea7ff1eb

7 years agoMerge "Change name of overlay subdir 'sku'->'theme'" into cw-f-dev
Flavio Lerda [Fri, 21 Oct 2016 07:09:27 +0000 (07:09 +0000)]
Merge "Change name of overlay subdir 'sku'->'theme'" into cw-f-dev
am: 327dbfb94f

Change-Id: I33e92132b4422726928531da8be7a444cbd2fd64

7 years agoChange name of overlay subdir 'sku'->'theme'
Jakub Adamek [Fri, 21 Oct 2016 07:05:17 +0000 (07:05 +0000)]
Change name of overlay subdir 'sku'->'theme'
am: 54dcaaba4f

Change-Id: I4536de644c20171e175cddaff0cd041fb05b3038

7 years agoMerge "Change name of overlay subdir 'sku'->'theme'" into cw-f-dev
Flavio Lerda [Fri, 21 Oct 2016 06:32:18 +0000 (06:32 +0000)]
Merge "Change name of overlay subdir 'sku'->'theme'" into cw-f-dev

7 years agoMerge "fix mistaken check of mScreenBrightnessDarkConfig" am: e6fe836938 am: 0046acc2db
liulvping [Fri, 21 Oct 2016 04:58:43 +0000 (04:58 +0000)]
Merge "fix mistaken check of mScreenBrightnessDarkConfig" am: e6fe836938 am: 0046acc2db
am: 78b29d52e0

Change-Id: Ic780ee41444f3b335339d5bfe418ce2738785ea7

7 years agoMerge "Switch on android.telecom.Log in Telecom" am: 37521b9ba5 -s ours am: ce21e3ffa8
Brad Ebinger [Fri, 21 Oct 2016 04:55:19 +0000 (04:55 +0000)]
Merge "Switch on android.telecom.Log in Telecom" am: 37521b9ba5  -s ours am: ce21e3ffa8
am: 0fcc717ed9

Change-Id: I0d03c1dccfee9ffe7b8c6f44f6bdbfb876c11d21

7 years agoSwitch on android.telecom.Log in Telecom am: ce97bfbdb2
Brad Ebinger [Fri, 21 Oct 2016 04:53:57 +0000 (04:53 +0000)]
Switch on android.telecom.Log in Telecom am: ce97bfbdb2
am: 7ed42a72c0

Change-Id: I8adb58d243f2e674ec031584356496a754b21cf8

7 years agoMerge "fix mistaken check of mScreenBrightnessDarkConfig" am: e6fe836938
liulvping [Fri, 21 Oct 2016 04:46:50 +0000 (04:46 +0000)]
Merge "fix mistaken check of mScreenBrightnessDarkConfig" am: e6fe836938
am: 0046acc2db

Change-Id: Iff046d5f35c34a425e4765a69700d09d6834b16f

7 years agoMerge "Switch on android.telecom.Log in Telecom" am: 37521b9ba5 -s ours
Brad Ebinger [Fri, 21 Oct 2016 04:45:47 +0000 (04:45 +0000)]
Merge "Switch on android.telecom.Log in Telecom" am: 37521b9ba5  -s ours
am: ce21e3ffa8

Change-Id: I64e18346d869594db31f3e7fa3154bb9198a3790

7 years agoMerge "fix mistaken check of mScreenBrightnessDarkConfig"
liulvping [Fri, 21 Oct 2016 04:38:38 +0000 (04:38 +0000)]
Merge "fix mistaken check of mScreenBrightnessDarkConfig"
am: e6fe836938

Change-Id: I4eda1d6aed52fa4d8cbcd1ade29e96f14e58bab7

7 years agoMerge "Switch on android.telecom.Log in Telecom"
Brad Ebinger [Fri, 21 Oct 2016 04:37:28 +0000 (04:37 +0000)]
Merge "Switch on android.telecom.Log in Telecom"
am: 37521b9ba5  -s ours

Change-Id: I1a624721f577be6b1cf684208cdeb4e0471e51f2

7 years agoSwitch on android.telecom.Log in Telecom
Brad Ebinger [Fri, 21 Oct 2016 04:37:22 +0000 (04:37 +0000)]
Switch on android.telecom.Log in Telecom
am: ce97bfbdb2

Change-Id: Ic7827f1627eca43937609e21d15186f483381182

7 years agoMerge "IpConnectivity metrics: add version number"
Hugo Benichi [Fri, 21 Oct 2016 04:35:48 +0000 (04:35 +0000)]
Merge "IpConnectivity metrics: add version number"

7 years agoMerge "fix mistaken check of mScreenBrightnessDarkConfig"
Treehugger Robot [Fri, 21 Oct 2016 03:50:15 +0000 (03:50 +0000)]
Merge "fix mistaken check of mScreenBrightnessDarkConfig"

7 years agoMerge "AAPT2: Fail compile on bad output file/dir"
TreeHugger Robot [Fri, 21 Oct 2016 03:04:10 +0000 (03:04 +0000)]
Merge "AAPT2: Fail compile on bad output file/dir"

7 years agoMerge "Check USB and Print Framework code."
TreeHugger Robot [Fri, 21 Oct 2016 02:48:55 +0000 (02:48 +0000)]
Merge "Check USB and Print Framework code."

7 years agoFix NPEs when display is added or removed
Andrii Kulian [Wed, 19 Oct 2016 20:30:58 +0000 (13:30 -0700)]
Fix NPEs when display is added or removed

- In WindowContainer set parent of the child after it is actually
  added. This way if the child class depends on this in overridden
  methods it will be in correct state.
- Reconfigure display only if it is attached. Otherwise there is no
  corresponding DisplayContent record with configuration.

Change-Id: I20c51522d82f9d0ca98f098070585e6472a23e98
Test: Updated WindowContainerTests.

7 years agofix mistaken check of mScreenBrightnessDarkConfig
liulvping [Thu, 20 Oct 2016 11:51:38 +0000 (19:51 +0800)]
fix mistaken check of mScreenBrightnessDarkConfig

Change-Id: Ibd1234a5a69422f3124e72cd561d4f3624a82faf
Signed-off-by: liulvping <liulvping@xiaomi.com>
7 years agoMerge "ConnectivityManager: use ConnectivityThread looper"
TreeHugger Robot [Fri, 21 Oct 2016 01:49:44 +0000 (01:49 +0000)]
Merge "ConnectivityManager: use ConnectivityThread looper"

7 years agoFix improperly laid out alert dialog title to match UX specs.
Michael Kwan [Fri, 21 Oct 2016 01:36:09 +0000 (18:36 -0700)]
Fix improperly laid out alert dialog title to match UX specs.

Test: visual inspect using ApiDemos

Bug: 32315229
Change-Id: I486edc94c077af49e1235519e158e55833796231

7 years agoAdd a new build, install, test development (bit) tool
Joe Onorato [Thu, 20 Oct 2016 00:03:06 +0000 (17:03 -0700)]
Add a new build, install, test development (bit) tool

This is a cleaned up version of a utility that I've had sitting around
for a while.

The bit tool can run an android platform build, then sync or install
the outputs of that, and then run instrumentation tests.  It's better
than what we usually do:

  make && adb shell stop && adb sync system && adb shell start

Here's the help text:

usage: bit OPTIONS PATTERN

  Build, sync and test android code.

  The -b -i and -t options allow you to specify which phases
  you want to run. If none of those options are given, then
  all phases are run. If any of these options are provided
  then only the listed phases are run.

  OPTIONS
  -b     Run a build
  -i     Install the targets
  -t     Run the tests

  PATTERN
  One or more targets to build, install and test. The target
  names are the names that appear in the LOCAL_MODULE or
  LOCAL_PACKAGE_NAME variables in Android.mk or Android.bp files.

  Building and installing
  -----------------------
  The modules specified will be built and then installed. If the
  files are on the system partition, they will be synced and the
  attached device rebooted. If they are APKs that aren't on the
  system partition they are installed with adb install.

  For example:
    bit framework
      Builds framework.jar, syncs the system partition and reboots.

    bit SystemUI
      Builds SystemUI.apk, syncs the system partition and reboots.

    bit CtsProtoTestCases
      Builds this CTS apk, adb installs it, but does not run any
      tests.

  Running Unit Tests
  ------------------
  To run a unit test, list the test class names and optionally the
  test method after the module.

  For example:
    bit CtsProtoTestCases:*
      Builds this CTS apk, adb installs it, and runs all the tests
      contained in that apk.

    bit framework CtsProtoTestCases:*
      Builds the framework and the apk, syncs and reboots, then
      adb installs CtsProtoTestCases.apk, and runs all tests
      contained in that apk.

    bit CtsProtoTestCases:.ProtoOutputStreamBoolTest
    bit CtsProtoTestCases:android.util.proto.cts.ProtoOutputStreamBoolTest
      Builds and installs CtsProtoTestCases.apk, and runs all the
      tests in the ProtoOutputStreamBoolTest class.

    bit CtsProtoTestCases:.ProtoOutputStreamBoolTest\#testWrite
      Builds and installs CtsProtoTestCases.apk, and runs the testWrite
      test method on that class.

    bit CtsProtoTestCases:.ProtoOutputStreamBoolTest\#testWrite,.ProtoOutputStreamBoolTest\#testRepeated
      Builds and installs CtsProtoTestCases.apk, and runs the testWrite
      and testRepeated test methods on that class.

  Launching an Activity
  ---------------------
  To launch an activity, specify the activity class name after
  the module name.

  For example:
    bit StatusBarTest:NotificationBuilderTest
    bit StatusBarTest:.NotificationBuilderTest
    bit StatusBarTest:com.android.statusbartest.NotificationBuilderTest
      Builds and installs StatusBarTest.apk, launches the
      com.android.statusbartest/.NotificationBuilderTest activity.

Change-Id: I9cff7a23852fa1a67369e7807f7ae9f6e45d6131
Test: none

7 years agoCheck USB and Print Framework code.
Philip P. Moltmann [Fri, 21 Oct 2016 00:09:39 +0000 (17:09 -0700)]
Check USB and Print Framework code.

Test: Uploaded
Change-Id: Ib103a4fdc1dea0efc3a1a1be8c864541d283343a

7 years agoAAPT2: Fail compile on bad output file/dir
Adam Lesinski [Fri, 21 Oct 2016 00:08:51 +0000 (17:08 -0700)]
AAPT2: Fail compile on bad output file/dir

Test: manual
Change-Id: I2578e32c52430a62df942822ddf6bd3f06357bce

7 years agoMerge "AAPT2: Error on uncompiled XML or PNG files in link phase"
TreeHugger Robot [Thu, 20 Oct 2016 23:58:13 +0000 (23:58 +0000)]
Merge "AAPT2: Error on uncompiled XML or PNG files in link phase"

7 years agoConnectivityManager: use ConnectivityThread looper
Hugo Benichi [Thu, 7 Jul 2016 01:15:56 +0000 (10:15 +0900)]
ConnectivityManager: use ConnectivityThread looper

This patch removes the static singleton looper used by
ConnectivityManager and instead uses the common ConnectivityThread.

This allows to removes the static atomic counter used to track
the number of registered NetworkCallback in ConnectivityManager, because
the looper is not turned off anymore when no callbacks are registered.

Also an overloaded version of sendRequestForNetwork is added taking as a
new parameter a Handler. This will allow to overload various callback
and request related API calls with user provided Handlers.

Test: ConnectivityServiceTest passes
Bug: 26749700
Bug: 28537383
Bug: 32130437
Change-Id: I431afcee7c7155bd7bac23a2e1e97fd5d6520c74

7 years agoMerge "ConnectivityThread: use lazy holder idiom"
Hugo Benichi [Thu, 20 Oct 2016 23:49:01 +0000 (23:49 +0000)]
Merge "ConnectivityThread: use lazy holder idiom"

7 years agoMerge "ConnectivityManager: a simpler CallbackHandler"
Hugo Benichi [Thu, 20 Oct 2016 23:46:28 +0000 (23:46 +0000)]
Merge "ConnectivityManager: a simpler CallbackHandler"

7 years agoMerge "Gradually increase the level of authentication on failed GATT operations....
Jacky Cheung [Thu, 20 Oct 2016 23:20:57 +0000 (23:20 +0000)]
Merge "Gradually increase the level of authentication on failed GATT operations." am: 6071abdb92 am: 046a5c3a00
am: bd12e5c9db

Change-Id: Ic38340c15d1f2723c31d84acff12739acf8da3ff