OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "AudioPolicy: media dynamic mix is fixed volume"
Jean-Michel Trivi [Fri, 16 Feb 2018 01:57:08 +0000 (01:57 +0000)]
Merge "AudioPolicy: media dynamic mix is fixed volume"

6 years agoMerge "Merge "Add setting and logging for RTT" am: b823d08d21 am: 1c2da9f909 am:...
Android Build Merger (Role) [Fri, 16 Feb 2018 01:37:42 +0000 (01:37 +0000)]
Merge "Merge "Add setting and logging for RTT" am: b823d08d21 am: 1c2da9f909 am: 1b7261996e  -s ours"

6 years agoMerge "Add setting and logging for RTT" am: b823d08d21 am: 1c2da9f909
Hall Liu [Fri, 16 Feb 2018 01:36:22 +0000 (01:36 +0000)]
Merge "Add setting and logging for RTT" am: b823d08d21 am: 1c2da9f909
am: 1b7261996e  -s ours

Change-Id: Id48f806ab4f8d991af12e33bae51d4683b48bce2

6 years agoMerge "Camera2: Update logical multi-camera requirement"
TreeHugger Robot [Fri, 16 Feb 2018 01:34:00 +0000 (01:34 +0000)]
Merge "Camera2: Update logical multi-camera requirement"

6 years agoMerge "Camera: Remove surface sharing format limitation"
TreeHugger Robot [Fri, 16 Feb 2018 01:30:41 +0000 (01:30 +0000)]
Merge "Camera: Remove surface sharing format limitation"

6 years agoMerge "Add "Unlocked device required" parameter to keys"
Brian Young [Fri, 16 Feb 2018 01:18:53 +0000 (01:18 +0000)]
Merge "Add "Unlocked device required" parameter to keys"

6 years agoMerge "Add setting and logging for RTT" am: b823d08d21
Hall Liu [Fri, 16 Feb 2018 01:18:30 +0000 (01:18 +0000)]
Merge "Add setting and logging for RTT" am: b823d08d21
am: 1c2da9f909

Change-Id: Ic5ab105e5b2c3ad3866bee4d7dd5a6d8427adc74

6 years agoMerge "Add metrics constants for Night Display auto mode"
TreeHugger Robot [Fri, 16 Feb 2018 00:59:50 +0000 (00:59 +0000)]
Merge "Add metrics constants for Night Display auto mode"

6 years agoMerge "Add setting and logging for RTT"
Hall Liu [Fri, 16 Feb 2018 00:38:10 +0000 (00:38 +0000)]
Merge "Add setting and logging for RTT"
am: b823d08d21

Change-Id: I0207ee73eee69096dc83d89553d21d462886b788

6 years agoMerge "Improve sync manager dumpsys. Show more information."
Makoto Onuki [Fri, 16 Feb 2018 00:32:54 +0000 (00:32 +0000)]
Merge "Improve sync manager dumpsys. Show more information."

6 years agoMerge "MSIM support for hidden IMS capability and registration query APIs." into...
Brad Ebinger [Fri, 16 Feb 2018 00:25:27 +0000 (00:25 +0000)]
Merge "MSIM support for hidden IMS capability and registration query APIs." into oc-mr1-dev-plus-aosp
am: 7c24845ab3  -s ours

Change-Id: I36bfa469842a1dca413b8d5f65eae158e9810ed7

6 years agoMerge "Add NetworkRegistrationState into SS's list." am: 9f92ed943c am: 6576ed3d5b
Xiangyu/Malcolm Chen [Fri, 16 Feb 2018 00:12:00 +0000 (00:12 +0000)]
Merge "Add NetworkRegistrationState into SS's list." am: 9f92ed943c am: 6576ed3d5b
am: 58bb4ccd4b

Change-Id: I1c7a6e8675f237d68d027cd1304e4a7c4b901556

6 years agoMerge "MSIM support for hidden IMS capability and registration query APIs." into...
TreeHugger Robot [Fri, 16 Feb 2018 00:10:35 +0000 (00:10 +0000)]
Merge "MSIM support for hidden IMS capability and registration query APIs." into oc-mr1-dev-plus-aosp

6 years agoMerge "Add NetworkRegistrationState into SS's list." am: 9f92ed943c
Xiangyu/Malcolm Chen [Thu, 15 Feb 2018 23:50:31 +0000 (23:50 +0000)]
Merge "Add NetworkRegistrationState into SS's list." am: 9f92ed943c
am: 6576ed3d5b

