OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Use new Skia DrawShadow API"
TreeHugger Robot [Mon, 6 Feb 2017 19:18:42 +0000 (19:18 +0000)]
Merge "Use new Skia DrawShadow API"

7 years agoMerge changes from topic 'debuggerd_ambient' am: 0784e51163 am: ce0722f344 am: 646e4b3dc0
Josh Gao [Mon, 6 Feb 2017 19:17:42 +0000 (19:17 +0000)]
Merge changes from topic 'debuggerd_ambient' am: 0784e51163 am: ce0722f344 am: 646e4b3dc0
am: 0239f56c8d

Change-Id: I1c421b8de7307291b5a276faaf1455915f81a85c

7 years agoMerge changes from topic 'debuggerd_ambient' am: 0784e51163 am: ce0722f344
Josh Gao [Mon, 6 Feb 2017 19:07:57 +0000 (19:07 +0000)]
Merge changes from topic 'debuggerd_ambient' am: 0784e51163 am: ce0722f344
am: 646e4b3dc0

Change-Id: I14091fcf7be76b7383bbd1c8c1626d76c15220b1

7 years agozygote: make all capabilities inheritable. am: 45dab78e98 am: 0f2a0b9908 am: 6f372daa9d
Josh Gao [Mon, 6 Feb 2017 19:07:38 +0000 (19:07 +0000)]
zygote: make all capabilities inheritable. am: 45dab78e98 am: 0f2a0b9908 am: 6f372daa9d
am: 9862ef9449

Change-Id: I4ef4127ae25c050876ddab08c7d7203e6846d4f4

7 years agoRevert "zygote: don't drop CAP_SYS_PTRACE from the bounding set." am: 0a2d61505a...
Josh Gao [Mon, 6 Feb 2017 19:06:28 +0000 (19:06 +0000)]
Revert "zygote: don't drop CAP_SYS_PTRACE from the bounding set." am: 0a2d61505a am: c75e4153cf am: dc3f66c3be
am: 83a2e94983

Change-Id: I72de1024758be2575ecde3654df7d34337d94a64

7 years agoMerge changes from topic 'debuggerd_ambient' am: 0784e51163
Josh Gao [Mon, 6 Feb 2017 19:01:58 +0000 (19:01 +0000)]
Merge changes from topic 'debuggerd_ambient' am: 0784e51163
am: ce0722f344

Change-Id: I16e66ebc770f0dbe0bcfea088648ad61e1818dd3

7 years agoMerge "wait for sensor service before starting WMS"
Keun-young Park [Mon, 6 Feb 2017 19:01:28 +0000 (19:01 +0000)]
Merge "wait for sensor service before starting WMS"

7 years agozygote: make all capabilities inheritable. am: 45dab78e98 am: 0f2a0b9908
Josh Gao [Mon, 6 Feb 2017 19:00:02 +0000 (19:00 +0000)]
zygote: make all capabilities inheritable. am: 45dab78e98 am: 0f2a0b9908
am: 6f372daa9d

Change-Id: I1144d36ccaafa5d60249eaecbb8c5845c263a666

7 years agoRevert "zygote: don't drop CAP_SYS_PTRACE from the bounding set." am: 0a2d61505a...
Josh Gao [Mon, 6 Feb 2017 18:59:15 +0000 (18:59 +0000)]
Revert "zygote: don't drop CAP_SYS_PTRACE from the bounding set." am: 0a2d61505a am: c75e4153cf
am: dc3f66c3be

Change-Id: I31dbac8d9f738d198078a22a437cc9b272c46e4b

7 years agoMerge "API for app to know what to set in Activity.setVolumeControlStream()"
Jean-Michel Trivi [Mon, 6 Feb 2017 18:54:32 +0000 (18:54 +0000)]
Merge "API for app to know what to set in Activity.setVolumeControlStream()"

7 years agoMerge changes from topic 'debuggerd_ambient'
Josh Gao [Mon, 6 Feb 2017 18:53:04 +0000 (18:53 +0000)]
Merge changes from topic 'debuggerd_ambient'
am: 0784e51163

Change-Id: I842b682377d92f1b140fe442073d7b97d5090208

7 years agozygote: make all capabilities inheritable. am: 45dab78e98
Josh Gao [Mon, 6 Feb 2017 18:52:20 +0000 (18:52 +0000)]
zygote: make all capabilities inheritable. am: 45dab78e98
am: 0f2a0b9908

Change-Id: I864b02533e461c332ad8c8e6c5b931a5dfa9485f

7 years agoRevert "zygote: don't drop CAP_SYS_PTRACE from the bounding set." am: 0a2d61505a
Josh Gao [Mon, 6 Feb 2017 18:51:21 +0000 (18:51 +0000)]
Revert "zygote: don't drop CAP_SYS_PTRACE from the bounding set." am: 0a2d61505a
am: c75e4153cf

