Since: API level 28
public static class

NetworkAnalyticsConstants.DataPoints

extends Object
java.lang.Object
   ↳ com.samsung.android.knox.net.nap.NetworkAnalyticsConstants.DataPoints

Class Overview

Constants that help configure the set of data points that need to be collected on the device and help interpret the result from the framework.

Summary

Constants
String BYTES_RECEIVED Key to get bytes received meta-data point from the JSON string.
String BYTES_SENT Key to get bytes sent meta-data point from the JSON string.
String CLOSE_TIME Key to get socket close time meta-data point from the JSON string.
String DESTINATION_IP Key to get destination IP address meta-data point from the JSON string.
String DESTINATION_PORT Key to get destination port meta-data point from the JSON string.
String DNS_UID Key to get dns-originator meta-data point from the JSON string.
int FLAG_BYTES_RECEIVED Integer flag corresponding to bytes received meta-data point
int FLAG_BYTES_SENT Integer flag corresponding to bytes sent meta-data point.
int FLAG_CLOSE_TIME Integer flag corresponding to socket close time meta-data point.
int FLAG_DESTINATION_IP Integer flag corresponding to destination IP address meta-data point.
int FLAG_DESTINATION_PORT Integer flag corresponding to destination port meta-data point.
int FLAG_DNS_UID Integer flag corresponding to dns-originator meta-data point.
int FLAG_HOSTNAME Integer flag corresponding to hostname meta-data point.
int FLAG_INTERFACE_NAME Integer flag corresponding to name of the network interface related to the flow
int FLAG_OPEN_TIME Integer flag corresponding to socket open time meta-data point.
int FLAG_PARENT_PROCESS_HASH Integer flag corresponding to Parent process hash meta-data point.
int FLAG_PARENT_PROCESS_NAME Integer flag corresponding to parent process name meta-data point.
int FLAG_PID Integer flag corresponding to process ID meta-data point.
int FLAG_PPID Integer flag corresponding to Parent process id meta-data point.
int FLAG_PROCESS_HASH Integer flag corresponding to process hash meta-data point.
int FLAG_PROCESS_NAME Integer flag corresponding to process name meta-data point.
int FLAG_PROTOCOL Integer flag corresponding to socket protocol meta-data point.
int FLAG_PUID Integer flag corresponding to parent UID meta-data point.
int FLAG_SOURCE_IP Integer flag corresponding to source IP meta-data point.
int FLAG_SOURCE_PORT Integer flag corresponding to source port meta-data point.
int FLAG_UID Integer flag corresponding to UID meta-data point.
String HOSTNAME Key to get hostname meta-data point from the JSON string.
String INTERFACE_NAME Key to get network interface name from the JSON string.
String OPEN_TIME Key to get socket open time meta-data point from the JSON string.
String PARENT_PROCESS_HASH Key to get Parent Process hash meta-data point from the JSON string.
String PARENT_PROCESS_NAME Key to get parent process name meta-data point from the JSON string.
String PID Key to get process ID meta-data point from the JSON string.
String PPID Key to get Parent Process id meta-data point from the JSON string.
String PROCESS_HASH Key to get process hash meta-data point from the JSON string.
String PROCESS_NAME Key to get process name meta-data point from the JSON string.
String PROTOCOL Key to get protocol meta-data point from the JSON string.
String PUID Key to get parent UID meta-data point from the JSON string.
String RECORD_TYPE Key to get record type meta-data point from the JSON string.
String SOURCE_IP Key to get source IP meta-data point from the JSON string.
String SOURCE_PORT Key to get source port meta-data point from the JSON string.
String UID Key to get UID meta-data point from the JSON string.
Public Constructors
DataPoints()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String BYTES_RECEIVED

Since: API level 28

Key to get bytes received meta-data point from the JSON string.

Since
API level 22
KNOX 2.8
Constant Value: "brecv"

public static final String BYTES_SENT

Since: API level 28

Key to get bytes sent meta-data point from the JSON string.

Since
API level 22
KNOX 2.8
Constant Value: "bsent"

public static final String CLOSE_TIME

Since: API level 28

Key to get socket close time meta-data point from the JSON string.

Since
API level 22
KNOX 2.8
Constant Value: "end"

public static final String DESTINATION_IP

Since: API level 28

Key to get destination IP address meta-data point from the JSON string.

Since
API level 22
KNOX 2.8
Constant Value: "dst"

public static final String DESTINATION_PORT

Since: API level 28

Key to get destination port meta-data point from the JSON string.

Since
API level 22
KNOX 2.8
Constant Value: "dport"

public static final String DNS_UID

Since: API level 28

Key to get dns-originator meta-data point from the JSON string.

Since
API level 24
KNOX 3.0
Constant Value: "dnsuid"

public static final int FLAG_BYTES_RECEIVED

Since: API level 28

Integer flag corresponding to bytes received meta-data point

Since
API level 22
KNOX 2.8
Constant Value: 1 (0x00000001)

public static final int FLAG_BYTES_SENT

Since: API level 28

Integer flag corresponding to bytes sent meta-data point.

Since
API level 22
KNOX 2.8
Constant Value: 2 (0x00000002)

public static final int FLAG_CLOSE_TIME

Since: API level 28

Integer flag corresponding to socket close time meta-data point.

Since
API level 22
KNOX 2.8
Constant Value: 4 (0x00000004)

public static final int FLAG_DESTINATION_IP

Since: API level 28

Integer flag corresponding to destination IP address meta-data point.

Since
API level 22
KNOX 2.8
Constant Value: 8 (0x00000008)

public static final int FLAG_DESTINATION_PORT

Since: API level 28

Integer flag corresponding to destination port meta-data point.

Since
API level 22
KNOX 2.8
Constant Value: 16 (0x00000010)