Change-Id: I02efc2c7dceb775a5ce2eb3e3f2696e098cef046

6 years agoMerge "Add NetworkRegistrationState into SS's list."
Xiangyu/Malcolm Chen [Thu, 15 Feb 2018 23:39:01 +0000 (23:39 +0000)]
Merge "Add NetworkRegistrationState into SS's list."
am: 9f92ed943c

Change-Id: I4c99214c0f8a2561795cd320f8ff87c072a7a9bd

6 years agoMerge "RTT bugfixes, part 5"
Hall Liu [Thu, 15 Feb 2018 23:31:18 +0000 (23:31 +0000)]
Merge "RTT bugfixes, part 5"

6 years agoMerge "Improved Autofill logging."
TreeHugger Robot [Thu, 15 Feb 2018 23:14:33 +0000 (23:14 +0000)]
Merge "Improved Autofill logging."

6 years agoMerge "Update string referring UDSActivity package name"
TreeHugger Robot [Thu, 15 Feb 2018 23:12:38 +0000 (23:12 +0000)]
Merge "Update string referring UDSActivity package name"

6 years agoAudioPolicy: media dynamic mix is fixed volume
Jean-Michel Trivi [Wed, 14 Feb 2018 22:38:43 +0000 (14:38 -0800)]
AudioPolicy: media dynamic mix is fixed volume

Bug: 70859923
Test: gts-tradefed run-gts -m GtsGmscoreHostTestCases -t 'com.google.android.gts.audio.AudioHostTest#testTwoChannelCapturing'
Change-Id: Ie9a30e2607ae4ae9a9dd128e3bd80d7582eb381e

6 years agoImproved Autofill logging.
Felipe Leme [Thu, 15 Feb 2018 20:52:19 +0000 (12:52 -0800)]
Improved Autofill logging.

Test: manual verification
Bug: 73172668

Change-Id: I8c77f2a792f3195efa44f44a4c9888c355eaee3c

6 years agoMerge "add OWNERS file to audio, media and usb services"
Eric Laurent [Thu, 15 Feb 2018 23:02:45 +0000 (23:02 +0000)]
Merge "add OWNERS file to audio, media and usb services"

6 years agoMerge "Decrease default very long power button press timing to be more reasonable."
TreeHugger Robot [Thu, 15 Feb 2018 22:59:32 +0000 (22:59 +0000)]
Merge "Decrease default very long power button press timing to be more reasonable."

6 years agoMerge "Fixed isVisibleToUserForAutofill() so it returns true by default."
Felipe Leme [Thu, 15 Feb 2018 22:49:32 +0000 (22:49 +0000)]
Merge "Fixed isVisibleToUserForAutofill() so it returns true by default."

6 years agoMerge "Reland "Use ImageDecoder for NinePatchDrawable and BitmapDrawable""
TreeHugger Robot [Thu, 15 Feb 2018 22:46:44 +0000 (22:46 +0000)]
Merge "Reland "Use ImageDecoder for NinePatchDrawable and BitmapDrawable""

6 years agoMerge "Fix race condition in GradientDrawable"
Lucas Dupin [Thu, 15 Feb 2018 22:41:33 +0000 (22:41 +0000)]
Merge "Fix race condition in GradientDrawable"

6 years agoMerge "Add new owners files for Telephony/Telecom frameworks files." am: 1da6f542ef...
Brad Ebinger [Thu, 15 Feb 2018 22:36:05 +0000 (22:36 +0000)]
Merge "Add new owners files for Telephony/Telecom frameworks files." am: 1da6f542ef am: fee59fac7b
am: f7976437e7

Change-Id: I2911891f579358427d5535b26ae9759058773b42

6 years agoMerge "[RTT] Fix legacy API crash on invalid RTT results"
TreeHugger Robot [Thu, 15 Feb 2018 22:31:42 +0000 (22:31 +0000)]
Merge "[RTT] Fix legacy API crash on invalid RTT results"

6 years agoMerge "Add OWNERS to frameworks/base/rs"
TreeHugger Robot [Thu, 15 Feb 2018 22:31:37 +0000 (22:31 +0000)]
Merge "Add OWNERS to frameworks/base/rs"

6 years agoMerge "Add OWNERS file for the annotations package"
Tor Norbye [Thu, 15 Feb 2018 22:25:56 +0000 (22:25 +0000)]
Merge "Add OWNERS file for the annotations package"