Change-Id: Id936d8fde31c69ed04df81486f441244339a2065

7 years agoMerge "Add Vulkan compute level system feature"
TreeHugger Robot [Mon, 6 Feb 2017 18:47:33 +0000 (18:47 +0000)]
Merge "Add Vulkan compute level system feature"

7 years agozygote: make all capabilities inheritable.
Josh Gao [Mon, 6 Feb 2017 18:44:46 +0000 (18:44 +0000)]
zygote: make all capabilities inheritable.
am: 45dab78e98

Change-Id: I1983899a771bb82f644c75c0fe3e38342aab8402

7 years agoRevert "zygote: don't drop CAP_SYS_PTRACE from the bounding set."
Josh Gao [Mon, 6 Feb 2017 18:44:03 +0000 (18:44 +0000)]
Revert "zygote: don't drop CAP_SYS_PTRACE from the bounding set."
am: 0a2d61505a

Change-Id: I38d9ec4b7be41b5ed7b3d9c30bce1c09315a5135

7 years agoMerge "Set RetailDemoModeService#mDeviceInDemoMode to false"
TreeHugger Robot [Mon, 6 Feb 2017 18:43:00 +0000 (18:43 +0000)]
Merge "Set RetailDemoModeService#mDeviceInDemoMode to false"

7 years agoMerge changes from topic 'debuggerd_ambient'
Josh Gao [Mon, 6 Feb 2017 18:37:54 +0000 (18:37 +0000)]
Merge changes from topic 'debuggerd_ambient'

* changes:
  zygote: make all capabilities inheritable.
  Revert "zygote: don't drop CAP_SYS_PTRACE from the bounding set."

7 years agoMerge "Schedule strong auth timeout in handler to avoid deadlock."
TreeHugger Robot [Mon, 6 Feb 2017 18:32:24 +0000 (18:32 +0000)]
Merge "Schedule strong auth timeout in handler to avoid deadlock."

7 years agoMerge "Further improved the coloring optimization"
Selim Cinek [Mon, 6 Feb 2017 18:20:34 +0000 (18:20 +0000)]
Merge "Further improved the coloring optimization"

7 years agoMerge "Limit getRunningServices to calling uid's services."
Bryce Lee [Mon, 6 Feb 2017 18:15:23 +0000 (18:15 +0000)]
Merge "Limit getRunningServices to calling uid's services."

7 years agoMerge "Merge "Merge "Fix the documentation for SecurityLog.SecurityEvent.getData...
Android Build Merger (Role) [Mon, 6 Feb 2017 18:03:55 +0000 (18:03 +0000)]
Merge "Merge "Merge "Fix the documentation for SecurityLog.SecurityEvent.getData()." into nyc-mr1-dev am: 504ca8e41a am: 1f8f29968b am: 57f2ed0757" into nyc-mr2-dev-plus-aosp am: 3039b49111"

7 years agoMerge "Merge "Fix the documentation for SecurityLog.SecurityEvent.getData()." into...
Android Build Merger (Role) [Mon, 6 Feb 2017 18:03:32 +0000 (18:03 +0000)]
Merge "Merge "Fix the documentation for SecurityLog.SecurityEvent.getData()." into nyc-mr1-dev am: 504ca8e41a am: 1f8f29968b am: 57f2ed0757 am: 0b8080dfda"

7 years agoMerge "Merge "Fix the documentation for SecurityLog.SecurityEvent.getData()." into...
Pavel Grafov [Mon, 6 Feb 2017 18:02:33 +0000 (18:02 +0000)]
Merge "Merge "Fix the documentation for SecurityLog.SecurityEvent.getData()." into nyc-mr1-dev am: 504ca8e41a am: 1f8f29968b am: 57f2ed0757" into nyc-mr2-dev-plus-aosp
am: 3039b49111

Change-Id: Ia8f7e712ab320f8e1d910719475b8e3ea40e4f8c

7 years agoMerge "Fix the documentation for SecurityLog.SecurityEvent.getData()." into nyc-mr1...
Pavel Grafov [Mon, 6 Feb 2017 18:02:23 +0000 (18:02 +0000)]
Merge "Fix the documentation for SecurityLog.SecurityEvent.getData()." into nyc-mr1-dev am: 504ca8e41a am: 1f8f29968b am: 57f2ed0757
am: 0b8080dfda

Change-Id: I6f42a0746d819565960bda6ddefdbc036bd93aec

7 years agoMerge "Merge "Merge "Fix the documentation for SecurityLog.SecurityEvent.getData...
Android Build Merger (Role) [Mon, 6 Feb 2017 18:01:44 +0000 (18:01 +0000)]
Merge "Merge "Merge "Fix the documentation for SecurityLog.SecurityEvent.getData()." into nyc-mr1-dev am: 504ca8e41a am: 1f8f29968b am: 43c6f28891" into nyc-mr2-dev-plus-aosp am: 573f0587f7"

