Commit Graph

84760 Commits

Author SHA1 Message Date
Android Build Merger (Role)
0283fcc7e3 Merge "Merge "Use StrictJarManifest.ATTRIBUTE_NAME_NAME instead of Attributes.Name.NAME." am: 2dc5a42743 am: 597eb7f87e am: d05cdbcccd am: c9923e3e91" 2018-07-20 17:45:27 +00:00
Tobias Thierer
6cbe154c9d Merge "Use StrictJarManifest.ATTRIBUTE_NAME_NAME instead of Attributes.Name.NAME." am: 2dc5a42743 am: 597eb7f87e am: d05cdbcccd
am: c9923e3e91

Change-Id: I249f6ab4b2cc94c9598a71249c1a746060ac283c
2018-07-20 10:44:41 -07:00
TreeHugger Robot
9efdf42f8d Merge changes I57ced3b6,Id988ed81,I219bd8f8,I449a775b,I86461203, ...
* changes:
  Add DetectTvSystemAudioModeSupportAction
  Add tests for HdmiAudioSystemClient
  Fix test failure at HdmiCecLocalDeviceAudioSystemTest.
  Fix test failure for SystemAudioInitiationActionFromAvrTest.
  Checking SYSTEM_AUDIO_CONTROL_ON_POWER_ON property when power on.
  Handle atom power off.
  Add SystemAudioInitiationActionFromAvr
  Handle atom wake up: bring System Audio Control on.
  Send audio status at most once per 500 ms
  Send <Report audio status> CEC commands when it's changed
2018-07-20 17:40:51 +00:00
Tobias Thierer
c9923e3e91 Merge "Use StrictJarManifest.ATTRIBUTE_NAME_NAME instead of Attributes.Name.NAME." am: 2dc5a42743 am: 597eb7f87e
am: d05cdbcccd

Change-Id: I04ccac84d682b1bfd789f0e9f28cdd1113e52c76
2018-07-20 10:31:29 -07:00
Tobias Thierer
d05cdbcccd Merge "Use StrictJarManifest.ATTRIBUTE_NAME_NAME instead of Attributes.Name.NAME." am: 2dc5a42743
am: 597eb7f87e

Change-Id: Ie91c49d41f0c5fef015180da208f1a626952d606
2018-07-20 10:19:46 -07:00
Tobias Thierer
597eb7f87e Merge "Use StrictJarManifest.ATTRIBUTE_NAME_NAME instead of Attributes.Name.NAME."
am: 2dc5a42743

Change-Id: I5a61fe6e4b9507a754f8977225bc4dbbee88a4ff
2018-07-20 10:11:27 -07:00
Treehugger Robot
2dc5a42743 Merge "Use StrictJarManifest.ATTRIBUTE_NAME_NAME instead of Attributes.Name.NAME." 2018-07-20 15:50:59 +00:00
TreeHugger Robot
014a89593a Merge "Fix crash during cursor moving on BiDi text" 2018-07-20 02:56:26 +00:00
Shubang
ed6fb86391 Add tests for HdmiAudioSystemClient
Bug: 110430593
Test: atest android.hardware.hdmi
Change-Id: Id988ed8180b4728e96423d5d0ca38e017b01a97f
2018-07-19 17:09:25 -07:00
Shubang
2a9993e407 Send audio status at most once per 500 ms
It's recommanded by the spec

Bug: 80297383
Test: make; flashall; local tests
Change-Id: Icf534da48e122d64a8d553bb4e2335caad9eab3a
2018-07-19 17:09:25 -07:00
Shubang
c480a7108c Send <Report audio status> CEC commands when it's changed
According to HDMI CEC specification, an audio system
can report its audio status when System Audio Mode
is on, so that the TV can display the audio status
of external amplifier.

More details can be found in section CEC-13.15 of
HDMI Specification 1.4b

Bug: 80297383
Test: make; flashall; local tests
Change-Id: Id71b709a62add7bf5dccb418489e200350debb8e
2018-07-19 17:09:25 -07:00
Seigo Nonaka
960647d582 Fix crash during cursor moving on BiDi text
The crash was introduced by Ib66ef392c19c937718e7101f6d48fac3abe51ad0
The root cause of the crashing is requesting out-of-line access for the
horizontal width. This invalid access is silently ignored by
TextLine#measure() method but new implementation end up with out of
bounds access.

