OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Fix incorrect proto apk loading"
Ryan Mitchell [Wed, 17 Oct 2018 23:53:04 +0000 (23:53 +0000)]
Merge "Fix incorrect proto apk loading"

5 years agoMerge "Moved appNotResponding handling into ProcessRecord (23/n)"
Wale Ogunwale [Wed, 17 Oct 2018 23:35:32 +0000 (23:35 +0000)]
Merge "Moved appNotResponding handling into ProcessRecord (23/n)"

5 years agoMerge "Removing douple lookup when calling startActivityAsUser"
TreeHugger Robot [Wed, 17 Oct 2018 22:50:27 +0000 (22:50 +0000)]
Merge "Removing douple lookup when calling startActivityAsUser"

5 years agoMerge "Revert "Revert "refactor radioPowerstate"""
Chen Xu [Wed, 17 Oct 2018 22:45:38 +0000 (22:45 +0000)]
Merge "Revert "Revert "refactor radioPowerstate"""

5 years agoRevert "Revert "refactor radioPowerstate""
Chen Xu [Wed, 17 Oct 2018 17:53:47 +0000 (17:53 +0000)]
Revert "Revert "refactor radioPowerstate""

This reverts commit 05188f3555723bd26522b410109bb1de1b7fbb8c.

Reason for revert: <INSERT REASONING HERE>

Change-Id: Id170063bfdb1e3325f67e8680231ab4deda7d65d

Bug: 117349311

5 years agoMerge "Add a new config table to the settings provider for remotely configured parame...
Matt Pape [Wed, 17 Oct 2018 22:02:14 +0000 (22:02 +0000)]
Merge "Add a new config table to the settings provider for remotely configured parameters. This includes the minimum number of changes necessary to make the table work, but no API surface yet."

5 years agoRemoving douple lookup when calling startActivityAsUser
Sunny Goyal [Tue, 16 Oct 2018 22:32:41 +0000 (15:32 -0700)]
Removing douple lookup when calling startActivityAsUser

Test: atest \
      com.android.cts.devicepolicy.LauncherAppsMultiUserTest \
      com.android.cts.devicepolicy.LauncherAppsProfileTest \
      com.android.cts.devicepolicy.LauncherAppsSingleUserTest
Bug: 117888136

Change-Id: Ia25058b3bb2fb6cf57eedc5eecae4cb99275b4e7

5 years agoMerge "Removed AMS.mStackSuperivor (22/n)"
TreeHugger Robot [Wed, 17 Oct 2018 20:08:41 +0000 (20:08 +0000)]
Merge "Removed AMS.mStackSuperivor (22/n)"

5 years agoMerge changes I3070e95f,Ia500dea6
Selim Cinek [Wed, 17 Oct 2018 19:38:03 +0000 (19:38 +0000)]
Merge changes I3070e95f,Ia500dea6

* changes:
  Fixed groups with min priority children
  Added logging to debug the notification view hierarchy

5 years agoMerge "Apply requirements when enabling provider"
Yu-Han Yang [Wed, 17 Oct 2018 18:38:08 +0000 (18:38 +0000)]
Merge "Apply requirements when enabling provider"

5 years agoMerge "Add RingtoneManager.openDefaultRingtoneUri()"
Dongwon Kang [Wed, 17 Oct 2018 17:40:33 +0000 (17:40 +0000)]
Merge "Add RingtoneManager.openDefaultRingtoneUri()"

5 years agoMerge "Guarded against ArrayOutOfBounds"
Fabian Kozynski [Wed, 17 Oct 2018 17:20:43 +0000 (17:20 +0000)]
Merge "Guarded against ArrayOutOfBounds"

5 years agoMerge "Update CoreSettingsObserver internal state correctly."
Sudheer Shanka [Wed, 17 Oct 2018 17:03:21 +0000 (17:03 +0000)]
Merge "Update CoreSettingsObserver internal state correctly."

5 years agoMerge "Enterprise Policy for Private DNS Setting"
Eran Messeri [Wed, 17 Oct 2018 16:59:57 +0000 (16:59 +0000)]
Merge "Enterprise Policy for Private DNS Setting"

5 years agoAdd a new config table to the settings provider for remotely configured parameters...
Matt Pape [Wed, 17 Oct 2018 16:58:28 +0000 (09:58 -0700)]
Add a new config table to the settings provider for remotely configured parameters. This includes the minimum number of changes necessary to make the table work, but no API surface yet.

Test: local tests

bug: 113100523

Change-Id: I47f89f5e6657a2a347e62cb40924bba4547f7dd9

5 years ago[automerger skipped] DO NOT MERGE resolve merge conflicts of c6a1cfda93aac7fc004da73e...
Fabian Kozynski [Wed, 17 Oct 2018 16:51:11 +0000 (09:51 -0700)]
[automerger skipped] DO NOT MERGE resolve merge conflicts of c6a1cfda93aac7fc004da73e3e5921b838e931a7 to pi-dev-plus-aosp
am: bae081d202  -s ours