7 years agoMerge "Merge "Fix the documentation for SecurityLog.SecurityEvent.getData()." into...
Android Build Merger (Role) [Mon, 6 Feb 2017 18:01:21 +0000 (18:01 +0000)]
Merge "Merge "Fix the documentation for SecurityLog.SecurityEvent.getData()." into nyc-mr1-dev am: 504ca8e41a am: 1f8f29968b am: 43c6f28891 am: 637d54acf5"

7 years agoMerge "Merge "Fix the documentation for SecurityLog.SecurityEvent.getData()." into...
Pavel Grafov [Mon, 6 Feb 2017 18:00:34 +0000 (18:00 +0000)]
Merge "Merge "Fix the documentation for SecurityLog.SecurityEvent.getData()." into nyc-mr1-dev am: 504ca8e41a am: 1f8f29968b am: 43c6f28891" into nyc-mr2-dev-plus-aosp
am: 573f0587f7

Change-Id: Ib80bacc1b829af19bb187bb8a6d77d0093362d79

7 years agoMerge "Fix the documentation for SecurityLog.SecurityEvent.getData()." into nyc-mr1...
Pavel Grafov [Mon, 6 Feb 2017 18:00:26 +0000 (18:00 +0000)]
Merge "Fix the documentation for SecurityLog.SecurityEvent.getData()." into nyc-mr1-dev am: 504ca8e41a am: 1f8f29968b am: 43c6f28891
am: 637d54acf5

Change-Id: I2f40fe3b1f566bef69321fb8e645f33a30702496

7 years agoMerge "Merge "Fix the documentation for SecurityLog.SecurityEvent.getData(). am:...
Android Build Merger (Role) [Mon, 6 Feb 2017 17:59:53 +0000 (17:59 +0000)]
Merge "Merge "Fix the documentation for SecurityLog.SecurityEvent.getData(). am: 739cda8f31 am: fca679ff74 am: 1bb00e0849" into nyc-mr2-dev-plus-aosp am: 32e51130ad"

7 years agoMerge "Fix the documentation for SecurityLog.SecurityEvent.getData(). am: 739cda8f31...
Android Build Merger (Role) [Mon, 6 Feb 2017 17:59:31 +0000 (17:59 +0000)]
Merge "Fix the documentation for SecurityLog.SecurityEvent.getData(). am: 739cda8f31 am: fca679ff74 am: 1bb00e0849 am: a9b4a62827"

7 years agoMerge "Fix the documentation for SecurityLog.SecurityEvent.getData(). am: 739cda8f31...
Pavel Grafov [Mon, 6 Feb 2017 17:58:41 +0000 (17:58 +0000)]
Merge "Fix the documentation for SecurityLog.SecurityEvent.getData(). am: 739cda8f31 am: fca679ff74 am: 1bb00e0849" into nyc-mr2-dev-plus-aosp
am: 32e51130ad

Change-Id: If896a412da7afc5ea983d88e2c95cadf35eb2dd1

7 years agoFix the documentation for SecurityLog.SecurityEvent.getData(). am: 739cda8f31 am...
Pavel Grafov [Mon, 6 Feb 2017 17:58:33 +0000 (17:58 +0000)]
Fix the documentation for SecurityLog.SecurityEvent.getData(). am: 739cda8f31 am: fca679ff74 am: 1bb00e0849
am: a9b4a62827

Change-Id: I42f0e81b1224ae16ac6494a3b9345eab00c76ca3

7 years agoMerge "Fix the documentation for SecurityLog.SecurityEvent.getData(). am: 739cda8f31...
Android Build Merger (Role) [Mon, 6 Feb 2017 17:57:55 +0000 (17:57 +0000)]
Merge "Fix the documentation for SecurityLog.SecurityEvent.getData(). am: 739cda8f31 am: fca679ff74 am: 5a474b4930 am: c3beac34f6"

7 years agoMerge "MediaSession: Add methods for queue managements"
TreeHugger Robot [Mon, 6 Feb 2017 17:57:37 +0000 (17:57 +0000)]
Merge "MediaSession: Add methods for queue managements"

7 years agoFix the documentation for SecurityLog.SecurityEvent.getData(). am: 739cda8f31 am...
Pavel Grafov [Mon, 6 Feb 2017 17:57:15 +0000 (17:57 +0000)]
Fix the documentation for SecurityLog.SecurityEvent.getData(). am: 739cda8f31 am: fca679ff74 am: 5a474b4930
am: c3beac34f6

Change-Id: Ia45f8bea58e15e33e41cf25b09b5220870d9dd07

7 years agoMerge "Merge "Fix the documentation for SecurityLog.SecurityEvent.getData()." into...
Android Build Merger (Role) [Mon, 6 Feb 2017 17:55:02 +0000 (17:55 +0000)]
Merge "Merge "Fix the documentation for SecurityLog.SecurityEvent.getData()." into nyc-mr1-dev am: 504ca8e41a am: 1f8f29968b am: 57f2ed0757" into nyc-mr2-dev-plus-aosp

