summaryrefslogtreecommitdiff
path: root/libs/binder/OS.h
diff options
context:
space:
mode:
author Tomasz Wasilczyk <twasilczyk@google.com> 2023-11-21 13:50:09 -0800
committer Tomasz Wasilczyk <twasilczyk@google.com> 2023-11-29 18:30:52 -0800
commitdaf727a08ae97ba9f8f5888f1160b634becd7c82 (patch)
treebe23dc79c86f3d17d88492494f413d21bda84dff /libs/binder/OS.h
parentbde9346e8e941ac298ec0543874c5e73949137b6 (diff)
Binder: move Trace to OS module
Also, Trusty is not OS_android. Test: mma in binder Bug: 302723053 Change-Id: Ia9e05f11705694668d8c299e220ea19e27b55d1f
Diffstat (limited to 'libs/binder/OS.h')
-rw-r--r--libs/binder/OS.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/binder/OS.h b/libs/binder/OS.h
index c5f0730d6b..0035aeb205 100644
--- a/libs/binder/OS.h
+++ b/libs/binder/OS.h
@@ -24,6 +24,9 @@
namespace android::binder::os {
+void trace_begin(uint64_t tag, const char* name);
+void trace_end(uint64_t tag);
+
status_t setNonBlocking(borrowed_fd fd);
status_t getRandomBytes(uint8_t* data, size_t size);