6 years agoMerge "Correctly update rtl state in navbar once language changes"
TreeHugger Robot [Thu, 15 Feb 2018 22:08:45 +0000 (22:08 +0000)]
Merge "Correctly update rtl state in navbar once language changes"

6 years agoMerge "Merge changes from topic "cp_calin_framework_2017" am: b98102b4dc am: b3da44d9...
Android Build Merger (Role) [Thu, 15 Feb 2018 22:02:18 +0000 (22:02 +0000)]
Merge "Merge changes from topic "cp_calin_framework_2017" am: b98102b4dc am: b3da44d9a1 am: 5a0b4c4c62  -s ours"

6 years agoMerge "Move WearConnectivityService package."
Calvin On [Thu, 15 Feb 2018 21:58:22 +0000 (21:58 +0000)]
Merge "Move WearConnectivityService package."

6 years agoMerge changes from topic "cp_calin_framework_2017" am: b98102b4dc am: b3da44d9a1
Calin Juravle [Thu, 15 Feb 2018 21:52:47 +0000 (21:52 +0000)]
Merge changes from topic "cp_calin_framework_2017" am: b98102b4dc am: b3da44d9a1
am: 5a0b4c4c62  -s ours

Change-Id: I81d465165c2d4d7d680d51ec47913b543529a255

6 years agoMerge "Add new owners files for Telephony/Telecom frameworks files." am: 1da6f542ef
Brad Ebinger [Thu, 15 Feb 2018 21:46:48 +0000 (21:46 +0000)]
Merge "Add new owners files for Telephony/Telecom frameworks files." am: 1da6f542ef
am: fee59fac7b

Change-Id: Ieb1f9465eaec47f51d3e62a15c7d4f6fd0970dd0

6 years agoMerge "Fixed View.notifyEnterOrExitForAutoFillIfNeeded()"
TreeHugger Robot [Thu, 15 Feb 2018 21:37:28 +0000 (21:37 +0000)]
Merge "Fixed View.notifyEnterOrExitForAutoFillIfNeeded()"

6 years agoMerge changes from topic "cp_calin_framework_2017" am: b98102b4dc
Calin Juravle [Thu, 15 Feb 2018 21:30:27 +0000 (21:30 +0000)]
Merge changes from topic "cp_calin_framework_2017" am: b98102b4dc
am: b3da44d9a1

Change-Id: Ibd848f6803d63da46ae1461b469422c5a6431980

6 years agoMerge "Add new owners files for Telephony/Telecom frameworks files."
Brad Ebinger [Thu, 15 Feb 2018 21:22:40 +0000 (21:22 +0000)]
Merge "Add new owners files for Telephony/Telecom frameworks files."
am: 1da6f542ef

Change-Id: I8d07cde7cc41393799228b1af49ee460e9cebd15

6 years agoMerge "Do not check isPortait on null mediaSize"
TreeHugger Robot [Thu, 15 Feb 2018 21:08:25 +0000 (21:08 +0000)]
Merge "Do not check isPortait on null mediaSize"

6 years agoMerge "Add setting and logging for RTT"
Hall Liu [Thu, 15 Feb 2018 21:01:10 +0000 (21:01 +0000)]
Merge "Add setting and logging for RTT"

6 years agoFixed isVisibleToUserForAutofill() so it returns true by default.
Felipe Leme [Thu, 15 Feb 2018 20:25:29 +0000 (12:25 -0800)]
Fixed isVisibleToUserForAutofill() so it returns true by default.

This new API was introduced during the compat app changes and it must be
implemented by views providing virtual views (like WebView). If they don't, we
need to keep the default behavior of assuming the child is visible, otherwise
we might trigger Save when the child value change and the service sets the
FLAG_SAVE_ON_ALL_VIEWS_INVISIBLE

Test: atest CtsAutoFillServiceTestCases:VirtualContainerActivityTest#testSaveNotShownWhenVirtualViewValueChanges

Fixes: 73172668

Change-Id: I80654aaffa7dd24a3b3b59e7016bd86b48fe4898

6 years agoMerge changes from topic "cp_calin_framework_2017"
Calin Juravle [Thu, 15 Feb 2018 20:46:22 +0000 (20:46 +0000)]
Merge changes from topic "cp_calin_framework_2017"
am: b98102b4dc

Change-Id: I524b166fbd551200a539a40e3531883b494f68db