Change-Id: I604ad31279cb133446327890f516becb3774714d

5 years agoMoved appNotResponding handling into ProcessRecord (23/n)
Wale Ogunwale [Mon, 15 Oct 2018 17:41:05 +0000 (10:41 -0700)]
Moved appNotResponding handling into ProcessRecord (23/n)

Allows for better seperation of AMS and ATMS, also the method mostly
accessed internal variables in ProcessRecord so it make sense for it
to be in that class.
Also, move inputDispatchingTimedOut back to AM side because it involves
lots of process stuff.

Test: Existing test pass
Bug: 80414790
Change-Id: I45b98dc550ff121e9df4bf004b2667af2426b79d

5 years agoRemoved AMS.mStackSuperivor (22/n)
Wale Ogunwale [Sat, 13 Oct 2018 15:29:31 +0000 (08:29 -0700)]
Removed AMS.mStackSuperivor (22/n)

The stack supervisor object should only be accessed through ATMS.

Test: Existing test pass
Bug: 80414790
Change-Id: I0648a95161a6a5c4ad714264d217c7f5e55852d7

5 years agoMerge "Snapshot memory state for some native processes"
TreeHugger Robot [Wed, 17 Oct 2018 16:30:55 +0000 (16:30 +0000)]
Merge "Snapshot memory state for some native processes"

5 years agoFix incorrect proto apk loading
Ryan Mitchell [Wed, 17 Oct 2018 16:30:01 +0000 (09:30 -0700)]
Fix incorrect proto apk loading

If a proto apk is missing resources.pb, AAPT2 would fail to detrmine the
apk format because of an incorrect check. This fixes that check and
removes the checking fuction from the LoadedApk header.

Bug: 117820549
Test: removed resources.pb from proto apks and confirmed that loading in
apks still works

Change-Id: If3628a821e7b59c7dfcbefb502b6080be083cec1

5 years agoMerge "Move ViewGroup#mChildren[Count] to dark-grey list"
Mihai Popa [Wed, 17 Oct 2018 15:21:31 +0000 (15:21 +0000)]
Merge "Move ViewGroup#mChildren[Count] to dark-grey list"

5 years agoDO NOT MERGE resolve merge conflicts of c6a1cfda93aac7fc004da73e3e5921b838e931a7...
Fabian Kozynski [Wed, 17 Oct 2018 14:28:45 +0000 (10:28 -0400)]
DO NOT MERGE resolve merge conflicts of c6a1cfda93aac7fc004da73e3e5921b838e931a7 to pi-dev-plus-aosp

Change-Id: I1a18690e85f66ff2a25329f9a050cb038fc0bcfb
Bug: None
Test: I solemnly swear I tested this conflict resolution.

5 years agoGuarded against ArrayOutOfBounds
Fabian Kozynski [Mon, 15 Oct 2018 18:25:18 +0000 (14:25 -0400)]
Guarded against ArrayOutOfBounds

In some monkey tests, getAdapterPosition returns -1 (for example, if the
ViewHolder is not bound). In this case, we shouldn't proceed with the
moving operation.

Test: manual
Change-Id: I1eccc2c60136ddf5cc0175d88a3fddbe1d2a5a97
Fixes: 117769352
Fixes: 116871219

5 years agoMerge "DO NOT MERGE Fixes clipping on PagedTileLayout" into pi-dev
Fabian Kozynski [Wed, 17 Oct 2018 13:21:15 +0000 (13:21 +0000)]
Merge "DO NOT MERGE Fixes clipping on PagedTileLayout" into pi-dev

5 years agoMerge "Do not move home task if Recent is not the previous top"
Louis Chang [Wed, 17 Oct 2018 12:14:30 +0000 (12:14 +0000)]
Merge "Do not move home task if Recent is not the previous top"

5 years agoMerge "Revert "refactor radioPowerstate""
Przemyslaw Szczepaniak [Wed, 17 Oct 2018 11:04:14 +0000 (11:04 +0000)]
Merge "Revert "refactor radioPowerstate""

5 years agoRevert "refactor radioPowerstate"
Przemyslaw Szczepaniak [Wed, 17 Oct 2018 11:00:01 +0000 (11:00 +0000)]
Revert "refactor radioPowerstate"

This reverts commit 700c8a0389dc45e729e3797433d03d875556325a.

Reason for revert: Broken master build

Change-Id: Ia0171ff9250228cc03685e7f03da8dd9e374826f

5 years agoSnapshot memory state for some native processes
Rafal Slawik [Mon, 15 Oct 2018 13:53:07 +0000 (14:53 +0100)]
Snapshot memory state for some native processes