To makes behavior as old implementation, calling getHorizontal instead
of accessing measured result array.

Bug: 111580019
Test: Manually done
Change-Id: I5c5778718f6b397adbb1e4f2cf95e9f635f6e5c8
2018-07-19 16:22:02 -07:00
Chris Craik
59ff32c4c4 Remove Path codepath in BulletSpan
Test: none

Circles are historically actually easier to draw than Paths for HW
acceleration, though they're equivalent in Skia.

Change-Id: I1a7e2ca6439b6a09fdac784237065668db8cadc6
2018-07-19 14:58:39 -07:00
Jeff Sharkey
e849fffd96 Merge "Revert SQLiteQueryBuilder for now." 2018-07-19 20:12:20 +00:00
TreeHugger Robot
5ecdab5763 Merge "Initial unit tests for AssistStructure" 2018-07-19 17:51:32 +00:00
Yin-Chia Yeh
4f32014493 Merge "Camera: hardware level related doc update" into pi-dev am: 3d3c6531e1
am: e6ddc0c252

Change-Id: I07bd6fd9e0a4703abe6dc65484300964c3990a51
2018-07-19 09:36:55 -07:00
Yin-Chia Yeh
e6ddc0c252 Merge "Camera: hardware level related doc update" into pi-dev
am: 3d3c6531e1

Change-Id: I0134219335f73ef0c9ff3d90f04127cf36e41ad9
2018-07-19 09:25:58 -07:00
TreeHugger Robot
3d3c6531e1 Merge "Camera: hardware level related doc update" into pi-dev 2018-07-19 16:12:17 +00:00
Jeff Sharkey
91be9263e3 Revert SQLiteQueryBuilder for now.
We've encountered subtle bugs in how apps are using this public
API, so revert it back to exactly what shipped in the last
release, and move functionality to new SQLiteStatementBuilder
class, since we already have several customers using it.

Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore*
Test: atest cts/tests/tests/database/src/android/database/sqlite/cts/SQLiteQueryBuilderTest.java
Bug: 111486645
Change-Id: Ief059e987f2421e19f6f57a94320c313946a26d7
2018-07-19 09:52:20 -06:00
Felipe Leme
ce47000f39 Initial unit tests for AssistStructure
Right now this test is focused in the parcelization of a big object, due to an
upcoming refactoring on the Autofill parcelization that does not use
ensureData() to load the structure (which in turn requires calls from
system server to the app).

Bug: 35708678

Test: atest app.assist.AssistStructureTest

Change-Id: I9e1c52b19cd1d82869fa8f48113cc7dd7b00a38c
2018-07-19 08:17:19 -07:00
TreeHugger Robot
f931eb8fd1 Merge "Support rotation on secondary displays (1/N)" 2018-07-19 14:09:57 +00:00
TreeHugger Robot
d618e1dbd9 Merge "Remove unused API on IWindowSession, prepare for multi-display." 2018-07-19 00:45:19 +00:00
TreeHugger Robot
8877e2ef53 Merge "Update OWNERS for database code" 2018-07-19 00:11:15 +00:00
Makoto Onuki
b247a686e2 Update OWNERS for database code
Test: N/A

Change-Id: If657f1ac87d9a9e77162816c7ac6abb719b834d4
2018-07-18 15:56:36 -07:00
Jorim Jaggi
edf3e1fa2e Merge "Move allocateBuffers to RT" into pi-dev am: 2f8a3a4bb8
am: c9756c9193

Change-Id: Ieed40312fe16a54c3e1974621b53e29b23ddcdbc
2018-07-18 15:19:39 -07:00
Jorim Jaggi
c9756c9193 Merge "Move allocateBuffers to RT" into pi-dev
am: 2f8a3a4bb8