6 years agoMerge "Pass the compilation reason to dexopt"
Calin Juravle [Thu, 15 Feb 2018 20:45:03 +0000 (20:45 +0000)]
Merge "Pass the compilation reason to dexopt"

6 years agoMerge "Put metadata or stats into each dropbox incident report."
TreeHugger Robot [Thu, 15 Feb 2018 20:42:00 +0000 (20:42 +0000)]
Merge "Put metadata or stats into each dropbox incident report."

6 years agoMerge "Add more ways to run AppLaunch."
TreeHugger Robot [Thu, 15 Feb 2018 20:39:58 +0000 (20:39 +0000)]
Merge "Add more ways to run AppLaunch."

6 years agoMerge "autofill: render autofill ui in fullscreen for tv"
Dake Gu [Thu, 15 Feb 2018 20:39:24 +0000 (20:39 +0000)]
Merge "autofill: render autofill ui in fullscreen for tv"

6 years agoMerge "Add owners file for statsd/incidentd"
TreeHugger Robot [Thu, 15 Feb 2018 20:32:24 +0000 (20:32 +0000)]
Merge "Add owners file for statsd/incidentd"

6 years agoAdd OWNERS to frameworks/base/rs
Miao Wang [Thu, 15 Feb 2018 19:30:01 +0000 (11:30 -0800)]
Add OWNERS to frameworks/base/rs

Bug: 73485081
Test: none needed
Change-Id: I1d0c351d51fb5398799090a868b33e4a8e639588

6 years agoMerge "More formatting fixes for statsd"
TreeHugger Robot [Thu, 15 Feb 2018 19:26:32 +0000 (19:26 +0000)]
Merge "More formatting fixes for statsd"

6 years agoMerge "Adding new Style of decor windows for Car use case. This allows for left,...
TreeHugger Robot [Thu, 15 Feb 2018 19:20:29 +0000 (19:20 +0000)]
Merge "Adding new Style of decor windows for Car use case. This allows for left, right or bottom navigation bars that can be configured with xml files"

6 years agoReland "Use ImageDecoder for NinePatchDrawable and BitmapDrawable"
Leon Scroggins III [Thu, 15 Feb 2018 15:40:33 +0000 (10:40 -0500)]
Reland "Use ImageDecoder for NinePatchDrawable and BitmapDrawable"

This reverts commit ac9c8f7c1e4cc608ff78217b7849351d7f77d90c.

Bug: 73083791
Bug: 73364985

Don't scale NinePatchDrawable if bitmap has no density (including fix
for 73364985).
Fixed bugs around density and input streams.

Update PointerIcon to account for the fact that BitmapDrawable no longer
scales its Bitmap up at decode time. PointerIcon now handles the
scaling. This is necessary because PointerIcon never draws its Bitmap.
Instead, native code uses the Bitmap's internal SkBitmap without
accounting for density.

Test: Ran CTS:
- CtsUiRenderingTestCases
- CtsGraphicsTestCases
  - I2d3976061d164ab4d58209db1320917f272a1958
- CtsViewTestCases
- ThemeHostTests

Change-Id: I3e0c11195622d65f084ce79dad887504630177ca

6 years agoAdd OWNERS file for the annotations package
Tor Norbye [Thu, 15 Feb 2018 19:13:27 +0000 (11:13 -0800)]
Add OWNERS file for the annotations package

Change-Id: I7d4aee38ac79aea239d0d208ed0abba7174a9101

6 years agoCorrectly update rtl state in navbar once language changes
Matthew Ng [Wed, 14 Feb 2018 22:40:31 +0000 (14:40 -0800)]
Correctly update rtl state in navbar once language changes

NavigationBarView failed to update the rtl state that is passed to the
fragment, navbar helper and quick step controller when changing from a
ltr to rtl language because layout direction in view has not been
resolved yet. Fixed by resolving layout direction in reorient if needed.

Change-Id: I28b5dd8b678723020e549a04735ca1932b825dac
Fixes: 73337601
Test: change language and try to quick scrub

6 years agoMerge "Autofill optimization on notifyViewEntered()."
TreeHugger Robot [Thu, 15 Feb 2018 19:03:02 +0000 (19:03 +0000)]
Merge "Autofill optimization on notifyViewEntered()."

6 years agoMerge "Add NetworkRegistrationState into SS's list."
Xiangyu/Malcolm Chen [Thu, 15 Feb 2018 19:01:59 +0000 (19:01 +0000)]
Merge "Add NetworkRegistrationState into SS's list."

