Commit Graph

387055 Commits

Author SHA1 Message Date
Anton Hansson
91b54f17c6 Add per-partition build constants to Build class.
Expose the ro.<x>.build.fingerprint & time.utc constants.

Bug: 112584519
Test: manual test app calling getPartitions().
Test: atest BuildVersionTest
Change-Id: Ibec0012d5893e3eb325f46a04379718a11067fa1
2018-10-01 11:41:33 +01:00
Rafal Slawik
aaf608959c Read RSS high watermark
The value is read from /proc/PID/status or memory.max_usage_in_bytes (for devices with per-app memcg enabled).

Reading the value takes about 2ms per process.
Full snapshot taken by statsd is around 300ms.

Results: https://docs.google.com/spreadsheets/d/1vG9ku8Uu8104CmKbO4cNeEKVeeByvHY--p0_dK1GAdA/edit?usp=sharing

Bug: 115477992
Test: atest FrameworksServicesTests
Change-Id: I87995cbd85085375ade685f29e986ba173f9693e
2018-09-26 09:25:01 +00:00
Bernardo Rufino
4fee398440 Merge "[KV] Exceptions for error-handling" 2018-09-26 09:11:20 +00:00
Oleksandr Tolstykh
6b0f8ab157 Merge "Move device default AppError theme to themes_device_defaults.xml for TV and watch UI modes. Minor addition to ag/4994335" 2018-09-26 06:51:07 +00:00
Ming-Shin Lu
f9656d5749 Merge "Support IME Window to show in secondary display (2/N)." 2018-09-26 03:09:15 +00:00
TreeHugger Robot
453e851d1f Merge "Stop WindowTracingTest and WindowStateTests from running in postsubmit" 2018-09-26 00:54:21 +00:00
Jeff Sharkey
960165c0d7 Merge "Recover shady content:// paths." 2018-09-25 23:56:56 +00:00
Hall Liu
b0bc97c95d Merge "Add intdef for Telephony network type constants" am: 544b8efa46 am: 89ec00b622
am: fd56736cd4

Change-Id: Iedc8dd998083161c552089807f58504046c44bd2
2018-09-25 16:55:48 -07:00
vnori
ac2c8a93f0 Merge "Add hidden API to return "Uploading" bit value from SDP record's MapSupportedFeatures." am: 51ec0ebbee am: 33c3ab90e0
am: 7eeb25c5fd

Change-Id: I4332451282d17e698e3f652e94f1b2463071e8a8
2018-09-25 16:47:37 -07:00
Hall Liu
fd56736cd4 Merge "Add intdef for Telephony network type constants" am: 544b8efa46
am: 89ec00b622

Change-Id: I95d0f9f62b4b9597cef50b1d8a9e23df09831720
2018-09-25 16:39:13 -07:00
Android Build Merger (Role)
f3c922b667 Merge changes from topic "am-b27082e439c548f5839254a467a6bb58"
* changes:
  Merge "Show "Call Blocking disabled" notification always when emergency call" am: 6fa8bcb841 am: b869100b2a am: a86151a911
  Merge "Show "Call Blocking disabled" notification always when emergency call" am: 6fa8bcb841 am: b9f2d0a570
  Show "Call Blocking disabled" notification always when emergency call am: 638d11e0bb am: db6110d9a9
2018-09-25 23:34:03 +00:00
Youming Ye
c97ed07aff Merge "Show "Call Blocking disabled" notification always when emergency call" am: 6fa8bcb841 am: b869100b2a
am: a86151a911

Change-Id: I8929b804d4bd8d9ee2fdbefeb5e7827a8b5e6c07
2018-09-25 16:33:09 -07:00
TreeHugger Robot
734395e258 Merge "Update back arrow for settings" 2018-09-25 23:30:13 +00:00
Youming Ye
122b305cd7 Merge "Show "Call Blocking disabled" notification always when emergency call" am: 6fa8bcb841
am: b9f2d0a570

Change-Id: I51d3391ed5e61ba92b13349c91be01a54b08e7eb
2018-09-25 16:26:26 -07:00
vnori
7eeb25c5fd Merge "Add hidden API to return "Uploading" bit value from SDP record's MapSupportedFeatures." am: 51ec0ebbee
am: 33c3ab90e0

