Fix wrong sample order written by NetworkStatsService

The event logs written by NetworkStatsService have
different order from the event log tags defined in
EventLogTags.logtags. This change corrects the order
of event log.

Bug: 269122939
Test: FrameworksNetTests
Change-Id: Iaed65f7eeadfaf391393fa56716b2191da1a7c5c
diff --git a/service-t/src/com/android/server/net/NetworkStatsService.java b/service-t/src/com/android/server/net/NetworkStatsService.java
index 2346244..9176ec2 100644
--- a/service-t/src/com/android/server/net/NetworkStatsService.java
+++ b/service-t/src/com/android/server/net/NetworkStatsService.java
@@ -2425,8 +2425,8 @@
 
         if (SdkLevel.isAtLeastU()) {
             EventLog.writeEvent(LOG_TAG_NETSTATS_MOBILE_SAMPLE,
-                    xtTotal.rxBytes, xtTotal.rxPackets, xtTotal.txBytes, xtTotal.txPackets,
-                    uidTotal.rxBytes, uidTotal.rxPackets, uidTotal.txBytes, uidTotal.txPackets,
+                    xtTotal.rxBytes, xtTotal.txBytes, xtTotal.rxPackets, xtTotal.txPackets,
+                    uidTotal.rxBytes, uidTotal.txBytes, uidTotal.rxPackets, uidTotal.txPackets,
                     currentTime);
         } else {
             // To keep the format of event log, here replaces the value of DevRecorder with the
@@ -2445,8 +2445,8 @@
 
         if (SdkLevel.isAtLeastU()) {
             EventLog.writeEvent(LOG_TAG_NETSTATS_WIFI_SAMPLE,
-                    xtTotal.rxBytes, xtTotal.rxPackets, xtTotal.txBytes, xtTotal.txPackets,
-                    uidTotal.rxBytes, uidTotal.rxPackets, uidTotal.txBytes, uidTotal.txPackets,
+                    xtTotal.rxBytes, xtTotal.txBytes, xtTotal.rxPackets, xtTotal.txPackets,
+                    uidTotal.rxBytes, uidTotal.txBytes, uidTotal.rxPackets, uidTotal.txPackets,
                     currentTime);
         } else {
             // To keep the format of event log, here replaces the value of DevRecorder with the