Loading libs/binder/ProcessState.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -79,6 +79,11 @@ sp<ProcessState> ProcessState::initWithDriver(const char* driver) { Mutex::Autolock _l(gProcessMutex); if (gProcess != NULL) { // Allow for initWithDriver to be called repeatedly with the same // driver. if (!strcmp(gProcess->getDriverName().c_str(), driver)) { return gProcess; } LOG_ALWAYS_FATAL("ProcessState was already initialized."); } gProcess = new ProcessState(driver); Loading Loading
libs/binder/ProcessState.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -79,6 +79,11 @@ sp<ProcessState> ProcessState::initWithDriver(const char* driver) { Mutex::Autolock _l(gProcessMutex); if (gProcess != NULL) { // Allow for initWithDriver to be called repeatedly with the same // driver. if (!strcmp(gProcess->getDriverName().c_str(), driver)) { return gProcess; } LOG_ALWAYS_FATAL("ProcessState was already initialized."); } gProcess = new ProcessState(driver); Loading