OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Fix warning from clang+mingw" am: 7fce15dc5e am: 31bcd7acea
Dan Willemsen [Thu, 30 Nov 2017 23:51:04 +0000 (23:51 +0000)]
Merge "Fix warning from clang+mingw" am: 7fce15dc5e am: 31bcd7acea
am: e2a0c1d062

Change-Id: I9212bf71035641d5efedf8f06627a62e9694806c

6 years agoMerge "Fix warning from clang+mingw" am: 7fce15dc5e
Dan Willemsen [Thu, 30 Nov 2017 23:26:44 +0000 (23:26 +0000)]
Merge "Fix warning from clang+mingw" am: 7fce15dc5e
am: 31bcd7acea

Change-Id: Ibb5c891fe3c219d75be8c124c9be215a31b2a241

6 years agoMerge "Fix warning from clang+mingw"
Dan Willemsen [Thu, 30 Nov 2017 23:18:38 +0000 (23:18 +0000)]
Merge "Fix warning from clang+mingw"
am: 7fce15dc5e

Change-Id: I1b318913c3ead77369bdb62c10e5e08803cb10b8

6 years agoMerge "Fix scrolling of fill UI anchored to a virtual view - framework"
TreeHugger Robot [Thu, 30 Nov 2017 23:15:24 +0000 (23:15 +0000)]
Merge "Fix scrolling of fill UI anchored to a virtual view - framework"

6 years agoMerge "allow dump_report command to output proto binary in addition to text"
TreeHugger Robot [Thu, 30 Nov 2017 23:11:49 +0000 (23:11 +0000)]
Merge "allow dump_report command to output proto binary in addition to text"

6 years agoMerge "Add/fix a few statsd atoms"
TreeHugger Robot [Thu, 30 Nov 2017 23:09:38 +0000 (23:09 +0000)]
Merge "Add/fix a few statsd atoms"

6 years agoMerge "Fix warning from clang+mingw"
Dan Willemsen [Thu, 30 Nov 2017 23:07:47 +0000 (23:07 +0000)]
Merge "Fix warning from clang+mingw"