Which processes to snapshot is controlled by a whitelist.

Benchmark for taking the snapshot:
https://docs.google.com/spreadsheets/d/1vG9ku8Uu8104CmKbO4cNeEKVeeByvHY--p0_dK1GAdA/edit?usp=sharing
(The difference between the first two sheets.)
~20ms constant cost plus ~4ms per process.

Bug: 115968899
Test: manually verified that statsd is included in the report
Change-Id: Iba680531c563ba28fae849e44044313866b2103f

5 years agoMerge "Private DNS: Add user restriction"
TreeHugger Robot [Wed, 17 Oct 2018 08:36:56 +0000 (08:36 +0000)]
Merge "Private DNS: Add user restriction"

5 years agoMerge "Move displayId into MotionEvent"
TreeHugger Robot [Wed, 17 Oct 2018 07:34:36 +0000 (07:34 +0000)]
Merge "Move displayId into MotionEvent"

5 years agoMerge "Change the feature flag for Hearing Aid behavior"
TreeHugger Robot [Wed, 17 Oct 2018 04:57:55 +0000 (04:57 +0000)]
Merge "Change the feature flag for Hearing Aid behavior"

5 years agoMerge "Polish InputMethodManagerService#startInputUncheckedLocked()"
TreeHugger Robot [Wed, 17 Oct 2018 04:24:25 +0000 (04:24 +0000)]
Merge "Polish InputMethodManagerService#startInputUncheckedLocked()"

5 years agoMerge "iorap: Remove blank newline in TEST_MAPPING" am: 22fe21df93 am: cbe655e781
Igor Murashkin [Wed, 17 Oct 2018 04:12:30 +0000 (21:12 -0700)]
Merge "iorap: Remove blank newline in TEST_MAPPING" am: 22fe21df93 am: cbe655e781
am: d40cb164d5

Change-Id: I6637b6233ce90ec19437465050394232731540bb

5 years agoMerge "iorap: Remove blank newline in TEST_MAPPING" am: 22fe21df93
Igor Murashkin [Wed, 17 Oct 2018 03:54:27 +0000 (20:54 -0700)]
Merge "iorap: Remove blank newline in TEST_MAPPING" am: 22fe21df93
am: cbe655e781

Change-Id: If091c4a00b32263691f4f0f28be6c58e53917715

5 years agoMerge "iorap: Remove blank newline in TEST_MAPPING"
Igor Murashkin [Wed, 17 Oct 2018 03:45:53 +0000 (20:45 -0700)]
Merge "iorap: Remove blank newline in TEST_MAPPING"
am: 22fe21df93

Change-Id: Id1b72f79c242f827ff04acd0deff2c4c9d4fe65d

5 years agoDo not move home task if Recent is not the previous top
Louis Chang [Thu, 11 Oct 2018 01:22:14 +0000 (09:22 +0800)]
Do not move home task if Recent is not the previous top

We shouldn't move the home task to front if Recents was
not the previous top activity on the display where the
task lands.

Bug: 111363427
Test: atest ActivityStackSupervisorTests

Change-Id: I39b51d5eec897bf83b2380dd8b7947c13cc7dd57

5 years agoMerge "Unextract InputMethodManagerService#startInputInnerLocked()"
TreeHugger Robot [Wed, 17 Oct 2018 02:37:14 +0000 (02:37 +0000)]
Merge "Unextract InputMethodManagerService#startInputInnerLocked()"

5 years agoPolish InputMethodManagerService#startInputUncheckedLocked()
Yohei Yukawa [Wed, 17 Oct 2018 02:33:48 +0000 (10:33 +0800)]
Polish InputMethodManagerService#startInputUncheckedLocked()

This CL aims to simplify logic recently added to IMMS to support
multiple displays (Bug 111364446).

With my previous CLs [1][2], now we can simply review what
InputMethodManagerService#startInputUncheckedLocked() is actually
doing.  Things we found and this CL does address are:

 1. Redundant if conditions against null IMMS#mCurMethodId.
 2. Timing to check IMMS#mSystemReady.
 3. Timing to check display id access
 4. Timing to update IMMS#mCurTokenDisplayId.
 5. Unnecessary complexity due to IMMS#mCurFocusedWindowClient, which
    is now guaranteed to equal to |cs| in that method.

Although this CL is not a mechanical safe refactroing, the new
behavior should be more efficient, solid and easier to maintain.

 [1]: I52f6c4cd1e02be3a59e9a87e33b0a44f4ba8d80b
      f91a2b102b4bd28036e7f31f5888f6f4629d9d70
 [2]: I71e259fa447dd06ff02b9ef8c958dc70bbce86ea
      caaa1d3d2d3248dcc1ad1ea4c65d5a8949fb4219

