OSDN Git Service
TreeHugger Robot [Mon, 18 Dec 2017 20:48:32 +0000 (20:48 +0000)]
Merge "Removes unnecessary logs from ContextHubService"
Eric Laurent [Mon, 18 Dec 2017 20:10:46 +0000 (20:10 +0000)]
Merge "Use broadcast receiver to update BT A2DP status"
TreeHugger Robot [Mon, 18 Dec 2017 20:05:41 +0000 (20:05 +0000)]
Merge "Fix issue #
70722141: Fix broken WindowTest.testSetLocalFocus"
TreeHugger Robot [Mon, 18 Dec 2017 19:56:43 +0000 (19:56 +0000)]
Merge "Implemented multiple matches on FieldClassification.getMatches()"
Tony Mantler [Mon, 18 Dec 2017 19:45:53 +0000 (19:45 +0000)]
Merge changes from topics "tv-settings-manage-power", "applicationsstate-lifecycle"
* changes:
Move PowerWhitelistBackend to SettingsLib
Move ApplicationsState to support lib Lifecycle
Robert Berry [Mon, 18 Dec 2017 18:58:48 +0000 (18:58 +0000)]
Merge "Revert "Add platform key generation ID to WrappedKey instances""
Robert Berry [Mon, 18 Dec 2017 18:56:22 +0000 (18:56 +0000)]
Revert "Add platform key generation ID to WrappedKey instances"
This reverts commit
9fa18c621e82d4a6e2b647fc3268ddc89e64b73c.
Reason for revert: broke the build, sorry
Change-Id: I6425160e9ac565664e25ee5c92ce1a5813dd4c28
Arthur Ishiguro [Fri, 15 Dec 2017 23:21:42 +0000 (15:21 -0800)]
Removes unnecessary logs from ContextHubService
Bug:
67734082
Test: None
Change-Id: Ibb6d2626334603bbda4e826e5fd7f7c47c7a436d
TreeHugger Robot [Mon, 18 Dec 2017 18:45:35 +0000 (18:45 +0000)]
Merge "New motion curves in resources for material2"
Hansong Zhang [Mon, 18 Dec 2017 18:14:38 +0000 (18:14 +0000)]
Merge "Publish Bluetooth HID Device Profile Service API" am:
fbd4ea125f am:
6047c90e9b
am:
cab953250f -s ours
Change-Id: I8c798b9a2852493a0efff555036c97ebfd2eb3dd
TreeHugger Robot [Mon, 18 Dec 2017 18:07:35 +0000 (18:07 +0000)]
Merge "Adopt robolectric 3.5.1"
Hansong Zhang [Mon, 18 Dec 2017 18:06:19 +0000 (18:06 +0000)]
Merge "Publish Bluetooth HID Device Profile Service API" am:
fbd4ea125f
am:
6047c90e9b
Change-Id: Icd57d9a0d70bd4bc0dfe1396335254ccef9528b4
Kevin Hufnagle [Mon, 18 Dec 2017 18:01:46 +0000 (18:01 +0000)]
Merge "docs: Revised wording, section order for ShortcutManager API ref." into oc-mr1-dev am:
d642148c84
am:
87ce35c371
Change-Id: I0de0bea5712143e70f851f42fadaed0aa0eece64
Hansong Zhang [Mon, 18 Dec 2017 17:59:44 +0000 (17:59 +0000)]
Merge "Publish Bluetooth HID Device Profile Service API"
am:
fbd4ea125f
Change-Id: I97a3b9f865af9d50d52674702c6706729f9ab419
Kevin Hufnagle [Mon, 18 Dec 2017 17:52:36 +0000 (17:52 +0000)]
Merge "docs: Revised wording, section order for ShortcutManager API ref." into oc-mr1-dev
am:
d642148c84
Change-Id: Iabb204baf3772b44b6852ec9d7135db0baf228bc
Robert Berry [Mon, 18 Dec 2017 17:50:08 +0000 (17:50 +0000)]
Merge "Add RecoverableKeyStoreDb"
Treehugger Robot [Mon, 18 Dec 2017 17:47:35 +0000 (17:47 +0000)]
Merge "Publish Bluetooth HID Device Profile Service API"
Kevin Hufnagle [Mon, 18 Dec 2017 17:42:48 +0000 (17:42 +0000)]
Merge "docs: Revised wording, section order for ShortcutManager API ref." into oc-mr1-dev
Felipe Leme [Mon, 18 Dec 2017 17:30:53 +0000 (09:30 -0800)]
Implemented multiple matches on FieldClassification.getMatches()
Test: atest CtsAutoFillServiceTestCases:FieldsClassificationTest
Bug:
70291841
Change-Id: Icc015d7c76f0f11e398c3093b4ea070c8f35f589
Robert Berry [Mon, 18 Dec 2017 17:01:09 +0000 (17:01 +0000)]
Merge "Add recovery flow utils to KeySyncUtils"
Robert Berry [Mon, 18 Dec 2017 16:55:31 +0000 (16:55 +0000)]
Merge "Add platform key generation ID to WrappedKey instances"
TreeHugger Robot [Mon, 18 Dec 2017 16:41:15 +0000 (16:41 +0000)]
Merge "rename pulled atoms to shorter names"
Robert Berry [Fri, 15 Dec 2017 23:01:22 +0000 (23:01 +0000)]
Add RecoverableKeyStoreDb
Adds database for storing recoverable keys. They are indexed by the
uid of the application that created them, and the alias of the key.
This is the same alias that is used to get the key from
AndroidKeyStore. The database stores the wrapped key, and the version
of the platform key that did the wrapping. It also stores information
about when the key was last synced.
This is used to get the status of the key. e.g., if the platform key
id is not the current platform key id, this is now an unsyncable key.
If the last-synced time is not set, this is a valid key but one that
has not yet been synced. etc., etc.
Test: adb shell am instrument -w -e package com.android.server.locksettings.recoverablekeystore com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I4960452abcdd16c9f39a1f166a086a52dd2f05c0
Robert Berry [Fri, 15 Dec 2017 14:03:16 +0000 (14:03 +0000)]
Add recovery flow utils to KeySyncUtils
Currently KeySyncUtils only contains methods for the backup to cloud
flow. This adds utility methods for the restore flow, also. We still
haven't merged SecureBox, so the class they defer to at the moment
throws for most of these methods, meaning we can't yet add meaningful
unit tests.
Test: adb shell am instrument -w -e package com.android.server.locksettings.recoverablekeystore com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I27fe8b33dd239488b11f2863b67af4575fa82b47
Victor Chang [Mon, 18 Dec 2017 14:57:47 +0000 (14:57 +0000)]
Merge "API updated for ICU4J 60.1"
TreeHugger Robot [Mon, 18 Dec 2017 13:52:14 +0000 (13:52 +0000)]
Merge "Add MtpStorageManager for monitoring filesystem events"
Richard Ledley [Thu, 30 Nov 2017 10:54:08 +0000 (10:54 +0000)]
Show Floating Toolbar when tapping a selectable TextLink in TextView.
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest\#testToolbarAppearsAfterLinkClicked
Bug: b/
67629726
Change-Id: Ied7a1903a308db37d0eb288c8e611da8229f381a
Makoto Onuki [Mon, 18 Dec 2017 02:36:47 +0000 (02:36 +0000)]
Merge "Fix flakey shortcut manager tests."
TreeHugger Robot [Sun, 17 Dec 2017 17:01:36 +0000 (17:01 +0000)]
Merge "Turn off verbose logging, remove the fake config."
TreeHugger Robot [Sun, 17 Dec 2017 16:58:46 +0000 (16:58 +0000)]
Merge "add feature: GaugeMetricProducer now takes repeated list of fields bug fix: GaugeMetricProducer now works better with pulled events. unit test also includes GaugeMetricProducer_test"
TreeHugger Robot [Sun, 17 Dec 2017 09:05:12 +0000 (09:05 +0000)]
Merge "Split logging related functinonality out into NotificationLogger."
Chenjie Yu [Wed, 13 Dec 2017 01:54:33 +0000 (17:54 -0800)]
rename pulled atoms to shorter names
Test: unit test
Change-Id: I337341dc69ea658f5972cd9962c536a1f11d77f9
TreeHugger Robot [Sun, 17 Dec 2017 03:14:27 +0000 (03:14 +0000)]
Merge "align metrics to 5min bundary We use one alarm clock for all pulled atoms. If metrics from different configs are not aligned, the clock will be set to repeat at higher and higher frequency, and consume a lot of battery. Current implementation assumes a 5min minimum bucket size. New metric start time is set to be aligned to the start time of statsd in the next 5min. So it will ignore events up to 5min."
Chenjie Yu [Tue, 12 Dec 2017 01:41:20 +0000 (17:41 -0800)]
add feature: GaugeMetricProducer now takes repeated list of fields
bug fix: GaugeMetricProducer now works better with pulled events.
unit test also includes GaugeMetricProducer_test
Test: unit test
Change-Id: Ic60f09342d14cfb107be2130d445b323a56909e0
Chenjie Yu [Fri, 15 Dec 2017 00:48:54 +0000 (16:48 -0800)]
align metrics to 5min bundary
We use one alarm clock for all pulled atoms.
If metrics from different configs are not aligned,
the clock will be set to repeat at higher and higher
frequency, and consume a lot of battery.
Current implementation assumes a 5min minimum bucket
size. New metric start time is set to be aligned to
the start time of statsd in the next 5min.
So it will ignore events up to 5min.
align puller alarm to minute bundary
Test: unit test
Change-Id: I77ffa3c13de363c780b1000181b9a9b780dd0846
Robert Berry [Thu, 14 Dec 2017 17:04:07 +0000 (17:04 +0000)]
Add platform key generation ID to WrappedKey instances
This is so that when we persist them, we can tell that they were wrapped
with a specific version of the platform key. This will be useful for us
to provide error messages to the users of recoverable keys. (i.e., in
the case where the user had an application key that was wrapped with a
platform key that is no longer valid, they MUST rotate key.)
Test: adb shell am instrument -w -e package com.android.server.locksettings.recoverablekeystore com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I91569bcaf23b49d89a9caa9d313d9c93952b620d
Robert Berry [Sat, 16 Dec 2017 22:54:17 +0000 (22:54 +0000)]
Merge "Throw on attempt to unwrap a WrappedKey with old PlatformKey"
Yao Chen [Sat, 16 Dec 2017 22:34:20 +0000 (14:34 -0800)]
Turn off verbose logging, remove the fake config.
Test: statsd_test & manual
Change-Id: I43068c8db006cbbeccacaa9d8426ab4d0394313a
Sudheer Shanka [Sat, 16 Dec 2017 20:12:40 +0000 (20:12 +0000)]
Merge "Log if reading cpu freq times takes too long."
Sudheer Shanka [Sat, 16 Dec 2017 18:36:48 +0000 (18:36 +0000)]
Merge "Start processes asynchronously in AMS."
TreeHugger Robot [Sat, 16 Dec 2017 18:30:23 +0000 (18:30 +0000)]
Merge "Global app standby flag"
TreeHugger Robot [Sat, 16 Dec 2017 18:23:40 +0000 (18:23 +0000)]
Merge "Make IMM more robust for window focus stealing"
Amith Yamasani [Fri, 15 Dec 2017 18:51:53 +0000 (10:51 -0800)]
Global app standby flag
Disable app standby features if app_standby_enabled
is set to 0. This allows for UI and experiments to
control the feature.
Bug:
70655630
Test: adb shell settings put global app_standby_enabled 0
adb shell dumpsys usagestats
adb shell am get-standby-bucket <packagename>
Change-Id: Id6c62b078e52040767100f2997832cc586bb0806
TreeHugger Robot [Sat, 16 Dec 2017 11:57:25 +0000 (11:57 +0000)]
Merge "Revert "Log an App Op when an accessibility action is performed.""
Robert Berry [Fri, 15 Dec 2017 15:25:01 +0000 (15:25 +0000)]
Throw on attempt to unwrap a WrappedKey with old PlatformKey
Also brings the decrypt key inline with the representation in
ag/
3362855. When getting the latest decrypt/encrypt key we will
always want to know the generation ID, so that we can either
persist that information with the WrappedKey, or check against
WrappedKeys we're attempting to decrypt. As such it makes sense
to have methods return a class that wraps the key and ID, as they
always belong together.
Test: adb shell am instrument -w -e package com.android.server.locksettings.recoverablekeystore com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I2c7e97af9ed87216ff2f133a1e3efd546431ab7e
TreeHugger Robot [Sat, 16 Dec 2017 04:29:35 +0000 (04:29 +0000)]
Merge "Remove recents button and longpress home when connected to service (1/2)"
Mohammed Khider [Sat, 16 Dec 2017 04:19:23 +0000 (04:19 +0000)]
Merge "Allow interval updating when no GPS fix & scheduling not supported."
TreeHugger Robot [Sat, 16 Dec 2017 04:15:11 +0000 (04:15 +0000)]
Merge "Stats log api for attribution chain."
TreeHugger Robot [Sat, 16 Dec 2017 03:40:10 +0000 (03:40 +0000)]
Merge "Map "shell ime" to "shell cmd input_method ime""
TreeHugger Robot [Sat, 16 Dec 2017 03:15:59 +0000 (03:15 +0000)]
Merge "bugfix: adjust StatsLogEventWrapper length to make sure we don't lose data"
TreeHugger Robot [Sat, 16 Dec 2017 02:55:35 +0000 (02:55 +0000)]
Merge "Log daveys"
TreeHugger Robot [Sat, 16 Dec 2017 02:50:40 +0000 (02:50 +0000)]
Merge "Added back the recents button to activity over lockscreen"
Jeff Sharkey [Sat, 16 Dec 2017 02:20:32 +0000 (02:20 +0000)]
Merge "Delay touching disks when secure keyguard showing."
James Lemieux [Sat, 16 Dec 2017 01:49:49 +0000 (17:49 -0800)]
Adopt robolectric 3.5.1
Bug:
70581603
Test: make RunSettingsLibRoboTests
Change-Id: I18dd5d74dae0570d2909998a0bab1d812b9f8f6e
gomo [Thu, 14 Dec 2017 03:04:12 +0000 (19:04 -0800)]
Allow interval updating when no GPS fix & scheduling not supported.
Since Android-L we have the following isse for GPS chipsets that do not
have GPS_CAPABILITY_SCHEDULING:
1) A location request is ongoing with an interval < 1 minute that
mFixInterval < NO_FIX_TIMEOUT. In which case, the TimeOutIntent will
not be set
2) A new location request arrives with a large interval where we want
the TimeOutIntent to kick in if needed
3) The above scenario has to happen in GPS signal denied environment
with no fix possible as a single reported location will cause hibernate()
to be called and engine to be stopped
Bug:
68827168
Test: Current tests pass.
Change-Id: I4b3abf4b6f91a8eeb119bdbdb19f2fb0ed9e28cd
John Reck [Sat, 16 Dec 2017 00:00:48 +0000 (16:00 -0800)]
Log daveys
Bug:
70339576
Test: Checked that it logged with a lower threshold
Change-Id: I271f8af2a3ee63769edc71291b70f19512974d78
TreeHugger Robot [Sat, 16 Dec 2017 00:57:50 +0000 (00:57 +0000)]
Merge "Made Autofill Field Classification API public and documented it."
Phil Weaver [Sat, 16 Dec 2017 00:55:51 +0000 (00:55 +0000)]
Revert "Log an App Op when an accessibility action is performed."
CTS tests are now throwing security exceptions for accessibility actions.
This reverts commit
19eb58959b2b9cbf0d082ddc0640a6da99c8a3dc.
Change-Id: I2027ee4cca0fcc2b38bb615a58d992ef309e2d70
Yangster-mac [Tue, 12 Dec 2017 06:55:49 +0000 (22:55 -0800)]
Stats log api for attribution chain.
Test: all unit test passed.
Change-Id: I628d409e517f4f95c8da1d0c7fd4d514c1d9196d
Yohei Yukawa [Sat, 16 Dec 2017 00:52:05 +0000 (16:52 -0800)]
Map "shell ime" to "shell cmd input_method ime"
This is a follow up CL to my following CLs:
* Use IBinder#shellCommand() for 'adb shell ime' [1]
* Add a shell command to reset selected/enabled IMEs [2]
Previously
adb shell ime <command>
was an alias of
adb shell cmd input_method <command>
With this CL,
adb shell ime <command>
is now an alias of
adb shell cmd input_method ime <command>
This allows us to rename a sub command "reset-ime" to "reset" without
worrying about ambiguity about what will be reset.
Note also that the built-in "dump" command now works only as
shell cmd input_method dump
[1]: I9a2dbbf1d4494addbe22c82e2c416eedc4d585f2
926488d70d09baefee0489537b2915602deaeebf
[2]: I1e27aa1c9edf5d9a6d529c469ad42fd1e42b13b1
cc97ebd031b4d4be6f69e3163c362bce6878baf1
Bug:
70475949
Fixes:
70731324
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
7. Make sure that SoftKeyboard is no longer enabled and selected
Change-Id: I2a325dcd6108e357420d47880e4cbd9f81670ec9
Elliott Hughes [Sat, 16 Dec 2017 00:47:55 +0000 (00:47 +0000)]
Merge "Minimal reformat to match internal " am:
0d75603ea7 am:
5df94f6c14
am:
98202d9c6a
Change-Id: I990a0933fe9d50a98919452f7f0513d6f036a637
Elliott Hughes [Sat, 16 Dec 2017 00:40:08 +0000 (00:40 +0000)]
Merge "Minimal reformat to match internal " am:
0d75603ea7
am:
5df94f6c14
Change-Id: I33cc16e2a9ecd91e97b0824834760f88b13cac2e
Elliott Hughes [Sat, 16 Dec 2017 00:32:22 +0000 (00:32 +0000)]
Merge "Minimal reformat to match internal master."
am:
0d75603ea7
Change-Id: I0447a57265c8a73f40dc6f75964516d31f175165
Ivan Lozano [Sat, 16 Dec 2017 00:24:47 +0000 (00:24 +0000)]
Merge "Fix temporary file name strlcpy size."
Elliott Hughes [Sat, 16 Dec 2017 00:15:02 +0000 (00:15 +0000)]
Merge "Minimal reformat to match internal master."
Doris Liu [Sat, 16 Dec 2017 00:08:13 +0000 (16:08 -0800)]
New motion curves in resources for material2
Bug:
63634960
Test: not yet
Change-Id: I90b8ce5518ede327cdb54b50a326b750d9a795aa
Hansong Zhang [Thu, 7 Dec 2017 00:20:22 +0000 (16:20 -0800)]
Publish Bluetooth HID Device Profile Service API
Enable the BluetoothHidDevice API in framework.
Bug:
63384609
Test: SL4A HID test; test with apps using BluetoothHidDevice
Merged-In: I52ca4674f11179f865bdff22e0289dfe893c40f5
Change-Id: I52ca4674f11179f865bdff22e0289dfe893c40f5
(cherry picked from commit
7bb587d72b8bb5ba8bd2d7530dbd89b4faac289f)
TreeHugger Robot [Sat, 16 Dec 2017 00:03:53 +0000 (00:03 +0000)]
Merge "Adds API for apps to push events to statsd."
TreeHugger Robot [Sat, 16 Dec 2017 00:00:26 +0000 (00:00 +0000)]
Merge "Add hints for toggles in Slice"
Phil Weaver [Sat, 16 Dec 2017 00:00:12 +0000 (00:00 +0000)]
Merge "Notify system when uiAutomation terminates"
Tony Mantler [Fri, 15 Dec 2017 18:09:37 +0000 (10:09 -0800)]
Move PowerWhitelistBackend to SettingsLib
Bug:
70716754
Test: RunSettingsLibRoboTests
Change-Id: Ia6f94ff643080499a7631f69b08bc6d525a35162
Dianne Hackborn [Fri, 15 Dec 2017 23:44:55 +0000 (15:44 -0800)]
Fix issue #
70722141: Fix broken WindowTest.testSetLocalFocus
We need to make sure to dispatch every focus change, even if
the focus itself doesn't actually change.
Bug:
70722141
Test: bit CtsViewTestCases:WindowTest\#testSetLocalFocus
Change-Id: I12f4b18b93516f3bf03fb0d4a897a968cda65f41
Kevin Hufnagle [Sat, 2 Dec 2017 00:01:36 +0000 (16:01 -0800)]
docs: Revised wording, section order for ShortcutManager API ref.
Provided more thorough description of static shortcut options,
integrated shortcut limits section with the "updating shortcuts"
example, added more links to narrative documentation.
Test: make ds-docs -j8
Bug:
64727234
Change-Id: I70c16082e3e85a31b501c8e313d93200d827c7f4
Janis Danisevskis [Fri, 15 Dec 2017 23:48:55 +0000 (23:48 +0000)]
Merge "Consolidate Keystore alias prefixes."
TreeHugger Robot [Fri, 15 Dec 2017 23:47:40 +0000 (23:47 +0000)]
Merge "Add android.test.base/stubs dependency"
Yohei Yukawa [Fri, 15 Dec 2017 23:47:33 +0000 (15:47 -0800)]
Make IMM more robust for window focus stealing
This CL is a generalized version of my previous CL [1], which addresed
Bug
31056744 where InputMethodManager (IMM) fails to recover from
failure mode when IMMS#startInputOrWindowGainedFocus() failes because
the app's window is no longer eligible to be the IME target.
This CL finally addressed one TODO in that CL. InputBindResult now has
the error code, which allows us to force restart input upon the next
window-focus-in event. This should make IMM much more robust for
that kind of failure modes. For instance, Bug
70629102 is fixed as
demonstrated in a newly added CTS test case [2]. Hopefully this may
also fix Bug
31056744, which we still do not know how to reproduce.
[1]: I60adb38013b063918b074c7b947649eada77b2c8
8e9214b4bd7e6a9d944ad1527199226e575a7530
[2]: I4ea24c87cbbd05e4e68ad7dfafb774c8520188e2
Bug:
31056744
Fixes:
70629102
Test: Added a test case for Bug
70629102
atest CtsInputMethodTestCases
Test: Manually made sure that Bug
28281870 is still fixed:
1. Open app that has EditText.
2. Start Input.
3. Long press the task switch button to start multi-window mode.
4. Tap the EditText that is used in step 2.
5. Make sure that the IME still works as expected
Test: atest CtsViewTestCates
Change-Id: I7572d4b9d678f3669ca54d55718877b145015777
Chenjie Yu [Fri, 15 Dec 2017 22:45:41 +0000 (14:45 -0800)]
bugfix: adjust StatsLogEventWrapper length to make sure we don't
lose data
Test: manual test
Change-Id: I7bf014e7e2007e0e065aa7ca99522d9effcf1a68
Matthew Ng [Fri, 15 Dec 2017 01:37:35 +0000 (17:37 -0800)]
Remove recents button and longpress home when connected to service (1/2)
When overview is connected to the launcher service, long press to launch
assistant, the diamond animation and the recents button will be
removed.
Test: manual - enable new experience in launcher settings
Bug:
67957962
Change-Id: I8e976ae36465476e6287e0c1190cd2964099bbc6
TreeHugger Robot [Fri, 15 Dec 2017 22:25:33 +0000 (22:25 +0000)]
Merge "Dump services permissions on 'package' service."
susanta.patra [Fri, 15 Dec 2017 22:24:46 +0000 (22:24 +0000)]
Merge "Fixed create app shortcut text and icon alignment in RTL Language" am:
29f61c21f4 am:
c1a2cd2175
am:
acbb9830c1
Change-Id: I3aa27e3e6d744a27ff4ee2ad9f1de7fc181f4c38
susanta.patra [Fri, 15 Dec 2017 22:16:02 +0000 (22:16 +0000)]
Merge "Fixed create app shortcut text and icon alignment in RTL Language" am:
29f61c21f4
am:
c1a2cd2175
Change-Id: Id0fc2be3255620089a632236af2997213a9d6003
TreeHugger Robot [Fri, 15 Dec 2017 22:11:47 +0000 (22:11 +0000)]
Merge "Update documentation for DIRTY in VoicemailContract"
susanta.patra [Fri, 15 Dec 2017 22:10:00 +0000 (22:10 +0000)]
Merge "Fixed create app shortcut text and icon alignment in RTL Language"
am:
29f61c21f4
Change-Id: Iaa0829e9844278731e403e13b2cc8a3400969bb4
TreeHugger Robot [Fri, 15 Dec 2017 22:02:17 +0000 (22:02 +0000)]
Merge "Update documentation for preferred phone account columns"
Treehugger Robot [Fri, 15 Dec 2017 21:58:07 +0000 (21:58 +0000)]
Merge "Fixed create app shortcut text and icon alignment in RTL Language"
TreeHugger Robot [Fri, 15 Dec 2017 21:56:39 +0000 (21:56 +0000)]
Merge "Improved Cell Broadcast debug messages."
Alex Klyubin [Fri, 15 Dec 2017 21:34:59 +0000 (21:34 +0000)]
Merge "Move EntropyMixer I/O from main thread to I/O thread"
Todd Kennedy [Fri, 15 Dec 2017 21:04:34 +0000 (21:04 +0000)]
Merge "For loop condition fix"
TreeHugger Robot [Fri, 15 Dec 2017 21:02:01 +0000 (21:02 +0000)]
Merge "Turn on connected device by default"
Tony Mantler [Fri, 15 Dec 2017 17:52:09 +0000 (09:52 -0800)]
Move ApplicationsState to support lib Lifecycle
Bug:
70716628
Test: m -j RunSettingsLibRoboTests
Change-Id: I680a7677c8c33bac45928ca599f06e19ed5cd325
TreeHugger Robot [Fri, 15 Dec 2017 20:53:43 +0000 (20:53 +0000)]
Merge "Statsd value metric anomaly detection"
TreeHugger Robot [Fri, 15 Dec 2017 20:52:20 +0000 (20:52 +0000)]
Merge "Add hostdex target for android.test.base"
Jeff Sharkey [Fri, 15 Dec 2017 05:15:14 +0000 (22:15 -0700)]
Delay touching disks when secure keyguard showing.
We've tried our best to protect against malicious storage devices
with limited SELinux domains, but let's be even more paranoid and
refuse to look at disks inserted while a secure keyguard is
showing. We'll gladly scan them right away once the user confirms
their credentials.
Test: builds, boots, manual testing
Bug:
68054513
Change-Id: I19b7446e855176921ed477ef6d07bc9a2cc0ef9a
Ricardo Loo Foronda [Fri, 15 Dec 2017 20:38:54 +0000 (20:38 +0000)]
docs: Added code tag to meta-data name and fixed some @see tags am:
f2a8aea735
am:
0d69f1b342
Change-Id: Ib0e6d759d002cf5418755312c42e32e07ece0576
Ricardo Loo Foronda [Fri, 15 Dec 2017 20:31:18 +0000 (20:31 +0000)]
docs: Added code tag to meta-data name and fixed some @see tags
am:
f2a8aea735
Change-Id: If5601165a816e0dadc672008f8d5049563ee577f
Sudheer Shanka [Mon, 16 Oct 2017 17:20:32 +0000 (10:20 -0700)]
Start processes asynchronously in AMS.
Currently, process start is initiated in ActivityManagerService
holding the main lock and this takes ~40ms to complete. As seen
in some of the issues in previous releases, this is one of the
contributors of the lock contention in system_server. This change
tries to address this issue by moving the process start outside
the locked section.
When a process start is required, instead of doing it synchronously,
this request will be posted on a handler thread. On the handler thread,
this process start request will be completed without holding a lock.
If for some reason, we decide the process is not needed anymore before
it is actually started or being started, then AMS does everything as
usual removing the references to the process from internal state except
actually killing the process which will be handled on the handler
thread.
Bug:
68775202
Test: Ran app startup perf tests using forrest, will update the bug with results.
Test: https://docs.google.com/spreadsheets/d/1cW81guRALZXKsN-WZsKyQiCSY-RgkJ2m_M9IfqIquz8
Test: cts-tradefed run singleCommand cts-dev -m CtsActivityManagerDeviceTestCases
Test: cts-tradefed run singleCommand cts-dev -m CtsWindowManagerDeviceTestCases
Test: cts-tradefed run singleCommand cts-dev -m CtsAppTestCases
Test: cts-tradefed run singleCommand cts-dev -m CtsMultiUserHostTestCases
Test: adb shell am instrument -e package com.android.server.am -w \
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
Test: adb shell am instrument -e class com.android.server.pm.UserManagerTest -w \
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
Test: adb shell am instrument -e package android.content -w \
com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Test: cts-tradefed run singleCommand cts-dev -m CtsProviderTestCases
Test: cts-tradefed run singleCommand cts-dev -m CtsContentTestCases -t \
android.content.cts.ContentResolverTest
Test: cts-tradefed run singleCommand cts-dev -m CtsContentTestCases -t \
android.content.cts.ContentProviderTest
Test: cts-tradefed run singleCommand cts-dev -m CtsWebkitTestCases
Test: cts-tradefed run singleCommand cts-dev -m CtsHostsideWebViewTests
Test: cts-tradefed run singleCommand cts-dev -m CtsAssistTestCases
Test: make WebViewLoadingTests && make tradefed-all && tradefed.sh \
run template/local_min --template:map test=WebViewLoadingTests
Test: adb shell setprop wrap.com.google.android.apps.maps \
'"LIBC_DEBUG_MALLOC_OPTIONS=backtrace logwrapper"'
&& adb shell dumpsys meminfo --unreachable <PID_OF_APP>
&& check ppid of <APP> is logwrapper's pid.
Test: cts-tradefed run singleCommand cts-dev -m CtsWrapWrapNoDebugTestCases
Test: cts-tradefed run singleCommand cts-dev -m CtsWrapWrapDebugTestCases
Test: cts-tradefed run singleCommand cts-dev -m CtsWrapNoWrapTestCases
Test: cts-tradefed run singleCommand cts-dev -m CtsWrapWrapDebugMallocDebugTestCases
Test: manual
Change-Id: I1fe7ce48cd5a4aadccaf6b3d6fdb5cad3304f1d3
TreeHugger Robot [Fri, 15 Dec 2017 20:17:45 +0000 (20:17 +0000)]
Merge "Use iterator to remove elements from cache"
Ta-wei Yen [Wed, 13 Dec 2017 23:25:49 +0000 (15:25 -0800)]
Update documentation for preferred phone account columns
Fixes:
70299454
Test: N/A
Change-Id: Ib8af85b5c618c1a2c62bc6c09daae057521de5d6
Ta-wei Yen [Fri, 15 Dec 2017 20:03:51 +0000 (12:03 -0800)]
Update documentation for DIRTY in VoicemailContract
Change-Id: I1196e5043b1c30a14d7463bd0a5ba1db485c1f57
Fixes:
70639523
Test: N/A
TreeHugger Robot [Fri, 15 Dec 2017 19:49:32 +0000 (19:49 +0000)]
Merge "Add surface/shown position to proto output"