diff options
author | 2022-06-30 02:00:46 +0000 | |
---|---|---|
committer | 2022-07-08 17:56:23 +0000 | |
commit | 7c0b79f00a17e0a284b519418655c539dc0f3940 (patch) | |
tree | 13df1352677d6e61512f3a5f50a8d1e93f97f935 /libs/binder/RpcSession.cpp | |
parent | 2a29801557e65bf9d22b3295eb2d9af891ac39e9 (diff) |
libbinder: separate OS-specific code from Utils.cpp
Separate the OS-specific functions setNonBlocking and
getRandomBytes from Utils.cpp into a separate OS-specific
OS.cpp file that other operating systems can override at
build time.
Bug: 224644083
Test: build Trusty
Change-Id: I2703fb81d4370b5f6264556ae57fdddb0573971a
Diffstat (limited to 'libs/binder/RpcSession.cpp')
-rw-r--r-- | libs/binder/RpcSession.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/binder/RpcSession.cpp b/libs/binder/RpcSession.cpp index 2d9c93341f..80f6a37f51 100644 --- a/libs/binder/RpcSession.cpp +++ b/libs/binder/RpcSession.cpp @@ -37,6 +37,7 @@ #include <utils/String8.h> #include "FdTrigger.h" +#include "OS.h" #include "RpcSocketAddress.h" #include "RpcState.h" #include "RpcWireFormat.h" |