6 years agoMerge "Move from an alert dialog to a full screen dialog for SIM app install"
Gil O'Neil [Thu, 15 Feb 2018 18:58:41 +0000 (18:58 +0000)]
Merge "Move from an alert dialog to a full screen dialog for SIM app install"

6 years agoAdd setting and logging for RTT
Hall Liu [Tue, 30 Jan 2018 01:22:02 +0000 (17:22 -0800)]
Add setting and logging for RTT

Add a system setting to store preferred RTT mode for calls. Add logging
for RTT in Telecom base classes.

Bug: 63934808
Test: manual
Change-Id: Ie26fac800931604379bbe7b8abfed7caa8c0236d
Merged-In: Ie26fac800931604379bbe7b8abfed7caa8c0236d

6 years agoImprove sync manager dumpsys. Show more information.
Makoto Onuki [Thu, 15 Feb 2018 18:39:26 +0000 (10:39 -0800)]
Improve sync manager dumpsys. Show more information.

Bug: 73483289
Test: build, boot with "watch dumpsys content".
Change-Id: Iab69189f40d0f073bd6da4a4ee2626e8bf3e8577

6 years agoMerge "MSIM support for hidden IMS capability and registration query APIs."
Brad Ebinger [Thu, 15 Feb 2018 18:31:32 +0000 (18:31 +0000)]
Merge "MSIM support for hidden IMS capability and registration query APIs."

6 years agoCorrect job base heartbeat calculation
Christopher Tate [Wed, 31 Jan 2018 21:24:14 +0000 (13:24 -0800)]
Correct job base heartbeat calculation

The "how many buckets ago did we last run" calculation was wrong, in a
way that was too aggressive about throttling execution.  We no longer
use a per-job base runnability milestone; instead, the app as a whole
experiences runnability intervals every so often based on its standby
state.

We also now specifically allow for newly-scheduled jobs within the app's
standby-defined execution slot to run within that slot, rather than
having to wait for the next one.

A small stats bug has been fixed in the job-start code: we would
previously log a job start event in battery stats even when the intended
job turned out to be unlaunchable.

Finally, there's a new 'heartbeat' shell command that allows a tester
to read or advance the standby heartbeat.

Change-Id: Icf03f82e2fde7408095f6d06642d944c3ae10a26
Fixes: 72713333
Test: atest CtsJobSchedulerTestCases

6 years agoAdd metrics constants for Night Display auto mode
Christine Franks [Thu, 18 Jan 2018 19:06:54 +0000 (11:06 -0800)]
Add metrics constants for Night Display auto mode

Bug: 69973773
Test: make -j100
Change-Id: I378cda9169a3482d087f491884200de804c1e1bf

6 years agoMerge "Fixes go to web behavior for Instant Apps"
TreeHugger Robot [Thu, 15 Feb 2018 18:06:10 +0000 (18:06 +0000)]
Merge "Fixes go to web behavior for Instant Apps"

6 years agoMerge changes from topic "telus"
TreeHugger Robot [Thu, 15 Feb 2018 18:04:59 +0000 (18:04 +0000)]
Merge changes from topic "telus"

* changes:
  SUPL server for Telus
  New cellular network types

6 years agoFixed View.notifyEnterOrExitForAutoFillIfNeeded()
Felipe Leme [Thu, 15 Feb 2018 18:01:57 +0000 (10:01 -0800)]
Fixed View.notifyEnterOrExitForAutoFillIfNeeded()

It should not call notifyViewExited() when entering a view.

Test: manual verification
Test: atest CtsAutoFillServiceTestCases

Bug: 73078981

Change-Id: I8dedcf9ff8d01fdc53293ae6c062fb6f44fec858

6 years agoMerge "[QS] Add header tooltip for long press"
Rohan Shah [Thu, 15 Feb 2018 17:50:27 +0000 (17:50 +0000)]
Merge "[QS] Add header tooltip for long press"

6 years agoMerge "Do not transform again on crash"
Philip P. Moltmann [Thu, 15 Feb 2018 17:43:01 +0000 (17:43 +0000)]
Merge "Do not transform again on crash"

6 years agoMerge "Don't attempt to create context menu for 'add printer' entry"
Philip P. Moltmann [Thu, 15 Feb 2018 17:38:16 +0000 (17:38 +0000)]
Merge "Don't attempt to create context menu for 'add printer' entry"

