OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge changes from topic "am-4832db20-4618-4c51-930c-c4179c7f0a1b" into oc-dev am...
Wyatt Riley [Thu, 15 Mar 2018 23:06:06 +0000 (23:06 +0000)]
Merge changes from topic "am-4832db20-4618-4c51-930c-c4179c7f0a1b" into oc-dev am: 38860f2cab am: 4b8765ff4a
am: 3b0285794a

Change-Id: I401b79bd0df7cf4e3b423edd70806f2ed7b3d7ea

6 years agoMerge "Removes stats_log proto from uid map in statsd." into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 22:57:09 +0000 (22:57 +0000)]
Merge "Removes stats_log proto from uid map in statsd." into pi-dev

6 years agoMerge "MediaPlayer2Impl: fix null object reference." into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 22:54:49 +0000 (22:54 +0000)]
Merge "MediaPlayer2Impl: fix null object reference." into pi-dev

6 years agoMerge "Adding size suffix to diskstats fields." into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 22:52:39 +0000 (22:52 +0000)]
Merge "Adding size suffix to diskstats fields." into pi-dev

6 years agoMerge "Fix uid for AppBreadcrumbReported for 3p app" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 22:46:47 +0000 (22:46 +0000)]
Merge "Fix uid for AppBreadcrumbReported for 3p app" into pi-dev

6 years agoMerge changes from topic "am-4832db20-4618-4c51-930c-c4179c7f0a1b" into oc-dev am...
Wyatt Riley [Thu, 15 Mar 2018 22:27:50 +0000 (22:27 +0000)]
Merge changes from topic "am-4832db20-4618-4c51-930c-c4179c7f0a1b" into oc-dev am: 38860f2cab
am: 4b8765ff4a

Change-Id: Ib91a39ae254922ae56b2911c29b86679d4dd16fb

6 years agoMerge "camera2: Add links for aeState" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 22:17:22 +0000 (22:17 +0000)]
Merge "camera2: Add links for aeState" into pi-dev

6 years agoMerge changes from topic "am-4832db20-4618-4c51-930c-c4179c7f0a1b" into oc-dev
Wyatt Riley [Thu, 15 Mar 2018 22:14:04 +0000 (22:14 +0000)]
Merge changes from topic "am-4832db20-4618-4c51-930c-c4179c7f0a1b" into oc-dev
am: 38860f2cab

Change-Id: Ief795f6cc13f5877acf0550a144c7f16aaa9a934

6 years agoMerge "Remove comments of privacy.proto to avoid this accidently go to AOSP" into...
Yi Jin [Thu, 15 Mar 2018 22:09:46 +0000 (22:09 +0000)]
Merge "Remove comments of privacy.proto to avoid this accidently go to AOSP" into pi-dev

