Commit graph

58207 commits

Author SHA1 Message Date
Ruchir Rastogi
d430c85c52 Merge "Delete stats_event_list from libstatssocket" 2020-02-15 01:34:34 +00:00
TreeHugger Robot
ea37af2c62 Merge "AStatsEvent_overwriteTimestamp" 2020-02-14 23:11:48 +00:00
TreeHugger Robot
346e73b00a Merge "Revert "Explicitly disable FUSE"" 2020-02-14 22:01:23 +00:00
Ruchir Rastogi
e1cff24259 Delete stats_event_list from libstatssocket
This change is done in internal master because the flag has not been
switched in AOSP, so stats_event_list is still being used there.

Test: m -j
Bug: 145573568
Change-Id: Ica525d0fd731b8d3e9d273ce2220a3d3179d93d9
2020-02-14 13:34:10 -08:00
Suren Baghdasaryan
8136531529 Merge "libprocessgroup: Prevent SetProcessProfiles from using cached fd" am: e6f2b7d884 am: 9b2ef5c7db am: 178a102a4f
Change-Id: Ic119b8d02695f9bcb1a1fae2cccb689c8fe6dc5d
2020-02-14 21:07:12 +00:00
Suren Baghdasaryan
178a102a4f Merge "libprocessgroup: Prevent SetProcessProfiles from using cached fd" am: e6f2b7d884 am: 9b2ef5c7db
Change-Id: I8864137ea3ff86597a54cec31c8cc17d6dc2474b
2020-02-14 20:47:40 +00:00
Suren Baghdasaryan
9b2ef5c7db Merge "libprocessgroup: Prevent SetProcessProfiles from using cached fd" am: e6f2b7d884
Change-Id: If0c41894534a2b5b42ba2febac0c6d0bfb517c64
2020-02-14 20:34:28 +00:00
Suren Baghdasaryan
e6f2b7d884 Merge "libprocessgroup: Prevent SetProcessProfiles from using cached fd" 2020-02-14 20:17:39 +00:00
Mark Salyzyn
cc7cf4fa5a Merge changes I5b4a87d6,I131315d4 am: 48c0de4907 am: 0bfe8df121 am: cf044e0f1c
Change-Id: Id86b51c063544d6f65eb1c2a88d5646f4f2ab856
2020-02-14 20:12:28 +00:00
Mark Salyzyn
cf044e0f1c Merge changes I5b4a87d6,I131315d4 am: 48c0de4907 am: 0bfe8df121
Change-Id: Id05a84d2584926d60ab5e5248348b835788a63e4
2020-02-14 19:54:56 +00:00
Howard Ro
f8e70a5bf8 Merge "Expose AStatsSocket_close() from the statsd apex" 2020-02-14 19:43:21 +00:00
Mark Salyzyn
0bfe8df121 Merge changes I5b4a87d6,I131315d4 am: 48c0de4907
Change-Id: I83a35efa9a1b5115a6203a4ab1d4bf177097b657
2020-02-14 19:35:17 +00:00
Mark Salyzyn
48c0de4907 Merge changes I5b4a87d6,I131315d4
* changes:
  fs_mgr: overlayfs: test: if wait_for_screen times out, skip later
  fs_mgr: remount: add -v option
2020-02-14 19:20:23 +00:00
Mark Salyzyn
f7aa5403c5 fs_mgr: overlayfs: test: if wait_for_screen times out, skip later
To improve the test period for adb-remount-test.sh, if the device
fails to get to the launcher on the first try when wait_for_screen,
then print a warning to skip all later wait_for_screen conditions.

The wait_for_screen testing is really there to deal with first
confirming that the device is capable of getting to the launcher,
and that later tests that influence corners of adb remount behavior
do not result in a failure to get to the launcher screen.  The
developer should look into ways to fix the failure to get to the
launcher on the first try, but failure to do so should have no
bearing on the remaining tests, so dropping the wait_for_screen
functionality is not an issue.

Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Test: adb-remount-test.sh
Bug: 148881519
Change-Id: I5b4a87d6e1f545a304eb74f2114aadd1128f25b3
2020-02-14 11:19:35 -08:00
Mark Salyzyn
ba2449b6ca fs_mgr: remount: add -v option
By default print only ERROR message, or messages without a source
(eg: [fs_mgr]) library.  Print all messages to stderr if the -v
option is added.  Always log all messages to the Android logger.

Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Test: adb-remount-test.sh
Change-Id: I131315d4bae6ed29991043033811cf22e6032f8b
2020-02-14 11:19:35 -08:00
Ruchir Rastogi
e41a6c621c AStatsEvent_overwriteTimestamp
Create a function to overwrite timestamp for LogEvent tests. This
function is not exposed outside of the APEX.

