OSDN Git Service
Lucas Dupin [Tue, 26 Jun 2018 22:09:08 +0000 (15:09 -0700)]
Decrease delay to improve battery life
Arbitrary delays were introduced a while ago to deal with device
specific issues but these delays ended up affecting battery life
significantly. Although removing them completely isn't possible,
they can be reduced to more conservative values.
Test: cover prox. sensor multiple times with multiple durations
Fixes:
110902271
Change-Id: I2731fc7a5414f796e96a6c97959c395b10c32faa
Andrew Zeng [Mon, 2 Jul 2018 21:14:03 +0000 (21:14 +0000)]
Merge "Add flag to disable sticky behaviour for battery saver."
TreeHugger Robot [Mon, 2 Jul 2018 21:10:45 +0000 (21:10 +0000)]
Merge "Fix: Pattern/Password should not be capitalized (master branch)"
Winson Chung [Mon, 2 Jul 2018 21:04:39 +0000 (21:04 +0000)]
Merge changes Ibae2de51,I1d6718d9
* changes:
Allow share/edit screenshot actions from lockscreen
Prevent clobbering of activity options bundle when merging
TreeHugger Robot [Mon, 2 Jul 2018 20:29:29 +0000 (20:29 +0000)]
Merge "Make getDimension's Javadoc say it returns px."
TreeHugger Robot [Mon, 2 Jul 2018 19:36:30 +0000 (19:36 +0000)]
Merge "Fix QS peek animation from ACTION_DOWN"
TreeHugger Robot [Mon, 2 Jul 2018 19:28:22 +0000 (19:28 +0000)]
Merge "Add a package declaration to RulesState"
Lucas Dupin [Mon, 2 Jul 2018 19:01:04 +0000 (12:01 -0700)]
[automerger skipped] Merge "Move charging indication vertically on time tick" into pi-dev am:
5baaf461a6
am:
a9cd9d475b -s ours
Change-Id: I740c9a64e364ad33bdbd5622a845b0d14c5777d5
Lucas Dupin [Mon, 2 Jul 2018 18:50:37 +0000 (11:50 -0700)]
Merge "Move charging indication vertically on time tick" into pi-dev
am:
5baaf461a6
Change-Id: I455c53bf85fd7fcfe87daef6d76888a37fecb015
TreeHugger Robot [Mon, 2 Jul 2018 18:39:55 +0000 (18:39 +0000)]
Merge "Move charging indication vertically on time tick" into pi-dev
Makoto Onuki [Mon, 2 Jul 2018 18:32:09 +0000 (18:32 +0000)]
Merge "Fix BatterySaverStateMachineTest"
TreeHugger Robot [Mon, 2 Jul 2018 17:58:20 +0000 (17:58 +0000)]
Merge "Make sure keys get flushed when connection falls apart."
Lucas Dupin [Wed, 27 Jun 2018 18:44:57 +0000 (11:44 -0700)]
Move charging indication vertically on time tick
Before, a new translation was only calculated when the device enters
AOD, and then, during time tick, we would only move it 5px wich isn't
enough.
Now, the translation varies 5dps vertically on every time tick.
Fixes:
110888643
Test: take screenshots for N minutes and compare them
Change-Id: Ia3f239d669b83aad0d97d8d7a7f7374f4890777d
Merged-In: Ia3f239d669b83aad0d97d8d7a7f7374f4890777d
TreeHugger Robot [Mon, 2 Jul 2018 17:37:29 +0000 (17:37 +0000)]
Merge "Move charging indication vertically on time tick"
TreeHugger Robot [Mon, 2 Jul 2018 17:30:22 +0000 (17:30 +0000)]
Merge "Add more data (fg services, associations) to procstats."
TreeHugger Robot [Mon, 2 Jul 2018 17:02:20 +0000 (17:02 +0000)]
Merge "Allow 0sp text size in xml for TextView"
Makoto Onuki [Mon, 2 Jul 2018 16:24:38 +0000 (16:24 +0000)]
Merge "Improve "dumpsys activity lastanr-traces"."
TreeHugger Robot [Mon, 2 Jul 2018 14:31:31 +0000 (14:31 +0000)]
Merge "Only play in-call notification if ringer is normal"
TreeHugger Robot [Mon, 2 Jul 2018 14:21:24 +0000 (14:21 +0000)]
Merge "Add a debug property to enable Skia systrace"
Sehee Park [Mon, 2 Jul 2018 13:55:33 +0000 (06:55 -0700)]
Merge "Modify catch when addInterfaceToLocalNetwork() is called." am:
ccd6a0f6c2 am:
c7b925063f
am:
48396e8616
Change-Id: Idb98c57e8e1791eefdf47f9127696211a4ff3a99
Sehee Park [Mon, 2 Jul 2018 13:46:09 +0000 (06:46 -0700)]
Merge "Modify catch when addInterfaceToLocalNetwork() is called." am:
ccd6a0f6c2
am:
c7b925063f
Change-Id: Ia160a4cf42e427575a70810d7157e092e47b5992
Stan Iliev [Fri, 29 Jun 2018 19:16:11 +0000 (15:16 -0400)]
Add a debug property to enable Skia systrace
Add a "debug.hwui.skia_atrace_enabled" property that allows to
record a systrace with skia drawing ops. App need to be restarted
after setting the new propety to true.
Test: collected skia trace with systemui
Change-Id: I2d1c5911714bfc911894f633ec2df2f6bb953b48
Sehee Park [Mon, 2 Jul 2018 13:23:35 +0000 (06:23 -0700)]
Merge "Modify catch when addInterfaceToLocalNetwork() is called."
am:
ccd6a0f6c2
Change-Id: I9842ae51d3bb4665f5cb24b7685a05de2df05097
Mihai Popa [Fri, 29 Jun 2018 12:42:44 +0000 (13:42 +0100)]
Allow 0sp text size in xml for TextView
Before this CL, when TextView's textSize attribute was set to 0sp in
XML, the text would still be visible on the screen, as the actual
textSize set was non zero. On the other hand, if the text size was set
to 0sp programmatically, the text would not be visible. This was a P
regression, as on O the text would be invisible in both cases.
This CL fixes the attribute reading stage in TextView, allowing the
application of a 0 text size on the view.
Bug:
110251171
Test: atest CtsWidgetTestCases:android.widget.cts.TextViewTest
Change-Id: I3798361e182f45a67cd0a69d40e09e559375aa20
Treehugger Robot [Mon, 2 Jul 2018 11:22:28 +0000 (11:22 +0000)]
Merge "Modify catch when addInterfaceToLocalNetwork() is called."
Sehee Park [Tue, 19 Jun 2018 11:07:37 +0000 (20:07 +0900)]
Modify catch when addInterfaceToLocalNetwork() is called.
Fatal Exception is occured in system process. Becuase addInterfaceToLocalNetwork()
throw IllegalStateException but it can not be handled in TetherInterfaceStateMachine.
Modify catch from "RemoteException" to "Exception" when addInterfaceToLocalNetwork() is called.
Test: Repeat on/off tethering
Test: "runtest --no-hidden-api-checks frameworks-net" passes
Bug:
110396460
Change-Id: I2f2f1325cfcce40c3113ccccf69b2bbd5df4ae5b
Signed-off-by: Sehee Park <sehee32.park@samsung.com>
TreeHugger Robot [Sat, 30 Jun 2018 22:04:26 +0000 (22:04 +0000)]
Merge "StrictMode to catch storage while locked."
Jeff Sharkey [Sat, 30 Jun 2018 21:02:54 +0000 (21:02 +0000)]
Merge "Get android.os tests running against real APIs."
SongFerng Wang [Sat, 30 Jun 2018 06:42:32 +0000 (23:42 -0700)]
Merge "add three new carrier configs for call forwarding, Caller ID and Call Waiting." into pi-dev am:
d7b5946628
am:
fce00ebc0a
Change-Id: I346193114b57f7eb1e06cc3b013eff0ada806f5c
SongFerng Wang [Sat, 30 Jun 2018 06:34:15 +0000 (23:34 -0700)]
Merge "add three new carrier configs for call forwarding, Caller ID and Call Waiting." into pi-dev
am:
d7b5946628
Change-Id: I7f11346be248bd325f14d7039f5a5d5b2f45617a
SongFerng Wang [Sat, 30 Jun 2018 06:22:12 +0000 (06:22 +0000)]
Merge "add three new carrier configs for call forwarding, Caller ID and Call Waiting." into pi-dev
Kevin Chyn [Sat, 30 Jun 2018 02:22:29 +0000 (02:22 +0000)]
Merge "Add face metrics constants"
Android Build Merger (Role) [Sat, 30 Jun 2018 01:51:02 +0000 (01:51 +0000)]
Merge "[automerger skipped] Merge "Used APN type instead of APN id" am:
2e371c1b5a am:
a916542011 am:
8f76322f75 -s ours"
TreeHugger Robot [Sat, 30 Jun 2018 01:50:19 +0000 (01:50 +0000)]
Merge "Fix a NPE in BatteryStatsImpl"
Jack Yu [Sat, 30 Jun 2018 01:50:17 +0000 (18:50 -0700)]
[automerger skipped] Merge "Used APN type instead of APN id" am:
2e371c1b5a am:
a916542011
am:
8f76322f75 -s ours
Change-Id: Id0bb6219082d66ca62db3fc7908e3643b1108739
Jack Yu [Sat, 30 Jun 2018 01:40:06 +0000 (18:40 -0700)]
Merge "Used APN type instead of APN id" am:
2e371c1b5a
am:
a916542011
Change-Id: I58bb518a7720e65edd73d93b5775fa4cc40b41db
SongFerngWang [Thu, 28 Jun 2018 09:28:22 +0000 (17:28 +0800)]
add three new carrier configs for call forwarding, Caller ID and Call Waiting.
The carrier configs control the call forwarding and additional
settings button in the Call Settings menu and caller ID and
call waiting in additional settings menu.
Bug:
110121209
Test: manual - test case as below :
1.flag clir on and flag cw on ,do CLIR show/hide,
and make call to other device.(PASS)
2.flag clir on and flag cw on ,do CW on/off,and CW function work.(PASS)
3.flag clir off and flag cw on ,no CLIR in additional settings page(PASS)
4.flag clir off and flag cw on ,do CW on/off,and CW function work.(PASS)
5.flag clir on and flag cw off ,do CLIR show/hide ,
and make call to other device.(PASS)
6.flag clir on and flag cw off ,no CW in additional settings page(PASS)
7.flag clir off and flag cw off,
no Additional Settings in call feature settings(PASS)
8.flag cf off,no cf in call settings page (PASS)
Change-Id: I29d7a71ad57b3b05ccc6025154f63119b35dab71
Jack Yu [Sat, 30 Jun 2018 01:06:39 +0000 (18:06 -0700)]
Merge "Used APN type instead of APN id"
am:
2e371c1b5a
Change-Id: Ib920746cb39937165aa97f79a9ac4e2fed850572
Kevin Chyn [Sat, 30 Jun 2018 00:56:32 +0000 (00:56 +0000)]
Merge "FaceManager removal callback should propagate remaining"
TreeHugger Robot [Sat, 30 Jun 2018 00:54:26 +0000 (00:54 +0000)]
Merge "Fix the memory leak in BatteryStatsImpl.Timebase.mObservers."
Winson Chung [Fri, 29 Jun 2018 19:26:49 +0000 (12:26 -0700)]
Allow share/edit screenshot actions from lockscreen
- Dismiss keyguard when routing the actions through the proxy receiver
- Fix issue with edit activity also disallowing auto-enter PiP
- Minor cleanup of some unused/shared code
Bug:
72459081
Test: Launch share/edit screenshot from lockscreen (and normally)
Test: Launch screenshot share action with auto-enter PiP activity and
ensure it does not trigger PiP
Change-Id: Ibae2de51bc3fe10f439d7506ab7d0d9243142c94
Winson Chung [Fri, 29 Jun 2018 17:16:53 +0000 (10:16 -0700)]
Prevent clobbering of activity options bundle when merging
- RemoteViews specify an ActivityOptions when calling startIntentSender()
(for click handling), but if the PendingIntent being started also has an
ActivityOptions, the merging of the two options will fail since the
ActivityOptions properties are always written into the bundle (regardless
of whether they are actually set). Instead, only write non-default
values to the bundle (the defaults will be read out if not set when
restoring the options from the bundle anyways).
Bug:
72459081
Test: atest FrameworksServicesTests:ActivityOptionsTest
change-id: i1d6718d9db4b3f7056412c5b4c5347a19ffa7c09
TreeHugger Robot [Sat, 30 Jun 2018 00:26:35 +0000 (00:26 +0000)]
Merge "Make scroll bars more noticeable on round screens."
TreeHugger Robot [Sat, 30 Jun 2018 00:21:40 +0000 (00:21 +0000)]
Merge "Moved more stuff from ActivityManagerService to ActivityTaskManagerService (11/n)"
Mike Ma [Fri, 29 Jun 2018 19:18:27 +0000 (12:18 -0700)]
Fix a NPE in BatteryStatsImpl
ServiceManager.getService("batteryproperties")) may return null for some
devices right after boot. (We don't know why, need further investigation)
This causes async batterystats update to crash, leaving BatteryStats in a
bad state (OnBattery() == true, but mOnBatteryTimeBase is not running),
which does not accept aggregated stats update anymore.
Bug:
109930230
Test: manual
Change-Id: I0654beff95f0a2b9df2567f1a2efffd3330e58ff
Jack Yu [Fri, 29 Jun 2018 23:54:32 +0000 (23:54 +0000)]
Merge "Used APN type instead of APN id"
Wale Ogunwale [Wed, 27 Jun 2018 12:14:34 +0000 (05:14 -0700)]
Moved more stuff from ActivityManagerService to ActivityTaskManagerService (11/n)
Moved more stuff related to activities out of the current service to the new one.
Bug:
80414790
Fixes:
110988007
Test: Existing tests pass.
Change-Id: Iceed1da8a7441a26d11efebc6d9f692fd053bc7f
Danny Epstein [Fri, 29 Jun 2018 23:21:03 +0000 (16:21 -0700)]
Make getDimension's Javadoc say it returns px.
Bug:
24467193
Test: Only changed Javadoc.
Change-Id: I209d8ddbe025ec2c35668ddaac2bdba79305ec6a
Jeff Sharkey [Fri, 29 Jun 2018 23:15:40 +0000 (17:15 -0600)]
Get android.os tests running against real APIs.
Combination of moving to existing public API, tagging things as
@TestApi, and bringing utility methods into tests.
Bug:
13282254
Test: atest cts/tests/tests/os/
Change-Id: Ifd24c0d048d200e8595e194890cc1dc53ddc2b3e
Nathan Harold [Fri, 29 Jun 2018 22:59:58 +0000 (15:59 -0700)]
Merge changes I0d635067,I1424973b am:
4d7a010983 am:
3b08d8ff77
am:
dcfa685cad
Change-Id: I683f6f829ee106196eb266b5bdb7ee450c259c02
Shep Shapard [Fri, 29 Jun 2018 22:54:58 +0000 (22:54 +0000)]
Merge "Fix invisible scroll thumb blocks clicks."
Nathan Harold [Fri, 29 Jun 2018 22:46:45 +0000 (15:46 -0700)]
Merge changes I0d635067,I1424973b am:
4d7a010983
am:
3b08d8ff77
Change-Id: I323c57f0ad262a5875fcac7370dfb75d116f4bca
Nathan Harold [Fri, 29 Jun 2018 22:39:19 +0000 (15:39 -0700)]
Merge changes I0d635067,I1424973b
am:
4d7a010983
Change-Id: I4372305da9b4b6b488bdeda0ec97b412e92bce58
Amit Mahajan [Fri, 29 Jun 2018 22:07:03 +0000 (15:07 -0700)]
[automerger skipped] Merge "Add new carrier config for CDMA registered PLMN when not roaming." am:
c8eb9ef591 am:
d7a5190868 -s ours
am:
0c50371d12 -s ours
Change-Id: I09a6f75b9884a7c1ecc3a87502f1ace87210df97
Kevin Chyn [Thu, 28 Jun 2018 01:44:02 +0000 (18:44 -0700)]
Add face metrics constants
Bug:
110589286
Test: builds
Change-Id: I9e369a38c6e41bb98b1fac5abd248f46382a0928
Jack Yu [Tue, 26 Jun 2018 00:40:02 +0000 (17:40 -0700)]
Used APN type instead of APN id
APN id is similar to ApnSetting.ApnType. We can just use the apn
type. No need to use APN id anymore.
Test: Telephony sanity tests + unit tests
Bug:
77511388
Merged-In: If41845604ea14f36272262da110d682eea0d5451
Change-Id: If41845604ea14f36272262da110d682eea0d5451
(cherry picked from commit
f42d06010a522b0d519df1a2ce9fa5ba3aefb51f)
Amit Mahajan [Fri, 29 Jun 2018 21:43:38 +0000 (14:43 -0700)]
[automerger skipped] Merge "Add new carrier config for CDMA registered PLMN when not roaming." am:
c8eb9ef591
am:
d7a5190868 -s ours
Change-Id: Id98081b344dd9bd9376adcbcff23f7d1506c35af
TreeHugger Robot [Fri, 29 Jun 2018 21:26:24 +0000 (21:26 +0000)]
Merge "Skip hardware bitmaps if canvas does not support hardware acceleration"
Nathan Harold [Fri, 29 Jun 2018 21:23:26 +0000 (21:23 +0000)]
Merge changes I0d635067,I1424973b
* changes:
Simplify equals() method of ServiceState
Update ServiceState.hashCode()
Amit Mahajan [Fri, 29 Jun 2018 21:05:51 +0000 (14:05 -0700)]
Merge "Add new carrier config for CDMA registered PLMN when not roaming."
am:
c8eb9ef591
Change-Id: I1cc5af7ab6cbb722c14b549047cccd73a5ad9720
Beverly [Thu, 28 Jun 2018 15:37:53 +0000 (11:37 -0400)]
Only play in-call notification if ringer is normal
- Add secure setting to enable/disable in call notifications
- Can toggle system setting using the following adb command:
adb shell settings put secure in_call_notification_enabled [0/1]
Bug:
71586014
Test: manual
Change-Id: I32e1d1d6dcae806e655ae6875a43d07ca83e77f4
TreeHugger Robot [Fri, 29 Jun 2018 20:30:51 +0000 (20:30 +0000)]
Merge "Used APN type instead of APN id"
Kevin Chyn [Fri, 29 Jun 2018 19:55:22 +0000 (12:55 -0700)]
FaceManager removal callback should propagate remaining
Fixes:
110994796
Test: builds
Change-Id: I9a82a50a8bbd4b0c21a2acef33c9ec3fdff5c7f8
Treehugger Robot [Fri, 29 Jun 2018 19:55:16 +0000 (19:55 +0000)]
Merge "Add new carrier config for CDMA registered PLMN when not roaming."
TreeHugger Robot [Fri, 29 Jun 2018 19:36:11 +0000 (19:36 +0000)]
Merge "[NR] Remove unnecessary boolean change, update var names"
Lucas Dupin [Fri, 29 Jun 2018 18:47:32 +0000 (11:47 -0700)]
Merge "AOD animation polish" into pi-dev am:
704a0d6174
am:
e9861964bf
Change-Id: I135ff3a852d2b1d2288add1c0c94bbf7313d1aec
Lucas Dupin [Fri, 29 Jun 2018 18:40:43 +0000 (11:40 -0700)]
Merge "AOD animation polish" into pi-dev
am:
704a0d6174
Change-Id: Ia5662e819573ba45707f4f2dd4f166c64d87154e
Lucas Dupin [Fri, 29 Jun 2018 18:27:46 +0000 (18:27 +0000)]
Merge "AOD animation polish" into pi-dev
Amit Mahajan [Tue, 5 Jun 2018 23:27:32 +0000 (16:27 -0700)]
Add new carrier config for CDMA registered PLMN when not roaming.
Test: manual
Bug:
80145031
Merged-in: I6533b4097f729df88f287348924563c6f459401c
Change-Id: I6533b4097f729df88f287348924563c6f459401c
(cherry picked from commit
22e89f4773d9cbc8f5911b65b2dae3e3add7bdb6)
shepshapard [Mon, 25 Jun 2018 20:42:11 +0000 (13:42 -0700)]
Fix invisible scroll thumb blocks clicks.
The current issue is that Views that have either the horizontal or
vertical scroll bars enabled will intercept mouse interactions that
entire the region where the scrolling thumb would be even if the View
cannot actually scroll because it's content isn't larger than it.
This is fixed by only intercepting mouse interactions in the scroll
thumb region if there is something to scroll.
Bug:
110375792
Test: None yet
Change-Id: Ib638b4ac88375f55bc80ba2a66d945a16ecd6d22
Amit Mahajan [Fri, 29 Jun 2018 17:53:14 +0000 (10:53 -0700)]
Merge "Add new carrier config for CDMA registered PLMN when not roaming." into pi-dev am:
fffc308084
am:
93c577b224
Change-Id: Ie635c49b097d758c96e882249a4b0ad61c85b730
Jeff Sharkey [Wed, 27 Jun 2018 20:41:57 +0000 (14:41 -0600)]
StrictMode to catch storage while locked.
When an app starts becoming Direct Boot aware, it can be difficult
to track down all the places they're reading data from credential
protected storage.
When a user is locked, credential protected storage is unavailable,
and files stored in these locations appear to not exist, which can
result in subtle app bugs if they assume default behaviors or
empty states. Instead, apps should store data needed while a user
is locked under device protected storage areas.
Bug:
110413274
Test: atest cts/tests/tests/os/src/android/os/cts/StrictModeTest.java
Change-Id: Ia390318efa6fefda8f10ac684d0206e67aa1d3dc
Jack Yu [Tue, 26 Jun 2018 00:40:02 +0000 (17:40 -0700)]
Used APN type instead of APN id
APN id is similar to ApnSetting.ApnType. We can just use the apn
type. No need to use APN id anymore.
Test: Telephony sanity tests + unit tests
Bug:
77511388
Change-Id: If41845604ea14f36272262da110d682eea0d5451
Amit Mahajan [Fri, 29 Jun 2018 17:34:33 +0000 (10:34 -0700)]
Merge "Add new carrier config for CDMA registered PLMN when not roaming." into pi-dev
am:
fffc308084
Change-Id: I813c193b1c9d68f524ad74d21f0616516edc18d6
TreeHugger Robot [Fri, 29 Jun 2018 17:23:13 +0000 (17:23 +0000)]
Merge "Add new carrier config for CDMA registered PLMN when not roaming." into pi-dev
Danny Epstein [Wed, 27 Jun 2018 20:04:14 +0000 (13:04 -0700)]
Make scroll bars more noticeable on round screens.
Increase alpha from 15 to 30% for the track and use Google Material
Grey 200 for the thumb. Fix the geometry so that the track and thumb
don't extend off the edge of the screen.
Bug:
80258942
Change-Id: I43e603e5fffb8a05f486af35194c801060dd0b51
(cherry picked from commit
97b00cbc039a090659aed75e47a172a70222b02f)
Dianne Hackborn [Tue, 26 Jun 2018 17:35:35 +0000 (10:35 -0700)]
Add more data (fg services, associations) to procstats.
- Keep track of foreground services.
- Keep track of associations between processes.
The big part of this is the second, tracking associations.
We have have procstats keeping continual track of associations
between processes, much like the "am track-associations"
command. Currently the data kept on them is very minimal
(just the count and total duration, not separated by other
states) due to the potential number of them that there can be,
but we can look in to trying to maintain more data going
forward if it is feasible.
The way this is incorporated into the activity manager makes
it a little different than "am track-associations," with
potentially some new interesting data available. These
associations are tied with the connection objects in the
activity manager, so they only count while the target
process is actually running (so their duration should match
with the lifecycle of the target). They are tied to the
target package, since that is what we know all of the
information we need for rooting data in procstats (package
name, uid, and version code of that package); only the process
name and uid are available for the source of the association
Since these are tied to the connection components, it is
possible that we could even maintain data on the duration per
proc state that is flowing from that association in to the
target process. That would be very useful, but would add
a fair amount more overhead in data being tracked.
English output of the new association data looks like:
* com.android.providers.downloads / u0a17 / v28:
* Prc android.process.media / u0a17 / v28:
TOTAL: 0.45%
Imp Bg: 0.26%
Service: 0.18%
Receiver: 0.01%
(Last Act): 0.78%
(Cached): 37% (5.2MB-5.8MB-8.2MB/3.9MB-4.4MB-6.0MB/3.9MB-7.0MB-50MB over 18)
* Svc com.android.providers.downloads.DownloadIdleService:
Process: android.process.media
Running count 3 / time 0.01%
Bound count 3 / time 0.01%
Executing count 6 / time 0.00%
* Svc com.android.providers.downloads.DownloadJobService:
Process: android.process.media
Running count 6 / time 0.21%
Bound count 6 / time 0.21%
Executing count 12 / time 0.00%
* Asc com.android.providers.downloads.DownloadIdleService:
Process: android.process.media
<- system / 1000:
Count 3 / time 0.01%
* Asc com.android.providers.downloads.DownloadStorageProvider:
Process: android.process.media
<- com.android.documentsui / u0a10:
Count 1 / time 0.00%
* Asc com.android.providers.downloads.DownloadProvider:
Process: android.process.media
<- com.android.vending / u0a11:
Count 39 / time 2.6%
<- system / 1000:
Count 3 / time 0.00%
<- com.google.android.gms / u0a36:
Count 8 / time 0.01%
* Asc com.android.providers.downloads.DownloadJobService:
Process: android.process.media
<- system / 1000:
Count 6 / time 0.21%
And the corresponding checkin:
pkgproc,com.android.providers.downloads,10017,28,android.process.media,0nf:717,0nb:71332,0ns:48335,0nr:3652,0nl:218034,0ne:
10103500,0mf:21,0ms:614,0me:185,1ne:100236
pkgpss,com.android.providers.downloads,10017,28,android.process.media,0ne:18:5310:5950:8434:4036:4522:6140:4036:7127:51056
pkgsvc-run,com.android.providers.downloads,10017,28,.DownloadIdleService,3,0n:1849
pkgsvc-bound,com.android.providers.downloads,10017,28,.DownloadIdleService,3,0n:1794
pkgsvc-exec,com.android.providers.downloads,10017,28,.DownloadIdleService,6,0n:89
pkgsvc-run,com.android.providers.downloads,10017,28,.DownloadJobService,6,0n:58224
pkgsvc-bound,com.android.providers.downloads,10017,28,.DownloadJobService,6,0n:58154
pkgsvc-exec,com.android.providers.downloads,10017,28,.DownloadJobService,12,0n:187
pkgasc,com.android.providers.downloads,10017,28,.DownloadIdleService,system,1000,3,1790
pkgasc,com.android.providers.downloads,10017,28,.DownloadStorageProvider,com.android.documentsui,10010,1,80
pkgasc,com.android.providers.downloads,10017,28,.DownloadProvider,com.android.vending,10011,39,
1067022
pkgasc,com.android.providers.downloads,10017,28,.DownloadProvider,system,1000,3,96
pkgasc,com.android.providers.downloads,10017,28,.DownloadProvider,com.google.android.gms,10036,8,1951
pkgasc,com.android.providers.downloads,10017,28,.DownloadJobService,system,1000,6,58149
Bug:
110957691
Test: manual
Change-Id: Id466b085303527e7bf7354f7f33a0fbaa768fb7b
TreeHugger Robot [Fri, 29 Jun 2018 16:04:31 +0000 (16:04 +0000)]
Merge "Clarify WebView's lack of plugin support."
TreeHugger Robot [Fri, 29 Jun 2018 15:08:19 +0000 (15:08 +0000)]
Merge "Fix file matching w/ full-backup rules xml"
Bernardo Rufino [Wed, 27 Jun 2018 11:50:44 +0000 (12:50 +0100)]
Fix file matching w/ full-backup rules xml
Documentation is pretty vague:
https://developer.android.com/guide/topics/data/autobackup#XMLSyntax.
But there were a couple of issues:
* It was prematurely returning false without consuming the rest of the
includes (cause of the bug linked).
* It was using string comparison for checking if a file is in a
directory, which ended up flagging directories such as "a/b" as
containing files "a/b.txt".
Reviewers,
* Please, pay full attention to test cases.
* Since this is code move + code change, set diff as 2..latest to check
changes to the function.
Bug:
110720194
Test: atest BackupUtilsTest
Test: Backup and restore app w/ multiple directory includes, verify
everything restored
Change-Id: Ic0fea43156ce8fb641af69ae73679289a20c291c
Sundong Ahn [Fri, 29 Jun 2018 04:12:16 +0000 (21:12 -0700)]
Merge "Build com.android.future.usb.accessory with java_sdk_library" am:
10cfc61774 am:
35d6bafc57
am:
3be9f7072a
Change-Id: I737cd14d3af988abde8c60d061d1c3526ad40749
Riddle Hsu [Fri, 29 Jun 2018 03:57:40 +0000 (03:57 +0000)]
Merge "Check for valid surface when starting to drag"
Sundong Ahn [Fri, 29 Jun 2018 03:53:52 +0000 (20:53 -0700)]
Merge "Build com.android.future.usb.accessory with java_sdk_library" am:
10cfc61774
am:
35d6bafc57
Change-Id: I205f0f1811b68aa41d105fbd8db24db52ae2d35e
Remi NGUYEN VAN [Fri, 29 Jun 2018 03:53:05 +0000 (20:53 -0700)]
[automerger skipped] Merge "Disable hidden API checks on unit tests" am:
855f0f03e1 -s ours am:
44b1914000 -s ours
am:
cee918d925 -s ours
Change-Id: I73c1742115d932a64f0788e1b26ebca32cc25773
Remi NGUYEN VAN [Fri, 29 Jun 2018 03:44:05 +0000 (20:44 -0700)]
[automerger skipped] Merge "Disable hidden API checks on unit tests" am:
855f0f03e1 -s ours
am:
44b1914000 -s ours
Change-Id: Id6a4bb03399d46a9e709cc13e6e338d884c3b87b
Sundong Ahn [Fri, 29 Jun 2018 03:38:09 +0000 (20:38 -0700)]
Merge "Build com.android.future.usb.accessory with java_sdk_library"
am:
10cfc61774
Change-Id: Ie6abdaa1c9f58ada60da5514bbd1ed261d09fd0b
Remi NGUYEN VAN [Fri, 29 Jun 2018 03:34:19 +0000 (20:34 -0700)]
[automerger skipped] Merge "Disable hidden API checks on unit tests"
am:
855f0f03e1 -s ours
Change-Id: I9ad7743e43efd5aaa722e73ea0b2543537d23c50
Winson Chung [Fri, 29 Jun 2018 03:13:25 +0000 (03:13 +0000)]
Merge "Ensure PiP test apis are marked as TestApi"
Treehugger Robot [Fri, 29 Jun 2018 02:51:43 +0000 (02:51 +0000)]
Merge "Build com.android.future.usb.accessory with java_sdk_library"
Remi NGUYEN VAN [Fri, 29 Jun 2018 02:15:47 +0000 (02:15 +0000)]
Merge "Disable hidden API checks on unit tests"
Kevin Chyn [Fri, 29 Jun 2018 01:55:52 +0000 (01:55 +0000)]
Merge "Change resource name to be consistent with fingerprint"
TreeHugger Robot [Fri, 29 Jun 2018 01:06:21 +0000 (01:06 +0000)]
Merge "Improving WTF logging in AlarmManager"
TreeHugger Robot [Fri, 29 Jun 2018 00:58:36 +0000 (00:58 +0000)]
Merge "Pull AUTOGROUP_AT_COUNT into an XML config."
Brad Ebinger [Fri, 29 Jun 2018 00:43:48 +0000 (17:43 -0700)]
Merge "Emergency SMS carrier config flag" am:
36a9fa62be am:
86ec65e59c
am:
0bb18995dc
Change-Id: I4bc7ca9080af8f0bd06c4ab0fe547640314819e1
Brad Ebinger [Fri, 29 Jun 2018 00:34:48 +0000 (17:34 -0700)]
Merge "Emergency SMS carrier config flag" am:
36a9fa62be
am:
86ec65e59c
Change-Id: I63df676bf2270532c84cb950e4cac13858fbd4fb
Brad Ebinger [Fri, 29 Jun 2018 00:26:39 +0000 (17:26 -0700)]
Merge "Emergency SMS carrier config flag"
am:
36a9fa62be
Change-Id: If6a2b0316ee0fdac29eedcf77686694f538d5017
Matthew Ng [Thu, 28 Jun 2018 20:05:30 +0000 (13:05 -0700)]
Skip hardware bitmaps if canvas does not support hardware acceleration
Test: use go/web-hv on nav bar
Change-Id: Id7d5f01aa0dbe9d05d0526726f64fc5233b9f563
Fixes:
110949540
Nathan Harold [Thu, 28 Jun 2018 23:46:07 +0000 (16:46 -0700)]
[automerger skipped] Merge "Allow Cell Location for SYSTEM_UID and ROOT_UID" am:
9ca4d43922 -s ours am:
f0893a15ab -s ours
am:
d67a9006b4 -s ours
Change-Id: Ibd255cbdaa91e1770471aa1e84151105b33915a3
Michael Kwan [Wed, 27 Jun 2018 01:03:38 +0000 (18:03 -0700)]
Add flag to disable sticky behaviour for battery saver.
Bug:
78239179
Test: atest $ANDROID_BUILD_TOP/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/BatterySaverStateMachineTest.java
Change-Id: I33ce8a0698f1aca8d09096574a3b9e0a31281557
Nathan Harold [Thu, 28 Jun 2018 23:36:02 +0000 (16:36 -0700)]
[automerger skipped] Merge "Allow Cell Location for SYSTEM_UID and ROOT_UID" am:
9ca4d43922 -s ours
am:
f0893a15ab -s ours
Change-Id: I039631fce137f11a1eb6d65d57f5150b50b73303