Commit Graph

6907 Commits

Author SHA1 Message Date
Bookatz
07758e3970 More precise argument name in isGuestUser
The 'int id' refers to a userId.

Test: treehugger
Change-Id: I9f5aad8acdc82e078227c5b39ffb108084531dec
2019-11-19 17:16:08 -08:00
Zimuzo Ezeozue
a56baba8cb Merge "Support a mount mode to bypass FUSE on /storage" 2019-09-25 12:29:38 +00:00
Zim
74a9bbae98 Support a mount mode to bypass FUSE on /storage
When Zygote forks a process with the MOUNT_MODE_PASS_THROUGH
flag, bind mount the pass_through path into /storage for the
process, allowing the process to bypass FUSE.

Bug: 140064376
Test: cat /proc/<pid of app with pass_through flag>/mountinfo shows
the lower fs bind mounted directly on /storage

Change-Id: Ia212c2c71ecfdc1629739ca8af171f332ccfca72
2019-09-25 13:05:30 +01:00
Jiyong Park
f82d3672b1 Merge "Add documentation for *.sysprop" am: 1ae4c5b781 am: 912fabb3e3 am: b5856c3829
am: 0b08ec7040

Change-Id: I7bd95a88ea4873e7ac65c145f11b16a4d2417fb5
2019-09-24 20:49:33 -07:00
Jiyong Park
0b08ec7040 Merge "Add documentation for *.sysprop" am: 1ae4c5b781 am: 912fabb3e3
am: b5856c3829

Change-Id: If87c23e87ae3369bb953109382ce60d2dd02a0e1
2019-09-24 20:41:26 -07:00
Jiyong Park
b5856c3829 Merge "Add documentation for *.sysprop" am: 1ae4c5b781
am: 912fabb3e3

Change-Id: Ib8503fccf2aaef7ba98c1887b2f96651fbead68a
2019-09-24 20:33:25 -07:00
Jiyong Park
912fabb3e3 Merge "Add documentation for *.sysprop"
am: 1ae4c5b781

Change-Id: Ia7dea21a6a0e1cfa1af858cc4b1155687c7a092b
2019-09-24 20:25:24 -07:00
Treehugger Robot
1ae4c5b781 Merge "Add documentation for *.sysprop" 2019-09-25 03:01:21 +00:00
Chen Xu
a56786981e Merge "new TelephonyRegistryManager" 2019-09-24 18:32:48 +00:00
Jiyong Park
09c730b197 Add documentation for *.sysprop
Bug: 141246285
Test: N/A
Change-Id: Ia90dd8fc75a9caa3b90c4e3adfb1252a5b1c19c4
2019-09-24 14:52:36 +09:00
Mike Ma
262a3b0009 Merge "Add an API to dump incident report for dumpstate" am: a11beeca12 am: af1f91a133
am: 3343814a57

Change-Id: I2d4bfdf8537adf1541a78c264a36f95e1384af71
2019-09-23 21:40:26 -07:00
Mike Ma
3343814a57 Merge "Add an API to dump incident report for dumpstate" am: a11beeca12
am: af1f91a133

Change-Id: If72f5dbe140ea5746288204e0de5275087d7709d
2019-09-23 21:28:02 -07:00
Mike Ma
af1f91a133 Merge "Add an API to dump incident report for dumpstate"
am: a11beeca12

Change-Id: If5ca98de9a5a85ae6e2aff90224a80e925ea419c
2019-09-23 21:17:34 -07:00
Mike Ma
a11beeca12 Merge "Add an API to dump incident report for dumpstate" 2019-09-24 01:07:25 +00:00
Mike Ma
15f83a3118 Add an API to dump incident report for dumpstate
Instead of just relying on the regular iteration through the system
services inside dumpstate, add another API to IIncidentManager
dedicated for dumpstate.

- It is only callable by dumpstate() (check the calling uid)
- It has the same behavior as the current call inside dump()

Advantages:
- More explicit function name, right next to takeIncidentReport will
  make it easier to keep them in sync.
- Nobody else can call it, make security easier.
- If dumpstate calls it explicitly, it can skip the 10 second timeout
- The regular dump() call should provide debugging data about
  incidentd itself, for example timestamps for the most recent N
  incident reports taken and the current state of the work directory,
  allowing us to debug incidentd itself.

Bug: 137493082
Test: Manually trigger a bug report, and verify
      /proto/incident_log.proto in the zip file.

Change-Id: I19139c765b53ede63d3beb3ea3ac40ada1aba42d
Merged-In: I19139c765b53ede63d3beb3ea3ac40ada1aba42d
2019-09-23 16:20:53 -07:00
Chen Xu
288b71c8c1 new TelephonyRegistryManager
today telephonyRegistry lives in system process
this is intended to persists all telephony listeners when
phone process crash. Telephony today notify system server by
using AIDL APIs directly. Instead, we are exposing a proper API
surface: telephonyRegistryManager where only phone app and
carrier privileged apps are allowed to use APIs in
TelephonyRegistryManger to notify telephony related status update.