7 years agoMerge "Merge "Fix the documentation for SecurityLog.SecurityEvent.getData()." into...
Android Build Merger (Role) [Mon, 6 Feb 2017 17:54:24 +0000 (17:54 +0000)]
Merge "Merge "Fix the documentation for SecurityLog.SecurityEvent.getData()." into nyc-mr1-dev am: 504ca8e41a am: 1f8f29968b am: 43c6f28891" into nyc-mr2-dev-plus-aosp

7 years agoMerge "Fix the documentation for SecurityLog.SecurityEvent.getData()." into nyc-mr1...
Pavel Grafov [Mon, 6 Feb 2017 17:53:56 +0000 (17:53 +0000)]
Merge "Fix the documentation for SecurityLog.SecurityEvent.getData()." into nyc-mr1-dev am: 504ca8e41a am: 1f8f29968b
am: 57f2ed0757

Change-Id: I0e4c4509da48a7ab4cd3e66e942a55c81d489613

7 years agoMerge "Fix the documentation for SecurityLog.SecurityEvent.getData()." into nyc-mr1...
Pavel Grafov [Mon, 6 Feb 2017 17:53:42 +0000 (17:53 +0000)]
Merge "Fix the documentation for SecurityLog.SecurityEvent.getData()." into nyc-mr1-dev am: 504ca8e41a am: 1f8f29968b
am: 43c6f28891

Change-Id: I862bf8bfb188bb2951d5c01254239d42ef92e1c2

7 years agoMerge "Fix the documentation for SecurityLog.SecurityEvent.getData(). am: 739cda8f31...
Android Build Merger (Role) [Mon, 6 Feb 2017 17:53:29 +0000 (17:53 +0000)]
Merge "Fix the documentation for SecurityLog.SecurityEvent.getData(). am: 739cda8f31 am: fca679ff74 am: 1bb00e0849" into nyc-mr2-dev-plus-aosp

7 years agoFix the documentation for SecurityLog.SecurityEvent.getData(). am: 739cda8f31 am...
Pavel Grafov [Mon, 6 Feb 2017 17:52:43 +0000 (17:52 +0000)]
Fix the documentation for SecurityLog.SecurityEvent.getData(). am: 739cda8f31 am: fca679ff74
am: 1bb00e0849

Change-Id: Ice787dfa05849e8a2b77575969334c33509cacb7

7 years agoFix the documentation for SecurityLog.SecurityEvent.getData(). am: 739cda8f31 am...
Pavel Grafov [Mon, 6 Feb 2017 17:52:37 +0000 (17:52 +0000)]
Fix the documentation for SecurityLog.SecurityEvent.getData(). am: 739cda8f31 am: fca679ff74
am: 5a474b4930

Change-Id: If1731db386157b1f53c3a7bbe379299c1ada0ca9

7 years agoMerge "Fix the documentation for SecurityLog.SecurityEvent.getData()." into nyc-mr1...
Pavel Grafov [Mon, 6 Feb 2017 17:47:17 +0000 (17:47 +0000)]
Merge "Fix the documentation for SecurityLog.SecurityEvent.getData()." into nyc-mr1-dev am: 504ca8e41a
am: 1f8f29968b

Change-Id: Id0a5c05b902f6c47c32dbef4d84cbe527a8803b9

7 years agoMerge "Fix the documentation for SecurityLog.SecurityEvent.getData()." into nyc-mr1...
Pavel Grafov [Mon, 6 Feb 2017 17:47:10 +0000 (17:47 +0000)]
Merge "Fix the documentation for SecurityLog.SecurityEvent.getData()." into nyc-mr1-dev am: 504ca8e41a
am: 1f8f29968b

Change-Id: Ib43072f8a6d35c4e297493f49386aafed53a609a

7 years agoFix the documentation for SecurityLog.SecurityEvent.getData(). am: 739cda8f31
Pavel Grafov [Mon, 6 Feb 2017 17:46:11 +0000 (17:46 +0000)]
Fix the documentation for SecurityLog.SecurityEvent.getData(). am: 739cda8f31
am: fca679ff74

Change-Id: Ic6e2aab590583c501fa74317ee614ab1ebaea378

7 years agoFix the documentation for SecurityLog.SecurityEvent.getData(). am: 739cda8f31
Pavel Grafov [Mon, 6 Feb 2017 17:46:09 +0000 (17:46 +0000)]
Fix the documentation for SecurityLog.SecurityEvent.getData(). am: 739cda8f31
am: fca679ff74

Change-Id: I9f02c30450e56b8f25bbbe4b1baa2381c84437c8

7 years agoMerge "Fix the documentation for SecurityLog.SecurityEvent.getData()." into nyc-mr1-dev
Pavel Grafov [Mon, 6 Feb 2017 17:41:12 +0000 (17:41 +0000)]
Merge "Fix the documentation for SecurityLog.SecurityEvent.getData()." into nyc-mr1-dev
am: 504ca8e41a

