Commit Graph

13095 Commits

Author SHA1 Message Date
kopriva
ee6def96f3 docs: fixing typo, bug 36909553 am: 4dddc63ee7 am: fdffe0a8be
am: 9c6821025f

Change-Id: I22c0bbced4de4da951f187586a6ae47deff31c53
2018-03-20 07:51:12 +00:00
kopriva
9c6821025f docs: fixing typo, bug 36909553 am: 4dddc63ee7
am: fdffe0a8be

Change-Id: Ib9c862fc159005c71f4af7c2e8028d588d197a11
2018-03-20 05:26:31 +00:00
kopriva
fdffe0a8be docs: fixing typo, bug 36909553
am: 4dddc63ee7

Change-Id: Ib943321651422b55b928b90617145a871a0d0460
2018-03-20 04:12:47 +00:00
David Chen
27c3ab17f7 Merge "Small fixes to StatsManager API." into pi-dev am: 96e680cb90
am: 1cc4099e80

Change-Id: Ib43baaa36d33fb8445ef694cfbfbff4b19543a6b
2018-03-20 01:41:36 +00:00
Tracy Zhou
8002e7f96c Merge "Move default pip position to right above the shelf." into pi-dev am: 017f44be88
am: 6f9ebab4ed

Change-Id: I65e587befec2dcba43b95fe6c6d8775a918fd332
2018-03-20 00:34:39 +00:00
David Chen
1cc4099e80 Merge "Small fixes to StatsManager API." into pi-dev
am: 96e680cb90

Change-Id: I2d7e2a204c91ed7a824002111452286e5efa4977
2018-03-19 23:16:51 +00:00
Tracy Zhou
6f9ebab4ed Merge "Move default pip position to right above the shelf." into pi-dev
am: 017f44be88

Change-Id: I0b61860bedd0b949dbd2b2f87b10149c3577559b
2018-03-19 22:37:06 +00:00
kopriva
4dddc63ee7 docs: fixing typo, bug 36909553
Test: make ds-docs

Bug: 36909553
Change-Id: I6e6842fe555690d97b954c370b777b25c6f5e54e
2018-03-19 14:25:30 -07:00
TreeHugger Robot
96e680cb90 Merge "Small fixes to StatsManager API." into pi-dev 2018-03-19 21:04:39 +00:00
Alex Kershaw
b23d8318fc Merge "Fix Javadoc of DevicePolicyManager#setStorageEncryption to reflect that it's a no-op (and silent fail) when called from a non-system user." into pi-dev am: 56be97edd0
am: c445726833

Change-Id: I9f95bc40d2f9b3bbc64314eca33c0a80cd6bb871
2018-03-19 20:47:15 +00:00
Alex Kershaw
c445726833 Merge "Fix Javadoc of DevicePolicyManager#setStorageEncryption to reflect that it's a no-op (and silent fail) when called from a non-system user." into pi-dev
am: 56be97edd0

Change-Id: I26c48173f62c19c437a6f24bd63159f80e3f6fb1
2018-03-19 20:15:31 +00:00
Tracy Zhou
017f44be88 Merge "Move default pip position to right above the shelf." into pi-dev 2018-03-19 20:15:14 +00:00
John Reck
34be60db86 Merge "Don't use IPC in isolateProcess" into pi-dev am: 75cd1c0334
am: b542ac19c6

Change-Id: I3150815a29392ceeca39e73282b1354af3de4339
2018-03-19 19:25:55 +00:00
John Reck
b542ac19c6 Merge "Don't use IPC in isolateProcess" into pi-dev
am: 75cd1c0334

Change-Id: If943e25ce31246bbc4267402b679665f674980ef
2018-03-19 19:12:20 +00:00
Mike Digman
460384f315 Merge "Add disable2 flag for rotate suggestions" into pi-dev am: bd24572e17
am: 05a3cfd4d5

Change-Id: I8e7ab1195b8b78a0959e55cca5e205504fe8969d
2018-03-19 18:33:17 +00:00
Alex Kershaw
56be97edd0 Merge "Fix Javadoc of DevicePolicyManager#setStorageEncryption to reflect that it's a no-op (and silent fail) when called from a non-system user." into pi-dev 2018-03-19 18:17:23 +00:00
Mike Digman
05a3cfd4d5 Merge "Add disable2 flag for rotate suggestions" into pi-dev
am: bd24572e17

Change-Id: I4b5cd5aa47debaedb115bd78cdd19fdda2bba552
2018-03-19 18:08:29 +00:00
TreeHugger Robot
75cd1c0334 Merge "Don't use IPC in isolateProcess" into pi-dev 2018-03-19 17:56:14 +00:00
Tracy Zhou
43513086d2 Move default pip position to right above the shelf.
This change takes care of the flow from WindowManagerService to
PinnedStackController, all the way to PipTouchHandler. It also
introduces a WindowManager hook that allows Launcher to pass in
shelf visibility and height. A separate change is made to send
signals from Launcher to SysUI. (ag/3724896)

