CellInfoUtil.java 文件源码

java
阅读 28 收藏 0 点赞 0 评论 0

项目:proto-collecte 作者:
private static CommonCellInfo toCellularInfo(CellInfoLte cellInfo) {

        CommonCellInfo res = new CommonCellInfo();
        CellIdentityLte identityLte = cellInfo.getCellIdentity();
        CellSignalStrength signalStrength = cellInfo.getCellSignalStrength();

        res.setType(LTE);

        res.setCid(identityLte.getCi());
        res.setLac(identityLte.getTac());
        res.setMcc(identityLte.getMcc());
        res.setMnc(identityLte.getMnc());
        res.setDbm(valdiateDbm(signalStrength.getDbm()));
        res.setLevel(signalStrength.getLevel());
        return res;
    }
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号