public CellIdentity(CellIdentityGsm cellIdentity) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
this.setChannelNumber(cellIdentity.getArfcn());
}
this.setMnc(cellIdentity.getMnc());
this.setMcc(cellIdentity.getMcc());
this.setLocationId(cellIdentity.getLac());
/* CID Either 16-bit GSM Cell Identity described in
* TS 27.007, 0..65535, Integer.MAX_VALUE if unknown */
this.setAreaCode(cellIdentity.getCid());
/* 6-bit Base Station Identity Code, Integer.MAX_VALUE if unknown */
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
this.setScramblingCode(cellIdentity.getBsic());
}
}
CellInformationWrapper.java 文件源码
java
阅读 23
收藏 0
点赞 0
评论 0
项目:open-rmbt
作者:
评论列表
文章目录