Change-Id: I9f880a65827d689aa379ff54138f54422048a59c

7 years agoFix the documentation for SecurityLog.SecurityEvent.getData().
Pavel Grafov [Mon, 6 Feb 2017 17:41:08 +0000 (17:41 +0000)]
Fix the documentation for SecurityLog.SecurityEvent.getData().
am: 739cda8f31

Change-Id: I0c6f1271392bfc9cc8d253d5fa5e029213492b48

7 years agoMerge "Revert "Implicitly cast views obtained via View.findView methods""
TreeHugger Robot [Mon, 6 Feb 2017 17:37:44 +0000 (17:37 +0000)]
Merge "Revert "Implicitly cast views obtained via View.findView methods""

7 years agoMerge "Fix the documentation for SecurityLog.SecurityEvent.getData()." into nyc-mr1-dev
Pavel Grafov [Mon, 6 Feb 2017 17:35:04 +0000 (17:35 +0000)]
Merge "Fix the documentation for SecurityLog.SecurityEvent.getData()." into nyc-mr1-dev

7 years agoAdd Vulkan compute level system feature
Jesse Hall [Mon, 6 Feb 2017 03:58:15 +0000 (19:58 -0800)]
Add Vulkan compute level system feature

The names of specific Vulkan API features can't be documented yet,
because they won't be ratified by Khronos before the documentation
becomes public in a developer preview.

Bug: 34745152
Test: android.graphics.cts.VulkanFeaturesTest
Change-Id: I9af673bcb5b0c74bde72ab7a579573894170a55d

7 years agoMerge "Additional badging APIs."
TreeHugger Robot [Mon, 6 Feb 2017 16:49:30 +0000 (16:49 +0000)]
Merge "Additional badging APIs."

7 years agoSet RetailDemoModeService#mDeviceInDemoMode to false
Justin Klaassen [Mon, 6 Feb 2017 16:40:35 +0000 (08:40 -0800)]
Set RetailDemoModeService#mDeviceInDemoMode to false

Reset mDeviceInDemoMode when the device exits demo mode. This isn't a
supported configuration in the production devices, but it's used for CTS
in order to run tests back-to-back without reprovisioning the device.

Fixes: 34938521
Test: RetailDemoModeServiceTest
Change-Id: I5a7134815b2817e7b02b1a2df71932faee967e8d

7 years agoUse new Skia DrawShadow API
Stan Iliev [Tue, 24 Jan 2017 22:24:27 +0000 (17:24 -0500)]
Use new Skia DrawShadow API

Use new Skia DrawShadow API to draw shadows and remove unused code
from HWUI.

Test: Built and ran shadow macrobench tests.
Change-Id: Ief86b03b7348367f8bae8c212d64d5a545eebaeb

7 years agoMerge "Have Skia Vulkan backend support wait-for-gpu flag on tests"
Greg Daniel [Mon, 6 Feb 2017 16:21:56 +0000 (16:21 +0000)]
Merge "Have Skia Vulkan backend support wait-for-gpu flag on tests"

7 years agoMerge "PackageManagerService: Log time spent on cpppreopt."
Narayan Kamath [Mon, 6 Feb 2017 16:05:56 +0000 (16:05 +0000)]
Merge "PackageManagerService: Log time spent on cpppreopt."

7 years agoMerge "Add tile information to ACTION_QS_TILE_PREFERENCES intent" am: ff1d8da55e...
Jason Monk [Mon, 6 Feb 2017 15:56:38 +0000 (15:56 +0000)]
Merge "Add tile information to ACTION_QS_TILE_PREFERENCES intent" am: ff1d8da55e am: 74a8b6543f am: a8e10e5f20
am: 6e8c039e24

Change-Id: If9ed9697cc042375abd3d77b1eb4020d2798f96c

7 years agoSchedule strong auth timeout in handler to avoid deadlock.
Andrew Scull [Mon, 6 Feb 2017 14:35:03 +0000 (14:35 +0000)]
Schedule strong auth timeout in handler to avoid deadlock.

Bug: 34962180
Test: manual -- create profile, set separate password, remove separate
password and observe not deadlock i.e. screen doesn't freeze up.

Change-Id: I83b554ddeb22866d129de44775869d385e63fb3e

7 years agoMerge "Add tile information to ACTION_QS_TILE_PREFERENCES intent" am: ff1d8da55e...
Jason Monk [Mon, 6 Feb 2017 15:52:04 +0000 (15:52 +0000)]
Merge "Add tile information to ACTION_QS_TILE_PREFERENCES intent" am: ff1d8da55e am: 74a8b6543f
am: a8e10e5f20

Change-Id: I1585be50ecf4409f552b5ef5c91de1092a01e199