Bug: 117730713
Test: atest ActivityManagerMultiDisplayTests
Test: atest CtsInputMethodTestCases CtsInputMethodServiceHostTestCases
Test: atest FrameworksCoreTests:android.view.inputmethod.InputMethodManagerTest
Change-Id: Ic9232d9c3ec9802101df5f0bc511c55465b5bbe6

5 years agoUnextract InputMethodManagerService#startInputInnerLocked()
Yohei Yukawa [Wed, 17 Oct 2018 02:33:13 +0000 (10:33 +0800)]
Unextract InputMethodManagerService#startInputInnerLocked()

With my previous CL [1], IMMS#startInputInnerLocked() is called only
from IMMS#startInputUncheckedLocked().  By unextracting
IMMS#startInputInnerLocked() again, it would be much easier for us to
understand what IMMS#startInputUncheckedLocked() is actually doing.

To decouple actual behavior change from cosmetic code refactorings,
this CL does nothing except for merging IMMS#startInputInnerLocked()
into IMMS#startInputUncheckedLocked().

There should be no behavior change.  Non trivial behavior
simplifications will be done in subsequent CLs.

 [1]: I52f6c4cd1e02be3a59e9a87e33b0a44f4ba8d80b
      f91a2b102b4bd28036e7f31f5888f6f4629d9d70

Bug: 117730713
Test: atest ActivityManagerMultiDisplayTests
Test: atest CtsInputMethodTestCases CtsInputMethodServiceHostTestCases
Test: atest FrameworksCoreTests:android.view.inputmethod.InputMethodManagerTest
Change-Id: I71e259fa447dd06ff02b9ef8c958dc70bbce86ea

5 years agoMerge "MediaPlayer2: remove hidden api, setMetadataFilter and getMetadata"
Dongwon Kang [Wed, 17 Oct 2018 02:28:15 +0000 (02:28 +0000)]
Merge "MediaPlayer2: remove hidden api, setMetadataFilter and getMetadata"

5 years agoMerge "iorap: Remove blank newline in TEST_MAPPING"
Treehugger Robot [Wed, 17 Oct 2018 01:50:35 +0000 (01:50 +0000)]
Merge "iorap: Remove blank newline in TEST_MAPPING"

5 years agoMerge "audio: apply volume upon hearing aid device connection" into pi-dev am: 9872b257cd
Eric Laurent [Wed, 17 Oct 2018 01:31:56 +0000 (18:31 -0700)]
Merge "audio: apply volume upon hearing aid device connection" into pi-dev am: 9872b257cd
am: cf7cca0a43

Change-Id: I16d10f8ad3b10c934028cc35ed0fba57de0df3fa

5 years ago[automerger skipped] Merge "Make SubscriptionManager.getSlotIndex public" am: 719310c...
Shuo Qian [Wed, 17 Oct 2018 01:22:43 +0000 (18:22 -0700)]
[automerger skipped] Merge "Make SubscriptionManager.getSlotIndex public" am: 719310cd2c am: a781751b32
am: 59c8b87ad4  -s ours

Change-Id: I8db95a7b701c71caffc78f03ca618036c84cdf5f

5 years agoMerge "audio: apply volume upon hearing aid device connection" into pi-dev
Eric Laurent [Wed, 17 Oct 2018 01:17:20 +0000 (18:17 -0700)]
Merge "audio: apply volume upon hearing aid device connection" into pi-dev
am: 9872b257cd

Change-Id: Ibb0a31b7e4750e904568d328384983979cf774a0

5 years agoMerge "Make SubscriptionManager.getSlotIndex public" am: 719310cd2c
Shuo Qian [Wed, 17 Oct 2018 01:06:09 +0000 (18:06 -0700)]
Merge "Make SubscriptionManager.getSlotIndex public" am: 719310cd2c
am: a781751b32

Change-Id: Ib7d3dd0f7ce06edf736c493cde6778365c366ae2

5 years agoMerge "Stop using DIST_DIR directly, use dist-for-goals instead" am: a8f2601d28 am...
Dan Willemsen [Wed, 17 Oct 2018 01:01:26 +0000 (18:01 -0700)]
Merge "Stop using DIST_DIR directly, use dist-for-goals instead" am: a8f2601d28 am: 9b767e275e
am: fa5b204029

Change-Id: Ic052f5d1de317c2f271f5a2df83c733c79978679

5 years agoMerge "audio: apply volume upon hearing aid device connection" into pi-dev
TreeHugger Robot [Wed, 17 Oct 2018 00:56:19 +0000 (00:56 +0000)]
Merge "audio: apply volume upon hearing aid device connection" into pi-dev

5 years agoMerge "Make SubscriptionManager.getSlotIndex public"
Shuo Qian [Wed, 17 Oct 2018 00:54:52 +0000 (17:54 -0700)]
Merge "Make SubscriptionManager.getSlotIndex public"
am: 719310cd2c

