Loading Android.bp +0 −1 Original line number Diff line number Diff line Loading @@ -96,7 +96,6 @@ java_library { "android.hardware.radio-V1.5-java", "voip-common", "ims-common", "services", "unsupportedappusage", "telephony-resources", ], Loading src/java/com/android/internal/telephony/imsphone/ImsPhoneCallTracker.java +2 −3 Original line number Diff line number Diff line Loading @@ -108,7 +108,6 @@ import com.android.internal.telephony.nano.TelephonyProto.TelephonyCallSession; import com.android.internal.telephony.nano.TelephonyProto.TelephonyCallSession.Event.ImsCommand; import com.android.internal.telephony.util.TelephonyResourceUtils; import com.android.internal.util.IndentingPrintWriter; import com.android.server.net.NetworkStatsService; import com.android.telephony.Rlog; import java.io.FileDescriptor; Loading Loading @@ -3661,7 +3660,7 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall { // the only thing we can do here is splitting the usage into half rx and half tx. // Uid -1 indicates this is for the overall device data usage. vtDataUsageSnapshot.combineValues(new NetworkStats.Entry( NetworkStatsService.VT_INTERFACE, -1, NetworkStats.SET_FOREGROUND, NetworkStats.IFACE_VT, -1, NetworkStats.SET_FOREGROUND, NetworkStats.TAG_NONE, NetworkStats.METERED_YES, isRoaming, NetworkStats.DEFAULT_NETWORK_YES, delta / 2, 0, delta / 2, 0, 0)); mVtDataUsageSnapshot = vtDataUsageSnapshot; Loading @@ -3684,7 +3683,7 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall { // Since the modem only reports the total vt data usage rather than rx/tx separately, // the only thing we can do here is splitting the usage into half rx and half tx. vtDataUsageUidSnapshot.combineValues(new NetworkStats.Entry( NetworkStatsService.VT_INTERFACE, mDefaultDialerUid.get(), NetworkStats.IFACE_VT, mDefaultDialerUid.get(), NetworkStats.SET_FOREGROUND, NetworkStats.TAG_NONE, NetworkStats.METERED_YES, isRoaming, NetworkStats.DEFAULT_NETWORK_YES, delta / 2, 0, delta / 2, 0, 0)); mVtDataUsageUidSnapshot = vtDataUsageUidSnapshot; Loading Loading
Android.bp +0 −1 Original line number Diff line number Diff line Loading @@ -96,7 +96,6 @@ java_library { "android.hardware.radio-V1.5-java", "voip-common", "ims-common", "services", "unsupportedappusage", "telephony-resources", ], Loading
src/java/com/android/internal/telephony/imsphone/ImsPhoneCallTracker.java +2 −3 Original line number Diff line number Diff line Loading @@ -108,7 +108,6 @@ import com.android.internal.telephony.nano.TelephonyProto.TelephonyCallSession; import com.android.internal.telephony.nano.TelephonyProto.TelephonyCallSession.Event.ImsCommand; import com.android.internal.telephony.util.TelephonyResourceUtils; import com.android.internal.util.IndentingPrintWriter; import com.android.server.net.NetworkStatsService; import com.android.telephony.Rlog; import java.io.FileDescriptor; Loading Loading @@ -3661,7 +3660,7 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall { // the only thing we can do here is splitting the usage into half rx and half tx. // Uid -1 indicates this is for the overall device data usage. vtDataUsageSnapshot.combineValues(new NetworkStats.Entry( NetworkStatsService.VT_INTERFACE, -1, NetworkStats.SET_FOREGROUND, NetworkStats.IFACE_VT, -1, NetworkStats.SET_FOREGROUND, NetworkStats.TAG_NONE, NetworkStats.METERED_YES, isRoaming, NetworkStats.DEFAULT_NETWORK_YES, delta / 2, 0, delta / 2, 0, 0)); mVtDataUsageSnapshot = vtDataUsageSnapshot; Loading @@ -3684,7 +3683,7 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall { // Since the modem only reports the total vt data usage rather than rx/tx separately, // the only thing we can do here is splitting the usage into half rx and half tx. vtDataUsageUidSnapshot.combineValues(new NetworkStats.Entry( NetworkStatsService.VT_INTERFACE, mDefaultDialerUid.get(), NetworkStats.IFACE_VT, mDefaultDialerUid.get(), NetworkStats.SET_FOREGROUND, NetworkStats.TAG_NONE, NetworkStats.METERED_YES, isRoaming, NetworkStats.DEFAULT_NETWORK_YES, delta / 2, 0, delta / 2, 0, 0)); mVtDataUsageUidSnapshot = vtDataUsageUidSnapshot; Loading