Change-Id: I6c8f84406a40fa324a4486f71fccf01f6acfe60a
2018-07-18 15:06:29 -07:00
Jorim Jaggi
2f8a3a4bb8 Merge "Move allocateBuffers to RT" into pi-dev 2018-07-18 21:47:59 +00:00
TreeHugger Robot
cadaf5262e Merge changes I58789fdc,I74e03909,Id82f5e6d
* changes:
  Move queryTvSystemAudioModeSupport to HdmiCecLocalDeviceAudioSystem
  Add stub method for detecting System Audio Mode support
  Add HdmiAudioSystemClient
2018-07-18 20:59:26 +00:00
TreeHugger Robot
9246e1cb4e Merge "Fix migration of O DND visual effects settings" 2018-07-18 20:06:25 +00:00
Nick Chalko
f28c7b5602 Move queryTvSystemAudioModeSupport to HdmiCecLocalDeviceAudioSystem
Bug: 80297382
Test: m -j services.core framework
Change-Id: I58789fdcf5208ac334e0d696fa769527d61847cc
(cherry picked from commit ff23fbf2b33602dcccb9b1460275d2d748c6dd7e)
2018-07-18 11:50:23 -07:00
Nick Chalko
6d9da80f4d Add stub method for detecting System Audio Mode support
Bug: 80297382
Test: m -j; stub only
Change-Id: I74e03909e00f70806e05197d66a0eb30ea4e49c8
2018-07-18 11:50:16 -07:00
Shubang
67373192a9 Add HdmiAudioSystemClient
Bug: 109949458
Test: make;
Change-Id: Id82f5e6d5fd607ec0ffe11317341a02f7357354e
2018-07-18 11:50:16 -07:00
TreeHugger Robot
74821b569f Merge "Include textclassifier info in dumpsys" 2018-07-18 18:33:31 +00:00
Phil Weaver
0286e7c510 Merge "Fix a11y cache correctness bug" 2018-07-18 17:40:15 +00:00
Yifan Hong
d8fe7f5796 Merge "IBatteryPropertiesRegistrar: remove unused functions" into stage-aosp-master
am: b9fa97dff7

Change-Id: I55e25e25612cbb11cec025ba21b6577d635f1df9
2018-07-18 10:38:42 -07:00
Julia Reynolds
4501387821 Fix migration of O DND visual effects settings
In O the settings were in the 'allow' section, not the 'disallow'
section, so the conditional needs to be reversed.

Test: runtest systemui-notification, manual
Change-Id: Icfcb328ac1d44b83b11d185be40c4ec696ebfb25
Fixes: 111313535
2018-07-18 12:38:13 -04:00
Riddle Hsu
654a6f90b0 Support rotation on secondary displays (1/N)
- Allow to apply rotation animation on non-default display.
- Separate by display:
    Rotation related timeout.
    Pause/resume rotation.
- Able to get/watch non-default display orientation/rotation.

Bug: 111361251
Test: atest FrameworksServicesTests:DisplayContentTests
Test: go/wm-smoke
Change-Id: I9533f1b90b9969d455b6dc235c5318e39f63ab12
2018-07-18 23:48:13 +08:00
wilsonshih
70f6ae7649 Remove unused API on IWindowSession, prepare for multi-display.
Scan on code base and found those API are not be used
anymore, and IWindowSession only be used in frameworks. Should be
able to remove them if needed.

Bug:111361793
Test: atest CtsWindowManagerDeviceTestCases
Test: atest CtsActivityManagerDeviceTestCases
Change-Id: Idbf680ae68d21e055d9ccfa33aea4a73891ddd14
2018-07-18 13:10:10 +00:00
Tony Mak
f93e9e5439 Include textclassifier info in dumpsys
Example output:
Text classifier constants=null
TextClassifierImpl:
  Model file(s):
    ModelFile { path=/data/misc/textclassifier/textclassifier.model name=textclassifier.model version=603 locales=en }
    ModelFile { path=/etc/textclassifier/textclassifier.universal.model name=textclassifier.universal.model version=6 locales=und }
    ModelFile { path=/etc/textclassifier/textclassifier.en.model name=textclassifier.en.model version=6 locales=en }
  mFallback=android.view.textclassifier.TextClassifier$1@8269b3
