Home
last modified time | relevance | path

Searched refs:mRoleSwitchLock (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/usb/aidl/default/
DUsb.h68 pthread_mutex_t mRoleSwitchLock; member
DUsb.cpp255 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()