6 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master am: 4f9f278341 ...
Bill Yi [Thu, 30 Nov 2017 23:02:50 +0000 (23:02 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master am: 4f9f278341  -s ours
am: 54a7cba934  -s ours

Change-Id: I110a38779c30ddccd6edfbda30d7e7ae449b8019

6 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master am: 2c6f7366fc ...
Bill Yi [Thu, 30 Nov 2017 22:57:21 +0000 (22:57 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master am: 2c6f7366fc  -s ours
am: 2c57ac25c6  -s ours

Change-Id: I71ff293a1279cd06e1cb063cc2c22db160cd31f0

6 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
Bill Yi [Thu, 30 Nov 2017 22:49:12 +0000 (22:49 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master
am: 4f9f278341  -s ours

Change-Id: Ie1b2dd5295272eb2bcc538b7b49fc397a9515ea7

6 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master am: 7e3f498034 ...
Bill Yi [Thu, 30 Nov 2017 22:47:20 +0000 (22:47 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master am: 7e3f498034  -s ours
am: eed023e369  -s ours

Change-Id: I0d0498ef37b888e9b4c04e09c710bbcc16c6a3da

6 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
Bill Yi [Thu, 30 Nov 2017 22:45:16 +0000 (22:45 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master
am: 2c6f7366fc  -s ours

Change-Id: Ibb384b268ce40bfded2d65dc5153a9a2346b25f6

6 years agoMerge "Refactor MeasuredText"
TreeHugger Robot [Thu, 30 Nov 2017 22:34:57 +0000 (22:34 +0000)]
Merge "Refactor MeasuredText"

6 years agoMerge "Merge "Import translations. DO NOT MERGE" into stage-aosp-master am: 1536c4ed8...
Android Build Merger (Role) [Thu, 30 Nov 2017 22:30:47 +0000 (22:30 +0000)]
Merge "Merge "Import translations. DO NOT MERGE" into stage-aosp-master am: 1536c4ed80  -s ours am: 5dfa99ab35  -s ours"

6 years agoMerge "[RTT2] Add a generic Responder mode configuration"
TreeHugger Robot [Thu, 30 Nov 2017 22:28:10 +0000 (22:28 +0000)]
Merge "[RTT2] Add a generic Responder mode configuration"

6 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master am: 1536c4ed80 ...
Bill Yi [Thu, 30 Nov 2017 22:27:07 +0000 (22:27 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master am: 1536c4ed80  -s ours
am: 5dfa99ab35  -s ours

Change-Id: I26f1ed19c9ce428ca835e4f4db33f36bb71be8e1

6 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master am: 0b3911b32f ...
Bill Yi [Thu, 30 Nov 2017 22:21:31 +0000 (22:21 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master am: 0b3911b32f  -s ours
am: 0ccbbfa990  -s ours

Change-Id: I8dd15999a28a522b5df83d8844a23573690a5dee

6 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
Bill Yi [Thu, 30 Nov 2017 22:18:13 +0000 (22:18 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master
am: 7e3f498034  -s ours

Change-Id: I58269033b0b7197f5da1637a073e20687b021dde

6 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master am: c168312e92 ...
Bill Yi [Thu, 30 Nov 2017 22:16:54 +0000 (22:16 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master am: c168312e92  -s ours
am: 0911a97fc2  -s ours

Change-Id: Ifa5d3eca8a9fbcd614faa63bedf8f76d2bfcf926

6 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
Bill Yi [Thu, 30 Nov 2017 22:11:12 +0000 (22:11 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master
am: 1536c4ed80  -s ours

Change-Id: I6ebc82f3feff22872f2a94f6f52b56300a096517

6 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
Bill Yi [Thu, 30 Nov 2017 22:06:01 +0000 (22:06 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master
am: 0b3911b32f  -s ours

Change-Id: I7b12b5dd06b50c636f2511ec0f6e5dd30a631bd1

6 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master am: ea754a6814 ...
Bill Yi [Thu, 30 Nov 2017 22:05:14 +0000 (22:05 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master am: ea754a6814  -s ours
am: ae57527637  -s ours

Change-Id: Ic657c3d4895f2743002ca9874ca43bfecdaeb9ab

6 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master am: 23e0aacf9f ...
Bill Yi [Thu, 30 Nov 2017 21:57:46 +0000 (21:57 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master am: 23e0aacf9f  -s ours
am: 2ada5e5183  -s ours

Change-Id: I7a02e761a346757f0cf9facd41c0b03743f3acf5

6 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
Bill Yi [Thu, 30 Nov 2017 21:47:29 +0000 (21:47 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master
am: c168312e92  -s ours

Change-Id: Iaf3798c24777e711a4b8b9545b2fde655046811b

6 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
Bill Yi [Thu, 30 Nov 2017 21:43:42 +0000 (21:43 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master
am: ea754a6814  -s ours

Change-Id: I8a889554572839e12eb0e293d85982b707d4086e

6 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master am: b233aa7360 ...
Bill Yi [Thu, 30 Nov 2017 21:42:37 +0000 (21:42 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master am: b233aa7360  -s ours
am: 9fb35e2fe1  -s ours

Change-Id: I82c788390bf9e66eb2b880d0527d1e77dd6a4914

6 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
Bill Yi [Thu, 30 Nov 2017 21:38:54 +0000 (21:38 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master
am: 23e0aacf9f  -s ours

Change-Id: Iffa9e589502b1b310e8adf7b5005aafe9e39c73d

6 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master am: fac8c29db6 ...
Bill Yi [Thu, 30 Nov 2017 21:38:12 +0000 (21:38 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master am: fac8c29db6  -s ours
am: fb33b0c830  -s ours

Change-Id: I5ccf681aa4c2137c0daaedad87c06eb85c3bfec6

6 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
Bill Yi [Thu, 30 Nov 2017 21:31:42 +0000 (21:31 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master
am: b233aa7360  -s ours

Change-Id: I041d08b9e110ffb4d285139f4550d00f1521cb98

6 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
Bill Yi [Thu, 30 Nov 2017 21:24:59 +0000 (21:24 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master
am: fac8c29db6  -s ours

Change-Id: I78bbc45aa215f7620224d4e7cd121131a9b34700

6 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master am: 18fd5109c9 ...
Bill Yi [Thu, 30 Nov 2017 21:23:22 +0000 (21:23 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master am: 18fd5109c9  -s ours
am: 68a3e65ecd  -s ours

Change-Id: I10fac2255546543b6d52c3953dd3c0070a3544f4

6 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
Bill Yi [Thu, 30 Nov 2017 21:10:57 +0000 (21:10 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master
am: 18fd5109c9  -s ours

Change-Id: I66a71face01ca5e2e3fa1ee720cf85b68af6d6aa

6 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
TreeHugger Robot [Thu, 30 Nov 2017 21:05:04 +0000 (21:05 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master

6 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
TreeHugger Robot [Thu, 30 Nov 2017 21:02:50 +0000 (21:02 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master

6 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
TreeHugger Robot [Thu, 30 Nov 2017 21:02:12 +0000 (21:02 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master

6 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
TreeHugger Robot [Thu, 30 Nov 2017 21:01:29 +0000 (21:01 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master

6 years agoMerge "AAPT2: Specify the output APK in log messages"
TreeHugger Robot [Thu, 30 Nov 2017 21:01:00 +0000 (21:01 +0000)]
Merge "AAPT2: Specify the output APK in log messages"

6 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
TreeHugger Robot [Thu, 30 Nov 2017 21:00:40 +0000 (21:00 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master

6 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
TreeHugger Robot [Thu, 30 Nov 2017 21:00:00 +0000 (21:00 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master

6 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
TreeHugger Robot [Thu, 30 Nov 2017 20:58:41 +0000 (20:58 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master

6 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
TreeHugger Robot [Thu, 30 Nov 2017 20:57:44 +0000 (20:57 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master

6 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
TreeHugger Robot [Thu, 30 Nov 2017 20:56:37 +0000 (20:56 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master

6 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
TreeHugger Robot [Thu, 30 Nov 2017 20:53:57 +0000 (20:53 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master

6 years agoMerge "Import translations. DO NOT MERGE" into stage-aosp-master
TreeHugger Robot [Thu, 30 Nov 2017 20:52:04 +0000 (20:52 +0000)]
Merge "Import translations. DO NOT MERGE" into stage-aosp-master

6 years agoMerge "Fix package install flow w.r.t. dexopt"
TreeHugger Robot [Thu, 30 Nov 2017 20:35:03 +0000 (20:35 +0000)]
Merge "Fix package install flow w.r.t. dexopt"

6 years agoMerge "Allow secondary user POs on affiliated devices more DPM APIs"
TreeHugger Robot [Thu, 30 Nov 2017 20:26:49 +0000 (20:26 +0000)]
Merge "Allow secondary user POs on affiliated devices more DPM APIs"

6 years ago[RTT2] Add a generic Responder mode configuration
Etan Cohen [Mon, 20 Nov 2017 23:44:50 +0000 (15:44 -0800)]
[RTT2] Add a generic Responder mode configuration

Add a generic Responder mode which is the common configuration for
any peer (which any peer configuration can be translated to).

Bug: 65014962
Test: unit tests and integration tests
Change-Id: If2f6abc217508792d319d7d5e54aa3f7385b0ec5

6 years agoMerge "Propagate scrim alpha to LightBarController"
TreeHugger Robot [Thu, 30 Nov 2017 20:00:13 +0000 (20:00 +0000)]
Merge "Propagate scrim alpha to LightBarController"

6 years agoMerge "incidentd: dumping native process mem info to proto."
TreeHugger Robot [Thu, 30 Nov 2017 19:58:15 +0000 (19:58 +0000)]
Merge "incidentd: dumping native process mem info to proto."

6 years agoincidentd: dumping native process mem info to proto.
Kweku Adams [Fri, 3 Nov 2017 00:12:20 +0000 (17:12 -0700)]
incidentd: dumping native process mem info to proto.

Bug: 65750823
Test: flash device and check proto dump output.
Change-Id: Ic584f78153fbbb507cdd41e699a541e3351467bb

6 years agoMerge "Adding pointer index check to recents touch handler."
TreeHugger Robot [Thu, 30 Nov 2017 19:47:56 +0000 (19:47 +0000)]
Merge "Adding pointer index check to recents touch handler."

6 years agocherry-pick from oc-dev: docs: Note regarding device IDs, Build.java am: d6ebb55c62
Kevin Hufnagle [Thu, 30 Nov 2017 19:35:53 +0000 (19:35 +0000)]
cherry-pick from oc-dev: docs: Note regarding device IDs, Build.java am: d6ebb55c62
am: fcd96e847f

Change-Id: I51b08b72f22f30a1e825a2192bc0f09f7d8f92f7

6 years agoMerge "PaintMeasureTextTest: only pause/resume not_cached benchmarks"
TreeHugger Robot [Thu, 30 Nov 2017 19:31:21 +0000 (19:31 +0000)]
Merge "PaintMeasureTextTest: only pause/resume not_cached benchmarks"

6 years agocherry-pick from oc-dev: docs: Note regarding device IDs, Build.java
Kevin Hufnagle [Thu, 30 Nov 2017 19:24:10 +0000 (19:24 +0000)]
cherry-pick from oc-dev: docs: Note regarding device IDs, Build.java
am: d6ebb55c62

Change-Id: I88bf4c778a04b5f43a7fcd22d4aadb378860bb8a

6 years agoAdd/fix a few statsd atoms
Bookatz [Wed, 29 Nov 2017 00:48:14 +0000 (16:48 -0800)]
Add/fix a few statsd atoms

Adding atoms:
MobileRadioPowerStateChanged
WifiRadioPowerStateChanged
DeviceIdlingModeStateChanged

Made the following other atom changes:
Added tag to WakeupAlarmOccurred
Changed some ints to enums
Removed the obsolete UidWakelockStateChanged

Test: none
Fixes: 69479171
Fixes: 69479176
Fixes: 69479177
Fixes: 69479169
Change-Id: I815c0f896ef050a4bc1fca482fb02ccb8e78f009

6 years agoRefactor MeasuredText
Seigo Nonaka [Tue, 28 Nov 2017 06:09:49 +0000 (22:09 -0800)]
Refactor MeasuredText

This refactoring contains:
- Add lots of comments.
- Mark private the internal fields and introduce accessors and helper
  methods.
- Factor out the auto grow array implementation to another class.
- Use SynchronizedPool for pool implementation.
- Introduce three build methods for each use case.
- Hide addStyleRun and compute all necessary informations in build method.

Locally verified that this doesn't cause performance regressions.
Here is a raw performance test result on walleye-userdebug.

StaticLayoutPerfTest (median, N=100):
createRandom:          7,846,449 -> 8,003,903 (+2.01%)
createRandom Balanced: 7,810,436 -> 7,919,200 (+1.40%)

TextViewOnMeasurePerfTest (median, N=100):
measure_AtMost:       94,276,376 ->  94,124,658 (-0.16%)
measure_Exactly:      91,629,352 ->  91,617,639 (-0.01%)
measure_Unspecified: 151,006,181 -> 150,957,598 (-0.03%)

Test: bit CtsTextTestCases:*
Test: bit CtsGraphicsTestCases:*
Test: bit CtsWidgetTestCases:*
Test: bit FrameworksCoreTests:android.text.StaticLayoutTest
Bug: 65024629

Change-Id: I58d3020a3fa560d05576e18888fbfe46e2975e8f

6 years agoAAPT2: Specify the output APK in log messages
Shane Farmer [Thu, 30 Nov 2017 00:55:05 +0000 (16:55 -0800)]
AAPT2: Specify the output APK in log messages

Extend the context wrapper to allow it to also know the current artifact
that is being generated and to use that as a source for diagnostics
messages.

Test: ran unit tests
Test: manually ran optimize to split and APK and verified log messages

Change-Id: I1d66dacb38db58d57d2fffaa19f5fdaff9f908df

6 years agoMerge "Switch usages of legacy-test to android.test.base"
TreeHugger Robot [Thu, 30 Nov 2017 18:22:42 +0000 (18:22 +0000)]
Merge "Switch usages of legacy-test to android.test.base"

6 years agoMerge "Make native AudioRouting Handler in a seperate class."
TreeHugger Robot [Thu, 30 Nov 2017 18:17:55 +0000 (18:17 +0000)]
Merge "Make native AudioRouting Handler in a seperate class."

6 years agoPropagate scrim alpha to LightBarController
Lucas Dupin [Thu, 30 Nov 2017 18:09:22 +0000 (13:09 -0500)]
Propagate scrim alpha to LightBarController

Change-Id: I8f89c0ccb5811ce729f04041dc1ff8efa3877991
Fixes: 69895859
Test: Launch settings, chrome, go back to launcher

6 years agoallow dump_report command to output proto binary
Chenjie Yu [Wed, 29 Nov 2017 06:20:44 +0000 (22:20 -0800)]
allow dump_report command to output proto binary
in addition to text

Test: cts test
Change-Id: I439a371d54a57116cf2ad85899850ac4783101e2

6 years agoAllow secondary user POs on affiliated devices more DPM APIs
Benjamin Franz [Tue, 8 Aug 2017 11:33:19 +0000 (12:33 +0100)]
Allow secondary user POs on affiliated devices more DPM APIs

- DevicePolicyManager.setKeyguardDisabled
- DevicePolicyManager.setStatusBarDisabled
- DevicePolicyManager.setDeviceOwnerLockScreenInfo
- PackageInstaller install and uninstall apps

Bug: 64383519
Test: Can set keyguard disabled, status bar disabled and lock screen message in
      affliated PO
Test: Can install and uninstall apps in affiliated PO
Test: CTS tracked in b/68925683

Change-Id: I71be25098436ba0b42050478c049850c2b21f6f4

6 years agoPaintMeasureTextTest: only pause/resume not_cached benchmarks
Greg Hackmann [Wed, 29 Nov 2017 02:35:46 +0000 (18:35 -0800)]
PaintMeasureTextTest: only pause/resume not_cached benchmarks

Pausing and resuming the benchmark timer isn't needed unless we plan to
flush the text layout cache.  The cached benchmark runs are so fast on
high-end devices, the overhead of these extra calls can be significant
compared to the actual code being measured.

Test: run PaintMeasureTextTest on sailfish

Bug: 69634871
Change-Id: If8246154e50451d82ac96e026036aa4a42eaed8d
Signed-off-by: Greg Hackmann <ghackmann@google.com>
6 years agoMerge "Add SMS over IMS APIs" am: 74445ed311 am: 208f232825
Mohamed [Thu, 30 Nov 2017 16:34:15 +0000 (16:34 +0000)]
Merge "Add SMS over IMS APIs" am: 74445ed311 am: 208f232825
am: 09d8a996e0

Change-Id: I0c49f42e220aed34c6bb4801ae80e29aeea329eb

6 years agoMerge "Enabled the use of VOICE_DOWNLINK, VOICE_UPLINK and VOICE_CALL as audio source...
Nadav Bar [Thu, 30 Nov 2017 16:28:17 +0000 (16:28 +0000)]
Merge "Enabled the use of VOICE_DOWNLINK, VOICE_UPLINK and VOICE_CALL as audio sources for AudioRecord (Only supported for system apps)"

6 years agoMerge "Promote ACTION_DISMISS_TIMER to public API"
Christine Franks [Thu, 30 Nov 2017 16:23:46 +0000 (16:23 +0000)]
Merge "Promote ACTION_DISMISS_TIMER to public API"

6 years agoSwitch usages of legacy-test to android.test.base
Paul Duffin [Thu, 30 Nov 2017 16:17:16 +0000 (16:17 +0000)]
Switch usages of legacy-test to android.test.base

The legacy-test library has been deprecated in favour of the
android.test.base library which is part of the SDK.

The following change descriptions were generated automatically and so
may be a little repetitive. They are provided to give the reviewer
enough information to check the comments match what has actually been
changed and check the reasoning behind the changes.

* core/tests/overlaytests/OverlayAppFiltered/Android.mk
    Removed legacy-test from LOCAL_JAVA_LIBRARIES because the source
    for module 'com.android.overlaytest.filtered_app_overlay' does not
    depend on classes from legacy-test

* core/tests/overlaytests/OverlayAppFirst/Android.mk
    Removed legacy-test from LOCAL_JAVA_LIBRARIES because the source
    for module 'com.android.overlaytest.first_app_overlay' does not
    depend on classes from legacy-test

* core/tests/overlaytests/OverlayAppSecond/Android.mk
    Removed legacy-test from LOCAL_JAVA_LIBRARIES because the source
    for module 'com.android.overlaytest.second_app_overlay' does not
    depend on classes from legacy-test

* core/tests/overlaytests/OverlayTest/Android.mk
    Replaced 'legacy-test' with 'android.test.base' in
    LOCAL_JAVA_LIBRARIES because the source for module 'OverlayTest'
    depends on classes from android.test.base

* core/tests/overlaytests/OverlayTestOverlay/Android.mk
    Removed legacy-test from LOCAL_JAVA_LIBRARIES because the source
    for module 'com.android.overlaytest.overlay' does not depend on
    classes from legacy-test

* test-mock/Android.mk
    Removed legacy-test from LOCAL_JAVA_LIBRARIES because the source
    for module 'repackaged.android.test.mock' does not depend on
    classes from legacy-test

Bug: 30188076
Test: make checkbuild
Change-Id: I729412304884cf5da88b05dbe8fbe645ad7b5b15

6 years agoMerge "Add SMS over IMS APIs" am: 74445ed311
Mohamed [Thu, 30 Nov 2017 16:15:58 +0000 (16:15 +0000)]
Merge "Add SMS over IMS APIs" am: 74445ed311
am: 208f232825

Change-Id: If9b5427292eaa41b6381351c57ec5cad4b6bc4a1

6 years agoMerge "Add SMS over IMS APIs"
Mohamed [Thu, 30 Nov 2017 16:05:36 +0000 (16:05 +0000)]
Merge "Add SMS over IMS APIs"
am: 74445ed311

Change-Id: I5b08b82f39968adc111d0b3361b4312eb7244913

6 years agoMerge "Add SMS over IMS APIs"
Treehugger Robot [Thu, 30 Nov 2017 15:56:30 +0000 (15:56 +0000)]
Merge "Add SMS over IMS APIs"

6 years agoMerge "Remove unused repackaged-legacy-test target"
TreeHugger Robot [Thu, 30 Nov 2017 15:03:50 +0000 (15:03 +0000)]
Merge "Remove unused repackaged-legacy-test target"

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 30 Nov 2017 10:51:39 +0000 (02:51 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 69925163
Change-Id: Id4714728cce7cdc505ef573f61b0807eaf99f638

6 years agoMake DevicePolicyManagerService more customizable (per-device).
Lenka Trochtova [Mon, 16 Oct 2017 16:41:39 +0000 (18:41 +0200)]
Make DevicePolicyManagerService more customizable (per-device).

Add a config to override the DPMS implementation class to
be instantiated from the Lifecycle.
Add a hasFeature method to the Injector class.

BUG: 63753860
Test: manual with TestDPC

Change-Id: I71ef518c49b2233744defdfb7c31019cb228d678

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 30 Nov 2017 08:48:58 +0000 (00:48 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 69925163
Change-Id: I2ea80486888541821be5a1e2d446097e77344ff7

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 30 Nov 2017 08:43:30 +0000 (00:43 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 69925163
Change-Id: Iefa1c8df1516425e13eeeb7a4f4636289cc5ed61

6 years agoFix scrolling of fill UI anchored to a virtual view - framework
Svet Ganov [Thu, 30 Nov 2017 06:45:11 +0000 (22:45 -0800)]
Fix scrolling of fill UI anchored to a virtual view - framework

Test: manual
      cts-tradefed run cts-dev -m CtsAutoFillServiceTestCases

bug:69845390

Change-Id: I22442e92e73888522dcb170e295ad5f66dda4026

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 30 Nov 2017 06:56:53 +0000 (22:56 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 69925163
Change-Id: Ie7f618c50bfc451f5204eee4a297556adb196b46

6 years agoadd atoms and pulling methods for wifi controller activity and modem
Chenjie Yu [Tue, 21 Nov 2017 18:21:41 +0000 (10:21 -0800)]
add atoms and pulling methods for wifi controller activity and modem
controller activity

Test: manual test on device
Change-Id: Ib4213b4bf8badaf22b5f655e0261f45a55ab6bb7

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 30 Nov 2017 06:49:30 +0000 (22:49 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 69925163
Change-Id: I5cf5dca14d5e94662e359cec6c67e2009f389bee

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 30 Nov 2017 06:42:06 +0000 (22:42 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 69925163
Change-Id: Ided857799b25fe123782edb65ef2b54f1244af5d

6 years agoMerge "Add a phony target containing benchmarks for PGO"
TreeHugger Robot [Thu, 30 Nov 2017 06:35:29 +0000 (06:35 +0000)]
Merge "Add a phony target containing benchmarks for PGO"

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 30 Nov 2017 06:34:30 +0000 (22:34 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 69925163
Change-Id: I648ee3247fda8398c0ca6d6f4a46a11934966d0f

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 30 Nov 2017 06:07:25 +0000 (22:07 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 69925163
Change-Id: Ifcf4b8c7138eef6ee513797b51a8d012880b0718

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 30 Nov 2017 06:00:05 +0000 (22:00 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 69925163
Change-Id: I49111f0ab267e797467bed312cced654e9085552

6 years agoMerge "Modify statsd dogfood app to use toString() of enum"
TreeHugger Robot [Thu, 30 Nov 2017 05:59:39 +0000 (05:59 +0000)]
Merge "Modify statsd dogfood app to use toString() of enum"

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 30 Nov 2017 05:52:53 +0000 (21:52 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 69925163
Change-Id: Ic8b80f7703cab100a2b5eaebb3bf48ea0b5164c6

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 30 Nov 2017 05:44:48 +0000 (21:44 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 69925163
Change-Id: Iaf4029cb66b19628b02847e281b7bba702cbf3f4

6 years agoModify statsd dogfood app to use toString() of enum
Tej Singh [Thu, 30 Nov 2017 03:25:32 +0000 (19:25 -0800)]
Modify statsd dogfood app to use toString() of enum

Using this reduces code size and allows us to not have to
make a change whenever atoms.proto changes.

Test: manual, tested app on device

Change-Id: Ieb325a7a7bab7430273340bb9d05974fabbadc0d

6 years agoMerge "Fix cross-user content resolver tests."
TreeHugger Robot [Thu, 30 Nov 2017 03:21:06 +0000 (03:21 +0000)]
Merge "Fix cross-user content resolver tests."

6 years agoFix package install flow w.r.t. dexopt
Calin Juravle [Thu, 16 Nov 2017 00:28:01 +0000 (16:28 -0800)]
Fix package install flow w.r.t. dexopt

Calling dexopt before the applicationInfo gets the uid is wrong.
Dexopt needs to be able to set the GID of the odex file to the
UserHandle.getSharedAppGid(pkg.applicationInfo.uid) and that is
possible only with a valid uid.

Move the dexopt logic after installNewPackageLIF/replacePackageLIF
to ensure that we get a valid uid.

Bug: 69331247
Test: adb install & check the GID of the compiler artifacts
Change-Id: I2434a1a0b9015091a9af2009b3f785b7a16e1256

6 years agoMerge "Use -Werror in frameworks/base/media/mca/filterfw" am: 171fce8377 am: cba4979a6a
Chih-hung Hsieh [Thu, 30 Nov 2017 02:58:20 +0000 (02:58 +0000)]
Merge "Use -Werror in frameworks/base/media/mca/filterfw" am: 171fce8377 am: cba4979a6a
am: f5005c6356

Change-Id: Icb467de821ecd700daae687341dc9116c065cdf5

6 years agoMerge "AAPT2: Fix overzealous AndroidManifest fully qualified class names"
TreeHugger Robot [Thu, 30 Nov 2017 02:51:46 +0000 (02:51 +0000)]
Merge "AAPT2: Fix overzealous AndroidManifest fully qualified class names"

6 years agoMerge "Use -Werror in frameworks/base/media/mca/filterfw" am: 171fce8377
Chih-hung Hsieh [Thu, 30 Nov 2017 02:27:13 +0000 (02:27 +0000)]
Merge "Use -Werror in frameworks/base/media/mca/filterfw" am: 171fce8377
am: cba4979a6a

Change-Id: Ifea0bcb3e48a83ba21c24026d95819f4f947d039

6 years agoMerge "Add metric for battery page in debug mode."
TreeHugger Robot [Thu, 30 Nov 2017 02:19:22 +0000 (02:19 +0000)]
Merge "Add metric for battery page in debug mode."

6 years agoMerge "Use -Werror in frameworks/base/media/mca/filterfw"
Chih-hung Hsieh [Thu, 30 Nov 2017 02:19:13 +0000 (02:19 +0000)]
Merge "Use -Werror in frameworks/base/media/mca/filterfw"
am: 171fce8377

Change-Id: I698ee4b4d6c884469253238795d23bdb21a54542

6 years agoFix warning from clang+mingw
Dan Willemsen [Thu, 30 Nov 2017 02:17:08 +0000 (18:17 -0800)]
Fix warning from clang+mingw

I suspect this is showing up in this configuration because we're now building
with -std=gnu++14, but still using libstdc++.

frameworks/base/tools/aapt2/link/ProductFilter_test.cpp:76:24: error: chosen constructor is explicit in copy-initialization
  ProductFilter filter({});
                       ^~
prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/bits/unordered_set.h:132:7: note: explicit constructor declared here
      unordered_set(size_type __n = 10,
      ^
frameworks/base/tools/aapt2/link/Linkers.h:114:58: note: passing argument to parameter 'products' here
  explicit ProductFilter(std::unordered_set<std::string> products) : products_(products) {
                                                         ^

Bug: 69933068
Test: mmma frameworks/base/tools/aapt2
Test: out/host/linux-x86/nativetest[64]/aapt2_tests/aapt2_tests
Change-Id: I2133e364dd11f64fd13239125f8a3eff70ebb69c

6 years agoMerge "Use system dialog corner radius"
TreeHugger Robot [Thu, 30 Nov 2017 02:16:23 +0000 (02:16 +0000)]
Merge "Use system dialog corner radius"

6 years agoMerge "Don't start recents multiple times when entering split-screen"
Wale Ogunwale [Thu, 30 Nov 2017 02:04:01 +0000 (02:04 +0000)]
Merge "Don't start recents multiple times when entering split-screen"

6 years agoMerge "Use -Werror in frameworks/base/media/mca/filterfw"
Chih-hung Hsieh [Thu, 30 Nov 2017 01:55:47 +0000 (01:55 +0000)]
Merge "Use -Werror in frameworks/base/media/mca/filterfw"

6 years agoMerge "ImageReader: Make discardFreeBuffers public"
TreeHugger Robot [Thu, 30 Nov 2017 01:28:59 +0000 (01:28 +0000)]
Merge "ImageReader: Make discardFreeBuffers public"