Change-Id: Ia942ecfefef8f26ff0b1f140c0692c81aebd11fa

5 years agoMerge "Stop using DIST_DIR directly, use dist-for-goals instead" am: a8f2601d28
Dan Willemsen [Wed, 17 Oct 2018 00:50:55 +0000 (17:50 -0700)]
Merge "Stop using DIST_DIR directly, use dist-for-goals instead" am: a8f2601d28
am: 9b767e275e

Change-Id: I64a04f0c7b9220a8de872526ba37590b71fba458

5 years agoMerge "Stop using DIST_DIR directly, use dist-for-goals instead"
Dan Willemsen [Wed, 17 Oct 2018 00:43:35 +0000 (17:43 -0700)]
Merge "Stop using DIST_DIR directly, use dist-for-goals instead"
am: a8f2601d28

Change-Id: Iabb2ddb086dda71887c3d50152db50f813c9556a

5 years ago[automerger skipped] Merge "audioservice: fix a2dp connection race condition" am...
Eric Laurent [Wed, 17 Oct 2018 00:38:18 +0000 (17:38 -0700)]
[automerger skipped] Merge "audioservice: fix a2dp connection race condition" am: e568805209  -s ours am: 6466847321  -s ours
am: d32dca9663  -s ours

Change-Id: I257b73130b71e0223a1c81d217c758a2a7bc1c96

5 years agoMerge "Make SubscriptionManager.getSlotIndex public"
Shuo Qian [Wed, 17 Oct 2018 00:37:35 +0000 (00:37 +0000)]
Merge "Make SubscriptionManager.getSlotIndex public"

5 years agoFixed groups with min priority children
Selim Cinek [Wed, 17 Oct 2018 00:30:05 +0000 (17:30 -0700)]
Fixed groups with min priority children

Previously  min priority  notifications would be
empty on the lockscreen. We're now showing them
if they are part of a group.

Bug: 117349034
Test: add group with min priority children on lockscreen
Change-Id: I3070e95f63c3b2cf227fbefdb53e3a3d09927ae9

5 years agoMerge "Set EXTRA_USER instead of EXTRA_USER_ID for ACTION_SHOW_ADMIN_SUPPORT_DETAILS"
TreeHugger Robot [Wed, 17 Oct 2018 00:26:37 +0000 (00:26 +0000)]
Merge "Set EXTRA_USER instead of EXTRA_USER_ID for ACTION_SHOW_ADMIN_SUPPORT_DETAILS"

5 years agoMerge "Clean-up removed RecoveryController API"
TreeHugger Robot [Wed, 17 Oct 2018 00:22:02 +0000 (00:22 +0000)]
Merge "Clean-up removed RecoveryController API"

5 years ago[automerger skipped] Merge "audioservice: fix a2dp connection race condition" am...
Eric Laurent [Wed, 17 Oct 2018 00:21:43 +0000 (17:21 -0700)]
[automerger skipped] Merge "audioservice: fix a2dp connection race condition" am: e568805209  -s ours
am: 6466847321  -s ours

Change-Id: I583507cfc59c088fab3efa6f71998eb96169c903

5 years agoMerge "[GraphicsEnvironment] Add whitelist support."
Yiwei Zhang [Wed, 17 Oct 2018 00:18:52 +0000 (00:18 +0000)]
Merge "[GraphicsEnvironment] Add whitelist support."

5 years agoMerge "Stop using DIST_DIR directly, use dist-for-goals instead"
Treehugger Robot [Wed, 17 Oct 2018 00:18:07 +0000 (00:18 +0000)]
Merge "Stop using DIST_DIR directly, use dist-for-goals instead"

5 years agoMerge "refactor radioPowerstate"
Chen Xu [Wed, 17 Oct 2018 00:14:45 +0000 (00:14 +0000)]
Merge "refactor radioPowerstate"

5 years ago[automerger skipped] Merge "audioservice: fix a2dp connection race condition"
Eric Laurent [Wed, 17 Oct 2018 00:11:33 +0000 (17:11 -0700)]
[automerger skipped] Merge "audioservice: fix a2dp connection race condition"
am: e568805209  -s ours

Change-Id: Ifbb5cc5a8422f73e2f2eb2236d3f2865e4553986

5 years agoMerge "audioservice: fix a2dp connection race condition"
Treehugger Robot [Tue, 16 Oct 2018 23:49:35 +0000 (23:49 +0000)]
Merge "audioservice: fix a2dp connection race condition"

5 years agoMerge "Do not bind IME until an IME client is recognized"
TreeHugger Robot [Tue, 16 Oct 2018 23:45:07 +0000 (23:45 +0000)]
Merge "Do not bind IME until an IME client is recognized"

