Dianne Hackborn
b021fca31a
Merge \"Fix issue #29371078 : Foreground jobs should not count...\" into nyc-dev
...
am: 47cfac6803
Change-Id: I94a6674bcb0327bc55fbfc1d18c4a5d6d723a52e
2016-06-16 18:43:57 +00:00
Dianne Hackborn
47cfac6803
Merge "Fix issue #29371078 : Foreground jobs should not count..." into nyc-dev
2016-06-16 18:39:03 +00:00
Dianne Hackborn
7ab4025474
Fix issue #29371078 : Foreground jobs should not count...
...
...as active for idle maintenance
Nor jobs of whitelisted apps.
Now they don't.
Also remove the no longer used "active download" tracking code.
Change-Id: I553197801f6eabaf15716f3201dd65257a0d4e94
2016-06-15 17:30:24 -07:00
Amith Yamasani
c5ffdb9ee4
Merge \"More thorough cleansing of expired users\" into nyc-dev
...
am: 4f2b1b455e
Change-Id: I5714f73a9b90c0cb8fee653abf799374acfc6232
2016-06-16 00:24:14 +00:00
Amith Yamasani
4f2b1b455e
Merge "More thorough cleansing of expired users" into nyc-dev
2016-06-16 00:14:59 +00:00
Tianjie Xu
ab1a5e456e
Merge \"Fix a naming typo for source_build\" into nyc-dev
...
am: dfa654edfe
Change-Id: I3eda6c97b34e6789a7450f737959fb22af9b1be4
2016-06-15 20:55:46 +00:00
Tianjie Xu
5fabe69fc8
Fix a naming typo for source_build
...
When parsing the last_install, the variable name is supposed to be
*source_build* instead of *source_version*.
Bug: 28658632
Change-Id: I1e0ed7150e04885f904b6a3efa18bd5cfe17cc96
2016-06-15 12:34:04 -07:00
Amith Yamasani
d04aaa323c
More thorough cleansing of expired users
...
If any /data/system_[c|d]e folders were not erased
when the user was removed (maybe due to a reboot),
make sure they're cleaned up on restart as well
as when the userId is recycled later.
Mark the users' system folders with the correct
serial number for later verification.
AccountManager shouldn't be querying accounts of
partially created/destroyed users.
Change-Id: I4313756b7464f34cd5ce4fb296d61daa50b41fcb
Fixes: 29285673
2016-06-15 11:32:16 -07:00
Tomasz Mikolajewski
499ab43ce3
Merge \"Make CotentResolver#openInputStream handle errors from reliable pipes.\" into nyc-dev
...
am: ac3fe8fffe
Change-Id: Ib09cea9ca5c6bb18dc16ffac70f23fa4b3ffd974
2016-06-14 04:24:39 +00:00
Tomasz Mikolajewski
ac3fe8fffe
Merge "Make CotentResolver#openInputStream handle errors from reliable pipes." into nyc-dev
2016-06-14 04:15:26 +00:00
Tao Bao
9aa66d57c6
Merge "Add RecoverySystem.rebootWipeAb() system API." into nyc-mr1-dev
2016-06-13 16:43:46 +00:00
Adam Lesinski
860e09ddce
Merge \"BatteryStats: Fix read/write parcel order\" into nyc-dev
...
am: e8a442ccd6
Change-Id: I08f02adc6014ff9bcae60f60a091bba74695488d
2016-06-10 22:43:45 +00:00
Adam Lesinski
e8a442ccd6
Merge "BatteryStats: Fix read/write parcel order" into nyc-dev
2016-06-10 22:29:15 +00:00
Adam Lesinski
67c134f849
BatteryStats: Fix read/write parcel order
...
Also moves discharge coulomb data to BATTERY_DISCHARGE_DATA checkin line.
Bug:29264326
Bug:28743761
Change-Id: I78881e166c11f40b2397e04d2cab8d5200c71eea
2016-06-10 15:24:16 -07:00
Tianjie Xu
9331178a6d
Merge \"Collect statistics of source build version\" into nyc-dev
...
am: 8872a604b9
Change-Id: Ic920aced4f17c31a09bea55480f92252f20d728d
2016-06-10 17:23:25 +00:00
Tianjie Xu
8872a604b9
Merge "Collect statistics of source build version" into nyc-dev
2016-06-10 17:13:54 +00:00
Adam Lesinski
d499d79b07
Merge \"BatteryStats: Record fine grained battery discharge\" into nyc-dev
...
am: 094c40b2cc
Change-Id: Ie85fcfc2fa7aec5e7c15f57d605840c563c0e993
2016-06-10 02:21:54 +00:00
TreeHugger Robot
094c40b2cc
Merge "BatteryStats: Record fine grained battery discharge" into nyc-dev
2016-06-10 02:12:23 +00:00
Adam Lesinski
69a983dfec
Merge \"BatteryStats: Bump checkin format version to 18\" into nyc-dev
...
am: d75bc225ac
Change-Id: I70dbac4cb8002d8f216991ca78b18e9c1612eb89
2016-06-10 01:05:03 +00:00
Adam Lesinski
b55d741c9a
BatteryStats: Bump checkin format version to 18
...
Bug:28811636
Change-Id: If2229c438e60f20746c91bccbcaa6d72ca5f0802
2016-06-09 17:46:19 -07:00
Adam Lesinski
3ee3f63eb8
BatteryStats: Record fine grained battery discharge
...
For devices that report battery discharge via a coulomb counter,
record how much of the battery was discharged while the screen
was on/off.
Bug:28743761
Change-Id: Ie2d1708864352029ff466c1fed14fc057e19b93b
2016-06-09 17:37:22 -07:00
Tao Bao
1327a97a07
Add RecoverySystem.rebootWipeAb() system API.
...
It reboots into recovery and securely wipes an A/B device.
Bug: 27253717
Bug: 29159185
Change-Id: I8252894db5c1df48bc4a8728b7f0e0f18aebc44c
2016-06-09 16:57:54 -07:00
Tianjie Xu
c1ff246f1a
Collect statistics of source build version
...
Parse the last_install and report the source build version of an ota
update.
Related CL in: ag/1121141
Bug: 28658632
Change-Id: I5e835c144aabe97fda681f60397ebf4416f7bd4f
2016-06-09 16:00:11 -07:00
Tianjie Xu
ebfa28ccf8
Merge \"Change unit of I/O statistics to MiB\" into nyc-dev
...
am: 00681d0e78
Change-Id: I150ccc3c3164ee487bf4c726b080d885f8b39696
2016-06-08 18:04:32 +00:00
TreeHugger Robot
ba3676460a
Merge "Added a getPrimaryStorageSize() method." into nyc-mr1-dev
2016-06-08 01:22:18 +00:00
Tianjie Xu
a2fe5517bc
Change unit of I/O statistics to MiB
...
I/O in bytes are too large and it may cause overflow. Moreover, data with
large numbers are grouped in the same bucket of the histogram. This adds
difficulty to the analysis. Changing unit of I/O to MiB so that we can
have a better data distribution.
Bug: 28658632
Change-Id: Id9913d71e62b36ce5d5d2e57676953f4dbd0c7c9
2016-06-07 17:54:48 -07:00
Felipe Leme
18202e00bd
Added a getPrimaryStorageSize() method.
...
BUG: 24128505
Change-Id: I0b75d3c5505dadedf5d06868614b3a01765cc5d3
** Cherrypicked from master **
2016-06-07 16:42:35 -07:00
Esteban Talavera
cc12064670
Merge "Fix getApplicationRestrictions documentation" into nyc-dev
...
am: a86d6c4df3
* commit 'a86d6c4df3b193060b4b725e1abfed4f69689843':
Fix getApplicationRestrictions documentation
Change-Id: Ia552cc886a182f558b7479b1d2a0201061dc5cc6
2016-06-07 17:59:01 +00:00
Esteban Talavera
953fe48329
Fix getApplicationRestrictions documentation
...
The method never returns null, only empty bundle
Bug: 29178626
Change-Id: Ic53154eafe94c6c501b59932441d7ae1c89cb689
2016-06-07 17:21:49 +01:00
Benjamin Franz
3c826b160c
Merge "Add an intent extra to force master clear" into nyc-mr1-dev
2016-06-01 17:13:15 +00:00
Benjamin Franz
f9d5e6a3db
Add an intent extra to force master clear
...
Currently, if a priv-app sends ACTION_MASTER_CLEAR, whilst
DISALLOW_FACTORY_RESET is set, the factory reset is blocked. This CL
introduces a new extra for master clear that let's the priv-app bypass
the user restriction.
Bug: 28689894
Change-Id: I4bf979a3826454e977f1abff4562f85c8d0eec4a
2016-06-01 15:45:59 +01:00
Wei Wang
2ab4ac3835
Merge "Trigger power hints for activity launch" into nyc-mr1-dev
2016-06-01 03:06:38 +00:00
Wei Wang
98f03f98ac
Trigger power hints for activity launch
...
BUG: 28220567
Change-Id: Id2a0397efd1dd02ee50d5626edaed9e60ea6de8a
2016-05-31 18:34:01 -07:00
Tomasz Mikolajewski
ad3b61623f
Make CotentResolver#openInputStream handle errors from reliable pipes.
...
Bug: 28967963
Change-Id: I3b1343e91e7b6616ea0d641888f5b41d1b83a8a5
2016-05-30 11:05:35 +09:00
TreeHugger Robot
5df14a60cf
Merge "Helper method to check if current user is a demo user" into nyc-mr1-dev
2016-05-27 19:21:41 +00:00
Amith Yamasani
d35a89cd80
Helper method to check if current user is a demo user
...
Bug: 27280140
Change-Id: I7f6ed3198a42b4f8b81b54764e0b73499a94f77c
2016-05-27 11:13:00 -07:00
TreeHugger Robot
aabbfc5565
Merge "Revert "Revert "Remove ActivityManager calls with PM.mInstallLock held""" into nyc-mr1-dev
2016-05-27 17:36:43 +00:00
Ruchi Kandoi
e9f42318f6
Merge "PowerManager: Adds Documentation to isSustainedPerformanceModeSupported()" into nyc-dev
...
am: 7730e57dc6
* commit '7730e57dc6624a66cdc35260f855a467fadc7b04':
PowerManager: Adds Documentation to isSustainedPerformanceModeSupported()
Change-Id: If4934466722851e9c7ca1443cae3e31f2b25c6c7
2016-05-27 16:28:03 +00:00
Amith Yamasani
ea1b9d7958
Revert "Revert "Remove ActivityManager calls with PM.mInstallLock held""
...
Added the missing import.
This reverts commit c51e725644 .
Change-Id: Icd63619a12e10dee628e568a6200d429a9936cf0
2016-05-27 09:25:37 -07:00
Ruchi Kandoi
7730e57dc6
Merge "PowerManager: Adds Documentation to isSustainedPerformanceModeSupported()" into nyc-dev
2016-05-27 16:20:43 +00:00
Bart Sears
c51e725644
Revert "Remove ActivityManager calls with PM.mInstallLock held"
...
This reverts commit ac06a4907b .
Change-Id: I27bedbd221a8d416b9040a96063e66a1ca69fe2e
2016-05-27 04:18:50 +00:00
Fyodor Kupolov
5d531e4f6c
Merge "Remove ActivityManager calls with PM.mInstallLock held" into nyc-dev
...
am: a4dbdaf5e9
* commit 'a4dbdaf5e96273dccd474e31700d84a1ad907503':
Remove ActivityManager calls with PM.mInstallLock held
Change-Id: I3be800fc5de9fa3c06f0bf6158a0dbf2a05b165e
2016-05-27 03:05:20 +00:00
Jeff Sharkey
bda14dd987
Merge "Cache IMountService for isUserKeyUnlocked() calls." into nyc-dev
...
am: 36cbf5ca37
* commit '36cbf5ca378523bfa4f5394e39f5fcff2b2461de':
Cache IMountService for isUserKeyUnlocked() calls.
Change-Id: I1ad2d1eba64a89e7a22dc86c7241f6f85a5f2a0b
2016-05-27 02:42:44 +00:00
Fyodor Kupolov
2c5cbd4012
Merge "Clean up demo dir when leaving demo mode" into nyc-mr1-dev
2016-05-27 00:48:38 +00:00
Fyodor Kupolov
a4dbdaf5e9
Merge "Remove ActivityManager calls with PM.mInstallLock held" into nyc-dev
2016-05-26 18:20:36 +00:00
Ruchi Kandoi
c45908d196
PowerManager: Adds Documentation to
...
isSustainedPerformanceModeSupported()
Bug: 28775592
Change-Id: Iea4f77d2508141ac0748165f68e6e1ca235ab804
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com >
2016-05-26 11:18:52 -07:00
TreeHugger Robot
36cbf5ca37
Merge "Cache IMountService for isUserKeyUnlocked() calls." into nyc-dev
2016-05-26 16:49:51 +00:00
Jeff Sharkey
4815ed4500
Cache IMountService for isUserKeyUnlocked() calls.
...
This avoids doing a ServiceManager lookup for every call through
this hot code-path.
Bug: 28946245
Change-Id: I210ce34b33e5b40a5ab4e92ddce87fc5e9964be2
2016-05-26 09:31:06 -06:00
Adam Powell
528a5bd466
Merge "N is API 24" into nyc-dev
...
am: bc983c4431
* commit 'bc983c443139c7b4605f98d56bd9ad7652a9938b':
N is API 24
Change-Id: Ic45d31eb721e9831fafd5413ce60947eb7fbad7e
2016-05-26 01:21:19 +00:00
Adam Powell
43ec62af45
N is API 24
...
Change-Id: Ifea71ccff96c3c70f9f3e60ecdcb2b56af82bb08
2016-05-25 16:42:56 -07:00