6 years agoMerge "Add new owners files for Telephony/Telecom frameworks files."
Brad Ebinger [Thu, 15 Feb 2018 17:23:31 +0000 (17:23 +0000)]
Merge "Add new owners files for Telephony/Telecom frameworks files."

6 years agoMerge "Expose getInstallerPackage to instant apps"
TreeHugger Robot [Thu, 15 Feb 2018 17:20:36 +0000 (17:20 +0000)]
Merge "Expose getInstallerPackage to instant apps"

6 years agoMerge "SyncManager: Load settings in BG thread"
Makoto Onuki [Thu, 15 Feb 2018 17:18:15 +0000 (17:18 +0000)]
Merge "SyncManager: Load settings in BG thread"

6 years agoMerge "Statsd guardrail for Alerts"
TreeHugger Robot [Thu, 15 Feb 2018 17:15:41 +0000 (17:15 +0000)]
Merge "Statsd guardrail for Alerts"

6 years agoMerge "Add Backup and Restore directory OWNERS"
TreeHugger Robot [Thu, 15 Feb 2018 17:14:16 +0000 (17:14 +0000)]
Merge "Add Backup and Restore directory OWNERS"

6 years agoMerge "Update README for ActivityManagerPerfTests"
TreeHugger Robot [Thu, 15 Feb 2018 17:04:51 +0000 (17:04 +0000)]
Merge "Update README for ActivityManagerPerfTests"

6 years agoMerge changes from topic "cp_calin_framework_2017"
Treehugger Robot [Thu, 15 Feb 2018 16:17:06 +0000 (16:17 +0000)]
Merge changes from topic "cp_calin_framework_2017"

* changes:
  Allow public profile compilation for primary apks
  [framework] Pass .dm files to dexopt at install time
  Extend the ArtManager profiling API to cover boot image profiling
  [framework] Extend profile operations to take the profile name
  Accept UserHandle.USER_ALL during profile preparation
  [framework] Prepare profile for app code paths
  Perform a non strict matching of .dm files when computing the size
  Support installation of DexMetadata files (.dm)
  Rename snapshotProfile to createProfileSnapshot for consistency
  Implement ArtManager#snapshotProfile API
  Add SystemApis to expose runtime profile information
  Log SHA256 of secondary dex files during reconcile.

6 years ago[RTT] Fix legacy API crash on invalid RTT results
Etan Cohen [Thu, 15 Feb 2018 15:21:20 +0000 (07:21 -0800)]
[RTT] Fix legacy API crash on invalid RTT results

Legacy RTT API permitted access of results (e.g. distance) even
when the measurement failed - the new API throws an exception.

Add checks to the translation code (from new to legacy) so that
exceptions aren't thrown - results are simply 0.

Bug: 73297815
Test: builds, integration test is being developed
Change-Id: I8286e36afe5597cc372e65b75f03a382ca0cd2b3

6 years agoAdd Backup and Restore directory OWNERS
Michal Karpinski [Thu, 15 Feb 2018 14:50:40 +0000 (14:50 +0000)]
Add Backup and Restore directory OWNERS

Bug: 73454476
Change-Id: Id28cbf7d919e95720c51d6a14388e9fea9d84650

6 years agoMerge "[RTT] Unhide error status code for non-support of IEEE 802.11mc"
Etan Cohen [Thu, 15 Feb 2018 14:49:07 +0000 (14:49 +0000)]
Merge "[RTT] Unhide error status code for non-support of IEEE 802.11mc"

6 years agoMerge "Update hidden API toast message" am: 10034d94cf am: 42ab3eeb4c
David Brazdil [Thu, 15 Feb 2018 14:40:43 +0000 (14:40 +0000)]
Merge "Update hidden API toast message" am: 10034d94cf am: 42ab3eeb4c
am: 0a6ca96902

Change-Id: I2cc692827716043e0f9065c9c1be932642ed5856

6 years agoMerge changes I3d68dbf8,I6ea524bb,I978d9119 am: edab226d0e am: 6fe110fa36
Chalard Jean [Thu, 15 Feb 2018 14:23:57 +0000 (14:23 +0000)]
Merge changes I3d68dbf8,I6ea524bb,I978d9119 am: edab226d0e am: 6fe110fa36
am: 3d3fa22698

Change-Id: Ic6d639358c3310820bd925df93d4843d7edffc57

