private void processCellLocation(CellLocation cellLocation, List<NeighboringCellInfo> neighboringCells) {
// get network type
int networkTypeInt = telephonyManager.getNetworkType();
NetworkGroup networkType = NetworkTypeUtils.getNetworkGroup(networkTypeInt);
// get network operator (may be unreliable for CDMA)
String networkOperatorCode = telephonyManager.getNetworkOperator();
String networkOperatorName = telephonyManager.getNetworkOperatorName();
Log.d("processCellLocation(): Operator code = '%s', name = '%s'", networkOperatorCode, networkOperatorName);
Log.d("processCellLocation(): Reported %s neighboring cells", (neighboringCells != null ? neighboringCells.size() : null));
measurementUpdater.setLastCellLocation(cellLocation, networkType, networkOperatorCode, networkOperatorName, neighboringCells);
}
CollectorService.java 文件源码
java
阅读 27
收藏 0
点赞 0
评论 0
项目:TowerCollector
作者:
评论列表
文章目录