Lines Matching refs:state
41 // check interface state
43 SLuint8 state = *interfaceStateP;
44 switch (state) {
48 // change state to indicate we are now adding the interface
64 // re-lock mutex to update state
69 state = INTERFACE_ADDED;
71 state = INTERFACE_INITIALIZED;
78 state = INTERFACE_INITIALIZED;
88 // mutex is locked, update state
89 *interfaceStateP = state;
127 // check interface state
142 // so restore mInterfaceStates state to prior value
150 // leave state alone
172 // re-lock mutex to update state
222 // check interface state
297 // check interface state
299 SLuint8 state = *interfaceStateP;
300 switch (state) {
304 // change state to indicate we are now resuming the interface
318 // re-lock mutex to update state
321 state = INTERFACE_ADDED;
327 state = INTERFACE_SUSPENDED;
337 // mutex is locked, update state
338 *interfaceStateP = state;
375 // check interface state
390 // so restore mInterfaceStates state to prior value
398 // leave state alone
418 // re-lock mutex to update state