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