Home
last modified time | relevance | path

Searched refs:NetworkEvent (Results 1 – 24 of 24) 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;
400 …List<NetworkEvent> retrieveNetworkLogs(in ComponentName admin, in String packageName, long batchTo… in retrieveNetworkLogs()
DDevicePolicyManager.java10806 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()
/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;
3247 logNetworkEvent(nai, NetworkEvent.NETWORK_UNLINGER); in updateLingerState()
3254 logNetworkEvent(nai, NetworkEvent.NETWORK_LINGER); in updateLingerState()
7621 mMetricsLog.log(nai.network.netId, transports, new NetworkEvent(evtype)); in logNetworkEvent()
/frameworks/base/api/
Dtest-lint-baseline.txt318 EqualsAndHashCode: android.net.metrics.NetworkEvent#equals(Object):
2386 ParcelCreator: android.net.metrics.NetworkEvent:
Dtest-current.txt2420 public final class NetworkEvent implements android.net.metrics.IpConnectivityLog.Event {
2421 ctor public NetworkEvent(int, long);
2422 ctor public NetworkEvent(int);
Dsystem-current.txt6695 public final class NetworkEvent implements android.net.metrics.IpConnectivityLog.Event {
6696 ctor public NetworkEvent(int, long);
6697 ctor public NetworkEvent(int);
Dcurrent.txt6735 …public final class ConnectEvent extends android.app.admin.NetworkEvent implements android.os.Parce…
6977 …method @Nullable public java.util.List<android.app.admin.NetworkEvent> retrieveNetworkLogs(@Nullab…
7239 …public final class DnsEvent extends android.app.admin.NetworkEvent implements android.os.Parcelabl…
7268 public abstract class NetworkEvent implements android.os.Parcelable {
7273 …field @NonNull public static final android.os.Parcelable.Creator<android.app.admin.NetworkEvent> C…
/frameworks/base/config/
Dpreloaded-classes772 android.app.admin.NetworkEvent$1
773 android.app.admin.NetworkEvent
4376 android.net.metrics.NetworkEvent$1
4377 android.net.metrics.NetworkEvent$Decoder
4378 android.net.metrics.NetworkEvent
9940 com.android.server.connectivity.metrics.nano.IpConnectivityLogClass$NetworkEvent
Dboot-image-profile.txt14714 HPLandroid/net/metrics/NetworkEvent$1;->createFromParcel(Landroid/os/Parcel;)Landroid/net/metrics/N…
14715 HPLandroid/net/metrics/NetworkEvent$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
14716 HSPLandroid/net/metrics/NetworkEvent;-><init>(I)V
14717 HSPLandroid/net/metrics/NetworkEvent;-><init>(IJ)V
14718 HPLandroid/net/metrics/NetworkEvent;-><init>(Landroid/os/Parcel;)V
14719 HPLandroid/net/metrics/NetworkEvent;-><init>(Landroid/os/Parcel;Landroid/net/metrics/NetworkEvent$1…
31741 …(Lcom/android/server/connectivity/metrics/nano/IpConnectivityLogClass$NetworkEvent;)Lcom/android/s…
31749 HPLcom/android/server/connectivity/metrics/nano/IpConnectivityLogClass$NetworkEvent;-><init>()V
31750 HPLcom/android/server/connectivity/metrics/nano/IpConnectivityLogClass$NetworkEvent;->computeSerial…
31751 HPLcom/android/server/connectivity/metrics/nano/IpConnectivityLogClass$NetworkEvent;->writeTo(Lcom/…
[all …]
/frameworks/base/non-updatable-api/
Dsystem-current.txt6549 public final class NetworkEvent implements android.net.metrics.IpConnectivityLog.Event {
6550 ctor public NetworkEvent(int, long);
6551 ctor public NetworkEvent(int);
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/services/
Dart-profile12524 …tivity/metrics/nano/IpConnectivityLogClass$IpConnectivityEvent;Landroid/net/metrics/NetworkEvent;)V
14571 …m/android/server/devicepolicy/NetworkLogger$1;->sendNetworkEvent(Landroid/app/admin/NetworkEvent;)V