Bug: 140908357
Test: Build & Manaul
Change-Id: I1b750751148925b4a7bd94553318907654012fc1
2019-09-22 19:56:39 -07:00
Tom Cherry
60311e153f Merge "Document that SystemProperties.set() can throw RuntimeException" am: 6265eea819 am: 14a2b65e4e am: f5269ed927
am: 1a8cd03fbc

Change-Id: I05c785b6f4d653c6f7911765bd2e2b9043488f1a
2019-09-19 23:59:07 -07:00
Tom Cherry
1a8cd03fbc Merge "Document that SystemProperties.set() can throw RuntimeException" am: 6265eea819 am: 14a2b65e4e
am: f5269ed927

Change-Id: I1e6bf1c0e745bb9ed6e5a27ab7285d3dcd650d80
2019-09-19 23:47:30 -07:00
Tom Cherry
f5269ed927 Merge "Document that SystemProperties.set() can throw RuntimeException" am: 6265eea819
am: 14a2b65e4e

Change-Id: I2bd65693f397c89970ac89187d3206c22b3af5ac
2019-09-19 23:29:49 -07:00
Tom Cherry
14a2b65e4e Merge "Document that SystemProperties.set() can throw RuntimeException"
am: 6265eea819

Change-Id: I78f7ad0a127e90b1511d2512f555e264547ec810
2019-09-19 23:17:26 -07:00
Treehugger Robot
6265eea819 Merge "Document that SystemProperties.set() can throw RuntimeException" 2019-09-20 05:53:03 +00:00
TreeHugger Robot
5cb2cffb89 Merge "Add comment that mWrapped ==> mClosed" 2019-09-19 23:47:06 +00:00
Tom Cherry
39373b2e81 Document that SystemProperties.set() can throw RuntimeException
Bug: 140148206
Test: n/a
Change-Id: I32df2ed4979edcc0d9abc46830ebd3defc431c57
2019-09-19 08:41:44 -07:00
Victor Hsieh
1ee0eecf66 Merge "Mirror fs-verity ownership UID to Java" am: d6b817cd51 am: 9b83a708c7 am: 1863e70b22
am: 24c2c60951

Change-Id: Ia8e7e81bda8ea2d7b71d9790b2a9a69f9f84fd4a
2019-09-18 18:34:23 -07:00
Victor Hsieh
24c2c60951 Merge "Mirror fs-verity ownership UID to Java" am: d6b817cd51 am: 9b83a708c7
am: 1863e70b22

Change-Id: I8d5669350ff2d000957e2c603f6b9ab255bbdade
2019-09-18 18:27:18 -07:00
Victor Hsieh
1863e70b22 Merge "Mirror fs-verity ownership UID to Java" am: d6b817cd51
am: 9b83a708c7

Change-Id: I7b2abbeebb247b1690d0692151739d4428f9a7b0
2019-09-18 18:15:40 -07:00
Victor Hsieh
9b83a708c7 Merge "Mirror fs-verity ownership UID to Java"
am: d6b817cd51

Change-Id: I996e62ddb8b8c24d9af52cf870e670986a0aa0a6
2019-09-18 18:04:36 -07:00
Victor Hsieh
3c68afee05 Mirror fs-verity ownership UID to Java
This has been done in system/core, so mirroring for later use.
https://android-review.googlesource.com/c/platform/system/core/+/1115493

Test: compile
Bug: 112038744
Change-Id: I2d7f5d38caae0b6ada1f208b3d71d937d527716e
2019-09-18 14:33:54 -07:00
Yifan Hong
08d33aaa0f Merge "VintfObject: Fix getHalNamesAndVersions doc" am: bc45ac13ef am: c109452058 am: 6479d51ebb
am: 31e27a148b

Change-Id: Iaf68cfe3d73763bab5e84cd56b495b96c5cf6f1e
2019-09-16 18:03:43 -07:00
Yifan Hong
31e27a148b Merge "VintfObject: Fix getHalNamesAndVersions doc" am: bc45ac13ef am: c109452058
am: 6479d51ebb

Change-Id: I02cc8fda3340dc600d66e11c9f4077f062823d9c
2019-09-16 17:50:34 -07:00
Yifan Hong
6479d51ebb Merge "VintfObject: Fix getHalNamesAndVersions doc" am: bc45ac13ef
am: c109452058

Change-Id: Ib83cfbbc8eec71394f87d3c2cd9b61b18796ba4a
2019-09-16 17:38:00 -07:00
Yifan Hong
c109452058 Merge "VintfObject: Fix getHalNamesAndVersions doc"
am: bc45ac13ef

Change-Id: I5148b0071b51cdcc0cc1ed1e2ac5c5e89be61b53
2019-09-16 17:19:58 -07:00
Yifan Hong
bc45ac13ef Merge "VintfObject: Fix getHalNamesAndVersions doc" 2019-09-16 23:58:51 +00:00
Tao Bao
2a0b7e3405 Merge "Add nullability anotations" am: 7e3b406f26 am: 8123e5cc50 am: d4897c7dbf
am: 73babb3463

