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;
}
CellInfoUtil.java 文件源码
java
阅读 28
收藏 0
点赞 0
评论 0
项目:proto-collecte
作者:
评论列表
文章目录