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.java36 public final class NetworkEvent implements IpConnectivityLog.Event { class
79 public NetworkEvent(@EventType int eventType, long durationMs) { in NetworkEvent() method in NetworkEvent
84 public NetworkEvent(@EventType int eventType) { in NetworkEvent() method in NetworkEvent
88 private NetworkEvent(Parcel in) { in NetworkEvent() method in NetworkEvent
107 public static final @android.annotation.NonNull Parcelable.Creator<NetworkEvent> CREATOR
108 = new Parcelable.Creator<NetworkEvent>() {
109 public NetworkEvent createFromParcel(Parcel in) {
110 return new NetworkEvent(in);
113 public NetworkEvent[] newArray(int size) {
114 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.java9930 public @Nullable List<NetworkEvent> retrieveNetworkLogs(@Nullable ComponentName admin, in retrieveNetworkLogs()
/frameworks/base/tests/net/common/java/android/net/metrics/
DNetworkEventTest.kt38 (NetworkEvent.NETWORK_CONNECTED..NetworkEvent.NETWORK_PARTIAL_CONNECTIVITY).forEach { in testConstructorAndParcel()
39 var networkEvent = NetworkEvent(it) in testConstructorAndParcel()
43 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.java128 import android.app.admin.NetworkEvent;
13346 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.java113 import android.net.metrics.NetworkEvent;
2922 logNetworkEvent(nai, NetworkEvent.NETWORK_UNLINGER); in updateLingerState()
2927 logNetworkEvent(nai, NetworkEvent.NETWORK_LINGER); in updateLingerState()
7007 mMetricsLog.log(nai.network.netId, transports, new NetworkEvent(evtype)); in logNetworkEvent()
/frameworks/base/api/
Dtest-current.txt1594 public final class NetworkEvent implements android.net.metrics.IpConnectivityLog.Event {
1595 ctor public NetworkEvent(int, long);
1596 ctor public NetworkEvent(int);
Dsystem-current.txt4372 public final class NetworkEvent implements android.net.metrics.IpConnectivityLog.Event {
4373 ctor public NetworkEvent(int, long);
4374 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-profile6415 …m/android/server/devicepolicy/NetworkLogger$1;->sendNetworkEvent(Landroid/app/admin/NetworkEvent;)V