6 years agoMerge changes Icd56662d,I0ece820f am: 47ef64b0d2 am: bf66580c0b
Lorenzo Colitti [Thu, 15 Feb 2018 14:14:36 +0000 (14:14 +0000)]
Merge changes Icd56662d,I0ece820f am: 47ef64b0d2 am: bf66580c0b
am: 00d125652e

Change-Id: Idbfe334fec6ded270635eb204686a89d4666a61a

6 years agoMerge "Update transport connection with registration info"
TreeHugger Robot [Thu, 15 Feb 2018 13:57:50 +0000 (13:57 +0000)]
Merge "Update transport connection with registration info"

6 years agoMerge "Update hidden API toast message" am: 10034d94cf
David Brazdil [Thu, 15 Feb 2018 13:14:49 +0000 (13:14 +0000)]
Merge "Update hidden API toast message" am: 10034d94cf
am: 42ab3eeb4c

Change-Id: I6c82dc811f3118733d3afffa7ddb6d5016d4f075

6 years agoMerge changes I3d68dbf8,I6ea524bb,I978d9119 am: edab226d0e
Chalard Jean [Thu, 15 Feb 2018 13:09:26 +0000 (13:09 +0000)]
Merge changes I3d68dbf8,I6ea524bb,I978d9119 am: edab226d0e
am: 6fe110fa36

Change-Id: Iebc6a31b975fd7ba429bd9bae89cd9783776d1c3

6 years agoMerge "Update hidden API toast message"
David Brazdil [Thu, 15 Feb 2018 13:01:54 +0000 (13:01 +0000)]
Merge "Update hidden API toast message"
am: 10034d94cf

Change-Id: I7e5c4c5333be8d1bc5722b0924c31a8ad94be29e

6 years agoMerge changes I3d68dbf8,I6ea524bb,I978d9119
Chalard Jean [Thu, 15 Feb 2018 12:57:16 +0000 (12:57 +0000)]
Merge changes I3d68dbf8,I6ea524bb,I978d9119
am: edab226d0e

Change-Id: I6ffc0a841d0aa8479bb5b6afba49c5130af879da

6 years agoMerge "Revert "Use structural equality for A11yNodeInfo#mChildNodeIds""
Artem Iglikov [Thu, 15 Feb 2018 12:10:28 +0000 (12:10 +0000)]
Merge "Revert "Use structural equality for A11yNodeInfo#mChildNodeIds""

6 years agoMerge "Update hidden API toast message"
David Brazdil [Thu, 15 Feb 2018 11:55:15 +0000 (11:55 +0000)]
Merge "Update hidden API toast message"

6 years agoMerge changes Icd56662d,I0ece820f am: 47ef64b0d2
Lorenzo Colitti [Thu, 15 Feb 2018 11:52:34 +0000 (11:52 +0000)]
Merge changes Icd56662d,I0ece820f am: 47ef64b0d2
am: bf66580c0b

Change-Id: I5faf7049c376eb400a41231448d9414471ae6777

6 years agoMerge changes Icd56662d,I0ece820f
Lorenzo Colitti [Thu, 15 Feb 2018 11:43:29 +0000 (11:43 +0000)]
Merge changes Icd56662d,I0ece820f
am: 47ef64b0d2

Change-Id: Ifd2ffe68cfff511d010ce5e755b4b680ad1df52c

6 years agoMerge changes I3d68dbf8,I6ea524bb,I978d9119
Chalard Jean [Thu, 15 Feb 2018 11:25:36 +0000 (11:25 +0000)]
Merge changes I3d68dbf8,I6ea524bb,I978d9119

* changes:
  Deprecate CONNECTIVITY_ACTION.
  Publish FOREGROUND and add NOT_SUSPENDED capabilities.
  Send null UIDs to apps instead of single-uid lists.

6 years agoAdd more ways to run AppLaunch.
Nicolas Geoffray [Mon, 12 Feb 2018 21:21:20 +0000 (21:21 +0000)]
Add more ways to run AppLaunch.

1) Pass a list of compiler filters.
2) Pass an option to output cpu cycles and major faults from app.

bug: 73091359

Test: adb shell "am instrument -e drop_cache true -e compiler_filters \"speed-profile|verify|quicken\" -e simpleperf_app true -e apps com.google.android.apps.maps^Maps -e launch_directory /data/local/tmp -w  com.android.tests.applaunch com.android.tests.applaunch/android.test.InstrumentationTestRunner"

