CellInfoUtil.java 文件源码

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

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

        CommonCellInfo res = new CommonCellInfo();
        CellIdentityGsm identityGsm = cellInfo.getCellIdentity();
        CellSignalStrength signalStrength = cellInfo.getCellSignalStrength();

        res.setType(GSM);

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


问题


面经


文章

微信
公众号

扫码关注公众号