Lines Matching refs:sm
579 AgpsStateMachine* sm = getAgpsStateMachine(agpsType); in requestATL() local
581 if (sm == NULL) { in requestATL()
589 sm->setType(agpsType); in requestATL()
590 sm->setApnTypeMask(apnTypeMask); in requestATL()
594 sm->setCurrentSubscriber(&subscriber); in requestATL()
596 sm->processAgpsEvent(AGPS_EVENT_SUBSCRIBE); in requestATL()
605 AgpsStateMachine* sm = NULL; in releaseATL() local
610 sm = mAgnssNif; in releaseATL()
614 sm = mInternetNif; in releaseATL()
616 if (sm == NULL) { in releaseATL()
623 sm->setCurrentSubscriber(subscriber); in releaseATL()
624 sm->processAgpsEvent(AGPS_EVENT_UNSUBSCRIBE); in releaseATL()
636 AgpsStateMachine* sm = getAgpsStateMachine(agpsType); in reportAtlOpenSuccess() local
639 sm->setBearer(bearerType); in reportAtlOpenSuccess()
640 sm->setAPN(apnName, apnLen); in reportAtlOpenSuccess()
643 sm->processAgpsEvent(AGPS_EVENT_GRANTED); in reportAtlOpenSuccess()
651 AgpsStateMachine* sm = getAgpsStateMachine(agpsType); in reportAtlOpenFailed() local
652 sm->processAgpsEvent(AGPS_EVENT_DENIED); in reportAtlOpenFailed()
660 AgpsStateMachine* sm = getAgpsStateMachine(agpsType); in reportAtlClosed() local
661 sm->processAgpsEvent(AGPS_EVENT_RELEASED); in reportAtlClosed()