-
网口命令(复制后删除换行)
cat frameworks/opt/net/ethernet/java/
com/android/server/
ethernet/EthernetNetworkFactory.java
| grep NETWORK_SCORE
private static final int NETWORK_SCORE = 70;
可得当前网口数值为70。-
WiFi命令(复制后删除换行)
cat frameworks/base/core/java/android/
net/NetworkAgent.java |
grep WIFI_BASE_SCORE
public static final int WIFI_BASE_SCORE = 60;
可得当前WiFi数值为60。-
4G命令(复制后删除换行)
cat frameworks/opt/telephony/src/java/
com/android/internal/telephony/
dataconnection/TelephonyNetworkFactory.
java |grep TELEPHONY_NETWORK_SCORE
private final static int TELEPHONY_NETWORK_SCORE = 50;
可得当前4G数值为50。frameworks/base/core/java/android/
net/NetworkAgent.java
将WiFi_BASE_SCORE的值改为70,将WiFi数值高于网口数值。
frameworks/base/core/java/android/net/NetworkAgent.java
将WiFi_BASE_SCORE的值改为70,将WiFi数值高于网口数值。
- 国产六核64位CPU高性能处理器;
- 支持4K H.265/H.264视频解码与多屏异显;
- HDMI2.0接口,支持4K@60Hz或
1080P@120Hz;
- MIPI-DSI和Dual LVDS显示接口,
支持1080P@60Hz大屏幕;
- eDP1.3 支持2560x1600@60Hz;
- 2路4-Lane MIPI-CSI摄像头;
- 支持千兆网口及4G/5G/WiFi/蓝牙无线通信;
- 1路USB 3.0 、1路Type-C 、9路USB2.0;
- 5路串口(TTL/RS232/RS485);
阅读全文