Loading cmds/servicemanager/main.cpp +4 −1 Original line number Diff line number Diff line Loading @@ -131,7 +131,10 @@ int main(int argc, char** argv) { } IPCThreadState::self()->setTheContextObject(manager); ps->becomeContextManager(); if (!ps->becomeContextManager()) { LOG(ERROR) << "Could not become context manager"; // TODO(b/280514080): fatal } sp<Looper> looper = Looper::prepare(false /*allowNonCallbacks*/); Loading libs/binder/include/binder/ProcessState.h +1 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ public: // For main functions - dangerous for libraries to use void startThreadPool(); bool becomeContextManager(); [[nodiscard]] bool becomeContextManager(); sp<IBinder> getStrongProxyForHandle(int32_t handle); void expungeHandle(int32_t handle, IBinder* binder); Loading Loading
cmds/servicemanager/main.cpp +4 −1 Original line number Diff line number Diff line Loading @@ -131,7 +131,10 @@ int main(int argc, char** argv) { } IPCThreadState::self()->setTheContextObject(manager); ps->becomeContextManager(); if (!ps->becomeContextManager()) { LOG(ERROR) << "Could not become context manager"; // TODO(b/280514080): fatal } sp<Looper> looper = Looper::prepare(false /*allowNonCallbacks*/); Loading
libs/binder/include/binder/ProcessState.h +1 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ public: // For main functions - dangerous for libraries to use void startThreadPool(); bool becomeContextManager(); [[nodiscard]] bool becomeContextManager(); sp<IBinder> getStrongProxyForHandle(int32_t handle); void expungeHandle(int32_t handle, IBinder* binder); Loading