Lines Matching refs:stateTransition
187 StateTransition stateTransition; in addRequestToQueue() local
188 stateTransition.nanoappInstanceId = instanceId; in addRequestToQueue()
189 stateTransition.enable = enable; in addRequestToQueue()
190 stateTransition.minInterval = minInterval; in addRequestToQueue()
191 stateTransition.cookie = cookie; in addRequestToQueue()
193 bool success = mStateTransitions.push(stateTransition); in addRequestToQueue()
324 const auto& stateTransition = mStateTransitions.front(); in handleStatusChangeSync() local
327 mCurrentInterval = stateTransition.minInterval; in handleStatusChangeSync()
330 success &= (stateTransition.enable == enabled); in handleStatusChangeSync()
331 postAsyncResultEventFatal(stateTransition.nanoappInstanceId, success, in handleStatusChangeSync()
332 stateTransition.enable, in handleStatusChangeSync()
333 stateTransition.minInterval, in handleStatusChangeSync()
334 errorCode, stateTransition.cookie); in handleStatusChangeSync()
339 const auto& stateTransition = mStateTransitions.front(); in handleStatusChangeSync() local
343 stateTransition.nanoappInstanceId, &requestIndex); in handleStatusChangeSync()
345 if (stateTransitionIsRequired(stateTransition.enable, in handleStatusChangeSync()
346 stateTransition.minInterval, in handleStatusChangeSync()
348 if (controlPlatform(stateTransition.enable, stateTransition.minInterval, in handleStatusChangeSync()
353 stateTransition.nanoappInstanceId); in handleStatusChangeSync()
355 stateTransition.nanoappInstanceId, false /* success */, in handleStatusChangeSync()
356 stateTransition.enable, stateTransition.minInterval, in handleStatusChangeSync()
357 CHRE_ERROR, stateTransition.cookie); in handleStatusChangeSync()
362 stateTransition.nanoappInstanceId, true /* success */, in handleStatusChangeSync()
363 stateTransition.enable, stateTransition.minInterval, in handleStatusChangeSync()
364 CHRE_ERROR_NONE, stateTransition.cookie); in handleStatusChangeSync()