Change-Id: I9d7b7ab9768872456f05f6e3ebfe7707f7f18dbe
2019-09-13 11:07:25 -07:00
Tao Bao
73babb3463 Merge "Add nullability anotations" am: 7e3b406f26 am: 8123e5cc50
am: d4897c7dbf

Change-Id: I348616ab3034bddbba66abcc815e0e0cff029a3f
2019-09-13 10:56:22 -07:00
Tao Bao
d4897c7dbf Merge "Add nullability anotations" am: 7e3b406f26
am: 8123e5cc50

Change-Id: Id776e88e7669f78d845c77b80ad1d671efa08f71
2019-09-13 10:41:54 -07:00
Tao Bao
8123e5cc50 Merge "Add nullability anotations"
am: 7e3b406f26

Change-Id: I65423d6c48c93396dff54adf3f8c661ae2788686
2019-09-13 10:28:21 -07:00
Kyeongkab.Nam
77f1aac15d Add nullability anotations
Add missing nullability for applyPayload.

Test: manual
Change-Id: Iafce9091767bd7a31937b0be329ede6639239d73
2019-09-12 11:33:39 +09:00
Ying Zheng
215116f8cb Not support flag primary in headless system user mode for now.
Test: build
Bug: 139950070
Change-Id: I5b06cb857fa1917f479c3018963970743b211087
2019-09-11 14:04:13 -07:00
Yifan Hong
0cdba3256c VintfObject: Fix getHalNamesAndVersions doc
Test: CTS device info collect
Bug: 140832836
Change-Id: Iddc3c36d15370baa661e485b76c490a5d2b7815c
2019-09-11 11:07:43 -07:00
Varun Shah
7fcf86ed49 Merge "Use language tags to store Configuration's locale list." into qt-dev am: 6dfa267f91 am: 6947f255e4
am: 667db1bea5

Change-Id: I0700617e4f639f3e03a793419b9e16590c328ad6
2019-09-10 23:42:08 -07:00
Varun Shah
667db1bea5 Merge "Use language tags to store Configuration's locale list." into qt-dev am: 6dfa267f91
am: 6947f255e4

Change-Id: Ic1954896252b758e8360c7fdf7cdeddb184bab03
2019-09-10 23:36:07 -07:00
Varun Shah
019d50c70b Merge "Use language tags to store Configuration's locale list." into qt-dev am: 6dfa267f91
am: 6947f255e4

Change-Id: Iaf75fc18cc7f49249bf03bb0836438a42c9c5241
2019-09-10 23:36:05 -07:00
Varun Shah
6947f255e4 Merge "Use language tags to store Configuration's locale list." into qt-dev
am: 6dfa267f91

Change-Id: Ia7f30abab7396bc36eb2d69990129143601b028b
2019-09-10 23:29:10 -07:00
Varun Shah
5e67462971 Use language tags to store Configuration's locale list.
Instead of storing each Locale within a Configuration object's locale
list by its language, country, variant, and script to proto, store the
entire locale list by its language tags representation which accurately
describes each locale.

Bug: 140197723
Test: atest ConfigurationTest
Test: atest UsageStatsDatabaseTest
Test: manually with bad data
Merged-In: I53946ed4e31de0ffe9c84875c391a7dec6f5375a
Change-Id: Idaae690f79a5c680ad0059a52be62160d9dfb5e7
2019-09-10 19:53:57 +00:00
Varun Shah
bd0ce4d42f Use language tags to store Configuration's locale list.
Instead of storing each Locale within a Configuration object's locale
list by its language, country, variant, and script to proto, store the
entire locale list by its language tags representation which accurately
describes each locale.

Bug: 140197723
Test: atest ConfigurationTest
Test: atest UsageStatsDatabaseTest
Test: manually with bad data
Change-Id: I53946ed4e31de0ffe9c84875c391a7dec6f5375a
2019-09-10 15:51:37 -04:00
Colin Cross
ca4f16d099 Merge "Revert "Use language tags to store Configuration's locale list."" into qt-dev am: dd67a548b2 am: 18bf694f3c
am: c09f17d559

Change-Id: I6d503556ea8e7d02a4f2dfa127fe376880e21666
2019-09-10 12:43:01 -07:00
Colin Cross
fb5d404e5b Merge "Revert "Use language tags to store Configuration's locale list."" into qt-dev am: dd67a548b2
am: 18bf694f3c

Change-Id: I18e699541953e0cae3012e1c673e4f7b67c66370
2019-09-10 12:36:03 -07:00
Colin Cross
c09f17d559 Merge "Revert "Use language tags to store Configuration's locale list."" into qt-dev am: dd67a548b2
am: 18bf694f3c

Change-Id: I9481fb2063b8a38a86dd52867c4c9ad52e9b8c7a
2019-09-10 12:36:03 -07:00
Colin Cross
18bf694f3c Merge "Revert "Use language tags to store Configuration's locale list."" into qt-dev
am: dd67a548b2

Change-Id: I0aaee5386c85bf33b292cfa9241c3a0c62dedd29
2019-09-10 12:29:07 -07:00