Home
last modified time | relevance | path

Searched refs:NetworkEvent (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/java/android/net/metrics/
DNetworkEvent.java32 public final class NetworkEvent implements Parcelable { class
67 public NetworkEvent(int netId, @EventType int eventType, long durationMs) { in NetworkEvent() method in NetworkEvent
73 public NetworkEvent(int netId, @EventType int eventType) { in NetworkEvent() method in NetworkEvent
77 private NetworkEvent(Parcel in) { in NetworkEvent() method in NetworkEvent
95 public static final Parcelable.Creator<NetworkEvent> CREATOR
96 = new Parcelable.Creator<NetworkEvent>() {
97 public NetworkEvent createFromParcel(Parcel in) {
98 return new NetworkEvent(in);
101 public NetworkEvent[] newArray(int size) {
102 return new NetworkEvent[size];
[all …]
/frameworks/base/core/java/android/app/admin/
DNetworkEvent.java27 public abstract class NetworkEvent implements Parcelable { class
41 NetworkEvent() { in NetworkEvent() method in NetworkEvent
46 NetworkEvent(String packageName, long timestamp) { in NetworkEvent() method in NetworkEvent
72 public static final Parcelable.Creator<NetworkEvent> CREATOR
73 = new Parcelable.Creator<NetworkEvent>() {
74 public NetworkEvent createFromParcel(Parcel in) {
90 public NetworkEvent[] newArray(int size) {
91 return new NetworkEvent[size];
DNetworkEvent.aidl20 parcelable NetworkEvent;
DConnectEvent.java28 public final class ConnectEvent extends NetworkEvent implements Parcelable {
DDnsEvent.java31 public final class DnsEvent extends NetworkEvent implements Parcelable {
DIDevicePolicyManager.aidl20 import android.app.admin.NetworkEvent;
340 List<NetworkEvent> retrieveNetworkLogs(in ComponentName admin, long batchToken); in retrieveNetworkLogs()
DDevicePolicyManager.java7912 public @Nullable List<NetworkEvent> retrieveNetworkLogs(@NonNull ComponentName admin, in retrieveNetworkLogs()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DNetworkLoggingHandler.java22 import android.app.admin.NetworkEvent;
86 private ArrayList<NetworkEvent> mNetworkEvents = new ArrayList<>();
93 private final LongSparseArray<ArrayList<NetworkEvent>> mBatches =
116 final NetworkEvent networkEvent = msg.getData().getParcelable(NETWORK_EVENT_KEY); in handleMessage()
233 synchronized List<NetworkEvent> retrieveFullLogBatch(final long batchToken) { in retrieveFullLogBatch()
DNetworkLogger.java21 import android.app.admin.NetworkEvent;
75 private void sendNetworkEvent(NetworkEvent event) {
184 List<NetworkEvent> retrieveLogs(long batchToken) { in retrieveLogs()
DDevicePolicyManagerService.java80 import android.app.admin.NetworkEvent;
10861 public List<NetworkEvent> retrieveNetworkLogs(ComponentName admin, long batchToken) { in retrieveNetworkLogs()
/frameworks/base/services/core/java/com/android/server/connectivity/
DIpConnectivityEventBuilder.java37 import android.net.metrics.NetworkEvent;
154 if (in instanceof NetworkEvent) { in setEvent()
155 setNetworkEvent(out, (NetworkEvent) in); in setEvent()
220 private static void setNetworkEvent(IpConnectivityEvent out, NetworkEvent in) { in setNetworkEvent()
221 IpConnectivityLogClass.NetworkEvent networkEvent = in setNetworkEvent()
222 new IpConnectivityLogClass.NetworkEvent(); in setNetworkEvent()
DNetworkMonitor.java37 import android.net.metrics.NetworkEvent;
346 logNetworkEvent(NetworkEvent.NETWORK_CONNECTED); in processMessage()
350 logNetworkEvent(NetworkEvent.NETWORK_DISCONNECTED); in processMessage()
577 logNetworkEvent(NetworkEvent.NETWORK_VALIDATION_FAILED); in processMessage()
1071 mMetricsLog.log(new NetworkEvent(mNetId, evtype)); in logNetworkEvent()
1077 return NetworkEvent.NETWORK_FIRST_VALIDATION_SUCCESS; in networkEventType()
1079 return NetworkEvent.NETWORK_FIRST_VALIDATION_PORTAL_FOUND; in networkEventType()
1083 return NetworkEvent.NETWORK_REVALIDATION_SUCCESS; in networkEventType()
1085 return NetworkEvent.NETWORK_REVALIDATION_PORTAL_FOUND; in networkEventType()
1092 mMetricsLog.log(new NetworkEvent(mNetId, evtype, mEvaluationTimer.stop())); in maybeLogEvaluationResult()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DIpConnectivityEventBuilderTest.java44 import android.net.metrics.NetworkEvent;
325 aType(NetworkEvent.class), in testNetworkEventSerialization()
/frameworks/base/proto/src/
Dipconnectivity.proto93 // This message is associated to android.net.metrics.NetworkEvent.
94 message NetworkEvent { message
100 // android.net.metrics.NetworkEvent.
380 NetworkEvent network_event = 4;
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java74 import android.net.metrics.NetworkEvent;
2203 logNetworkEvent(nai, NetworkEvent.NETWORK_UNLINGER); in updateLingerState()
2208 logNetworkEvent(nai, NetworkEvent.NETWORK_LINGER); in updateLingerState()
5489 mMetricsLog.log(new NetworkEvent(nai.network.netId, evtype)); in logNetworkEvent()
/frameworks/base/
DAndroid.mk656 frameworks/base/core/java/android/app/admin/NetworkEvent.aidl \
Dcompiled-classes-phone2958 android.net.metrics.NetworkEvent
2959 android.net.metrics.NetworkEvent$1
/frameworks/base/services/
Dprofile-classes1749 Landroid/net/metrics/NetworkEvent;
1750 Landroid/net/metrics/NetworkEvent$1;
/frameworks/base/api/
Dcurrent.txt6162 …public final class ConnectEvent extends android.app.admin.NetworkEvent implements android.os.Parce…
6348 …method public java.util.List<android.app.admin.NetworkEvent> retrieveNetworkLogs(android.content.C…
6506 …public final class DnsEvent extends android.app.admin.NetworkEvent implements android.os.Parcelabl…
6514 public abstract class NetworkEvent implements android.os.Parcelable {
6519 field public static final android.os.Parcelable.Creator<android.app.admin.NetworkEvent> CREATOR;
Dsystem-current.txt6377 …public final class ConnectEvent extends android.app.admin.NetworkEvent implements android.os.Parce…
6580 …method public java.util.List<android.app.admin.NetworkEvent> retrieveNetworkLogs(android.content.C…
6755 …public final class DnsEvent extends android.app.admin.NetworkEvent implements android.os.Parcelabl…
6763 public abstract class NetworkEvent implements android.os.Parcelable {
6768 field public static final android.os.Parcelable.Creator<android.app.admin.NetworkEvent> CREATOR;