6 years ago[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644...
Marco Nelissen [Thu, 15 Mar 2018 22:05:35 +0000 (22:05 +0000)]
[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644 am: 019eec3923 skipped: 9d13b0f6ca am: 4ef2cbc58d am: 31ee079d5f am: 6100f6d3b2 am: c077fab855 skipped: 1160018fef am: 957e6ff8fe  -s ours am: 10dd321343  -s ours
am: 9dadab0c7c  -s ours

Change-Id: Id212aa1da51bd755ff548abb1067078e661ab674

6 years agoRemove comments of privacy.proto to avoid this accidently go to AOSP
Yi Jin [Tue, 13 Mar 2018 22:01:00 +0000 (15:01 -0700)]
Remove comments of privacy.proto to avoid this accidently go to AOSP

Bug: 72950747
Test: manual
Change-Id: I06a897170996fc0aa493bda76495c6ef1e484961

6 years ago[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644...
Marco Nelissen [Thu, 15 Mar 2018 21:57:27 +0000 (21:57 +0000)]
[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644 am: 019eec3923 skipped: 9d13b0f6ca am: 4ef2cbc58d am: 31ee079d5f am: 6100f6d3b2 am: c077fab855 skipped: 1160018fef am: 957e6ff8fe  -s ours
am: 10dd321343  -s ours

Change-Id: I1b97c296b4e205f22eef83a34512bd16e8b6464a

6 years agoMerge "update OWNERS Bug: 63633199 Change-Id: I538ca012b68e27106fee8924f588a9fc1aef88...
Chong Zhang [Thu, 15 Mar 2018 21:46:42 +0000 (21:46 +0000)]
Merge "update OWNERS Bug: 63633199 Change-Id: I538ca012b68e27106fee8924f588a9fc1aef88f8" into pi-dev

6 years agoupdate OWNERS
Chong Zhang [Thu, 15 Mar 2018 21:42:37 +0000 (14:42 -0700)]
update OWNERS
Bug: 63633199
Change-Id: I538ca012b68e27106fee8924f588a9fc1aef88f8

6 years agoMerge "fix slow get caps -- DO NOT MERGE" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 21:40:32 +0000 (21:40 +0000)]
Merge "fix slow get caps -- DO NOT MERGE" into pi-dev

6 years agoMerge changes from topic "am-4832db20-4618-4c51-930c-c4179c7f0a1b" into oc-dev
TreeHugger Robot [Thu, 15 Mar 2018 21:39:46 +0000 (21:39 +0000)]
Merge changes from topic "am-4832db20-4618-4c51-930c-c4179c7f0a1b" into oc-dev

* changes:
  [automerger skipped] DO NOT MERGE: Restoring Network Available Notification to AGnssRil skipped: 3656457fac skipped: d3ef137680
  [automerger skipped] DO NOT MERGE: Restoring Network Available Notification to AGnssRil skipped: 3656457fac
  DO NOT MERGE: Restoring Network Available Notification to AGnssRil

6 years ago[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644...
Marco Nelissen [Thu, 15 Mar 2018 21:26:48 +0000 (21:26 +0000)]
[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644 am: 019eec3923 skipped: 9d13b0f6ca am: 4ef2cbc58d am: 31ee079d5f am: 6100f6d3b2 am: c077fab855 skipped: 1160018fef
am: 957e6ff8fe  -s ours

Change-Id: I0eed35a22a6e3186d8dc37fb2bae76fcbbe0d5ff

6 years agoMerge "Move computation of decodeColor- Type and Space" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 21:26:24 +0000 (21:26 +0000)]
Merge "Move computation of decodeColor- Type and Space" into pi-dev

6 years agoMerge "Fix bug to break switch cases." into pi-dev
Yi Jin [Thu, 15 Mar 2018 21:25:59 +0000 (21:25 +0000)]
Merge "Fix bug to break switch cases." into pi-dev

6 years agoFix bug to break switch cases.
Yi Jin [Thu, 15 Mar 2018 21:14:26 +0000 (14:14 -0700)]
Fix bug to break switch cases.

Bug: 75001195
Test: N/A
Change-Id: I99274cbf34d191c25ad9ced08f999c59f922cb25

6 years agoMerge "DndTile includes secondary label in content descr." into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 21:10:21 +0000 (21:10 +0000)]
Merge "DndTile includes secondary label in content descr." into pi-dev

6 years agoMerge "Adding IntDef annotations to some flag based properties" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 21:07:13 +0000 (21:07 +0000)]
Merge "Adding IntDef annotations to some flag based properties" into pi-dev

6 years agoMerge "Fix deadlock regarding screen-capture-disabled" into pi-dev
Makoto Onuki [Thu, 15 Mar 2018 21:01:49 +0000 (21:01 +0000)]
Merge "Fix deadlock regarding screen-capture-disabled" into pi-dev

6 years agoMerge "Improved Field Classification edit distance algorithms." into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 20:52:09 +0000 (20:52 +0000)]
Merge "Improved Field Classification edit distance algorithms." into pi-dev

6 years agoAdding size suffix to diskstats fields.
Kweku Adams [Thu, 15 Mar 2018 18:29:42 +0000 (11:29 -0700)]
Adding size suffix to diskstats fields.

This is to follow the stated style convention.

Bug: 74975371
Test: flash device and check incident output
Change-Id: Ic4282f2e623999f4d7795c4932d5faf10280c3c6

6 years agoRemoves stats_log proto from uid map in statsd.
David Chen [Thu, 15 Mar 2018 01:36:45 +0000 (18:36 -0700)]
Removes stats_log proto from uid map in statsd.

We don't need to parse the proto of uid map, so we use the
ProtoOutputStreame class to generate the binary form of the proto
output that's needed for parsing the uid map data.

Test: Verified unit-tests still pass.
Bug: 74010813
Change-Id: Ia2f7572f3b78bb6f7b60e8b14cf5d65428469ab6

6 years agoMerge "Delete secondary text in charging animation" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 20:32:27 +0000 (20:32 +0000)]
Merge "Delete secondary text in charging animation" into pi-dev

