Lines Matching refs:mConfig

594         GnssConfig mConfig;  in gnssUpdateConfigCommand()  member
605 mConfig(config), in gnssUpdateConfigCommand()
619 if (mConfig.flags & GNSS_CONFIG_FLAGS_GPS_LOCK_VALID_BIT) { in gnssUpdateConfigCommand()
620 uint32_t newGpsLock = mAdapter.convertGpsLock(mConfig.gpsLock); in gnssUpdateConfigCommand()
623 err = mApi.setGpsLock(mConfig.gpsLock); in gnssUpdateConfigCommand()
629 if (mConfig.flags & GNSS_CONFIG_FLAGS_SUPL_VERSION_VALID_BIT) { in gnssUpdateConfigCommand()
630 uint32_t newSuplVersion = mAdapter.convertSuplVersion(mConfig.suplVersion); in gnssUpdateConfigCommand()
633 err = mApi.setSUPLVersion(mConfig.suplVersion); in gnssUpdateConfigCommand()
641 if (mConfig.flags & GNSS_CONFIG_FLAGS_SET_ASSISTANCE_DATA_VALID_BIT) { in gnssUpdateConfigCommand()
642 if (GNSS_ASSISTANCE_TYPE_SUPL == mConfig.assistanceServer.type) { in gnssUpdateConfigCommand()
646 if (NULL == mConfig.assistanceServer.hostName || in gnssUpdateConfigCommand()
648 mConfig.assistanceServer.hostName, in gnssUpdateConfigCommand()
652 mConfig.assistanceServer.hostName, in gnssUpdateConfigCommand()
653 mConfig.assistanceServer.port); in gnssUpdateConfigCommand()
661 } else if (GNSS_ASSISTANCE_TYPE_C2K == mConfig.assistanceServer.type) { in gnssUpdateConfigCommand()
663 if (!mAdapter.resolveInAddress(mConfig.assistanceServer.hostName, &addr)) { in gnssUpdateConfigCommand()
665 __func__, mConfig.assistanceServer.hostName); in gnssUpdateConfigCommand()
669 err = mApi.setServer(ip, mConfig.assistanceServer.port, in gnssUpdateConfigCommand()
674 __func__, mConfig.assistanceServer.type); in gnssUpdateConfigCommand()
695 if (mConfig.flags & GNSS_CONFIG_FLAGS_LPPE_CONTROL_PLANE_VALID_BIT) { in gnssUpdateConfigCommand()
697 mAdapter.convertLppeCp(mConfig.lppeControlPlaneMask); in gnssUpdateConfigCommand()
700 err = mApi.setLPPeProtocolCp(mConfig.lppeControlPlaneMask); in gnssUpdateConfigCommand()
708 if (mConfig.flags & GNSS_CONFIG_FLAGS_LPPE_USER_PLANE_VALID_BIT) { in gnssUpdateConfigCommand()
710 mAdapter.convertLppeUp(mConfig.lppeUserPlaneMask); in gnssUpdateConfigCommand()
713 err = mApi.setLPPeProtocolUp(mConfig.lppeUserPlaneMask); in gnssUpdateConfigCommand()
721 if (mConfig.flags & GNSS_CONFIG_FLAGS_AGLONASS_POSITION_PROTOCOL_VALID_BIT) { in gnssUpdateConfigCommand()
723 mAdapter.convertAGloProt(mConfig.aGlonassPositionProtocolMask); in gnssUpdateConfigCommand()
726 err = mApi.setAGLONASSProtocol(mConfig.aGlonassPositionProtocolMask); in gnssUpdateConfigCommand()
734 if (mConfig.flags & GNSS_CONFIG_FLAGS_EM_PDN_FOR_EM_SUPL_VALID_BIT) { in gnssUpdateConfigCommand()
735 uint32_t newEP4ES = mAdapter.convertEP4ES(mConfig.emergencyPdnForEmergencySupl); in gnssUpdateConfigCommand()
744 if (mConfig.flags & GNSS_CONFIG_FLAGS_SUPL_EM_SERVICES_BIT) { in gnssUpdateConfigCommand()
745 uint32_t newSuplEs = mAdapter.convertSuplEs(mConfig.suplEmergencyServices); in gnssUpdateConfigCommand()
754 if (mConfig.flags & GNSS_CONFIG_FLAGS_SUPL_MODE_BIT) { in gnssUpdateConfigCommand()
755 uint32_t newSuplMode = mAdapter.convertSuplMode(mConfig.suplModeMask); in gnssUpdateConfigCommand()