OSDN Git Service
Pavel Grafov [Tue, 12 Dec 2017 16:32:29 +0000 (16:32 +0000)]
Remove some duplication.
Only admins that require PASSWORD_QUALITY_COMPLEX are now
taken into account for minimum lower/upper case letter counts
as specified in the docs.
Test: cts-tradefed run cts --module CtsDevicePolicyManagerTestCases --test
com.android.cts.devicepolicy.DeviceAdminHostSideTestApi23
Test: cts-tradefed run cts --module CtsDevicePolicyManagerTestCases --test
com.android.cts.devicepolicy.DeviceAdminHostSideTestApi24
Change-Id: I0bfba7a5843d0acfa753cf0eb474769107feef43
TreeHugger Robot [Tue, 12 Dec 2017 16:44:13 +0000 (16:44 +0000)]
Merge "Add Slice.Builder#addBundle"
Seigo Nonaka [Tue, 12 Dec 2017 16:40:27 +0000 (16:40 +0000)]
Merge "Introduce PremeasuredText"
Kenny Guy [Tue, 12 Dec 2017 16:24:06 +0000 (16:24 +0000)]
Merge "Add brightness slider events to dumpsys."
Todd Kennedy [Tue, 12 Dec 2017 15:54:19 +0000 (15:54 +0000)]
Merge "Block the upgrade of persistent apps" am:
0b30d95dc8 am:
6de91158d7
am:
3175c621da
Change-Id: I5319cc775e7381e697ae365cdf7433d4bfdf56bd
TreeHugger Robot [Tue, 12 Dec 2017 15:28:32 +0000 (15:28 +0000)]
Merge "Add a shell command to reset selected/enabled IMEs"
Todd Kennedy [Tue, 12 Dec 2017 15:14:20 +0000 (15:14 +0000)]
Merge "Block the upgrade of persistent apps" am:
0b30d95dc8
am:
6de91158d7
Change-Id: I729df40376b972461908d22593b63f4f5399e356
Todd Kennedy [Tue, 12 Dec 2017 15:05:24 +0000 (15:05 +0000)]
Merge "Block the upgrade of persistent apps"
am:
0b30d95dc8
Change-Id: Icd375c367293169b2d2f7661fcb337cafd324714
Todd Kennedy [Tue, 12 Dec 2017 14:55:01 +0000 (14:55 +0000)]
Merge "Block the upgrade of persistent apps"
TreeHugger Robot [Tue, 12 Dec 2017 14:49:25 +0000 (14:49 +0000)]
Merge "Use IBinder#shellCommand() for 'adb shell ime'"
Jason Monk [Fri, 8 Dec 2017 23:19:32 +0000 (18:19 -0500)]
Add Slice.Builder#addBundle
Its for support lib expansion in the future, not for dev use.
Bug:
68378561
Test: atest cts/tests/tests/slice
Change-Id: Ifc73e56c391bd4abed3b8db3c597d7dc794c1a3c
Paul Duffin [Tue, 12 Dec 2017 13:32:38 +0000 (13:32 +0000)]
Merge "Remove LOCAL_STATIC_SHARED_LIBRARY usage" am:
60f0b06d19 am:
6ff2ad3044
am:
1c091ba045
Change-Id: I1a6d1130de87ef0a69727a7c7a7950704df47c04
TreeHugger Robot [Tue, 12 Dec 2017 13:21:05 +0000 (13:21 +0000)]
Merge "AAPT2: allow to generate R.txt without R.java"
Paul Duffin [Tue, 12 Dec 2017 13:19:26 +0000 (13:19 +0000)]
Merge "Remove LOCAL_STATIC_SHARED_LIBRARY usage" am:
60f0b06d19
am:
6ff2ad3044
Change-Id: I7ec4ac17b4fead69b3ffbd754cd3ce33978c64cb
TreeHugger Robot [Tue, 12 Dec 2017 13:17:38 +0000 (13:17 +0000)]
Merge "Replace legacy-android-test with android.test.base"
Paul Duffin [Tue, 12 Dec 2017 13:09:48 +0000 (13:09 +0000)]
Merge "Remove LOCAL_STATIC_SHARED_LIBRARY usage"
am:
60f0b06d19
Change-Id: I530df72ef5dc2c50a2304e5b2fe1ddff2ade2eeb
Treehugger Robot [Tue, 12 Dec 2017 12:55:28 +0000 (12:55 +0000)]
Merge "Remove LOCAL_STATIC_SHARED_LIBRARY usage"
Paul Duffin [Tue, 12 Dec 2017 11:32:11 +0000 (11:32 +0000)]
Merge "Stop statically including legacy-android-test"
Paul Duffin [Tue, 12 Dec 2017 11:31:06 +0000 (11:31 +0000)]
Merge "Build test-runner/tests"
TreeHugger Robot [Tue, 12 Dec 2017 09:39:42 +0000 (09:39 +0000)]
Merge "Add NotificationRemoteInputManager and associated tests."
Eliot Courtney [Wed, 15 Nov 2017 05:25:21 +0000 (14:25 +0900)]
Add NotificationRemoteInputManager and associated tests.
This splits out several remote input related pieces of logic:
1. Handling clicks on remote views
2. Handling notifications kept for remote input
3. Handling notifications to be removed on NotificationPresenter
collapse.
Bug:
63874929
Bug:
62602530
Test: runtest systemui
Test: Compile and run
Change-Id: I7acd4bcb2ab7bde67d307408f509d3ca038eb3d4
Lucas Dupin [Mon, 11 Dec 2017 22:40:07 +0000 (14:40 -0800)]
Avoid flickering when unlocking with fingerprint
Fixes issue where scrim state could be set to KEYGUARD
for 1 frame and user would see the notification shade.
Change-Id: I577b969f98573fc481e3d7c283eb5b612b7e5cee
Fixes:
70210651
Test: Unlock with fingerprint from AoD
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/StatusBarTest.java
Lucas Dupin [Tue, 12 Dec 2017 06:36:30 +0000 (06:36 +0000)]
Merge "Add support for seamless transion from/to AoD"
TreeHugger Robot [Tue, 12 Dec 2017 05:47:48 +0000 (05:47 +0000)]
Merge "Nullcheck to fix Autofill CTS"
TreeHugger Robot [Tue, 12 Dec 2017 05:06:02 +0000 (05:06 +0000)]
Merge "Fix missed use of old int version code in shortcut manager."
TreeHugger Robot [Tue, 12 Dec 2017 04:58:53 +0000 (04:58 +0000)]
Merge "Update WebView tests to use long version codes."
Siyamed Sinir [Tue, 12 Dec 2017 04:39:15 +0000 (04:39 +0000)]
Merge "Fix an incorrect display position of error popup in RTL layout" am:
b7941c50a0 am:
0863cf4e40
am:
8fc08cc0f6
Change-Id: I96476450550e726c3ac6c07e39afcd175cfee043
TreeHugger Robot [Tue, 12 Dec 2017 04:30:11 +0000 (04:30 +0000)]
Merge "incidentd: Updating field IDs and a field name."
Siyamed Sinir [Tue, 12 Dec 2017 04:25:54 +0000 (04:25 +0000)]
Merge "Fix an incorrect display position of error popup in RTL layout" am:
b7941c50a0
am:
0863cf4e40
Change-Id: Ief495fcc7e6f711696ed6337ab65face9d03c981
TreeHugger Robot [Tue, 12 Dec 2017 04:20:46 +0000 (04:20 +0000)]
Merge "Update graphics stats to use long version codes."
Siyamed Sinir [Tue, 12 Dec 2017 04:15:03 +0000 (04:15 +0000)]
Merge "Fix an incorrect display position of error popup in RTL layout"
am:
b7941c50a0
Change-Id: I67578129771d0c7d52d5da63f24c2f0d6081ab57
TreeHugger Robot [Tue, 12 Dec 2017 04:03:21 +0000 (04:03 +0000)]
Merge "Avoid strict mode violation in shortcut manager on user-unlock"
Siyamed Sinir [Tue, 12 Dec 2017 03:57:43 +0000 (03:57 +0000)]
Merge "Fix an incorrect display position of error popup in RTL layout"
Seigo Nonaka [Sun, 3 Dec 2017 03:28:05 +0000 (19:28 -0800)]
Introduce PremeasuredText
By measuring the character widths beforehand, we can save at least 40%
of the StaticLayout construction time which typically happens on UI
thread.
Also verified this doesn't cause performance regression for not
premeasured text.
Raw performance score (Not premeasured -> premeasured, median, N=100)
No Style, Greedy, Hyphenation OFF: 7,812,975 -> 503,245 (-93.6%)
No Style, Balanced, Hyphenation OFF: 7,843,254 -> 396,892 (-95.0%)
No Style, Greedy, Hyphenation ON : 19,134,214 -> 11,658,928 (-39.1%)
No Style, Balanced, Hyphenation ON : 19,348,062 -> 11,634,942 (-39.9%)
Styled, Greedy, Hyphenation OFF: 14,353,673 -> 572,840 (-96.0%)
Raw performance score (w/o patch -> w/ patch, median, N=100):
No Style, Greedy, Hyphenation OFF: 7,732,894 -> 7,812,975 (+1.04%)
No Style, Balanced, Hyphenation OFF: 7,884,510 -> 7,843,254 (-0.52%)
No Style, Greedy, Hyphenation ON : 18,986,958 -> 19,134,214 (+0.78%)
No Style, Balanced, Hyphenation ON : 19,232,791 -> 19,348,062 (+0.60%)
Styled, Greedy, Hyphenation OFF: 14,319,690 -> 14,353,673 (+0.24%)
Bug:
67504091
Test: bit CtsTextTestCases:*
Test: bit CtsGraphicsTestCases:*
Test: bit CtsWidgetTestCases:*
Test: FrameworksCoreTests:android.text.MeasuredTextTest
Change-Id: I0b46f04b42cc012606a9c722eca0d51147a0dcc7
Hall Liu [Tue, 12 Dec 2017 02:46:53 +0000 (02:46 +0000)]
Merge "Add CarrierConfig key for RTT support" am:
e5a913661d am:
79dc6fb815
am:
6365fde4c0
Change-Id: I652fb64918aaf7dbd87910d35329b2752914e937
Amit Mahajan [Tue, 12 Dec 2017 02:32:54 +0000 (02:32 +0000)]
Merge "Revert "Add support for send Message with messaging options"" am:
563d93c107 am:
b1ba135258
am:
339c512db0
Change-Id: I0539d1f7db3a307f7fb0b27e0b2a3a3e13a71538
Selim Cinek [Tue, 12 Dec 2017 02:24:22 +0000 (02:24 +0000)]
Merge "Fixed an issue with font sizes between users"
TreeHugger Robot [Tue, 12 Dec 2017 02:21:59 +0000 (02:21 +0000)]
Merge "Proper autofill fix to let phone process autofill Settings activity."
TreeHugger Robot [Tue, 12 Dec 2017 02:20:58 +0000 (02:20 +0000)]
Merge "Fix cancelSync() permission check for periodic syncs."
Hall Liu [Tue, 12 Dec 2017 02:11:04 +0000 (02:11 +0000)]
Merge "Add CarrierConfig key for RTT support" am:
e5a913661d
am:
79dc6fb815
Change-Id: I11ef3f96e578e077288fe60725d326a20f45daf1
TreeHugger Robot [Tue, 12 Dec 2017 02:07:10 +0000 (02:07 +0000)]
Merge "Convert screenshot hw Bitmap to sw Bitmap for screenshot preview."
TreeHugger Robot [Tue, 12 Dec 2017 02:05:52 +0000 (02:05 +0000)]
Merge "Don't write log on AM thread."
Kweku Adams [Tue, 12 Dec 2017 02:05:38 +0000 (18:05 -0800)]
incidentd: Updating field IDs and a field name.
Field 7 was removed in http://ag/
3248090. Since the protos aren't being
used yet, I want to update the rest of the IDs to avoid confusion in the
future when they start being used.
Also updated a field name to better reflect what the value is.
Bug:
65750801
Test: $ cts-tradefed run cts-dev --module CtsIncidentHostTestCases --test com.android.server.cts.AlarmManagerIncidentTest
Change-Id: I48724d461fa2e68dfaf452f01a84031d9fa4180e
Hall Liu [Tue, 12 Dec 2017 01:59:47 +0000 (01:59 +0000)]
Merge "Add CarrierConfig key for RTT support"
am:
e5a913661d
Change-Id: I035f9ae243dfe1a8c3bc1300851e88fdcb73dafd
Yohei Yukawa [Tue, 12 Dec 2017 01:54:43 +0000 (17:54 -0800)]
Add a shell command to reset selected/enabled IMEs
With this CL, you can reset currently selected/enabled IMEs with a shell
command as follows:
adb shell ime reset-ime
This should be useful for end-to-end tests where often we want to clean
up persistent IME state to the default ones as if the device is
initially booted.
Fixes:
70475949
Test: Manually tested as follows:
1. make -j SoftKeyboard
2. adb install -r $OUT/system/app/SoftKeyboard/SoftKeyboard.apk
3. adb shell ime enable com.example.android.softkeyboard/.SoftKeyboard
4. adb shell ime set com.example.android.softkeyboard/.SoftKeyboard
5. Make sure that SoftKeyboard is enabled and selected
6. adb shell ime reset-ime
7. Make sure that SoftKeyboard is no longer enabled and selected
Change-Id: I1e27aa1c9edf5d9a6d529c469ad42fd1e42b13b1
Siyamed Sinir [Tue, 12 Dec 2017 01:53:04 +0000 (01:53 +0000)]
Merge "Add Text APCT tests to Presubmit"
Hall Liu [Tue, 12 Dec 2017 01:44:08 +0000 (01:44 +0000)]
Merge "Add CarrierConfig key for RTT support"
Android Build Merger (Role) [Tue, 12 Dec 2017 01:43:22 +0000 (01:43 +0000)]
Merge "Merge "Add carrier config to always play hold tone when remotely held." am:
c352f5f861 am:
c9187f9199 am:
e31e0d5a7a"
TreeHugger Robot [Tue, 12 Dec 2017 01:40:24 +0000 (01:40 +0000)]
Merge "Don't take mLock in handleUnlockUser()."
Tyler Gunn [Tue, 12 Dec 2017 01:40:08 +0000 (01:40 +0000)]
Merge "Add carrier config to always play hold tone when remotely held." am:
c352f5f861 am:
c9187f9199
am:
e31e0d5a7a
Change-Id: Ic14315ea8a85fe9108e765fb32ce23b68ff31756
Amit Mahajan [Tue, 12 Dec 2017 01:37:32 +0000 (01:37 +0000)]
Merge "Revert "Add support for send Message with messaging options"" am:
563d93c107
am:
b1ba135258
Change-Id: I874df0b3061ef2f22de6d1c5f9338aa395092ee8
TreeHugger Robot [Tue, 12 Dec 2017 01:30:03 +0000 (01:30 +0000)]
Merge "Make TelephonyManager#getEmergencyCallbackMode SystemApi"
Tyler Gunn [Tue, 12 Dec 2017 01:27:00 +0000 (01:27 +0000)]
Merge "Add carrier config to always play hold tone when remotely held." am:
c352f5f861
am:
c9187f9199
Change-Id: Ic5b3a6089b03771bb0c0e48e0e8e01cbca839b47
Amit Mahajan [Tue, 12 Dec 2017 01:26:00 +0000 (01:26 +0000)]
Merge "Revert "Add support for send Message with messaging options""
am:
563d93c107
Change-Id: I5db31fdbddfdceb5417f617d7856f8a2a85cedb4
Yohei Yukawa [Tue, 12 Dec 2017 01:24:55 +0000 (17:24 -0800)]
Use IBinder#shellCommand() for 'adb shell ime'
This is a preparation CL to add a new command to 'adb shell ime'.
Currently 'ime' command is written in Java language that relies directly
on the internal Binder IPC interface IInputMethodManager.
This is not ideal because:
1. We have to keep maintaining IInputMethodManager methods used
only by the 'ime' command.
2. Adding new options to the 'ime' command is tedious when it
requires new methods in IInputMethodManager.
With this CL, all features of 'ime' command are re-implemented inside
InputMethodManagerService (IMMS) on top of Binder's "shell command"
feature [1]. Like 'am' command was gone recently [2], now 'ime' command
is also a simple shell wrapper to forward options to 'cmd input_method',
which allows us to 1) reduce the code duplication and 2) give non-zero
status code when the command fails with Java exception.
[1]: I76518ea6719d1d08a8ad8722a059c7f5fd86813a
9461b6f91f37fd32207da1bd734d9ea9629eb8e5
[2]: Ia8187196af597046fd2e7092dbf19ce1dc1ea457
1704e3cf0c445512f0a9644485dd3449e874556b
Bug:
70475949
Test: adb shell ime
Test: adb shell ime help
Test: adb shell ime dump
Test: adb shell ime list -a
Test: adb shell cmd input_method
Test: adb shell cmd input_method help
Test: adb shell cmd input_method dump
Test: adb shell cmd input_method list -a
Change-Id: I9a2dbbf1d4494addbe22c82e2c416eedc4d585f2
TreeHugger Robot [Tue, 12 Dec 2017 01:19:46 +0000 (01:19 +0000)]
Merge "Refactor system properties protos to just include the list treble team defines go/treble-sysprop-compatibility."
Tyler Gunn [Tue, 12 Dec 2017 01:16:30 +0000 (01:16 +0000)]
Merge "Add carrier config to always play hold tone when remotely held."
am:
c352f5f861
Change-Id: I16a53c2ec034c32c9e771e367c18ab20c1a52cf4
TreeHugger Robot [Tue, 12 Dec 2017 01:04:57 +0000 (01:04 +0000)]
Merge "incidentd: Removing history from batterystats dump."
Amit Mahajan [Tue, 12 Dec 2017 01:04:54 +0000 (01:04 +0000)]
Merge "Revert "Add support for send Message with messaging options""
TreeHugger Robot [Tue, 12 Dec 2017 01:03:51 +0000 (01:03 +0000)]
Merge "Migrate IME related tests to JUnit4"
Treehugger Robot [Tue, 12 Dec 2017 00:56:37 +0000 (00:56 +0000)]
Merge "Add carrier config to always play hold tone when remotely held."
Dianne Hackborn [Tue, 12 Dec 2017 00:54:27 +0000 (16:54 -0800)]
Update WebView tests to use long version codes.
Bug:
64459786
Test: manual
Change-Id: Ib4b8f8f10f2321663a55e086d39586fbdca93a54
Makoto Onuki [Tue, 12 Dec 2017 00:38:11 +0000 (16:38 -0800)]
Avoid strict mode violation in shortcut manager on user-unlock
- The issue is the shortcut host information was stored in ShortcutUser, which
is per-user shortcut information that's persisted in the disk. Even though in
the onUnlockUser sequence we only need to "set" a package name, in order to
access the ShortcutUser instance for the target user, we'd need to load the
per-user information from the disk.
- Luckily the host packages don't need to be persisted, so let's just move
it to another structure which is just kept in memory.
Bug:
70526858
Test: Manual test (boot, unlock user, unlock secondary user)
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest2 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest3 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest4 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest5 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest6 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest7 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest8 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest9 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest10 -w com.android.frameworks.servicestests
Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -l INFO -m CtsShortcutManagerTestCases
Change-Id: Ic4b842c4a3a08a7f0e678ce328e9d4ee08fd4069
TreeHugger Robot [Tue, 12 Dec 2017 00:48:22 +0000 (00:48 +0000)]
Merge "Cancel alarms & jobs when an app's data is cleared"
Dianne Hackborn [Tue, 12 Dec 2017 00:44:08 +0000 (16:44 -0800)]
Fix missed use of old int version code in shortcut manager.
Bug:
64459786
Test: manual
Change-Id: If0f8a19e72e259cceec71ba3490204298e38a478
Todd Kennedy [Tue, 12 Dec 2017 00:37:35 +0000 (00:37 +0000)]
Merge "Fix package manager tests"
Dianne Hackborn [Tue, 12 Dec 2017 00:30:36 +0000 (16:30 -0800)]
Update graphics stats to use long version codes.
Bug:
64459786
Test: manual
Change-Id: Iab84727e0ac486f505c10aacdb5ec8871aaf121e
Felipe Leme [Mon, 11 Dec 2017 22:37:35 +0000 (14:37 -0800)]
Proper autofill fix to let phone process autofill Settings activity.
Test: adb shell am start com.android.settings/.RadioInfo
Fixes:
70506888
Change-Id: Id29bad2d20b621f7379eb6144c95dcc819949b3d
Holly Jiuyu Sun [Tue, 12 Dec 2017 00:12:44 +0000 (00:12 +0000)]
Merge "Carrier confirmation code." am:
6627d2c4df am:
0e788e00b6
am:
486385092b -s ours
Change-Id: I34d9496ee29684f5a1ceb6c9ab01ad87ffe72e8d
TreeHugger Robot [Tue, 12 Dec 2017 00:03:56 +0000 (00:03 +0000)]
Merge "Add Chromium ARC EventLogTags"
TreeHugger Robot [Tue, 12 Dec 2017 00:00:34 +0000 (00:00 +0000)]
Merge "SoundPool: remove unused header file."
Makoto Onuki [Mon, 11 Dec 2017 23:50:58 +0000 (15:50 -0800)]
Don't write log on AM thread.
Bug:
68871851
Test: Manual test with boot+logcat
Change-Id: I456036785ae92d8cc9b5c22120513f089f4386bd
Holly Jiuyu Sun [Mon, 11 Dec 2017 23:58:48 +0000 (23:58 +0000)]
Merge "Carrier confirmation code." am:
6627d2c4df
am:
0e788e00b6
Change-Id: Ibbb439b724ee031b76ff42ecd84c3c1f2df69ae1
Holly Jiuyu Sun [Mon, 11 Dec 2017 23:48:04 +0000 (23:48 +0000)]
Merge "Carrier confirmation code."
am:
6627d2c4df
Change-Id: I444b27d11472cd9a84e4df3b5ae624fba0b13e71
Makoto Onuki [Mon, 11 Dec 2017 22:47:19 +0000 (14:47 -0800)]
Don't take mLock in handleUnlockUser().
Bug:
64303666
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest2 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest3 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest4 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest5 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest6 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest7 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest8 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest9 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest10 -w com.android.frameworks.servicestests
Change-Id: I3afb814714aae404e4f07d8b179f4598cf507af5
Siyamed Sinir [Mon, 11 Dec 2017 23:29:18 +0000 (15:29 -0800)]
Add Text APCT tests to Presubmit
Ignored flaky tests. Test currently ignored are:
- android.text.format.FormatterTest
- android.util.util.LinkifyTest
- android.text.LineBreakingOverhangsTest
Test: None
Bug:
70506734
Change-Id: I6ef535c609d99fc6ff4a7887353b1df5ae7dcacb
Eugene Susla [Mon, 11 Dec 2017 18:07:03 +0000 (10:07 -0800)]
Nullcheck to fix Autofill CTS
Test: presubmit
Fixes:
70506475
Change-Id: I187bed4889a4901a7137a2995178ea651ed09186
Amit Mahajan [Mon, 11 Dec 2017 23:30:35 +0000 (23:30 +0000)]
Revert "Add support for send Message with messaging options"
This reverts commit
bbef627077c5126b5b1292a5a396d784218c09cf.
Reason for revert: Causing long sms failure
Bug:
68762942
Change-Id: I43c36e3286105459c7e08d1a0b2d89b4c42140b2
Holly Jiuyu Sun [Mon, 11 Dec 2017 23:29:34 +0000 (23:29 +0000)]
Merge "Carrier confirmation code."
Yohei Yukawa [Mon, 11 Dec 2017 23:09:28 +0000 (15:09 -0800)]
Migrate IME related tests to JUnit4
This CL cleans up remaining use of InstrumentationTestCase from
IME-related FrameworksCoreTests as it is already deprecated in favor of
testing-support-library.
There should be no behavior change in tests and their expectations.
Fixes:
70514197
Test: atest FrameworksCoreTests:com.android.internal.inputmethod.InputMethodSubtypeSwitchingControllerTest
Test: atest FrameworksCoreTests:com.android.internal.inputmethod.InputMethodUtilsTest
Test: atest FrameworksCoreTests:com.android.internal.inputmethod.LocaleUtilsTest
Test: atest FrameworksCoreTests:android.view.inputmethod.CursorAnchorInfoTest
Test: atest FrameworksCoreTests:android.view.inputmethod.InputMethodSubtypeArrayTest
Test: atest FrameworksCoreTests:android.view.inputmethod.InputMethodSubtypeTest
Test: atest FrameworksCoreTests:android.view.inputmethod.SparseRectFArrayTest
Change-Id: I28f073aacb6f77c62bd186c37cbdb5719475d4ba
Yi Jin [Wed, 6 Dec 2017 01:44:48 +0000 (17:44 -0800)]
Refactor system properties protos to just include the list treble team
defines http://go/treble-sysprop-compatibility.
Also refactored system properties proto to have nested proto
definitions. The reason to do it is to have flat proto definition makes
it super hard to manage its field numbers as well as hard to use.
Since we have a predefined list. Support parsing nested proto here.
Bug:
68774852
Test: unit tested and on device test
$ out/host/linux-x86/bin/incident_report -w system_properties
Change-Id: Icfc7cdcae184fb204c81e6434d21399aa84a1285
Makoto Onuki [Mon, 11 Dec 2017 22:57:43 +0000 (14:57 -0800)]
Fix cancelSync() permission check for periodic syncs.
Bug:
64810615
Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -l INFO -m CtsContentTestCases -t android.content.cts.ContentResolverSyncTestCase
Change-Id: I2aedbe3e67dbaccfd848a2725042c33a440ce705
TreeHugger Robot [Mon, 11 Dec 2017 22:47:10 +0000 (22:47 +0000)]
Merge "Always invoke scrim callback"
Hall Liu [Tue, 21 Nov 2017 00:25:39 +0000 (16:25 -0800)]
Add CarrierConfig key for RTT support
Add the carrier config key.
Test: add fake support for some random carrier, look for the capability
Bug:
63934808
Change-Id: I8a0e33a7ac10fbdcad356059913e7ddcba26bb6c
TreeHugger Robot [Mon, 11 Dec 2017 22:22:39 +0000 (22:22 +0000)]
Merge "Fix testCursorIsOnRight test case"
TreeHugger Robot [Mon, 11 Dec 2017 22:21:12 +0000 (22:21 +0000)]
Merge "Introduce API to enable existing packages on shared users"
Shuo Qian [Mon, 11 Dec 2017 22:19:52 +0000 (22:19 +0000)]
Merge "Add ICCID_PREFIX column in CarridId DB"
TreeHugger Robot [Mon, 11 Dec 2017 22:17:42 +0000 (22:17 +0000)]
Merge "Temporaly ignoring UID check when caller is a system app."
Lucas Dupin [Thu, 16 Nov 2017 19:23:49 +0000 (11:23 -0800)]
Add support for seamless transion from/to AoD
Bug:
64155983
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/doze/DozeUiTest.java
Test: manual
Change-Id: I06e72cd5964944c79fb7bfda6881fc4a5a79ca7b
TreeHugger Robot [Mon, 11 Dec 2017 21:51:41 +0000 (21:51 +0000)]
Merge "OMS: Only allow trusted overlays to be registered."
TreeHugger Robot [Mon, 11 Dec 2017 21:45:04 +0000 (21:45 +0000)]
Merge "Change colors to allow transport of more generic ints"
Paul Duffin [Mon, 11 Dec 2017 19:30:05 +0000 (19:30 +0000)]
Replace legacy-android-test with android.test.base
Bug:
30188076
Test: make checkbuild
Change-Id: Icb9baf6ed848c45ee8681c817c0fbce703fc1f33
Paul Duffin [Mon, 11 Dec 2017 15:50:05 +0000 (15:50 +0000)]
Stop statically including legacy-android-test
Statically including legacy-android-test leads to duplicate classes
which causes build time problems (with Proguard) and runtime problems on
older SDK versions. This change:
* Stops statically including legacy-android-test.
* Adds compile time dependencies on andoid.test.base, android.test.mock
and android.test.runner where necessary.
* Adds <uses-library android:name="android.test.runner"/> to any
affected package to ensure that the classes that were included by
legacy-android-test are still available at runtime. That also adds a
dependency on android.test.base and android.test.mock.
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.
* test-runner/tests/Android.mk
Added 'android.test.base' and 'android.test.mock' to
LOCAL_JAVA_LIBRARIES because FrameworkTestRunnerTests's source
depends on their classes and because of these changes they are no
longer present on the compilation path.
Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES
because statically including the classes in
FrameworkTestRunnerTests results in duplicate classes which leads
to build time and compile time issues.
Bug:
30188076
Test: make checkbuild
Change-Id: I52a91fe4f6016de8edf4753fbd2bc4d2e4c9f317
Paul Duffin [Mon, 11 Dec 2017 15:13:08 +0000 (15:13 +0000)]
Build test-runner/tests
Previous change
e254526f0fe5d22681555bd4a00b7ee96fee1dc1 inadvertently
removed the line to include the tests/Android.mk file.
Bug:
30188076
Test: make checkbuild
Change-Id: Ia0ba14a70d2232d464420265a7a5f9c4dde3661b
Todd Kennedy [Mon, 11 Dec 2017 21:26:14 +0000 (13:26 -0800)]
Fix package manager tests
Test: bit FrameworksServicesTests:com.android.server.pm.
Change-Id: I06089adcdf6cdaebc7176cab30254cc2cbd836eb
TreeHugger Robot [Mon, 11 Dec 2017 21:14:44 +0000 (21:14 +0000)]
Merge "Enable fast drawing for solid color nine patch rectangles"
Lucas Dupin [Mon, 11 Dec 2017 20:42:26 +0000 (12:42 -0800)]
Always invoke scrim callback
Callback needs to be invoked if we're trying to switch
to the same state, otherwise the window will never know
that we're done fading the keyguard.
Change-Id: I6779ecf18fbb23f621731d851ab343b82c3529e3
Fixes:
70481733
Fixes:
70392591
Test: Unlock by tapping on notification
Test: Unlock with pin, fingerprint
Test: Unlock with fingerprint when pulsing
Test: Unlock by tapping on notification when pulsing
Test: Open Settings from QS when Maps is SHOW_WHEN_LOCKED
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
TreeHugger Robot [Mon, 11 Dec 2017 20:44:25 +0000 (20:44 +0000)]
Merge changes I2a808b9f,I8cbd4651
* changes:
Implements queryNanoApps API
Implements the new loadNanoApp/unloadNanoApp APIs
TreeHugger Robot [Mon, 11 Dec 2017 20:39:44 +0000 (20:39 +0000)]
Merge "Simplify IMMS#startVrInputMethodNoCheck a bit"
Kweku Adams [Mon, 11 Dec 2017 20:30:35 +0000 (12:30 -0800)]
incidentd: Removing history from batterystats dump.
Bug:
65750808
Test: N/A
Change-Id: I4790b616791f68833196b50b76d3fd24faa8d46b