Change-Id: I05c8550bfece64e52a52f580f73d873a4a9851d8
2018-09-25 16:22:08 -07:00
Kikkawa Shohei
15fa5d1660 Show "Call Blocking disabled" notification always when emergency call am: 638d11e0bb
am: db6110d9a9

Change-Id: I0203a7fabe0ec0cc39645d0aaae526a913a69854
2018-09-25 16:21:00 -07:00
Hall Liu
89ec00b622 Merge "Add intdef for Telephony network type constants"
am: 544b8efa46

Change-Id: I28b2eda8004c5807b454918f98542e098f9718d5
2018-09-25 16:20:58 -07:00
Dan Shi
e8229473a0 Stop WindowTracingTest and WindowStateTests from running in postsubmit
Bug: 116597907
Test: None
Change-Id: I5f7f76053f62dc48aa0e2045f8bf5f76e7563fbe
2018-09-25 16:14:56 -07:00
vnori
33c3ab90e0 Merge "Add hidden API to return "Uploading" bit value from SDP record's MapSupportedFeatures."
am: 51ec0ebbee

Change-Id: I9df4af670df12ac2cd379c3bbee15e63b95bbf49
2018-09-25 16:14:19 -07:00
Youming Ye
a86151a911 Merge "Show "Call Blocking disabled" notification always when emergency call" am: 6fa8bcb841
am: b869100b2a

Change-Id: I1e7bf664c0ad3bc5a8fd380b910264891b35edbe
2018-09-25 16:13:30 -07:00
Youming Ye
b9f2d0a570 Merge "Show "Call Blocking disabled" notification always when emergency call"
am: 6fa8bcb841

Change-Id: Ieb50b3b4edbc3763f72e948af03daf10472eb2e7
2018-09-25 16:08:00 -07:00
TreeHugger Robot
a810c7efe4 Merge "Add metrics constants for notification adjustments" 2018-09-25 23:07:16 +00:00
Chen Xu
78abf0dffa Merge "expose getIsimDomain to systemAPI" am: 56d40d3c78 am: 2b38567586
am: 42c4682c15

Change-Id: I2c0427aec41b818f9bbccb6bf95920a644ae53d4
2018-09-25 16:04:26 -07:00
Kikkawa Shohei
db6110d9a9 Show "Call Blocking disabled" notification always when emergency call
am: 638d11e0bb

Change-Id: I58e99f80e661183aa831c8157f33b8ba6e656278
2018-09-25 16:03:52 -07:00
Youming Ye
b869100b2a Merge "Show "Call Blocking disabled" notification always when emergency call"
am: 6fa8bcb841

Change-Id: I14ea5a138db3b26bc043897ae0a65144bdd0a8ec
2018-09-25 15:54:45 -07:00
TreeHugger Robot
e224120377 Merge "Add PermissionManager exposing SPLIT_PERMISSIONS" 2018-09-25 22:53:51 +00:00
Android Build Merger (Role)
edfdc8eb7c Merge "[automerger skipped] Merge "Update the reference profile from .dm files only during installs" am: 23bc5ea51b am: 3e5eded4f1 am: d5a4381801 -s ours" 2018-09-25 22:49:29 +00:00
Calin Juravle
54fed2d386 [automerger skipped] Merge "Update the reference profile from .dm files only during installs" am: 23bc5ea51b am: 3e5eded4f1
am: d5a4381801  -s ours

Change-Id: I42fbdf4e13e2eb4328e95c5396f6b0c6118d1a8b
2018-09-25 15:49:00 -07:00
Lucas Dupin
e0f7f211d5 Merge "Debug hook for changing display brightness" 2018-09-25 22:46:15 +00:00
Hall Liu
544b8efa46 Merge "Add intdef for Telephony network type constants" 2018-09-25 22:45:39 +00:00
Chen Xu
42c4682c15 Merge "expose getIsimDomain to systemAPI" am: 56d40d3c78
am: 2b38567586

Change-Id: If5313657b5095d668abc8af7de2c99594372a89b
2018-09-25 15:45:33 -07:00
vnori
51ec0ebbee Merge "Add hidden API to return "Uploading" bit value from SDP record's MapSupportedFeatures." 2018-09-25 22:35:58 +00:00
Chen Xu
2b38567586 Merge "expose getIsimDomain to systemAPI"
am: 56d40d3c78

