Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/metrics/
DNetworkEvent.java38 public final class NetworkEvent implements IpConnectivityLog.Event { class
81 public NetworkEvent(@EventType int eventType, long durationMs) { in NetworkEvent() method in NetworkEvent
86 public NetworkEvent(@EventType int eventType) { in NetworkEvent() method in NetworkEvent
90 private NetworkEvent(Parcel in) { in NetworkEvent() method in NetworkEvent
109 public static final @android.annotation.NonNull Parcelable.Creator<NetworkEvent> CREATOR
110 = new Parcelable.Creator<NetworkEvent>() {
111 public NetworkEvent createFromParcel(Parcel in) {
112 return new NetworkEvent(in);
115 public NetworkEvent[] newArray(int size) {
116 return new NetworkEvent[size];
[all …]
/frameworks/base/core/java/android/app/admin/
DNetworkEvent.java27 public abstract class NetworkEvent implements Parcelable { class
44 NetworkEvent() { in NetworkEvent() method in NetworkEvent
49 NetworkEvent(String packageName, long timestamp) { in NetworkEvent() method in NetworkEvent
88 public static final @android.annotation.NonNull Parcelable.Creator<NetworkEvent> CREATOR
89 = new Parcelable.Creator<NetworkEvent>() {
90 public NetworkEvent createFromParcel(Parcel in) {
106 public NetworkEvent[] newArray(int size) {
107 return new NetworkEvent[size];
DNetworkEvent.aidl20 parcelable NetworkEvent;
DConnectEvent.java32 public final class ConnectEvent extends NetworkEvent implements Parcelable {
DDnsEvent.java34 public final class DnsEvent extends NetworkEvent implements Parcelable {
DIDevicePolicyManager.aidl20 import android.app.admin.NetworkEvent;
375 …List<NetworkEvent> retrieveNetworkLogs(in ComponentName admin, in String packageName, long batchTo… in retrieveNetworkLogs()
DDevicePolicyManager.java9954 public @Nullable List<NetworkEvent> retrieveNetworkLogs(@Nullable ComponentName admin, in retrieveNetworkLogs()
/frameworks/base/tests/net/common/java/android/net/metrics/
DNetworkEventTest.kt31 (NetworkEvent.NETWORK_CONNECTED..NetworkEvent.NETWORK_PARTIAL_CONNECTIVITY).forEach { in testConstructorAndParcel()
32 var networkEvent = NetworkEvent(it) in testConstructorAndParcel()
36 networkEvent = NetworkEvent(it, Long.MAX_VALUE) in testConstructorAndParcel()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DNetworkLoggingHandler.java24 import android.app.admin.NetworkEvent;
98 private ArrayList<NetworkEvent> mNetworkEvents = new ArrayList<>();
105 private final LongSparseArray<ArrayList<NetworkEvent>> mBatches =
134 final NetworkEvent networkEvent = msg.getData().getParcelable(NETWORK_EVENT_KEY); in handleMessage()
228 for (NetworkEvent event : mNetworkEvents) { in finalizeBatchAndBuildDeviceOwnerMessageLocked()
282 synchronized List<NetworkEvent> retrieveFullLogBatch(final long batchToken) { in retrieveFullLogBatch()
DNetworkLogger.java21 import android.app.admin.NetworkEvent;
76 private void sendNetworkEvent(NetworkEvent event) {
187 List<NetworkEvent> retrieveLogs(long batchToken) { in retrieveLogs()
DDevicePolicyManagerService.java129 import android.app.admin.NetworkEvent;
13358 public List<NetworkEvent> retrieveNetworkLogs(@Nullable ComponentName admin, in retrieveNetworkLogs()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DNetworkEventTest.java29 import android.app.admin.NetworkEvent;
72 List<NetworkEvent> events = fillHandlerWithFullBatchOfEvents(startingId); in testNetworkEventId_monotonicallyIncreasing()
92 List<NetworkEvent> events = fillHandlerWithFullBatchOfEvents(startingId); in testNetworkEventId_wrapsAround()
117 private List<NetworkEvent> fillHandlerWithFullBatchOfEvents(long startingId) throws Exception { in fillHandlerWithFullBatchOfEvents()
/frameworks/base/services/core/java/com/android/server/connectivity/
DIpConnectivityEventBuilder.java39 import android.net.metrics.NetworkEvent;
190 if (in instanceof NetworkEvent) { in setEvent()
191 setNetworkEvent(out, (NetworkEvent) in); in setEvent()
246 private static void setNetworkEvent(IpConnectivityEvent out, NetworkEvent in) { in setNetworkEvent()
247 IpConnectivityLogClass.NetworkEvent networkEvent = in setNetworkEvent()
248 new IpConnectivityLogClass.NetworkEvent(); in setNetworkEvent()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DIpConnectivityEventBuilderTest.java41 import android.net.metrics.NetworkEvent;
331 aType(NetworkEvent.class), in testNetworkEventSerialization()
/frameworks/base/proto/src/
Dipconnectivity.proto147 // This message is associated to android.net.metrics.NetworkEvent.
149 message NetworkEvent { message
155 // android.net.metrics.NetworkEvent.
451 // Since version 4. Replace NetworkEvent.
581 NetworkEvent network_event = 4 [deprecated = true];
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java135 import android.net.metrics.NetworkEvent;
3239 logNetworkEvent(nai, NetworkEvent.NETWORK_UNLINGER); in updateLingerState()
3246 logNetworkEvent(nai, NetworkEvent.NETWORK_LINGER); in updateLingerState()
7606 mMetricsLog.log(nai.network.netId, transports, new NetworkEvent(evtype)); in logNetworkEvent()
/frameworks/base/api/
Dtest-lint-baseline.txt320 EqualsAndHashCode: android.net.metrics.NetworkEvent#equals(Object):
2459 ParcelCreator: android.net.metrics.NetworkEvent:
Dtest-current.txt1827 public final class NetworkEvent implements android.net.metrics.IpConnectivityLog.Event {
1828 ctor public NetworkEvent(int, long);
1829 ctor public NetworkEvent(int);
Dsystem-current.txt5018 public final class NetworkEvent implements android.net.metrics.IpConnectivityLog.Event {
5019 ctor public NetworkEvent(int, long);
5020 ctor public NetworkEvent(int);
Dcurrent.txt6523 …public final class ConnectEvent extends android.app.admin.NetworkEvent implements android.os.Parce…
6753 …method @Nullable public java.util.List<android.app.admin.NetworkEvent> retrieveNetworkLogs(@Nullab…
6998 …public final class DnsEvent extends android.app.admin.NetworkEvent implements android.os.Parcelabl…
7012 public abstract class NetworkEvent implements android.os.Parcelable {
7017 …field @NonNull public static final android.os.Parcelable.Creator<android.app.admin.NetworkEvent> C…
/frameworks/base/non-updatable-api/
Dsystem-current.txt4924 public final class NetworkEvent implements android.net.metrics.IpConnectivityLog.Event {
4925 ctor public NetworkEvent(int, long);
4926 ctor public NetworkEvent(int);
Dcurrent.txt6523 …public final class ConnectEvent extends android.app.admin.NetworkEvent implements android.os.Parce…
6753 …method @Nullable public java.util.List<android.app.admin.NetworkEvent> retrieveNetworkLogs(@Nullab…
6998 …public final class DnsEvent extends android.app.admin.NetworkEvent implements android.os.Parcelabl…
7012 public abstract class NetworkEvent implements android.os.Parcelable {
7017 …field @NonNull public static final android.os.Parcelable.Creator<android.app.admin.NetworkEvent> C…
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt3402 Landroid/app/admin/NetworkEvent;-><init>()V
3403 Landroid/app/admin/NetworkEvent;-><init>(Ljava/lang/String;J)V
3404 Landroid/app/admin/NetworkEvent;->mId:J
3405 Landroid/app/admin/NetworkEvent;->mPackageName:Ljava/lang/String;
3406 Landroid/app/admin/NetworkEvent;->mTimestamp:J
3407 Landroid/app/admin/NetworkEvent;->PARCEL_TOKEN_CONNECT_EVENT:I
3408 Landroid/app/admin/NetworkEvent;->PARCEL_TOKEN_DNS_EVENT:I
3409 Landroid/app/admin/NetworkEvent;->setId(J)V
44062 Landroid/net/metrics/NetworkEvent$Decoder;-><init>()V
44063 Landroid/net/metrics/NetworkEvent$Decoder;->constants:Landroid/util/SparseArray;
[all …]
Dboot-image-profile.txt10727 HSPLandroid/net/metrics/NetworkEvent$1;-><init>()V
10728 HSPLandroid/net/metrics/NetworkEvent$1;->createFromParcel(Landroid/os/Parcel;)Landroid/net/metrics/
10729 HSPLandroid/net/metrics/NetworkEvent$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
25436 HPLcom/android/server/connectivity/metrics/nano/IpConnectivityLogClass$NetworkEvent;->computeSerial…
25437 HPLcom/android/server/connectivity/metrics/nano/IpConnectivityLogClass$NetworkEvent;->writeTo(Lcom/…
/frameworks/base/services/
Dart-profile6415 …m/android/server/devicepolicy/NetworkLogger$1;->sendNetworkEvent(Landroid/app/admin/NetworkEvent;)V