Test: bit libstatssocket_test:*
Change-Id: Id0eac485af60e952cc700f7d1231b1b971400982
2020-02-14 10:56:49 -08:00
Joshua Duong
450d6e42b0 Merge changes from topic "adbwifi-syscore-base" am: fd8b4ea996 am: 2f7c2255fa am: 59fd702f01
Change-Id: Idd6ef31368cf99986b040c113b980c914b339211
2020-02-14 18:20:20 +00:00
Joshua Duong
59fd702f01 Merge changes from topic "adbwifi-syscore-base" am: fd8b4ea996 am: 2f7c2255fa
Change-Id: I4b2469bd24c51f718fd15b842a311926a82925f5
2020-02-14 18:10:23 +00:00
Joshua Duong
2f7c2255fa Merge changes from topic "adbwifi-syscore-base" am: fd8b4ea996
Change-Id: I73acdd19a9cad040c0e63606f480e9c101ec1544
2020-02-14 17:57:02 +00:00
Joshua Duong
fd8b4ea996 Merge changes from topic "adbwifi-syscore-base"
* changes:
  [adbwifi] Add tls_connection library.
  Move adb RSA utilities into its own library.
  [adbwifi] Add adb protos.
2020-02-14 17:42:40 +00:00
Joshua Duong
4293e322f2 [adbwifi] Add tls_connection library.
Bug: 111434128, 119494503, 119493510

Test: atest adb_tls_connection_test
Exempt-From-Owner-Approval: yolo?
Change-Id: Ie9b629e4cb955702cec890bbb89a6a762e4b71b3
2020-02-14 17:41:36 +00:00
Treehugger Robot
a4fd4cb903 Merge "Consume design capacity in health HAL 2.1" am: c7b92ea120 am: d6e4da1fec am: 7379e27d9b
Change-Id: Ia03cf26cda6069b3969a2d2a2c65cda7e8f1400a
2020-02-14 06:23:04 +00:00
Treehugger Robot
7379e27d9b Merge "Consume design capacity in health HAL 2.1" am: c7b92ea120 am: d6e4da1fec
Change-Id: Ib035de068579c679e191fbfa0a24668f4425f36b
2020-02-14 02:09:11 +00:00
Treehugger Robot
d6e4da1fec Merge "Consume design capacity in health HAL 2.1" am: c7b92ea120
Change-Id: Iedba862c1ca0a001b2262bf07ddc58beef2a5d37
2020-02-14 01:55:50 +00:00
Suren Baghdasaryan
911109c414 libprocessgroup: Prevent SetProcessProfiles from using cached fd
Because we cache file descriptors associated with cgroup "tasks" file it
should not be used with SetProcessProfiles API which operates on entire
processes rather than tasks. Change SetProcessProfiles API to prevent
cache fd usage, modify ExecuteForProcess to not attempt to use cached
fd. Also fix unconditional calls to EnableResourceCaching from
ExecuteForTask which should be called only when SetTaskProfiles is used
with use_fd_cache set to true.

Bug: 149524788
Change-Id: I880efaf8217a4dd7ccfbb4fb167b2295cefc057a
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2020-02-14 01:42:11 +00:00
Treehugger Robot
c7b92ea120 Merge "Consume design capacity in health HAL 2.1" 2020-02-14 01:35:16 +00:00
Jeffrey Huang
762e941e25 Merge "Add apex available to liblog" am: fd73daa049 am: 97b4d62ed4 am: 573364d31e
Change-Id: I75927884aa5fd7c6e2a3ef2705c56805df7b8260
2020-02-14 01:30:41 +00:00
Jeffrey Huang
573364d31e Merge "Add apex available to liblog" am: fd73daa049 am: 97b4d62ed4
Change-Id: Ie80b46dfe95ded83ab3796822f23a06b99ff9e44
2020-02-14 01:14:13 +00:00
Jeffrey Huang
97b4d62ed4 Merge "Add apex available to liblog" am: fd73daa049
Change-Id: Ieeef95dbe8339d3d343c9bf21724cfaa1859be1f
2020-02-14 00:57:49 +00:00
Treehugger Robot
6f21f8212d Merge "Preserving /avb/* keys to /metadata" am: 05aff5b211 am: 1632564c64 am: 008b55fbad
Change-Id: I2a316bdf29a3c77ef4112ed16feeca7af40db615
2020-02-14 00:45:46 +00:00
Jeffrey Huang
fd73daa049 Merge "Add apex available to liblog" 2020-02-14 00:45:22 +00:00
Treehugger Robot
008b55fbad Merge "Preserving /avb/* keys to /metadata" am: 05aff5b211 am: 1632564c64
Change-Id: Id75f0e2ded83361abde5ca17bb1e074c6720c988
2020-02-14 00:26:32 +00:00
Muhammad Qureshi
2ebc2e3d8f Expose AStatsSocket_close() from the statsd apex
As part of statsd becoming a Mainline module in R, we need to formalize
the statsd APIs called from outside the statsd apex.

