diff options
author | Vic Yang <victoryang@google.com> | 2019-01-09 12:38:24 -0800 |
---|---|---|
committer | Vic Yang <victoryang@google.com> | 2019-02-12 20:28:38 -0800 |
commit | a117f25b4eb5b88a9b7eafefd7e4443a1aab86e4 (patch) | |
tree | f0ca5c3eb6aea83438290be20a5932dfedc68202 /libcutils/sockets_unix.cpp | |
parent | c7b5c4fa6b6f50c8ac14852275141483686895f9 (diff) |
libvndksupport: Add android_is_in_vendor_process()
In preparation for cleaning up conditionally compiled VNDK libraries,
we need a function that determines if the current process is running in
the system process or the vendor process.
Bug: 119423884
Test: Add a dummy VNDK library that prints different string in system
vs vendor process. Use the library in different processs and
check the output.
Change-Id: Ic00927d8eadd2a21fcba9cb64cc93eaadd5bdd2d
Diffstat (limited to 'libcutils/sockets_unix.cpp')
0 files changed, 0 insertions, 0 deletions