Bug: 73961893
Change-Id: I2ff54e78bc2dc35c806b902464048b051a4d6394
Test: atest CtsActivityManagerDeviceTestCases:ActivityManagerPinnedStackTests
2018-03-19 17:41:08 +00:00
David Chen
c1a3a0d780 Small fixes to StatsManager API.
Adds some annotations, deletes an unused API method, and adds some
comments.

Test: Flashed onto marlin-eng and verified there are no crashes.
Bug: 72562867
Change-Id: I6c93ee4aeeacf6842795256c76551cfb1c28888d
2018-03-19 10:26:51 -07:00
Mike Digman
bd24572e17 Merge "Add disable2 flag for rotate suggestions" into pi-dev 2018-03-19 17:13:30 +00:00
Bookatz
b16ae2cb26 Merge "StatsManager log lines should be in logcat" into pi-dev am: 781533dc32
am: abec9926d7

Change-Id: Ia100a1303edd55c31aa0f9098bdf7d38bec79968
2018-03-19 16:50:42 +00:00
Bookatz
abec9926d7 Merge "StatsManager log lines should be in logcat" into pi-dev
am: 781533dc32

Change-Id: I9b79b21a8588d4dd927a6d16bd2fb437aa69c720
2018-03-19 16:39:14 +00:00
TreeHugger Robot
781533dc32 Merge "StatsManager log lines should be in logcat" into pi-dev 2018-03-19 16:18:53 +00:00
Jorim Jaggi
dd61685602 Merge "Insert correct app transition events for recents anim" into pi-dev am: f8cb545afb
am: 7431195ead

Change-Id: Id36878e5e678ff35d1fb4d9bb70dec0ac02844fb
2018-03-19 16:07:49 +00:00
Jorim Jaggi
7431195ead Merge "Insert correct app transition events for recents anim" into pi-dev
am: f8cb545afb

Change-Id: I573a25113afd6666c95ceedefb33e7c994624e0d
2018-03-19 15:51:32 +00:00
Jorim Jaggi
54cff64ec6 Insert correct app transition events for recents anim
The transition delay will be the latency until all the leashes
were created etc. Thus, the actual latency is going to be in
WINDOWS_DRAWN_DELAY.

Also fix an issue where we inadvertently started a transition,
and then the transition logger was hanging.

Bug: 72967764
Test: Swipe up from home button, observe eventlog
Change-Id: I2b1fb7d9d694a629a33653c1fa3d5ed47f53de6b
2018-03-19 14:55:41 +00:00
Alex Kershaw
61ec825598 Fix Javadoc of DevicePolicyManager#setStorageEncryption to reflect that
it's a no-op (and silent fail) when called from a non-system user.

DevicePolicyManagerService#setStorageEncryption also has its Javadoc
fixed.

Bug: 74591983
Change-Id: Ie191ad255cbfcade921d172641f134d6c49a17b1
Fixes: 74591983
Test: N/A - just javadoc changed
2018-03-19 10:57:12 +00:00
Bookatz
1f63131425 StatsManager log lines should be in logcat
Change the Slog.d to Slog.w and enable them, so that we can see them.
They seem to represent important failure events when people call the
public API into StatsManager.

Bug: 74997752
Test: none
Change-Id: I1c577b32358158f73453a8a3066013e0f3733d87
2018-03-18 16:17:51 +00:00
Julia Reynolds
50ef90645e Merge "Add new semantic Person fields" into pi-dev am: 6389e7bc44
am: 1e856ca8c3

Change-Id: Ia4d842aa30e48f72e8b8a97e47fe57673a02212a
2018-03-17 02:14:30 +00:00
Julia Reynolds
1e856ca8c3 Merge "Add new semantic Person fields" into pi-dev
am: 6389e7bc44

Change-Id: I316ff063efbe3c36a34e3e9e00a463ae4364c4bd
2018-03-17 01:50:45 +00:00
Julia Reynolds
6389e7bc44 Merge "Add new semantic Person fields" into pi-dev 2018-03-17 01:35:20 +00:00
John Reck
564284759f Don't use IPC in isolateProcess
Fixes: 74395652
Test: hwuiunit passes in 'shell stop' state (pseudo-isolated process),
      manually checked non-isolated processes still have working vsync
      via systrace of RT animations demo

Change-Id: I630ea011dc7eb2efa265b25673d3304b3b2510d3
2018-03-16 17:34:02 -07:00
Amith Yamasani
ace2399673 Merge "App Time Limits API in UsageStats" into pi-dev am: a8bb9d255f
am: 0071ccea48

Change-Id: I9be474caba095e377c40b9153d4adbc444380a05
2018-03-16 23:19:57 +00:00
Amith Yamasani
0071ccea48 Merge "App Time Limits API in UsageStats" into pi-dev
am: a8bb9d255f