Test:
adb shell "am instrument -e drop_cache true -e simpleperf_cmd \"simpleperf stat -a\" -e apps com.google.android.apps.maps^Maps -e launch_directory /data/local/tmp -w  com.android.tests.applaunch com.android.tests.applaunch/android.test.InstrumentationTestRunner"

com.android.tests.applaunch.AppLaunch:INSTRUMENTATION_STATUS: Maps=1488,1850,1973,1972,1929,1947,1968,1771,2006,1912,
INSTRUMENTATION_STATUS_CODE: 0
.
Test results for InstrumentationTestRunner=.
Time: 88.636

OK (1 test)

Change-Id: I61fea8c124107cbd7234f69358078780ab74c4b6

6 years agoUpdate transport connection with registration info
Annie Meng [Fri, 9 Feb 2018 16:01:07 +0000 (16:01 +0000)]
Update transport connection with registration info

When connecting to a transport, let the transport
know if this connection is for registration. This is to
prevent updating transport attributes during registration
in GMSCore.

Bug: 72730566
Test: 1) m -j ROBOTEST_FILTER=TransportManagerTest RunFrameworksServicesRoboTests
2) m -j ROBOTEST_FILTER=TransportClientManagerTest RunFrameworksServicesRoboTests
3) adb reboot; adb logcat | grep BackupTransportManager; check no errors with "...not registered tried to change description"
4) GMSCore Robo tests
Change-Id: I5adf6ea3e668a8e8ed8c568728d109814b6f8975

6 years agoMerge "Add flag to AMS.startInstrumentation() to disable hidden API checks"
David Brazdil [Thu, 15 Feb 2018 10:36:49 +0000 (10:36 +0000)]
Merge "Add flag to AMS.startInstrumentation() to disable hidden API checks"

6 years agoMerge changes Icd56662d,I0ece820f
Lorenzo Colitti [Thu, 15 Feb 2018 10:03:26 +0000 (10:03 +0000)]
Merge changes Icd56662d,I0ece820f

* changes:
  Restrict OWNERS in android.net.*
  Add OWNERS to the libandroid_net library.

6 years agoMerge "Add OWNERS for wifi/connectivity related files"
TreeHugger Robot [Thu, 15 Feb 2018 09:41:26 +0000 (09:41 +0000)]
Merge "Add OWNERS for wifi/connectivity related files"

6 years agoRevert "Use structural equality for A11yNodeInfo#mChildNodeIds"
Artem Iglikov [Thu, 15 Feb 2018 09:12:58 +0000 (09:12 +0000)]
Revert "Use structural equality for A11yNodeInfo#mChildNodeIds"

This reverts commit df99184a81c4a9be3073dc3e6d396a950c9c6be2.

Reason for revert: Crashes settings - b/73440274

Bug: 73440274
Change-Id: I529874a6110e04d6b5b7723906a03330cd637d1d

6 years agoUpdate hidden API toast message
David Brazdil [Wed, 14 Feb 2018 22:36:34 +0000 (22:36 +0000)]
Update hidden API toast message

Change the toast message shown by an Activity when VMRuntime reports
that the app has used a private API.
(a) fix a typo: compatiblity -> compatibility
(b) change guidance from "please consult log" to "go to <url> for
    more info" where devs can learn how to proceed if their app does
    have compatibility issues.

Bug: 64382372
Test: make, visual
Change-Id: Idbe32a724438bb7b0826d0b4e11ef505015cb321

6 years agoMerge "Switch to tron events for battery saver logging"
TreeHugger Robot [Thu, 15 Feb 2018 08:27:23 +0000 (08:27 +0000)]
Merge "Switch to tron events for battery saver logging"

6 years agoMerge "Autofill Field Classification improvements."
TreeHugger Robot [Thu, 15 Feb 2018 08:06:45 +0000 (08:06 +0000)]
Merge "Autofill Field Classification improvements."

6 years agoRestrict OWNERS in android.net.*
Lorenzo Colitti [Thu, 15 Feb 2018 07:43:44 +0000 (16:43 +0900)]
Restrict OWNERS in android.net.*

Test: None
Change-Id: Icd56662dcbc86b49015d094fd8ae2ade235aa475

6 years agoMerge "Enabling more debug logging."
Winson Chung [Thu, 15 Feb 2018 07:25:22 +0000 (07:25 +0000)]
Merge "Enabling more debug logging."