7 years agoMerge "Add tile information to ACTION_QS_TILE_PREFERENCES intent" am: ff1d8da55e
Jason Monk [Mon, 6 Feb 2017 15:47:39 +0000 (15:47 +0000)]
Merge "Add tile information to ACTION_QS_TILE_PREFERENCES intent" am: ff1d8da55e
am: 74a8b6543f

Change-Id: If195ccf536a45ef21e8ee70547ea76e26732c583

7 years agoMerge "Add tile information to ACTION_QS_TILE_PREFERENCES intent"
Jason Monk [Mon, 6 Feb 2017 15:43:04 +0000 (15:43 +0000)]
Merge "Add tile information to ACTION_QS_TILE_PREFERENCES intent"
am: ff1d8da55e

Change-Id: I173b94730ae02f3e9b0638aac9f43972b59e10f3

7 years agoLimit getRunningServices to calling uid's services.
Bryce Lee [Thu, 2 Feb 2017 00:41:20 +0000 (16:41 -0800)]
Limit getRunningServices to calling uid's services.

Previously all running services for the user were returned when calling
ActivityManager#getRunningServices. This changelist enforces restrictions
similar to getRunningTasks, where only the user services with a matching
uid will be returned.

Fixes: 34274345
Test: manual with sample app
Test: make -j32 cts; cts-tradefed; run cts --module CtsAppTestCases
      --test android.app.cts.ServiceTest#testRunningServices
Change-Id: I2a13328424d3741fec6076f45ba638bb754d19c5

7 years agoMerge "Add tile information to ACTION_QS_TILE_PREFERENCES intent"
Jason Monk [Mon, 6 Feb 2017 15:34:37 +0000 (15:34 +0000)]
Merge "Add tile information to ACTION_QS_TILE_PREFERENCES intent"

7 years agoMerge "MethodHandles: Expose additional API." am: 869141fef7 am: a93d04a765 am: f2914...
Narayan Kamath [Mon, 6 Feb 2017 14:29:43 +0000 (14:29 +0000)]
Merge "MethodHandles: Expose additional API." am: 869141fef7 am: a93d04a765 am: f29140955f
am: a866751b9f

Change-Id: I95d0ac752a02a7213b5e284e8a51180167639e0b

7 years agoMerge "MethodHandles: Expose additional API." am: 869141fef7 am: a93d04a765
Narayan Kamath [Mon, 6 Feb 2017 14:25:35 +0000 (14:25 +0000)]
Merge "MethodHandles: Expose additional API." am: 869141fef7 am: a93d04a765
am: f29140955f

Change-Id: I3e909e1a4faf70fcc9a58fc7bcd6c25abc87d901

7 years agoMerge "MethodHandles: Expose additional API." am: 869141fef7
Narayan Kamath [Mon, 6 Feb 2017 14:21:07 +0000 (14:21 +0000)]
Merge "MethodHandles: Expose additional API." am: 869141fef7
am: a93d04a765

Change-Id: I7eef5b76fadc6303ae37b95fb855b16d2411bdb9

7 years agoMerge "MethodHandles: Expose additional API."
Narayan Kamath [Mon, 6 Feb 2017 14:15:48 +0000 (14:15 +0000)]
Merge "MethodHandles: Expose additional API."
am: 869141fef7

Change-Id: I73b9867bc1973dd4661470cebb0d9086666593aa

7 years agoMerge "MethodHandles: Expose additional API."
Narayan Kamath [Mon, 6 Feb 2017 14:09:45 +0000 (14:09 +0000)]
Merge "MethodHandles: Expose additional API."

7 years agoAdditional badging APIs.
Julia Reynolds [Thu, 2 Feb 2017 17:22:05 +0000 (12:22 -0500)]
Additional badging APIs.

- shortcut id
- icon
- updated documentation for number

Test: cts
Change-Id: I0424b8879e79b3da70cc378c0ca96e14e328ea34

7 years agoMerge "Clear affiliation ids and lock task packages when clearing DO/PO"
TreeHugger Robot [Mon, 6 Feb 2017 12:58:51 +0000 (12:58 +0000)]
Merge "Clear affiliation ids and lock task packages when clearing DO/PO"

7 years agoPackageManagerService: Log time spent on cpppreopt.
Narayan Kamath [Mon, 6 Feb 2017 11:57:25 +0000 (11:57 +0000)]
PackageManagerService: Log time spent on cpppreopt.

Makes it more convenient to debug post OTA boot-time issues.

Bug: 34953276
Test: manual

Change-Id: Iefb0f93f0c7d536ee46b756d83f316f038166da3

7 years agoMerge "Add bytecodes for invoke-polymorphic" am: ef59955f58 am: dcaa9fd642 am: 4fc15223c2
Orion Hodson [Mon, 6 Feb 2017 10:50:01 +0000 (10:50 +0000)]
Merge "Add bytecodes for invoke-polymorphic" am: ef59955f58 am: dcaa9fd642 am: 4fc15223c2
am: 633d8c12db