Change-Id: I77b6656d38701b76444c64be1d75c7b86e70e3bb
2018-03-16 23:08:42 +00:00
TreeHugger Robot
a8bb9d255f Merge "App Time Limits API in UsageStats" into pi-dev 2018-03-16 22:40:46 +00:00
Mike Digman
dd2f49edb6 Add disable2 flag for rotate suggestions
The SUW team has requested a programmatic way to hide rotation
suggestions during setup. Piggyback on disable2 with new flag,
callbacks already available in NavBarFragment. Downgrade
permissions for disable2 to match disable so SUW can use.

Test: manual with SUW variant
Fixes: 75291849
Change-Id: I1021ee5e1628c36ebf53afe843f903006474163e
2018-03-16 12:35:21 -07:00
Julia Reynolds
18c35dfd61 Add new semantic Person fields
Bug: 74431200
Test: cts
Change-Id: I9eda447ae371ef635e9044a13ba7973bd69520ce
2018-03-16 19:13:51 +00:00
Alan Viverette
b15009eb2a Merge "Restore "Update packages for 1.0.0-beta1"" into pi-dev am: 259dd151f4
am: 5ea38d0493

Change-Id: I02770c481e6a0df7bc17f17ffe7e094e82b4aaca
2018-03-16 14:21:33 +00:00
Alan Viverette
5ea38d0493 Merge "Restore "Update packages for 1.0.0-beta1"" into pi-dev
am: 259dd151f4

Change-Id: Ic2ac3ecafbfa6ff29580c86f7a639783b94f21dc
2018-03-16 14:06:04 +00:00
Alan Viverette
259dd151f4 Merge "Restore "Update packages for 1.0.0-beta1"" into pi-dev 2018-03-16 13:53:46 +00:00
TreeHugger Robot
a2d0f2f335 Merge "Frameworks: Fix system server profiling" into pi-dev 2018-03-16 04:00:48 +00:00
Jason Monk
72524977d7 Merge "SliceManager: Relax explicit checks on map a little bit" into pi-dev am: 0b795eb88e
am: 6bea8a4bb9

Change-Id: I06ad802554654b29964d8cba1b4572b7b1d37574
2018-03-16 02:58:42 +00:00
Jason Monk
6bea8a4bb9 Merge "SliceManager: Relax explicit checks on map a little bit" into pi-dev
am: 0b795eb88e

Change-Id: I7b480717453d7ace26033066279a3c20e68cb7aa
2018-03-16 02:07:06 +00:00
TreeHugger Robot
0b795eb88e Merge "SliceManager: Relax explicit checks on map a little bit" into pi-dev 2018-03-16 00:11:53 +00:00
Amith Yamasani
62ec27e97f App Time Limits API in UsageStats
Allow setting groups of apps to control usage time limits on.
Applies only to activity time in the foreground.

Updated UsageStatsTest app to be able to add an observer for
a 30 second timeout across multiple comma separated package
names.

Bug: 74335821
Test: atest FrameworksServicesTests:AppTimeLimitControllerTests
      Install and run frameworks/base/tests/UsageStatsTest

Change-Id: I677c30b4f211f7acf72c9766df3d8c1ac56a4b4e
2018-03-15 17:07:28 -07:00
Andreas Gampe
4f68924d8b Frameworks: Fix system server profiling
Avoid a race to close the profiling file descriptor.

(cherry picked from commit 5a8ea8c619)

Bug: 74883338
Test: m
Test: am profile start `pid system_server` /data/local/tmp/test.trace && sleep 5s && am profile stop `pid system_server` && adb pull /data/local/tmp/test.trace && [[ $(find test.trace -size +1K) ]] && echo Success
Merged-In: Ib506ce38ac1ac7c0b91079ba9b35aca6ae289d22
Change-Id: Ib506ce38ac1ac7c0b91079ba9b35aca6ae289d22
2018-03-15 15:48:58 -07:00
Makoto Onuki
68a2617af5 Merge "Fix deadlock regarding screen-capture-disabled" into pi-dev am: 70d24a0b1f
am: 5a67d2973e

Change-Id: Ie88f4bd95f0a9276ed25c98c33e6e8831734e2c1
2018-03-15 22:27:23 +00:00
Makoto Onuki
5a67d2973e Merge "Fix deadlock regarding screen-capture-disabled" into pi-dev
am: 70d24a0b1f

Change-Id: I5569896a94ba6d34cb75b83bacdf44ddc8a9ae28
2018-03-15 22:08:30 +00:00
Jason Monk
135f4179f2 SliceManager: Relax explicit checks on map a little bit
Test: manual
Bug: 68378561
Change-Id: Iaf7e296dfd7dd355ca755386d1e2fb7b220abc15
2018-03-15 17:52:18 -04:00