public static final int FLAG_DNS_UID

Since: API level 28

Integer flag corresponding to dns-originator meta-data point.

Since
API level 24
KNOX 3.0
Constant Value: 65536 (0x00010000)

public static final int FLAG_HOSTNAME

Since: API level 28

Integer flag corresponding to hostname meta-data point.

Since
API level 22
KNOX 2.8
Constant Value: 32 (0x00000020)

public static final int FLAG_INTERFACE_NAME

Since: API level 28

Integer flag corresponding to name of the network interface related to the flow

Since
API level 26
KNOX 3.2
Constant Value: 524288 (0x00080000)

public static final int FLAG_OPEN_TIME

Since: API level 28

Integer flag corresponding to socket open time meta-data point.

Since
API level 22
KNOX 2.8
Constant Value: 64 (0x00000040)

public static final int FLAG_PARENT_PROCESS_HASH

Since: API level 28

Integer flag corresponding to Parent process hash meta-data point.

Since
API level 24
KNOX 3.0
Constant Value: 262144 (0x00040000)

public static final int FLAG_PARENT_PROCESS_NAME

Since: API level 28

Integer flag corresponding to parent process name meta-data point.

Since
API level 22
KNOX 2.8
Constant Value: 128 (0x00000080)

public static final int FLAG_PID

Since: API level 28

Integer flag corresponding to process ID meta-data point.

Since
API level 22
KNOX 2.8
Constant Value: 256 (0x00000100)

public static final int FLAG_PPID

Since: API level 28

Integer flag corresponding to Parent process id meta-data point.

Since
API level 24
KNOX 3.0
Constant Value: 131072 (0x00020000)

public static final int FLAG_PROCESS_HASH

Since: API level 28

Integer flag corresponding to process hash meta-data point.

Since
API level 22
KNOX 2.8
Constant Value: 512 (0x00000200)

public static final int FLAG_PROCESS_NAME

Since: API level 28

Integer flag corresponding to process name meta-data point.

Since
API level 22
KNOX 2.8
Constant Value: 1024 (0x00000400)

public static final int FLAG_PROTOCOL

Since: API level 28

Integer flag corresponding to socket protocol meta-data point.

Since
API level 22
KNOX 2.8
Constant Value: 2048 (0x00000800)

public static final int FLAG_PUID

Since: API level 28

Integer flag corresponding to parent UID meta-data point.

Since
API level 22
KNOX 2.8
Constant Value: 4096 (0x00001000)

public static final int FLAG_SOURCE_IP

Since: API level 28

Integer flag corresponding to source IP meta-data point.

Since
API level 22
KNOX 2.8
Constant Value: 8192 (0x00002000)

public static final int FLAG_SOURCE_PORT

Since: API level 28

Integer flag corresponding to source port meta-data point.

Since
API level 22
KNOX 2.8
Constant Value: 16384 (0x00004000)

public static final int FLAG_UID

Since: API level 28

Integer flag corresponding to UID meta-data point.

Since
API level 22
KNOX 2.8
Constant Value: 32768 (0x00008000)

public static final String HOSTNAME

Since: API level 28

Key to get hostname meta-data point from the JSON string.

Since
API level 22
KNOX 2.8
Constant Value: "hostname"

public static final String INTERFACE_NAME

Since: API level 28

Key to get network interface name from the JSON string.

Since
API level 26
KNOX 3.2
Constant Value: "iface"

public static final String OPEN_TIME

Since: API level 28

Key to get socket open time meta-data point from the JSON string.

Since
API level 22
KNOX 2.8
Constant Value: "start"

public static final String PARENT_PROCESS_HASH

Since: API level 28

Key to get Parent Process hash meta-data point from the JSON string.

Since
API level 24
KNOX 3.0
Constant Value: "parentprochash"

public static final String PARENT_PROCESS_NAME

Since: API level 28

Key to get parent process name meta-data point from the JSON string.

Since
API level 22
KNOX 2.8
Constant Value: "parentprocname"

public static final String PID

Since: API level 28

Key to get process ID meta-data point from the JSON string.

Since
API level 22
KNOX 2.8
Constant Value: "pid"

public static final String PPID

Since: API level 28

Key to get Parent Process id meta-data point from the JSON string.

Since
API level 24
KNOX 3.0
Constant Value: "ppid"

public static final String PROCESS_HASH

Since: API level 28

Key to get process hash meta-data point from the JSON string.

Since
API level 22
KNOX 2.8
Constant Value: "prochash"

public static final String PROCESS_NAME

Since: API level 28

Key to get process name meta-data point from the JSON string.

Since
API level 22
KNOX 2.8
Constant Value: "procname"

public static final String PROTOCOL

Since: API level 28

Key to get protocol meta-data point from the JSON string.

Since
API level 22
KNOX 2.8
Constant Value: "protocol"

public static final String PUID

Since: API level 28

Key to get parent UID meta-data point from the JSON string.

Since
API level 22
KNOX 2.8
Constant Value: "puid"

public static final String RECORD_TYPE

Since: API level 28

Key to get record type meta-data point from the JSON string.

Since
API level 26
KNOX 3.2
Constant Value: "recordtype"

public static final String SOURCE_IP

Since: API level 28

Key to get source IP meta-data point from the JSON string.

Since
API level 22
KNOX 2.8
Constant Value: "src"

public static final String SOURCE_PORT

Since: API level 28

Key to get source port meta-data point from the JSON string.

Since
API level 22
KNOX 2.8
Constant Value: "sport"

public static final String UID

Since: API level 28

Key to get UID meta-data point from the JSON string.

Since
API level 22
KNOX 2.8
Constant Value: "uid"

Public Constructors

public DataPoints ()

Since: API level 28