Bug: 145923416
Test: m
Change-Id: I296a018cc93d95bda77d95f8161acbbe983a5d51
2020-02-13 16:16:48 -08:00
Treehugger Robot
1632564c64 Merge "Preserving /avb/* keys to /metadata" am: 05aff5b211
Change-Id: Ibf1c8b6cf4d692ca6b87532d8b5bb83f9c6d7f18
2020-02-14 00:15:09 +00:00
Treehugger Robot
05aff5b211 Merge "Preserving /avb/* keys to /metadata" 2020-02-13 23:52:40 +00:00
Stephane Lee
1c108edc74 Consume design capacity in health HAL 2.1
Bug: 149121450
Test: lshal debug <health hal 2.1>
Change-Id: I005fa47bda7e58f6636fdc87293227622d74187a
2020-02-13 15:14:40 -08:00
Jeffrey Huang
66f58a3ecc Add apex available to liblog
Bug: 145923087
Test: m -j
Change-Id: I3ac890cbc71ad062ff095adfa2272f6f76db466b
2020-02-13 12:46:09 -08:00
Zim
e48a55649c Revert "Explicitly disable FUSE"
This reverts commit a3209c5f57.

Should not have been merged into master

Test: m
Bug: 135341433
2020-02-13 19:38:06 +00:00
Jeffrey Huang
47a79db9c9 Merge "Add apex_available to libs" 2020-02-13 19:10:41 +00:00
Automerger Merge Worker
7eb2bf5fe6 Merge "build code_coverage.policy with Android.bp" am: 59de77e777 am: b8709d62fd am: 4efc0c8996
Change-Id: Ie64a2edcf365ce544fee73530c7751bdd614e888
2020-02-13 18:01:10 +00:00
Automerger Merge Worker
4efc0c8996 Merge "build code_coverage.policy with Android.bp" am: 59de77e777 am: b8709d62fd
Change-Id: Ib46315b58e0cdf7fe25b202db83f02f232396b1d
2020-02-13 17:45:30 +00:00
Automerger Merge Worker
b8709d62fd Merge "build code_coverage.policy with Android.bp" am: 59de77e777
Change-Id: Idbd5b181486935f6a218fc3e8a3fc75f6ac04d0b
2020-02-13 17:25:30 +00:00
Ray Essick
59de77e777 Merge "build code_coverage.policy with Android.bp" 2020-02-13 17:13:23 +00:00
Bowgo Tsai
196cc58781 Preserving /avb/* keys to /metadata
Those keys will be used for key revocation check by DSU installation
service. Note that failing to copy those keys to /metadata is NOT fatal,
because it is auxiliary to perform public key matching prior to booting
into DSU images on next boot. The actual key matching will still be done
on next DSU boot.

Bug: 146910547
Test: boot device, checks the avb keys are copied to /metadata/gsi/dsu/avb/.
Change-Id: I25a4eba82e84288bac7a859205c920628a063651
2020-02-13 15:15:20 +08:00
Automerger Merge Worker
fd0edb7ca6 Merge "Add apex available to libutils" am: ab19b995be am: 6a4a3e2604 am: 17211a43a6
Change-Id: Ice9b2cf403cbfacec30570b6cd990295a83f13e2
2020-02-13 06:48:22 +00:00
Automerger Merge Worker
17211a43a6 Merge "Add apex available to libutils" am: ab19b995be am: 6a4a3e2604
Change-Id: I2cc71b43e9940d6bcc0bae5f684857521027e796
2020-02-13 06:30:57 +00:00
Automerger Merge Worker
6a4a3e2604 Merge "Add apex available to libutils" am: ab19b995be
Change-Id: Id2021fed69bd6fa13b2328d496d8ab0ef720dec0
2020-02-13 06:20:55 +00:00
Jeffrey Huang
ab19b995be Merge "Add apex available to libutils" 2020-02-13 06:06:02 +00:00
Jeffrey Huang
b0a85dc46d Add apex_available to libs
Bug: 145922701
Test: m -j
Change-Id: If5cbe5651e47878520bdc5b943b17a4f72a2a2f3
2020-02-12 18:30:26 -08:00
Jeffrey Huang
18986cb220 Add apex available to libutils
Bug: 145922701
Test: m -j
Change-Id: I32a15359bc2f97675f8b5e7e112978667f43bf4f
2020-02-12 17:57:04 -08:00