Searched refs:mRoleSwitchLock (Results 1 – 2 of 2) sorted by relevance
68 pthread_mutex_t mRoleSwitchLock; member
255 mRoleSwitchLock(PTHREAD_MUTEX_INITIALIZER), in Usb()290 pthread_mutex_lock(&mRoleSwitchLock); in switchRole()328 pthread_mutex_unlock(&mRoleSwitchLock); in switchRole()621 if (!pthread_mutex_trylock(&payload->usb->mRoleSwitchLock)) { in uevent_event()633 pthread_mutex_unlock(&payload->usb->mRoleSwitchLock); in uevent_event()