6 years agoMerge "[AWARE] Metrics for Discovery + Ranging" into pi-dev
Etan Cohen [Thu, 15 Mar 2018 20:26:13 +0000 (20:26 +0000)]
Merge "[AWARE] Metrics for Discovery + Ranging" into pi-dev

6 years agoMerge "Add uses on marlin to hidden API light greylist" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 20:11:37 +0000 (20:11 +0000)]
Merge "Add uses on marlin to hidden API light greylist" into pi-dev

6 years agoMerge "Add rotation logs to help debug bug reports" into pi-dev
Mike Digman [Thu, 15 Mar 2018 20:06:53 +0000 (20:06 +0000)]
Merge "Add rotation logs to help debug bug reports" into pi-dev

6 years agoMerge "Update rotate navbar icon to Google Material spec" into pi-dev
Mike Digman [Thu, 15 Mar 2018 20:06:19 +0000 (20:06 +0000)]
Merge "Update rotate navbar icon to Google Material spec" into pi-dev

6 years agoMerge "Revert "Update packages for 1.0.0-beta1"" into pi-dev
Alan Viverette [Thu, 15 Mar 2018 20:04:22 +0000 (20:04 +0000)]
Merge "Revert "Update packages for 1.0.0-beta1"" into pi-dev

6 years ago[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644...
Android Build Merger (Role) [Thu, 15 Mar 2018 20:00:14 +0000 (20:00 +0000)]
[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644 am: 019eec3923 skipped: 9d13b0f6ca am: 4ef2cbc58d am: 31ee079d5f am: 6100f6d3b2 am: c077fab855 skipped: 1160018fef

Change-Id: I1b2bb3c0c2adf15d344697381e5651b9a6adbf9f

6 years ago[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644...
Android Build Merger (Role) [Thu, 15 Mar 2018 20:00:09 +0000 (20:00 +0000)]
[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644 am: 019eec3923 skipped: 9d13b0f6ca am: 4ef2cbc58d am: 31ee079d5f am: 6100f6d3b2 am: c077fab855

Change-Id: Ia2f661ae02c925da5d6e05f96983cc3f606cd9bd

6 years ago[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644...
Android Build Merger (Role) [Thu, 15 Mar 2018 20:00:04 +0000 (20:00 +0000)]
[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644 am: 019eec3923 skipped: 9d13b0f6ca am: 4ef2cbc58d am: 31ee079d5f am: 6100f6d3b2

Change-Id: I6388ec63ab6d29d1b002cc296571e67278245fc0

6 years ago[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644...
Android Build Merger (Role) [Thu, 15 Mar 2018 19:59:59 +0000 (19:59 +0000)]
[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644 am: 019eec3923 skipped: 9d13b0f6ca am: 4ef2cbc58d am: 31ee079d5f

Change-Id: I3a801f0e6cadeb98e28d91c52062e6e63164bca2

6 years ago[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644...
Android Build Merger (Role) [Thu, 15 Mar 2018 19:59:54 +0000 (19:59 +0000)]
[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644 am: 019eec3923 skipped: 9d13b0f6ca am: 4ef2cbc58d

Change-Id: I17d0b95d850a142500d3932a472659c1e9e804f3

6 years ago[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644...
Android Build Merger (Role) [Thu, 15 Mar 2018 19:59:42 +0000 (19:59 +0000)]
[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644 am: 019eec3923 skipped: 9d13b0f6ca

Change-Id: Ib29c785708e959391b3e388b453147e94037420f

6 years ago[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644...
Android Build Merger (Role) [Thu, 15 Mar 2018 19:59:37 +0000 (19:59 +0000)]
[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644 am: 019eec3923

Change-Id: I9f69b090824a6c91bf11dbc0929ba5988a06af52

6 years ago[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644
Android Build Merger (Role) [Thu, 15 Mar 2018 19:59:32 +0000 (19:59 +0000)]
[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38 am: b8dad6c644

Change-Id: I8539a02510ed9a61b683c66c66de7d1b319c2603

6 years ago[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38
Android Build Merger (Role) [Thu, 15 Mar 2018 19:59:26 +0000 (19:59 +0000)]
[automerger] DO NOT MERGE Rework thumbnail cleanup am: b514ce9b38

Change-Id: I5cb1316547ced23a1259e068d1ea34631d105608

6 years agoDO NOT MERGE Rework thumbnail cleanup
Marco Nelissen [Tue, 7 Nov 2017 21:52:02 +0000 (13:52 -0800)]
DO NOT MERGE Rework thumbnail cleanup

Bug: 63766886
Test: ran CTS tests
Change-Id: I1f92bb014e275eafe3f42aef1f8c817f187c6608
Merged-In: I1f92bb014e275eafe3f42aef1f8c817f187c6608

6 years agoMerge "Don't throw but wtf to help chase mismatched start/finish op calls" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 19:56:39 +0000 (19:56 +0000)]
Merge "Don't throw but wtf to help chase mismatched start/finish op calls" into pi-dev

6 years agoMerge "Break down jank between frame drops vs. triple buffered" into pi-dev
John Reck [Thu, 15 Mar 2018 19:48:54 +0000 (19:48 +0000)]
Merge "Break down jank between frame drops vs. triple buffered" into pi-dev

6 years agoMerge "Move the support_transfer_ownership_metadata inside the device admin descripto...
Antoan Angelov [Thu, 15 Mar 2018 19:40:13 +0000 (19:40 +0000)]
Merge "Move the support_transfer_ownership_metadata inside the device admin descriptor XML." into pi-dev

6 years agoMerge "Improve efficiency for CpuTimePerUidFreq" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 19:39:03 +0000 (19:39 +0000)]
Merge "Improve efficiency for CpuTimePerUidFreq" into pi-dev

6 years agoMerge "Fix instant app filter" into pi-dev
Todd Kennedy [Thu, 15 Mar 2018 19:28:33 +0000 (19:28 +0000)]
Merge "Fix instant app filter" into pi-dev

6 years agoFix instant app filter
Todd Kennedy [Wed, 14 Mar 2018 15:14:23 +0000 (08:14 -0700)]
Fix instant app filter

There were two bugs in the filtration:
1) An instant app could query for activity info in another
   instant app
2) An instant app could query for activity info from a full
   app if the activity was implicitly exposed by having
   a VIEW/BROWSABLE intent filter

Fixes: 74986543
Test: atest -it CtsAppSecurityHostTestCases:EphemeralTest#testActivityInfo
Change-Id: I89b2fb661b13b8e8a8abc6f980d9c56eb4d692b7
(cherry picked from commit 9c72a974224a931f093cdba59abc8627570b3aeb)

6 years agoAdding IntDef annotations to some flag based properties
Sunny Goyal [Thu, 15 Mar 2018 19:00:26 +0000 (12:00 -0700)]
Adding IntDef annotations to some flag based properties

Bug: 74408961
Test: N/A
Change-Id: I4320c5e265b52338eb2f4b2e5ea80ea05b9ca28f

6 years agoDndTile includes secondary label in content descr.
Beverly [Thu, 15 Mar 2018 18:50:40 +0000 (14:50 -0400)]
DndTile includes secondary label in content descr.

On talkback, user will be able to hear the secondary label
for DND now.

Test: manual
Change-Id: Iaef1e568d8b5f466f0b2352cf648fb43ef1bc64a
Fixes: 74946051

6 years agoRevert "Update packages for 1.0.0-beta1"
Alan Viverette [Thu, 15 Mar 2018 17:47:57 +0000 (17:47 +0000)]
Revert "Update packages for 1.0.0-beta1"

This reverts commit ad4d866837be4ed07d44672d74473acfb9461ec2.

Reason for revert: broke Settings

Bug: 74950017
Test: revert only
Change-Id: I7a535717d30ec79cd5a2f0529cb7ce511145e0ae

6 years agoMerge "Add fake plan with data overuse." into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 18:34:54 +0000 (18:34 +0000)]
Merge "Add fake plan with data overuse." into pi-dev

6 years agoImproved Field Classification edit distance algorithms.
Felipe Leme [Thu, 15 Mar 2018 00:23:28 +0000 (17:23 -0700)]
Improved Field Classification edit distance algorithms.

The initial implementation was very simple, as the focus was the overall
workflow. Now it uses a proper implementation, copied from
com.android.tools.lint.detector.api.LintUtils.java

Test: atest ExtServicesUnitTests FieldsClassificationTest
Bug: 70291841

Change-Id: I7424b7f03a3c9cf9619c154656fa211b9f0c494a

6 years agoMediaPlayer2Impl: fix null object reference.
Wei Jia [Thu, 15 Mar 2018 18:26:37 +0000 (11:26 -0700)]
MediaPlayer2Impl: fix null object reference.

Test: cts tests pass
Bug: 74204684
Change-Id: I906eeb9d907ae1a798be585c54126f02eb66448f

6 years agofix slow get caps -- DO NOT MERGE
Chong Zhang [Thu, 1 Mar 2018 02:46:26 +0000 (18:46 -0800)]
fix slow get caps -- DO NOT MERGE

When get caps is called on an MediaCodec object, try to
use the codec info for that MediaCodec first as it should
be available during codec construction. Only when that
somehow failed go and initialize the full MediaCodecList,
as building the entire list could be very slow.

And when cloning the CodecCapabilities from MediaCodecInfo,
copy the fields directly and the fields (other than the ones
modifiable by client) are immutable after construction.

bug: 74073607

Test:
CTS media post submit:
cts-tradefed run cts-dev --module CtsMediaTestCases --compatibility:module-arg CtsMediaTestCases:include-annotation:android.platform.test.annotations.RequiresDevice

Change-Id: I4ae5f2431da8528e1eca093c5cfb98abcb4a5bbf
(cherry picked from commit 90d7304a83ea1758ac2f7a9293d4790a1a28eb4e)

6 years agocamera2: Add links for aeState
Chien-Yu Chen [Thu, 15 Mar 2018 18:14:29 +0000 (11:14 -0700)]
camera2: Add links for aeState

Test: Build
Bug: 74976641
Change-Id: I5da5a59ae1072c9240c42ad7a38fc25548fcea63

6 years agoAdd uses on marlin to hidden API light greylist
David Brazdil [Mon, 12 Mar 2018 19:28:36 +0000 (19:28 +0000)]
Add uses on marlin to hidden API light greylist

Bug: 64382372
Test: make
Change-Id: I5640f1c377a8ae174696a4d95d4937e4813f680c
(cherry picked from commit fc1c87285d338857e92f62b6940da92e483ebeb6)

6 years agoFix uid for AppBreadcrumbReported for 3p app
Chenjie Yu [Thu, 15 Mar 2018 05:28:47 +0000 (22:28 -0700)]
Fix uid for AppBreadcrumbReported for 3p app

Bug: 74897773
Test: gts test
Change-Id: I79ef4efaf37ead570a2fe0d96e2c394a79a20a93

6 years agoMerge "rename notifications from carrierServiceStateTracker" into pi-dev
Chen Xu [Thu, 15 Mar 2018 18:01:02 +0000 (18:01 +0000)]
Merge "rename notifications from carrierServiceStateTracker" into pi-dev

6 years agoMerge "Delete unused RecoveryController exceptions" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 17:59:07 +0000 (17:59 +0000)]
Merge "Delete unused RecoveryController exceptions" into pi-dev

6 years agoMerge "Mark flaky test as flaky" into pi-dev
Jorim Jaggi [Thu, 15 Mar 2018 17:50:38 +0000 (17:50 +0000)]
Merge "Mark flaky test as flaky" into pi-dev

6 years agoDon't throw but wtf to help chase mismatched start/finish op calls
Svet Ganov [Thu, 15 Mar 2018 17:45:56 +0000 (10:45 -0700)]
Don't throw but wtf to help chase mismatched start/finish op calls

Bug: 74681706

Test: manual

Change-Id: I4661d46f953ad6dc6f11eccc5b3824bf51899374

6 years agoMerge "docs: Fixing broken hyperlinks" into pi-dev
Andrew Solovay [Thu, 15 Mar 2018 17:40:55 +0000 (17:40 +0000)]
Merge "docs: Fixing broken hyperlinks" into pi-dev

6 years agoMerge "kClear blend mode is drawn as kDstOut" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 17:36:12 +0000 (17:36 +0000)]
Merge "kClear blend mode is drawn as kDstOut" into pi-dev

6 years agoMerge "Wrap fd with unique_fd so it won't leak." into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 17:32:22 +0000 (17:32 +0000)]
Merge "Wrap fd with unique_fd so it won't leak." into pi-dev

6 years agoImprove efficiency for CpuTimePerUidFreq
Chenjie Yu [Thu, 15 Mar 2018 00:12:59 +0000 (17:12 -0700)]
Improve efficiency for CpuTimePerUidFreq

Tested on marlin. Shortly after boot, the total is 468 fileds with non
zero time spent at frequency.
It quickly swell to 1600+ though.
It is some improvement compared to 2700+, but still an extremely large
pulled atom.

Bug: 74965273
Test: manual test
Change-Id: Ibbeaa02f54d91c4958d75dd3aaafbb306d61f8d8

6 years agoAdd rotation logs to help debug bug reports
Mike Digman [Wed, 14 Mar 2018 23:25:11 +0000 (16:25 -0700)]
Add rotation logs to help debug bug reports

Debug logs should be turned off for release

Change-Id: I8d9f1ee1e46d014669def25dd47c3a151545afc6
Fixes: 74961129
Test: manual

6 years agoMerge "MediaPlayer2Impl: fix several functions" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 15:40:10 +0000 (15:40 +0000)]
Merge "MediaPlayer2Impl: fix several functions" into pi-dev

6 years agokClear blend mode is drawn as kDstOut
Stan Iliev [Fri, 2 Mar 2018 18:20:26 +0000 (13:20 -0500)]
kClear blend mode is drawn as kDstOut

kClear blend mode is drawn as kDstOut on hardware canvas for
compatibility with Android O and older.
On SDK released with Android P, the kClear blend mode is respected.

Bug: 71602378
Test: Ran Flo app
Change-Id: I6b0fa8b8bf5aa14aa5a351a914bf2ed0469ac660
(cherry picked from commit f9a461feafded09a0949f5acfd42187dc857a823)

6 years agoDelete secondary text in charging animation
Beverly [Thu, 15 Mar 2018 15:24:21 +0000 (11:24 -0400)]
Delete secondary text in charging animation

Secondary text was causing battery percentag
of wireless charging animation to be off center so remove it

Test: manual
Bug: 74946337
Change-Id: I0bf5ac142580011b24c12d4461b02885193d54d1

6 years agoMerge "Fix occasional NPE" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 15:10:49 +0000 (15:10 +0000)]
Merge "Fix occasional NPE" into pi-dev

6 years agoMerge "Display Cutout: invalidate overlay view when cutout changes" into pi-dev
Adrian Roos [Thu, 15 Mar 2018 15:02:24 +0000 (15:02 +0000)]
Merge "Display Cutout: invalidate overlay view when cutout changes" into pi-dev

6 years agoMerge "Add new hidden API." into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 14:52:26 +0000 (14:52 +0000)]
Merge "Add new hidden API." into pi-dev

6 years agoDelete unused RecoveryController exceptions
Robert Berry [Thu, 15 Mar 2018 14:34:16 +0000 (14:34 +0000)]
Delete unused RecoveryController exceptions

These were never used by GMSCore, so can safely be deleted.

Bug: 74944591
Test: it builds
Change-Id: Ib8955262223aa5d86de0b342f6e04c7461c71583

6 years agoMerge "Update a bunch of AndroidTest for apct suite" into pi-dev
Julien Desprez [Thu, 15 Mar 2018 14:29:11 +0000 (14:29 +0000)]
Merge "Update a bunch of AndroidTest for apct suite" into pi-dev

6 years agoMerge "Update packages for 1.0.0-beta1" into pi-dev
Alan Viverette [Thu, 15 Mar 2018 13:32:16 +0000 (13:32 +0000)]
Merge "Update packages for 1.0.0-beta1" into pi-dev

6 years agoMerge "Add IMS#BACK_DISPOSITION_ADJUST_NOTHING" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 13:27:30 +0000 (13:27 +0000)]
Merge "Add IMS#BACK_DISPOSITION_ADJUST_NOTHING" into pi-dev

6 years agoMerge "Greylist DevicePolicyManager#setDefaultSmsApplication" into pi-dev
David Brazdil [Thu, 15 Mar 2018 13:06:15 +0000 (13:06 +0000)]
Merge "Greylist DevicePolicyManager#setDefaultSmsApplication" into pi-dev

6 years agoAdd new hidden API.
Nicolas Geoffray [Thu, 15 Mar 2018 12:49:11 +0000 (12:49 +0000)]
Add new hidden API.

bug: 74938974
Test: m
Change-Id: Idc2f9c9f707ef813c792764334ec124583e4ca33

6 years agoMerge "Add jaewan@ to OWNERS" into pi-dev
Jaewan Kim [Thu, 15 Mar 2018 12:43:29 +0000 (12:43 +0000)]
Merge "Add jaewan@ to OWNERS" into pi-dev

6 years agoMerge "Whitelist UsbPortStatus and UsbRequest members" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 12:41:17 +0000 (12:41 +0000)]
Merge "Whitelist UsbPortStatus and UsbRequest members" into pi-dev

6 years agoFix occasional NPE
Julia Reynolds [Wed, 14 Mar 2018 17:48:39 +0000 (13:48 -0400)]
Fix occasional NPE

Change-Id: Ia815d2160b1860b2f10a5d30019d03d1ee777fe8
Fixes: 73558046
Test: none

6 years agoMerge "perfetto: Add setting to enable/disable traced" into pi-dev
Primiano Tucci [Thu, 15 Mar 2018 12:24:02 +0000 (12:24 +0000)]
Merge "perfetto: Add setting to enable/disable traced" into pi-dev

6 years agoperfetto: Add setting to enable/disable traced
Hector Dearman [Wed, 7 Mar 2018 11:12:35 +0000 (11:12 +0000)]
perfetto: Add setting to enable/disable traced

This will help us run P/H experiments by controlling the
whether traced runs through P/H.

This will allow to gradually roll out traced and, in an
emergency, remotely disable it.

Run:
$ adb shell 'ps -A | grep traced'
Should see traced.
$ adb shell 'settings put global sys_traced 0'
$ adb shell 'ps -A | grep traced'
Should no longer see traced.

Test: See above.
Bug: b/71737179
Bug: b/74383547
Change-Id: I1f564421d9abae14d7d80769e9517eb363dae33a
Merged-In: I1f564421d9abae14d7d80769e9517eb363dae33a

6 years agoMark flaky test as flaky
Jorim Jaggi [Thu, 15 Mar 2018 11:58:49 +0000 (12:58 +0100)]
Mark flaky test as flaky

Flakyness seems to be around 1%.

Bug: 74780584
Change-Id: Ie0abdb19d626a1a209d58805401b702d563b9cef

6 years agoMerge "Add new APIs." into pi-dev
Nicolas Geoffray [Thu, 15 Mar 2018 11:53:14 +0000 (11:53 +0000)]
Merge "Add new APIs." into pi-dev

6 years agoWhitelist UsbPortStatus and UsbRequest members
Artem Iglikov [Thu, 15 Mar 2018 10:47:26 +0000 (10:47 +0000)]
Whitelist UsbPortStatus and UsbRequest members

Bug: 74424953
Test: N/A
Change-Id: Idf0c71c16bb7d3747e00b357a88e03a27c10e9d6

6 years agoMerge "MediaSession2: Implement skipTo APIs" into pi-dev
Jaewan Kim [Thu, 15 Mar 2018 10:15:07 +0000 (10:15 +0000)]
Merge "MediaSession2: Implement skipTo APIs" into pi-dev

6 years agoMerge "Allow restoring of apps that rotated key" into pi-dev
Michal Karpinski [Thu, 15 Mar 2018 10:13:34 +0000 (10:13 +0000)]
Merge "Allow restoring of apps that rotated key" into pi-dev

6 years agoAdd new APIs.
Nicolas Geoffray [Wed, 14 Mar 2018 17:39:58 +0000 (17:39 +0000)]
Add new APIs.

bug: 64382372
Test: m
Change-Id: I6be84f5d5062737dcdd51c60be5196ac2a2a5c4b

6 years agoAdd jaewan@ to OWNERS
Jaewan Kim [Thu, 15 Mar 2018 07:49:40 +0000 (16:49 +0900)]
Add jaewan@ to OWNERS

Bug: 74897795
Test: N/A
Change-Id: I5cf110bd6f99b20f5ed2fc5d2ccdba318b0d99f8

6 years agoMediaSession2: Implement skipTo APIs
Jaewan Kim [Tue, 13 Mar 2018 06:48:36 +0000 (15:48 +0900)]
MediaSession2: Implement skipTo APIs

This implements following APIs from both session and controller.
  - skipToPlaylistItem()
  - skipToNextItem()
  - skipToPreviousItem()

Bug: 74175632
Test: Run CTS with MediaComponents/runcts.sh
Change-Id: I47d94346c997314ff39797bac3034aa507058036

6 years agoMerge "Remove mtOffset from drawTextRun" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 06:20:41 +0000 (06:20 +0000)]
Merge "Remove mtOffset from drawTextRun" into pi-dev

6 years agoAdd fake plan with data overuse.
Sundeep Ghuman [Thu, 15 Mar 2018 06:20:23 +0000 (23:20 -0700)]
Add fake plan with data overuse.

Bug: 70950124
Test: 1. adb shell setprop fw.fake_plan month_over
2. Visit data usage page

Change-Id: I44b474c8a668ca15eca733878057ab0931c349b1

6 years agoMerge "Add sysWhitelistedAppsExceptIdle in whitelist" into pi-dev
Andrew Sapperstein [Thu, 15 Mar 2018 05:09:59 +0000 (05:09 +0000)]
Merge "Add sysWhitelistedAppsExceptIdle in whitelist" into pi-dev

6 years agoMerge "Check AppOps bit for TelephonyManager#getForbiddenPlmns" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 04:37:28 +0000 (04:37 +0000)]
Merge "Check AppOps bit for TelephonyManager#getForbiddenPlmns" into pi-dev

6 years agoRemove mtOffset from drawTextRun
Seigo Nonaka [Thu, 15 Mar 2018 00:08:28 +0000 (17:08 -0700)]
Remove mtOffset from drawTextRun

Bug: 72998298
Test: atest CtsWidgetTestCases:EditTextTest
    CtsWidgetTestCases:TextViewFadingEdgeTest
    FrameworksCoreTests:TextViewFallbackLineSpacingTest
    FrameworksCoreTests:TextViewTest FrameworksCoreTests:TypefaceTest
    CtsGraphicsTestCases:TypefaceTest CtsWidgetTestCases:TextViewTest
    CtsTextTestCases FrameworksCoreTests:android.text
    CtsWidgetTestCases:TextViewPrecomputedTextTest

Change-Id: Ia886c1ce9f7387559d7fe00b34ce03378d56ecec

6 years agoMerge changes from topic "latency" into pi-dev
TreeHugger Robot [Thu, 15 Mar 2018 03:37:00 +0000 (03:37 +0000)]
Merge changes from topic "latency" into pi-dev

* changes:
  use the dedicated latency field in logmaker
  add reserved latency field

6 years agorename notifications from carrierServiceStateTracker
fionaxu [Thu, 15 Mar 2018 01:33:47 +0000 (18:33 -0700)]
rename notifications from carrierServiceStateTracker

Bug: 37578776
Bug: 72712198
Test: Manual
Change-Id: Ifcf670c03f3777e08f03c1a4f0c3f3d6092192b2

6 years agoMerge "Add notification category: CATEGORY_NAVIGATION; Add @SystemApi @hide notificat...
TreeHugger Robot [Thu, 15 Mar 2018 03:00:46 +0000 (03:00 +0000)]
Merge "Add notification category: CATEGORY_NAVIGATION; Add @SystemApi @hide notification categories: CATEGORY_CAR_EMERGENCY, CATEGORY_CAR_WARNING, and CATEGORY_CAR_INFORMATION." into pi-dev