5 years agoMerge "Minor Autofill improvements:"
TreeHugger Robot [Tue, 16 Oct 2018 23:42:13 +0000 (23:42 +0000)]
Merge "Minor Autofill improvements:"

5 years agoMerge "iorap: Add presubmit/postsubmit support" am: 7cbabff3f0 am: ff3a8bf0f7
Igor Murashkin [Tue, 16 Oct 2018 23:22:28 +0000 (16:22 -0700)]
Merge "iorap: Add presubmit/postsubmit support" am: 7cbabff3f0 am: ff3a8bf0f7
am: eaef91f7aa

Change-Id: Ifa811049b34a90ea607e8d18d423890217dd4b0c

5 years agoMerge "Make SubscriptionManager.getSlotIndex public"
TreeHugger Robot [Tue, 16 Oct 2018 23:07:29 +0000 (23:07 +0000)]
Merge "Make SubscriptionManager.getSlotIndex public"

5 years agoMerge "iorap: Add presubmit/postsubmit support" am: 7cbabff3f0
Igor Murashkin [Tue, 16 Oct 2018 23:03:48 +0000 (16:03 -0700)]
Merge "iorap: Add presubmit/postsubmit support" am: 7cbabff3f0
am: ff3a8bf0f7

Change-Id: Iee75da6b590be3d04c591acce53389ed420190b1

5 years agoMerge "Stop waiting when elapsed time is equal to or greater than the timeout, rather...
Matt Pape [Tue, 16 Oct 2018 23:01:22 +0000 (23:01 +0000)]
Merge "Stop waiting when elapsed time is equal to or greater than the timeout, rather than strictly greater than. This avoids a rare problem where the loop manages to complete at exactly the timeout time and then makes a call to wait(0), which waits indefinitely until another thread notifies it instead of timing out after 0 ms."

5 years agoMerge "iorap: Add presubmit/postsubmit support"
Igor Murashkin [Tue, 16 Oct 2018 22:51:19 +0000 (15:51 -0700)]
Merge "iorap: Add presubmit/postsubmit support"
am: 7cbabff3f0

Change-Id: I5f5afb05cde2894fb62728e67943a3dc38f26594

5 years agoaudioservice: fix a2dp connection race condition
Eric Laurent [Thu, 14 Jun 2018 02:36:42 +0000 (19:36 -0700)]
audioservice: fix a2dp connection race condition

In case of fast (< 1 second) A2DP disconnect/connect sequence, there
is a potential race condition where the delayed disconnection message
(due to becoming noisy intent) is received after the not delayed
connection message.

- Make sure all messages related to device connection/disconnection
(including MSG_A2DP_DEVICE_CONFIG_CHANGE and MSG_BTA2DP_DOCK_TIMEOUT)
are handled by queueMsgUnderWakeLock().
- Make sure messages are processed in the same order as API calls.
- Add check for null address in makeA2dpDeviceUnavailableNow().

Bug: 109903807
Bug: 78837311
Test: repro steps in bugs. A2DP connection and playback

Change-Id: Ib81b3805f945f7206b1a60de74e9bbeeef89bdd0
(cherry picked from commit 3c4636c7127cd34728050d051ef3bd62829e877d)
Merged-In: Ib81b3805f945f7206b1a60de74e9bbeeef89bdd0

5 years agoApply requirements when enabling provider
Yu-Han Yang [Wed, 3 Oct 2018 04:29:20 +0000 (21:29 -0700)]
Apply requirements when enabling provider

Test: Manually tested on device
Bug: 113087608
Change-Id: I508d3495aca38a45637b2d7d53f3fcf16a3a90c1
Fixes: 113087608

5 years agoMerge "iorap: Add presubmit/postsubmit support"
Treehugger Robot [Tue, 16 Oct 2018 22:21:33 +0000 (22:21 +0000)]
Merge "iorap: Add presubmit/postsubmit support"

5 years agoiorap: Remove blank newline in TEST_MAPPING
Igor Murashkin [Tue, 16 Oct 2018 22:15:21 +0000 (15:15 -0700)]
iorap: Remove blank newline in TEST_MAPPING

Change-Id: I378e86327951daa05512efd2ac491d27f9995ddd

5 years agoAdded logging to debug the notification view hierarchy
Selim Cinek [Tue, 16 Oct 2018 00:37:21 +0000 (17:37 -0700)]
Added logging to debug the notification view hierarchy

Adding more logging to the systemUI tree to get useful
state to debug visual issues.

Test: grab bugreport
Bug: 80525283
Change-Id: Ia500dea632bc66f08c1ce350914ead033aba7383

5 years agoMerge "Refactor the nativePtr validation code to a method."
Fan Zhang [Tue, 16 Oct 2018 22:04:51 +0000 (22:04 +0000)]
Merge "Refactor the nativePtr validation code to a method."