SystemTextClassifier:
  mFallback=android.view.textclassifier.TextClassifierImpl@72dbb70 mPackageName=android mSessionId=null isSystemTextClassifierEnabled=true
TextClassificationConstants:
  isLocalTextClassifierEnabled=true isSystemTextClassifierEnabled=true isModelDarkLaunchEnabled=false isSmartSelectionEnabled=true isSmartTextShareEnabled=true isSmartLinkifyEnabled=true isSmartSelectionAnimationEnabled=true getSuggestSelectionMaxRangeLength=10000 getClassifyTextMaxRangeLength=10000 getGenerateLinksMaxTextLength=100000 getGenerateLinksLogSampleRate=100 getEntityListDefault=[address, email, phone, url, date, datetime, flight] getEntityListNotEditable=[address, email, phone, url, date, datetime, flight] getEntityListEditable=[address, email, phone, url, date, datetime, flight]

FIXES: 111434669

Test: adb shell dumpsys textclassification
Change-Id: If0cbc290034ff51ec31fed1ce08e5bc806603549
2018-07-18 12:35:15 +02:00
Kazuki Takise
4095cd7dbf Merge "Defer always on top state when task gets maximized" 2018-07-17 23:56:21 +00:00
Phil Weaver
a4002c8daf Fix a11y cache correctness bug
If two views change, their common ancestor can send
a subtree_changed event. But the cache is dropping
events that come from views that it hasn't cached.

Now clearing the cache entirely when a node not in
the cache sends a subtree changed event, since we
don't know which nodes are descendents and which
may have changed.

I'm not thrilled with this change, since it may
degrade performance, but I want to fix the correctness
problem quickly.

Bug: 111554539
Test: atest AccessibilityCacheTest
Change-Id: Ib32d3622cddd7001663943eff71e823d21f5e500
2018-07-17 15:38:33 -07:00
Yifan Hong
58faaa09da IBatteryPropertiesRegistrar: remove unused functions
* Remove BatteryProperties
* Remove IBatteryPropertiesListener
* Remove IBatteryPropertiesRegistrar.(un)registerListener
  functions

Test: builds
Test: boots
Bug: 68724651
Change-Id: Ic9a9d337e5cb39784db1a2745297ef985dd31653
Merged-In: Ic9a9d337e5cb39784db1a2745297ef985dd31653
(cherry picked from commit dd0e942597)
2018-07-17 15:35:49 -07:00
Laura Davis
f764754dbb Merge "Docs: Removed narrative content." into pi-dev am: b4f7c414a6
am: 7f05ea78dd

Change-Id: Ibfff8f72707a41936a4259a90d20eda559b44b0d
2018-07-17 11:50:10 -07:00
Laura Davis
7f05ea78dd Merge "Docs: Removed narrative content." into pi-dev
am: b4f7c414a6

Change-Id: I9b482df22bcef0fd24f6e56e2a4718bef229f4ad
2018-07-17 11:40:15 -07:00
TreeHugger Robot
e4df0b407b Merge "DPM: Propagate StrongBox-related exception" 2018-07-17 18:08:31 +00:00
Treehugger Robot
1febe4196e Merge "Remove unneeded JNI method" 2018-07-17 17:00:30 +00:00
Android Build Merger (Role)
d804ba8b9f Merge "Merge "Track OkHttp changes" am: 0083876870 am: 7e6a128ec7 am: f6e34a96ed" 2018-07-17 16:48:08 +00:00
Neil Fuller
5828cf27fc Merge "Track OkHttp changes" am: 0083876870 am: 7e6a128ec7
am: f6e34a96ed

Change-Id: Ia54aa0c10bc96bab0f7df1f93956c925f9bf5e17
2018-07-17 09:47:38 -07:00
John Reck
06efa7169a Merge "Expose async & counter publicly" 2018-07-17 16:46:56 +00:00
Neil Fuller
f6e34a96ed Merge "Track OkHttp changes" am: 0083876870
am: 7e6a128ec7

Change-Id: I8f94f0fa4e29770ccff3531a71552db230cf6bac
2018-07-17 09:32:31 -07:00