Yasuhiro Matsuda
6d444185e5
resolved conflicts for merge of fcf9ab5a to master
...
Change-Id: I69ad6e525430c5c4fc3c274b8bf6ebf653716124
2015-09-03 00:12:30 +09:00
Yasuhiro Matsuda
fcf9ab5ab3
am ebf9465d: resolved conflicts for merge of ef57e5e0 to stage-aosp-master
...
* commit 'ebf9465d213336819b15e3b21d02afce64470d4f':
Add trace code to system server.
2015-09-02 14:31:26 +00:00
Yasuhiro Matsuda
ebf9465d21
resolved conflicts for merge of ef57e5e0 to stage-aosp-master
...
Change-Id: I1c31b38936dc74619dea27f0d5eecab43360bb8c
2015-09-02 22:57:53 +09:00
Yasuhiro Matsuda
ef57e5e03b
Merge "Add trace code to system server."
2015-09-02 12:54:23 +00:00
Adam Lesinski
54c070ef14
am f7ce28fa: am d0ce1fbb: am 69e17f59: am da43a3aa: Merge "BatteryStats: Start using cpu power from kernel" into mnc-dr-dev
...
* commit 'f7ce28fad5d76267a9e69a05f6a2147c6baae827':
BatteryStats: Start using cpu power from kernel
2015-09-01 16:07:56 +00:00
Adam Lesinski
f7ce28fad5
am d0ce1fbb: am 69e17f59: am da43a3aa: Merge "BatteryStats: Start using cpu power from kernel" into mnc-dr-dev
...
* commit 'd0ce1fbbba497e9b5082c69d8da7260e85b0b579':
BatteryStats: Start using cpu power from kernel
2015-08-31 19:33:24 +00:00
Adam Lesinski
da43a3aaca
Merge "BatteryStats: Start using cpu power from kernel" into mnc-dr-dev
2015-08-31 19:04:46 +00:00
Fyodor Kupolov
3f1099b062
Merge "Non-system users can now have restricted profiles"
2015-08-28 21:44:54 +00:00
Ashish Sharma
56d4ce51c2
am b804f413: am fec26a37: am 7c388b0f: am ffa3d040: am 3883e72a: Merge "BatteryStats: Bump checkin version" into mnc-dev
...
* commit 'b804f4134a21989c94ead728b6d36f93a647ce36':
BatteryStats: Bump checkin version
2015-08-28 00:09:24 +00:00
Ashish Sharma
b804f4134a
am fec26a37: am 7c388b0f: am ffa3d040: am 3883e72a: Merge "BatteryStats: Bump checkin version" into mnc-dev
...
* commit 'fec26a37a15dc406ae6a3aee67059cb93ef2ae5a':
BatteryStats: Bump checkin version
2015-08-27 23:55:47 +00:00
Ashish Sharma
ffa3d0408f
am 3883e72a: Merge "BatteryStats: Bump checkin version" into mnc-dev
...
* commit '3883e72aeda7dcc5f76eba7ad2e95ad2cb041687':
BatteryStats: Bump checkin version
2015-08-27 23:28:22 +00:00
Fyodor Kupolov
06a484adb9
Non-system users can now have restricted profiles
...
In the non split system user, only USER_OWNER is allowed to have restricted
profiles. This is now changed in split user mode, where multiple secondary
users can have restricted profiles.
Added UserInfo.restrictedProfileGroupId field, which defines parent/child
relationship between secondary users and linked restricted profiles. Adjusted
shared accounts handling logic to not assume that USER_OWNER is the only owner.
Bug: 23191995
Change-Id: I5f3fc2aa4f229103d6e75ec2c3dfce866b8007de
2015-08-27 15:38:29 -07:00
Yasuhiro Matsuda
1ab43d5978
Add trace code to system server.
...
- Add TRACE_TAG_SYSTEM_SERVER for tracing system server code.
- Add a few more tracing code to the code paths related to boot.
BUG: 21739901
BUG: 22207144
Change-Id: I08b424d2f83783f512c3818394099909cd55f327
2015-08-27 12:22:07 +09:00
Adam Lesinski
ab7672d45a
BatteryStats: Start using cpu power from kernel
...
This allows us to stop using approximate methods of attributing
cpu frequency time across apps and to use a more precise kernel
method that is aware of the time spent by a process on a given core
at a given frequency.
Bug:22773176
Change-Id: I3c34365fa8c73204f178a5610423901b13453d06
2015-08-21 16:46:14 -07:00
Adam Lesinski
bb5ac7976d
BatteryStats: Bump checkin version
...
Bug:23391894
Change-Id: I2af980531e07b106cc560c877fa128bbd9c2f18e
2015-08-20 16:44:37 -07:00
Nicolas Prévot
be8b98b939
Merge "Allow non-owner users to have managed profiles."
2015-08-20 14:48:18 +00:00
Nicolas Prevot
b818681dca
Allow non-owner users to have managed profiles.
...
In the split system user model:
The only users that are not allowed to have managed profiles are:
- purely system user (user 0)
- guest users
- restricted profiles
- managed profiles
In the non-split system user model, the behavior does not change:
only the primary user can have managed profiles.
BUG:22956426
Change-Id: If908c30f110fd3e740770174f050c9b6cf87ce1b
2015-08-20 14:15:19 +01:00
Jeff Sharkey
36d4aaeb6e
am 39c49625: am e6983e87: am cd6ba412: am bbb5717d: am f3ad1eab: Merge "Pass underlying volume UUID to StorageVolume." into mnc-dev
...
* commit '39c4962580a52d5ca07f3576009564dddc8f4624':
Pass underlying volume UUID to StorageVolume.
2015-08-20 01:59:19 +00:00
Jeff Sharkey
39c4962580
am e6983e87: am cd6ba412: am bbb5717d: am f3ad1eab: Merge "Pass underlying volume UUID to StorageVolume." into mnc-dev
...
* commit 'e6983e877888dd51abe090b75fa568a64e9fc16e':
Pass underlying volume UUID to StorageVolume.
2015-08-20 01:57:52 +00:00
Jeff Sharkey
bbb5717dee
am f3ad1eab: Merge "Pass underlying volume UUID to StorageVolume." into mnc-dev
...
* commit 'f3ad1eabc1fa5252165bfe1516690d1026507f0a':
Pass underlying volume UUID to StorageVolume.
2015-08-20 01:33:59 +00:00
Jeff Sharkey
746aee22e8
am f3ad1eab: Merge "Pass underlying volume UUID to StorageVolume." into mnc-dev
...
* commit 'f3ad1eabc1fa5252165bfe1516690d1026507f0a':
Pass underlying volume UUID to StorageVolume.
2015-08-20 01:33:46 +00:00
Jeff Sharkey
8e2ea2a9f1
Pass underlying volume UUID to StorageVolume.
...
To help MediaProvider uniquely identify storage devices, pass through
the UUID of the underlying private storage volume.
Bug: 23329611
Change-Id: I22ee7ea98fcb208d7797310acb3396a3f074f09b
2015-08-19 14:16:05 -07:00
Tao Bao
53c217f6c4
am efb71f44: am 2e3746ab: am 9bcb0fcc: Merge "Recursively delete directories in handleAftermath()."
...
* commit 'efb71f442c6dbdb75113d29df49106217f22cea3':
Recursively delete directories in handleAftermath().
2015-08-18 22:46:26 +00:00
Tao Bao
efb71f442c
am 2e3746ab: am 9bcb0fcc: Merge "Recursively delete directories in handleAftermath()."
...
* commit '2e3746abc7d70dd72f60a7912cd45472f3032acb':
Recursively delete directories in handleAftermath().
2015-08-18 22:41:34 +00:00
Tao Bao
9d995335f0
am 2e3746ab: am 9bcb0fcc: Merge "Recursively delete directories in handleAftermath()."
...
* commit '2e3746abc7d70dd72f60a7912cd45472f3032acb':
Recursively delete directories in handleAftermath().
2015-08-18 22:41:32 +00:00
Tao Bao
5065e12dbe
Recursively delete directories in handleAftermath().
...
RecoverySystem.handleAftermath() is called to clean up recovery-related
files. It needs to handle non-empty directories as well such as leftover
stashes from failed OTAs.
Bug: 23199081
Change-Id: I33fb326d376d04c793ad7b5948a10e8c1c572812
2015-08-18 13:48:17 -07:00
Adam Lesinski
e789fc02ae
am c852a3e3: am eb694bb6: am 546909c9: am 479c482c: am 504600bb: Merge "Fix UserHandle.getAppIdFromSharedAppGid to allow system UIDs" into mnc-dev
...
* commit 'c852a3e39c1bbb112e2705edc6714b6b687cb55d':
Fix UserHandle.getAppIdFromSharedAppGid to allow system UIDs
2015-08-14 21:28:51 +00:00
Adam Lesinski
c852a3e39c
am eb694bb6: am 546909c9: am 479c482c: am 504600bb: Merge "Fix UserHandle.getAppIdFromSharedAppGid to allow system UIDs" into mnc-dev
...
* commit 'eb694bb6e69dd382e9ed114dde604c6a0942c3c2':
Fix UserHandle.getAppIdFromSharedAppGid to allow system UIDs
2015-08-14 20:12:44 +00:00
Adam Lesinski
479c482ca1
am 504600bb: Merge "Fix UserHandle.getAppIdFromSharedAppGid to allow system UIDs" into mnc-dev
...
* commit '504600bb09e51f0187d81cacb1dc2de77c6256b6':
Fix UserHandle.getAppIdFromSharedAppGid to allow system UIDs
2015-08-14 19:47:54 +00:00
Adam Lesinski
4fe0a44658
am 504600bb: Merge "Fix UserHandle.getAppIdFromSharedAppGid to allow system UIDs" into mnc-dev
...
* commit '504600bb09e51f0187d81cacb1dc2de77c6256b6':
Fix UserHandle.getAppIdFromSharedAppGid to allow system UIDs
2015-08-14 19:45:55 +00:00
Adam Lesinski
621e06a64d
Fix UserHandle.getAppIdFromSharedAppGid to allow system UIDs
...
System UIDs are also run as shared GIDs, so this should not throw
an exception.
Bug:23189342
Change-Id: Ia180db012c25615cde1720ae0d41d1378f7bfb1a
2015-08-13 22:06:31 -07:00
Dianne Hackborn
d38e7c9387
am 1dd2f5a3: am 40bc2066: am a54d4583: am 9512a857: am ff9912d5: Merge "Fix issue #23116383 : Include security patch level in Settings" into mnc-dev
...
* commit '1dd2f5a3ebd4768ebc8bf4c08c7f62c8c1300c7f':
Fix issue #23116383 : Include security patch level in Settings
2015-08-13 02:10:15 +00:00
Dianne Hackborn
1dd2f5a3eb
am 40bc2066: am a54d4583: am 9512a857: am ff9912d5: Merge "Fix issue #23116383 : Include security patch level in Settings" into mnc-dev
...
* commit '40bc20660d3dc65f66e4409893f1ba6bf729d97f':
Fix issue #23116383 : Include security patch level in Settings
2015-08-13 01:18:13 +00:00
Dianne Hackborn
6d52d7616d
am ff9912d5: Merge "Fix issue #23116383 : Include security patch level in Settings" into mnc-dev
...
* commit 'ff9912d594bc5cdc10a4a224b9a2296bac50851b':
Fix issue #23116383 : Include security patch level in Settings
2015-08-13 00:57:51 +00:00
Dianne Hackborn
9512a85745
am ff9912d5: Merge "Fix issue #23116383 : Include security patch level in Settings" into mnc-dev
...
* commit 'ff9912d594bc5cdc10a4a224b9a2296bac50851b':
Fix issue #23116383 : Include security patch level in Settings
2015-08-13 00:54:35 +00:00
Dianne Hackborn
c3f7449517
Fix issue #23116383 : Include security patch level in Settings
...
Change-Id: I4934c7d26bf69b5c599962cd74ac1e4ea4ad4b51
2015-08-12 16:10:58 -07:00
Dianne Hackborn
908109c1f9
am 0385e3e9: am 8e63bbfd: am efa4dee1: am 977d421a: am f0e5501e: Merge "Fix issue #22989030 : Separate battery whitelists" into mnc-dev
...
* commit '0385e3e908fb9988bb2d2d0d15e32cb6a819b34e':
Fix issue #22989030 : Separate battery whitelists
2015-08-08 02:49:41 +00:00
Dianne Hackborn
0385e3e908
am 8e63bbfd: am efa4dee1: am 977d421a: am f0e5501e: Merge "Fix issue #22989030 : Separate battery whitelists" into mnc-dev
...
* commit '8e63bbfd00ee27fcdbb04cfc0cf96ccdb2c50cc5':
Fix issue #22989030 : Separate battery whitelists
2015-08-07 22:30:17 +00:00
Dianne Hackborn
10faec4bc0
am f0e5501e: Merge "Fix issue #22989030 : Separate battery whitelists" into mnc-dev
...
* commit 'f0e5501e093c688cd293308e0aafc2b55326c255':
Fix issue #22989030 : Separate battery whitelists
2015-08-07 22:06:31 +00:00
Dianne Hackborn
977d421af9
am f0e5501e: Merge "Fix issue #22989030 : Separate battery whitelists" into mnc-dev
...
* commit 'f0e5501e093c688cd293308e0aafc2b55326c255':
Fix issue #22989030 : Separate battery whitelists
2015-08-07 22:06:00 +00:00
Dianne Hackborn
4a503b1ece
Fix issue #22989030 : Separate battery whitelists
...
We now have a new whitelist you can put apps in, which
opts them out of the old battery saver mode and new app idle,
but doesn't keep them from going in to doze. This is for a few
special cases that we had previously whitelisted for battery saver,
and inherited to the new modes... ultimately we should figure out
how to get these apps out of the whitelist completely, but this
will help for now.
Apps in this new whitelist are not shown in the UI, because they
are still significantly restricted by not being able to operate
normally in doze. This also means they are still visible in the
list of all apps for the user to be able to put them on/off the
complete whitelist if that is what they really want.
In the course of doing this, I needed to clean up code in the
network policy manager to better separate management of the
two firewall rules that now have different whitelists applied
to them. This also hopefully just generally simplifies and cleans
up that code. Hopefully!
Change-Id: I92e15f2f85899571dd8b049b5e3eb1354f55f353
2015-08-07 14:23:32 -07:00
Andres Morales
768352fdae
am e0a7cfa0: am 981c4561: am 7ab11e45: am 5fd47543: am 85c73c40: Merge "[UserManager] expose method to retrieve credential owner" into mnc-dev
...
* commit 'e0a7cfa026da56f1197c1feea79f76153c5eddd5':
[UserManager] expose method to retrieve credential owner
2015-08-06 22:54:53 +00:00
Andres Morales
e0a7cfa026
am 981c4561: am 7ab11e45: am 5fd47543: am 85c73c40: Merge "[UserManager] expose method to retrieve credential owner" into mnc-dev
...
* commit '981c456170cbe90a850ee21f3b3efd52de659ec4':
[UserManager] expose method to retrieve credential owner
2015-08-06 22:49:39 +00:00
Andres Morales
84fd6e9733
am 85c73c40: Merge "[UserManager] expose method to retrieve credential owner" into mnc-dev
...
* commit '85c73c40d1fd76e8a7bbd90ab80458082764c1c3':
[UserManager] expose method to retrieve credential owner
2015-08-06 22:31:04 +00:00
Andres Morales
5fd4754310
am 85c73c40: Merge "[UserManager] expose method to retrieve credential owner" into mnc-dev
...
* commit '85c73c40d1fd76e8a7bbd90ab80458082764c1c3':
[UserManager] expose method to retrieve credential owner
2015-08-06 22:30:59 +00:00
Andres Morales
85c73c40d1
Merge "[UserManager] expose method to retrieve credential owner" into mnc-dev
2015-08-06 22:22:17 +00:00
Michael Wright
fd650fec6b
am d239bb5e: am a7b3694c: am b9bdde13: am 1663c75f: am d5a6df6d: Merge "Make the NullVibrator really null." into mnc-dev
...
* commit 'd239bb5ebd80a3a4336759c35388772e9bf1c1dc':
Make the NullVibrator really null.
2015-08-06 14:25:53 +00:00
Michael Wright
d239bb5ebd
am a7b3694c: am b9bdde13: am 1663c75f: am d5a6df6d: Merge "Make the NullVibrator really null." into mnc-dev
...
* commit 'a7b3694c56dfc85a4edbb868815ee3dd0998a5b9':
Make the NullVibrator really null.
2015-08-06 14:18:50 +00:00
Michael Wright
46b7af57d7
am d5a6df6d: Merge "Make the NullVibrator really null." into mnc-dev
...
* commit 'd5a6df6d228036258d616245502c1a4f85ba4b2e':
Make the NullVibrator really null.
2015-08-06 13:59:40 +00:00
Michael Wright
1663c75fa7
am d5a6df6d: Merge "Make the NullVibrator really null." into mnc-dev
...
* commit 'd5a6df6d228036258d616245502c1a4f85ba4b2e':
Make the NullVibrator really null.
2015-08-06 13:58:05 +00:00