5 years agoMerge "Add pulled atom subscription for shell."
TreeHugger Robot [Tue, 16 Oct 2018 21:46:49 +0000 (21:46 +0000)]
Merge "Add pulled atom subscription for shell."

5 years agoMerge "Adjusted tracing of reportFullyDrawn() API call."
TreeHugger Robot [Tue, 16 Oct 2018 21:28:15 +0000 (21:28 +0000)]
Merge "Adjusted tracing of reportFullyDrawn() API call."

5 years agoMerge "Add configurable default setting for assistant componentname"
Steve Elliott [Tue, 16 Oct 2018 21:05:23 +0000 (21:05 +0000)]
Merge "Add configurable default setting for assistant componentname"

5 years agoMerge "Pull process cpu stats into statsd"
Chenjie Yu [Tue, 16 Oct 2018 20:48:57 +0000 (20:48 +0000)]
Merge "Pull process cpu stats into statsd"

5 years agorefactor radioPowerstate
chen xu [Thu, 11 Oct 2018 20:18:26 +0000 (13:18 -0700)]
refactor radioPowerstate

1. new System API for getRadioPowerState with permision check
2. new System API for onRadioPowerStateChanged in PhoneStateListener
3. replace radioState enum in CommandsInterface to telephonyMgr defined
int.

Bug: 117349311
Test: telephony unit test
Change-Id: I502568280fbf9213ca6bf1f7fb204d0d4ce86580

5 years agoRefactor the nativePtr validation code to a method.
Fan Zhang [Tue, 16 Oct 2018 17:21:09 +0000 (10:21 -0700)]
Refactor the nativePtr validation code to a method.

This will make testing much easier.

Bug: 117828816
Test: robotests
Change-Id: I1ca81e2005e559c0ec1e5f468cdd4bc0c21edbea

5 years agoMerge "Pass in window layout when setting initial state."
TreeHugger Robot [Tue, 16 Oct 2018 20:24:49 +0000 (20:24 +0000)]
Merge "Pass in window layout when setting initial state."

5 years agoMerge "Only skip stacks behind home when not in multi-window mode."
TreeHugger Robot [Tue, 16 Oct 2018 20:23:46 +0000 (20:23 +0000)]
Merge "Only skip stacks behind home when not in multi-window mode."

5 years agoOnly skip stacks behind home when not in multi-window mode.
Garfield Tan [Tue, 16 Oct 2018 16:42:02 +0000 (09:42 -0700)]
Only skip stacks behind home when not in multi-window mode.

Split screen primary stack is behind home (though visible to user), and
needs to respond to user tapping when out of touch region.

This doesn't cover the case where split screen stacks and freeform
stacks both exist in the display, but that's not a very common case on
any form factor.

Bug: 117777954
Bug: 117824834
Test: IME is brought up when Gmail is in split screen primary stack.
Tapping on home won't focus on home stack.
atest android.autofillservice.cts.MultiWindowLoginActivityTest#testSplitWindow

Change-Id: I44e17d9a0eba3ab6669ef75223c982ae0e811fc6

5 years ago[GraphicsEnvironment] Add whitelist support.
Peiyong Lin [Fri, 12 Oct 2018 22:34:15 +0000 (15:34 -0700)]
[GraphicsEnvironment] Add whitelist support.

This patch adds the ability to load whitelist from updatable graphcis driver
apk. Typically a whitelist is part of the graphics driver apk, and the name is
set by overwriting ro.gfx.driver.whitelist.0

BUG: 117241379
Test: Build, flash and boot, whitelist an app and verify.
Change-Id: Ie36ca0173a90a8e48acaca2979ab64bbf92eeaed

5 years agoMerge "Trust session id only if started with ACTION_CONFIRM_INSTALL"
TreeHugger Robot [Tue, 16 Oct 2018 19:46:21 +0000 (19:46 +0000)]
Merge "Trust session id only if started with ACTION_CONFIRM_INSTALL"

5 years agoTrust session id only if started with ACTION_CONFIRM_INSTALL
Suprabh Shukla [Wed, 10 Oct 2018 21:30:08 +0000 (14:30 -0700)]
Trust session id only if started with ACTION_CONFIRM_INSTALL

InstallStart was reading sessionInfo whenever the starting intent had
the extra EXTRA_SESSION_ID. This could happen even if an external app
inserted a valid session id into its own REQUEST_INSTALL_PACKAGE intent.
This allows apps to potentially spoof the calling package.

Test: Existing tests pass:
atest GtsPackageInstallTestCases GtsNoPermissionTestCases \
GtsNoPermissionTestCases25

Bug: 112031362
Change-Id: Icdab1deeaf6b0afe7a61709cd87305336c467e33

5 years agoMerge "Run alarms on a custom thread."
TreeHugger Robot [Tue, 16 Oct 2018 19:32:37 +0000 (19:32 +0000)]
Merge "Run alarms on a custom thread."

