Ricky Wai
486d760e6b
Pass bind mount storage data decision from java to zygote
...
Before we used store dirty data in system property to record
if FUSE for a user is mounted, and zygote uses it to determine
if storage mount is needed. It introduces performance issues and
not reliable.
This CL does the following changes:
- System server determines if storage dirs mount are needed, and store
the record inside system server.
- It passes the verdict to zygote so zygote just need to follow the
input.
- When emulated storage is mounted / unmounted, it will record if
FUSE for that user is ready to use, and will be used for determining
if storage dirs mount are needed when a new process starts.
- After emulated storage is mounted, it will create an async thread
to remount all storage dirs for existing app processes. As we have a
record of pids that storage dirs are not mounted yet, we can use it
directly without scanning the whole /proc in vold.
Bug: 149548518
Test: After flag is enabled, AdoptableHostTest still pass.
Change-Id: Ic99d027d42b2b9a1c7fd03070b36c44882c6e7c5
2020-03-12 19:36:26 +00:00
..
2020-03-05 10:34:24 -08:00
2020-01-13 12:39:59 +00:00
2020-02-24 17:13:20 +08:00
2020-03-04 19:50:44 -08:00
2020-03-12 19:36:26 +00:00
2020-02-20 01:29:25 +00:00
2020-01-14 17:03:06 -08:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2020-02-14 13:43:53 -08:00
2019-11-05 09:13:07 -08:00
2020-01-13 12:39:59 +00:00
2019-08-29 17:15:44 -07:00
2020-01-13 12:39:59 +00:00
2020-03-05 10:34:24 -08:00
2020-03-06 10:23:02 -08:00
2020-03-10 11:50:00 -07:00
2020-01-13 12:39:59 +00:00
2020-02-28 17:14:48 +00:00
2020-02-06 10:50:43 +00:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2019-10-17 23:42:06 +00:00
2020-02-19 16:25:25 -08:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2020-03-10 11:47:56 +00:00
2020-01-30 11:30:04 -08:00
2020-01-15 16:15:41 -08:00
2020-02-19 14:45:12 -08:00
2020-01-29 21:29:56 -08:00
2020-01-13 12:39:59 +00:00
2020-01-17 11:27:41 -08:00
2020-02-28 13:01:24 -08:00
2020-01-13 12:39:59 +00:00
2019-11-21 15:19:47 -08:00
2020-01-27 13:19:46 +00:00
2020-01-13 12:39:59 +00:00
2020-02-04 22:58:57 +00:00
2020-01-08 14:16:54 -08:00
2020-01-14 16:45:33 -08:00
2020-01-14 16:45:33 -08:00
2020-01-21 18:34:18 -08:00
2019-08-29 17:15:44 -07:00
2019-11-19 15:05:35 +00:00
2020-03-06 10:08:30 -08:00
2020-01-07 08:18:02 -08:00
2020-01-07 15:17:40 -08:00
2020-02-19 16:25:25 -08:00
2020-01-27 20:14:59 +00:00
2019-10-17 15:23:23 -07:00
2020-02-11 00:02:37 +00:00
2020-02-11 00:02:37 +00:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2020-02-11 00:02:37 +00:00
2019-10-04 17:58:36 -07:00
2020-02-24 22:22:13 +00:00
2020-01-13 12:39:59 +00:00
2020-03-06 14:42:00 -07:00
2020-01-13 12:39:59 +00:00
2019-12-05 11:28:11 -08:00
2020-01-13 12:39:59 +00:00
2020-01-09 00:33:44 +00:00
2020-03-03 17:03:04 -08:00
2020-03-06 10:08:30 -08:00
2020-03-12 19:36:26 +00:00
2020-02-20 01:29:25 +00:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2019-11-30 10:06:23 +00:00
2020-01-20 19:17:39 -08:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2019-08-29 17:15:44 -07:00
2020-02-07 12:27:07 -05:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2020-02-11 16:26:18 -08:00
2020-02-20 01:29:25 +00:00
2020-01-13 12:39:59 +00:00
2020-01-07 15:17:40 -08:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2020-02-11 00:02:37 +00:00
2020-01-27 16:11:05 +08:00
2020-02-19 16:25:25 -08:00
2020-02-04 21:21:34 +00:00
2020-02-12 17:35:15 +00:00
2019-09-26 16:45:43 -07:00
2020-01-13 12:39:59 +00:00
2020-03-04 11:38:59 -08:00
2020-01-03 13:08:46 -08:00
2020-01-13 12:39:59 +00:00
2020-01-13 12:39:59 +00:00
2020-02-20 20:35:44 +00:00
2020-01-06 16:16:27 +00:00
2020-01-29 13:00:41 -08:00
2020-01-27 18:53:55 +00:00
2020-01-27 18:53:55 +00:00
2020-02-11 00:02:37 +00:00
2019-12-18 16:30:07 -08:00
2020-01-29 15:32:27 -08:00
2020-03-12 19:36:26 +00:00