fix captions and few bugs

This commit is contained in:
HappyZ 2017-01-31 11:36:11 -08:00
parent 62b08e13c2
commit 5840307c6f
11 changed files with 16 additions and 21 deletions

View File

@ -35,12 +35,11 @@ class Thread_RX_CNormal implements Runnable {
commd[0] = "su";
commd[1] = "-c";
// ./client_recv_normaltcp <ip> <port>
// <[optional] recvsize (bytes)> <[optional] filepath>
// <[optional] recvsize (Bytes)> <[optional] filepath>
commd[2] = (MainActivity.isForcingCPU0?"taskset 1 ":"")
+ MainActivity.binaryFolderPath + MainActivity.binary_RX_Normal
+ " " + (MainActivity.isLocal ? Utilities.myInetIP : MainActivity.remoteIP)
+ " " + MainActivity.RXportNum
+ " " + MainActivity.bytes2send;
+ " " + MainActivity.RXportNum;
Log.d("RX_Normal", "Start RX Normal");

View File

@ -35,12 +35,11 @@ class Thread_RX_CNormalUDP implements Runnable {
commd[0] = "su";
commd[1] = "-c";
// ./client_recv_normaludp <ip> <port>
// <[optional] recvsize (bytes)> <[optional] filepath>
// <[optional] recvsize (Bytes)> <[optional] filepath>
commd[2] = (MainActivity.isForcingCPU0?"taskset 1 ":"")
+ MainActivity.binaryFolderPath + MainActivity.binary_RX_Normal
+ " " + (MainActivity.isLocal ? Utilities.myInetIP : MainActivity.remoteIP)
+ " " + MainActivity.RXportNum
+ " " + MainActivity.bytes2send;
+ " " + MainActivity.RXportNum;
Log.d("RX_NormalUDP", "Start RX NormalUDP");

View File

@ -35,12 +35,11 @@ class Thread_RX_CRawNormal implements Runnable {
commd[0] = "su";
commd[1] = "-c";
// ./client_recv_bypassl3 <ip> <port>
// <[optional] recvsize (bytes)> <[optional] interface> <[optional] filepath>
// <[optional] recvsize (Bytes)> <[optional] interface> <[optional] filepath>
commd[2] = (MainActivity.isForcingCPU0?"taskset 1 ":"")
+ MainActivity.binaryFolderPath + MainActivity.binary_RX_RawNormal
+ " " + (MainActivity.isLocal ? Utilities.myInetIP : MainActivity.remoteIP)
+ " " + MainActivity.RXportNum
+ " " + MainActivity.bytes2send;
+ " " + MainActivity.RXportNum;
Log.d("RX_RawNormal", "Start RX RawNormal");

View File

@ -35,12 +35,11 @@ class Thread_RX_CSendfile implements Runnable {
commd[0] = "su";
commd[1] = "-c";
// ./client_recv_normaltcp_sendfile <ip> <port>
// <[optional] recvsize (bytes)> <[optional] filepath>
// <[optional] recvsize (Bytes)> <[optional] filepath>
commd[2] = (MainActivity.isForcingCPU0?"taskset 1 ":"")
+ MainActivity.binaryFolderPath + MainActivity.binary_RX_Sendfile
+ " " + (MainActivity.isLocal ? Utilities.myInetIP : MainActivity.remoteIP)
+ " " + MainActivity.RXportNum
+ " " + MainActivity.bytes2send;
+ " " + MainActivity.RXportNum;
Log.d("RX_Sendfile", "Start RX Sendfile");

View File

@ -35,12 +35,11 @@ class Thread_RX_CSplice implements Runnable {
commd[0] = "su";
commd[1] = "-c";
// ./client_recv_normaltcp_splice <ip> <port>
// <[optional] recvsize (bytes)> <[optional] filepath>
// <[optional] recvsize (Bytes)> <[optional] filepath>
commd[2] = (MainActivity.isForcingCPU0?"taskset 1 ":"")
+ MainActivity.binaryFolderPath + MainActivity.binary_RX_Splice
+ " " + (MainActivity.isLocal ? Utilities.myInetIP : MainActivity.remoteIP)
+ " " + MainActivity.RXportNum
+ " " + MainActivity.bytes2send;
+ " " + MainActivity.RXportNum;
Log.d("RX_Splice", "Start RX Splice");
try {

View File

@ -35,7 +35,7 @@ class Thread_TX_CNormal implements Runnable {
commd[0] = "su";
commd[1] = "-c";
// ./client_send_normaltcp <bytes2send/file2send> <ip> <port>
// <[optional] bandwidth (bps)> <[optional] sendsize (bytes)>
// <[optional] bandwidth (bps)> <[optional] sendsize (Bytes)>
commd[2] = (MainActivity.isForcingCPU0?"taskset 1 ":"")
+ MainActivity.binaryFolderPath + MainActivity.binary_TX_Normal + " "
+ MainActivity.bytes2send + " "

View File

@ -35,7 +35,7 @@ class Thread_TX_CNormalUDP implements Runnable {
commd[0] = "su";
commd[1] = "-c";
// ./client_send_normaludp <bytes2send/file2send> <ip> <port>
// <[optional] bandwidth (bps)> <[optional] sendsize (bytes)>
// <[optional] bandwidth (bps)> <[optional] sendsize (Bytes)>
commd[2] = (MainActivity.isForcingCPU0?"taskset 1 ":"")
+ MainActivity.binaryFolderPath + MainActivity.binary_TX_NormalUDP + " "
+ MainActivity.bytes2send + " "

View File

@ -35,7 +35,7 @@ class Thread_TX_CRawNormal implements Runnable {
commd[0] = "su";
commd[1] = "-c";
// ./client_send_bypassl3 <bytes2send/file2send> <dest MAC address>
// <[optional] bandwidth (bps)> <[optional] sendsize (bytes)> <[optional] interface>
// <[optional] bandwidth (bps)> <[optional] sendsize (Bytes)> <[optional] interface>
commd[2] = (MainActivity.isForcingCPU0?"taskset 1 ":"")
+ MainActivity.binaryFolderPath + MainActivity.binary_TX_RawNormal + " "
+ MainActivity.bytes2send + " "

View File

@ -31,7 +31,7 @@ class Thread_TX_CRawSplice implements Runnable {
commd[0] = "su";
commd[1] = "-c";
// ./client_send_bypassl3_splice <bytes2send/file2send> <ip> <port>
// <[optional] bandwidth (bps)> <[optional] sendsize (bytes)>
// <[optional] bandwidth (bps)> <[optional] sendsize (Bytes)>
commd[2] = (MainActivity.isForcingCPU0?"taskset 1 ":"")
+ MainActivity.binaryFolderPath + MainActivity.binary_TX_RawSplice + " "
+ MainActivity.bytes2send + " "

View File

@ -34,7 +34,7 @@ class Thread_TX_CSendfile implements Runnable {
commd[0] = "su";
commd[1] = "-c";
// ./client_send_normaltcp_sendfile <bytes2send/file2send> <ip> <port>
// <[optional] bandwidth (bps)> <[optional] sendsize (bytes)>
// <[optional] bandwidth (bps)> <[optional] sendsize (Bytes)>
commd[2] = (MainActivity.isForcingCPU0?"taskset 1 ":"")
+ MainActivity.binaryFolderPath + MainActivity.binary_TX_Sendfile + " "
+ MainActivity.bytes2send + " "

View File

@ -35,7 +35,7 @@ class Thread_TX_CSplice implements Runnable {
commd[0] = "su";
commd[1] = "-c";
// ./client_send_normaltcp_splice <bytes2send/file2send> <ip> <port>
// <[optional] bandwidth (bps)> <[optional] sendsize (bytes)>
// <[optional] bandwidth (bps)> <[optional] sendsize (Bytes)>
commd[2] = (MainActivity.isForcingCPU0?"taskset 1 ":"")
+ MainActivity.binaryFolderPath + MainActivity.binary_TX_Splice + " "
+ MainActivity.bytes2send + " "