5 years agoMerge "Fixes ignoring interaction flags from launcher from race"
TreeHugger Robot [Tue, 16 Oct 2018 19:32:06 +0000 (19:32 +0000)]
Merge "Fixes ignoring interaction flags from launcher from race"

5 years agoMerge "Test deep transitions when an alarm is imminent."
TreeHugger Robot [Tue, 16 Oct 2018 19:12:43 +0000 (19:12 +0000)]
Merge "Test deep transitions when an alarm is imminent."

5 years agoMerge "DeviceIdleController light state transition tests."
TreeHugger Robot [Tue, 16 Oct 2018 19:11:04 +0000 (19:11 +0000)]
Merge "DeviceIdleController light state transition tests."

5 years agoMerge "[automerger skipped] Merge "[Graphics] Align Display P3 transfer function...
Android Build Merger (Role) [Tue, 16 Oct 2018 18:56:25 +0000 (18:56 +0000)]
Merge "[automerger skipped] Merge "[Graphics] Align Display P3 transfer function coefficients." am: fde18facba am: bc56d73af2 am: 93cd653b22  -s ours"

5 years agoMerge "Fix nondismissing vol dialog after config change"
TreeHugger Robot [Tue, 16 Oct 2018 18:55:48 +0000 (18:55 +0000)]
Merge "Fix nondismissing vol dialog after config change"

5 years ago[automerger skipped] Merge "[Graphics] Align Display P3 transfer function coefficient...
Peiyong Lin [Tue, 16 Oct 2018 18:55:48 +0000 (11:55 -0700)]
[automerger skipped] Merge "[Graphics] Align Display P3 transfer function coefficients." am: fde18facba am: bc56d73af2
am: 93cd653b22  -s ours

Change-Id: If1570d2a4b096932350a751cef4605144b8f04be

5 years agoMerge "Revert "Revert "Rootless GPU Debug for GLES"""
Cody Northrop [Tue, 16 Oct 2018 18:54:42 +0000 (18:54 +0000)]
Merge "Revert "Revert "Rootless GPU Debug for GLES"""

5 years agoRevert "Revert "Rootless GPU Debug for GLES""
Cody Northrop [Mon, 15 Oct 2018 13:22:23 +0000 (07:22 -0600)]
Revert "Revert "Rootless GPU Debug for GLES""

This reverts commit 2653e624dc7366f53b0ec946886d229a3602d92a.

Exempt-From-Owner-Approval: This restores a commit that was already
approved and rolled back for unrelated reasons in frameworks/native.

Test: cts-tradefed run singleCommand cts -m CtsGpuToolsHostTestCases
Test: Chromium starts up
Test: CtsDeqpTestCases:include-filter:dEQP-EGL.*
Test: CtsDeqpTestCases:include-filter:dEQP-GLES2.*
Test: CtsDeqpTestCases:include-filter:dEQP-GLES3.*
Test: CtsDeqpTestCases:include-filter:dEQP-GLES31.*
Bug: 110883880
Bug: 117609555
Change-Id: Iab23a5d598986ba34c0ba62dc78299d022924cd9

5 years agoMerge "Merge "Remove libcore/io members from light grey list" am: 2579dcd17e am:...
Android Build Merger (Role) [Tue, 16 Oct 2018 18:46:32 +0000 (18:46 +0000)]
Merge "Merge "Remove libcore/io members from light grey list" am: 2579dcd17e am: 1e69440dff am: f70e1edd6f"

5 years agoMerge "Remove libcore/io members from light grey list" am: 2579dcd17e am: 1e69440dff
Paul Duffin [Tue, 16 Oct 2018 18:44:33 +0000 (11:44 -0700)]
Merge "Remove libcore/io members from light grey list" am: 2579dcd17e am: 1e69440dff
am: f70e1edd6f

Change-Id: Id9e7ba83dace62281849e2dbfdb828ce176e9ef2

5 years agoMerge "Allow to configure local-only hotspot on 5ghz"
Pavel Maltsev [Tue, 16 Oct 2018 18:35:33 +0000 (18:35 +0000)]
Merge "Allow to configure local-only hotspot on 5ghz"

5 years agoMerge "Notify media.swcodec to load updated codes"
TreeHugger Robot [Tue, 16 Oct 2018 18:28:19 +0000 (18:28 +0000)]
Merge "Notify media.swcodec to load updated codes"

5 years agoMerge "[Graphics] Align Display P3 transfer function coefficients." am: fde18facba
Peiyong Lin [Tue, 16 Oct 2018 18:26:55 +0000 (11:26 -0700)]
Merge "[Graphics] Align Display P3 transfer function coefficients." am: fde18facba
am: bc56d73af2

Change-Id: Ib72ca917df3a778c4ad59dc46f672b482e8b62bf