Change-Id: If1f2b3280672a80a28ba78407d05b866641278ff

7 years agoMerge "Add bytecodes for invoke-polymorphic" am: ef59955f58 am: dcaa9fd642
Orion Hodson [Mon, 6 Feb 2017 10:43:22 +0000 (10:43 +0000)]
Merge "Add bytecodes for invoke-polymorphic" am: ef59955f58 am: dcaa9fd642
am: 4fc15223c2

Change-Id: I022d1917400ea9e694cc58743ca345ac58fe0379

7 years agoMerge "Add bytecodes for invoke-polymorphic" am: ef59955f58
Orion Hodson [Mon, 6 Feb 2017 10:37:24 +0000 (10:37 +0000)]
Merge "Add bytecodes for invoke-polymorphic" am: ef59955f58
am: dcaa9fd642

Change-Id: I4dba3f073900fa47cb1c4fa8ec36fb8f547fd982

7 years agoMerge "Add bytecodes for invoke-polymorphic"
Orion Hodson [Mon, 6 Feb 2017 10:30:40 +0000 (10:30 +0000)]
Merge "Add bytecodes for invoke-polymorphic"
am: ef59955f58

Change-Id: If95860a3680dc8857b54a864917d5074eba57c9a

7 years agoMerge "Add bytecodes for invoke-polymorphic"
Orion Hodson [Mon, 6 Feb 2017 10:21:53 +0000 (10:21 +0000)]
Merge "Add bytecodes for invoke-polymorphic"

7 years agoMerge "Extract and unhide TransitionListenerAdapter"
Ben Weiss [Mon, 6 Feb 2017 10:16:43 +0000 (10:16 +0000)]
Merge "Extract and unhide TransitionListenerAdapter"

7 years agoMediaSession: Add methods for queue managements
Sungsoo [Wed, 30 Nov 2016 07:29:34 +0000 (16:29 +0900)]
MediaSession: Add methods for queue managements

Bug: 30203831
Test: Passed MediaControllerTest
Change-Id: Ibc33572d21bd83d47660be8f41173b9cea206015

7 years agoMerge "Refactoring of auto fill - lifecycle, auth, improvements"
TreeHugger Robot [Mon, 6 Feb 2017 05:47:40 +0000 (05:47 +0000)]
Merge "Refactoring of auto fill - lifecycle, auth, improvements"

7 years agoAdd tile information to ACTION_QS_TILE_PREFERENCES intent
Akira Oshimi [Tue, 24 Jan 2017 07:50:53 +0000 (16:50 +0900)]
Add tile information to ACTION_QS_TILE_PREFERENCES intent

One application can provide two or more custom Quick Settings tiles.
But there is no way to know which tile is long-pressed from application
side because ACTION_QS_TILE_PREFERENCES intent that is sent when
long-pressed doesn't have any additional information. So the component
name and state of the tile should be added to the intent.

Bug: 34832801
Test: manual - long press a custom tile

Change-Id: Iaa884cd944f19a2f007cbde645e8f8b1198bffb7

7 years agoMerge "Introduces VrManager as a system service."
TreeHugger Robot [Mon, 6 Feb 2017 04:04:58 +0000 (04:04 +0000)]
Merge "Introduces VrManager as a system service."

7 years agoRefactoring of auto fill - lifecycle, auth, improvements
Svet Ganov [Fri, 3 Feb 2017 04:02:51 +0000 (20:02 -0800)]
Refactoring of auto fill - lifecycle, auth, improvements

1. Move management of the remote fill service in a dedicated
   class that abstracts away the async and ephemeral nature
   of the binding.

2. Update auth to move fingerprint out of the platform and
   allow response and dataset auth.

3. Cleaned up the fill and save callback classes.

4. The UI is now shared among all sessions and cleaned up.

5. Reshuffled the remote callbacks to have cleaner separation.

6. Cleaned up and tightened the reponse and dataset classes.

7. Added API to support communicationn with intent based auth.

Test: CTS + manually

bug:31001899

Change-Id: Idc924a01d1aea82807e0397ff7293d2b8470d4d6

7 years agoMerge "Revert "Improve AnchoredWindow with smart positioning logic.""
Svetoslav Ganov [Mon, 6 Feb 2017 04:01:54 +0000 (04:01 +0000)]
Merge "Revert "Improve AnchoredWindow with smart positioning logic.""

7 years agoMerge "Revert "Pass token to AutoFillUI.""
Svetoslav Ganov [Mon, 6 Feb 2017 04:01:08 +0000 (04:01 +0000)]
Merge "Revert "Pass token to AutoFillUI.""

7 years agoRevert "Improve AnchoredWindow with smart positioning logic."
Svetoslav Ganov [Mon, 6 Feb 2017 04:00:34 +0000 (04:00 +0000)]
Revert "Improve AnchoredWindow with smart positioning logic."