Change-Id: Ie97f07f30ad16eef2b1e98d233fbe40d248402f2
2018-09-25 15:34:10 -07:00
Calin Juravle
d5a4381801 Merge "Update the reference profile from .dm files only during installs" am: 23bc5ea51b
am: 3e5eded4f1

Change-Id: I3ffa82a07004ce9d19abd70cbd8db4438036e420
2018-09-25 15:30:44 -07:00
Youming Ye
6fa8bcb841 Merge "Show "Call Blocking disabled" notification always when emergency call" 2018-09-25 22:29:39 +00:00
Calin Juravle
3e5eded4f1 Merge "Update the reference profile from .dm files only during installs"
am: 23bc5ea51b

Change-Id: Ia905bf18228eaf94d5b1d8ec8703b2cdd3473fd7
2018-09-25 15:22:12 -07:00
Chen Xu
56d40d3c78 Merge "expose getIsimDomain to systemAPI" 2018-09-25 22:14:34 +00:00
Hall Liu
abdaf5b51f Merge "Add the EMBMS group call API" am: 52a8fdb7bd am: 6c6c859c6a
am: 210a4862f6

Change-Id: I3e7f4f0feb7b675a5870b9367fe788f58246d6fa
2018-09-25 15:02:39 -07:00
Calin Juravle
23bc5ea51b Merge "Update the reference profile from .dm files only during installs" 2018-09-25 22:00:00 +00:00
Hall Liu
210a4862f6 Merge "Add the EMBMS group call API" am: 52a8fdb7bd
am: 6c6c859c6a

Change-Id: I7e98519115c67eaa49694a3514b80fc54afcc17b
2018-09-25 14:47:25 -07:00
Vasu Nori
694752d5b9 Add hidden API to return "Uploading" bit value from SDP record's MapSupportedFeatures.
Bug: 111614861
Test: tested w/ KitchenSink App
Change-Id: I43895183d7b315f57257e1d2045f17dedcb0cfcd
2018-09-25 21:39:31 +00:00
Fan Zhang
6b38a2cc35 Update back arrow for settings
Bug: 116360411
Test: visual
Change-Id: I9e130ae97d0688680fe4e8f6a38721a5c151787d
2018-09-25 14:30:09 -07:00
Nicole Borrelli
2bfca321cc Merge "Fix malformed Javadoc." into pi-dev am: 3ae3f252b4
am: 3d54533e52

Change-Id: I8940755ed359d4fcf6683c59c0e501c11faa4559
2018-09-25 14:24:28 -07:00
Hall Liu
6c6c859c6a Merge "Add the EMBMS group call API"
am: 52a8fdb7bd

Change-Id: Id9bf8b76532001c56e12633d882357e8757202d6
2018-09-25 14:22:45 -07:00
Nicole Borrelli
3d54533e52 Merge "Fix malformed Javadoc." into pi-dev
am: 3ae3f252b4

Change-Id: Iea60c213e70a8878baeb59b9247ae4bf0eaf5a8d
2018-09-25 14:06:49 -07:00
TreeHugger Robot
e8931110a0 Merge "Look for apps in the proper user" 2018-09-25 20:54:14 +00:00
Philip P. Moltmann
039678e13f Add PermissionManager exposing SPLIT_PERMISSIONS
The Permission Controller app (a mainline module) needs to be able to
read the SPLIT_PERMISSIONS. Hence this array needs to be exposed at
least as system-api. We need to make sure that the PackageParser,
PackageManager and Permission Controller app agree on which permissions
are split, hence it is best to define them at a single location.

I think exposing the split permissions to developers is useless and
potentially confusing. The app should never request a permission that
was split. The app should just behave as if split permissions do not
exist. The Permission Controller / Package Manager deal with the
split permissions and add them when needed. Hence I don't think we
should expose this data to 3rd parties.

Bug: 110953302
Test: requested permissions
Change-Id: I6951c52979c89ee5c13a4a14da125e1a01f2e234
2018-09-25 13:48:11 -07:00
TreeHugger Robot
3ae3f252b4 Merge "Fix malformed Javadoc." into pi-dev 2018-09-25 20:42:50 +00:00
Hall Liu
52a8fdb7bd Merge "Add the EMBMS group call API" 2018-09-25 20:38:23 +00:00
TreeHugger Robot
14de37e614 Merge "Add notification atom to atoms.proto" 2018-09-25 20:38:18 +00:00