This reverts commit eb3c9344399831542edc59b7c43c84a0496d7a12.

Change-Id: I6af63525bf72dc9d0dd5a215421fb513e7e635be

7 years agoRevert "Pass token to AutoFillUI."
Svetoslav Ganov [Mon, 6 Feb 2017 03:59:53 +0000 (03:59 +0000)]
Revert "Pass token to AutoFillUI."

This reverts commit 8f60ea6360dace22e98eb9dfeead8118170fa401.

Change-Id: I16e78ab87d2f570462b24c0d61a5c7e161184c70

7 years agoIntroduces VrManager as a system service.
Zak Cohen [Thu, 26 Jan 2017 21:54:28 +0000 (13:54 -0800)]
Introduces VrManager as a system service.

Provides access to persistent VR mode as used by VR viewer when a device
is believed to be inside a viewer.

Bug: 34736524
Test: Built, run using build of vr services that enables mode.
Change-Id: I6ff392f09adb8e4bd522dacbd064777bba836282

7 years agoMerge "Fix NullPointerException in System UI caused by remote volume change"
Hyundo Moon [Mon, 6 Feb 2017 01:32:25 +0000 (01:32 +0000)]
Merge "Fix NullPointerException in System UI caused by remote volume change"

7 years agoMerge changes I0e808083,Iade6179f,If0d0a283
Jason Long [Sun, 5 Feb 2017 18:32:20 +0000 (18:32 +0000)]
Merge changes I0e808083,Iade6179f,If0d0a283

* changes:
  Hide DatasetPicker if all items are filtered.
  Improve AnchoredWindow with smart positioning logic.
  Pass token to AutoFillUI.

7 years agoAPI for app to know what to set in Activity.setVolumeControlStream()
Jean-Michel Trivi [Sun, 5 Feb 2017 00:35:25 +0000 (16:35 -0800)]
API for app to know what to set in Activity.setVolumeControlStream()

Stream types are deprecated to describe an audio playback use case.
But they are used for volume control. This API helps the developer
  go from an AudioAttributes instance used for playback, to a
  stream type used to describe which volume stream type should be
  used when the user presses on the volume keys.

Test: see AudioAttributes cts test
Bug 21267880

Change-Id: I2b9da5b282e8ed2342c61c14a7f59b874d0ce979

7 years agoMerge "Make activities that are in VR mode ignore ui mode config changes."
TreeHugger Robot [Sat, 4 Feb 2017 21:41:00 +0000 (21:41 +0000)]
Merge "Make activities that are in VR mode ignore ui mode config changes."

7 years agoMerge "Debug flag off on audio service PlaybackActivityMonitor"
Jean-Michel Trivi [Sat, 4 Feb 2017 19:10:08 +0000 (19:10 +0000)]
Merge "Debug flag off on audio service PlaybackActivityMonitor"

7 years agoDebug flag off on audio service PlaybackActivityMonitor
Jean-Michel Trivi [Fri, 3 Feb 2017 18:18:23 +0000 (10:18 -0800)]
Debug flag off on audio service PlaybackActivityMonitor

Test: check no logs from PlaybackActivityMonitor when playing audio
Bug 34974646
Change-Id: I6f67abc5a5e80cf61dc3ca4d0dc29f6fe902c4a7

7 years agoMerge "Only compress files that were already compressed in the original APK."
Pierre Lecesne [Sat, 4 Feb 2017 03:54:39 +0000 (03:54 +0000)]
Merge "Only compress files that were already compressed in the original APK."

7 years agoMerge "Fix start delay for ValueAnimator"
TreeHugger Robot [Sat, 4 Feb 2017 03:47:34 +0000 (03:47 +0000)]
Merge "Fix start delay for ValueAnimator"

7 years agoMerge "AAPT2: Support CtsContentTestCases build"
Adam Lesinski [Sat, 4 Feb 2017 03:44:21 +0000 (03:44 +0000)]
Merge "AAPT2: Support CtsContentTestCases build"

7 years agoMerge "Shift responsibility of DB cleanup to TvProvider"
TreeHugger Robot [Sat, 4 Feb 2017 03:14:10 +0000 (03:14 +0000)]
Merge "Shift responsibility of DB cleanup to TvProvider"

7 years agoFix start delay for ValueAnimator
Doris Liu [Sat, 4 Feb 2017 00:49:20 +0000 (16:49 -0800)]
Fix start delay for ValueAnimator

This CL ensures that doAnimationFrame() is called the frame
after start() is called, so that AnimatorSet can pulse frames
 into single animators as soon as they are start()'ed.

Test: new cts test in  same topic branch

Change-Id: I4f9522ce9e1a54ca3bcad6c696e6b248c945ff90

7 years agoMerge "Fix AccountsDb update."
Dmitry Dementyev [Sat, 4 Feb 2017 01:51:27 +0000 (01:51 +0000)]
Merge "Fix AccountsDb update."