001 002 003package com.pax.dal.entity; 004 005public class AppNetworkStats { 006 007 private String mPackageName; 008 private long mobileRxBytes; 009 private long mobileTxBytes; 010 private long totalRxBytes; 011 private long totalTxBytes; 012 private long wifiRxBytes; 013 private long wifiTxBytes; 014 015 public AppNetworkStats() { 016 } 017 018 public AppNetworkStats(String mPackageName, long mobileRxBytes, long mobileTxBytes, long totalRxBytes, long totalTxBytes, long wifiRxBytes, long wifiTxBytes) { 019 } 020 021 /** 022 * @return <div class="zh"> 应用包名 </div> <div class="en"> application package name. </div> 023 */ 024 public String getmPackageName() { 025 return mPackageName; 026 } 027 028 public void setmPackageName(String mPackageName) { 029 this.mPackageName = mPackageName; 030 } 031 032 /** 033 * @return <div class="zh"> 指定应用程序通过移动网络接收的数据量。 </div> <div class="en">Specifies the amount of data that an application receives over a mobile network.</div> 034 */ 035 public long getMobileRxBytes() { 036 return mobileRxBytes; 037 } 038 039 public void setMobileRxBytes(long mobileRxBytes) { 040 this.mobileRxBytes = mobileRxBytes; 041 } 042 043 /** 044 * @return <div class="zh"> 指定应用程序通过移动网络发送的数据量。 </div> <div class="en"> Specifies the amount of data that the application sends over the mobile network. </div> 045 */ 046 public long getMobileTxBytes() { 047 return mobileTxBytes; 048 } 049 050 public void setMobileTxBytes(long mobileTxBytes) { 051 this.mobileTxBytes = mobileTxBytes; 052 } 053 054 /** 055 * @return <div class="zh"> 指定应用程序通过网络(WiFi和移动)接收的数据量。 </div> <div class="en"> Specifies the amount of data that the application receives over the network(WiFi and Mobile). </div> 056 */ 057 public long getTotalRxBytes() { 058 return totalRxBytes; 059 } 060 061 public void setTotalRxBytes(long totalRxBytes) { 062 this.totalRxBytes = totalRxBytes; 063 } 064 065 /** 066 * @return <div class="zh"> 指定应用程序通过网络(WiFi和移动)发送的数据量。 </div> <div class="en"> Specifies the amount of data that the application sends over the network(WiFi and Mobile). </div> 067 */ 068 public long getTotalTxBytes() { 069 return totalTxBytes; 070 } 071 072 public void setTotalTxBytes(long totalTxBytes) { 073 this.totalTxBytes = totalTxBytes; 074 } 075 076 /** 077 * @return <div class="zh"> 指定应用程序通过WiFi接收的数据量。 </div> <div class="en"> Specifies the amount of data that the app receives over WiFi. </div> 078 */ 079 public long getWifiRxBytes() { 080 return wifiRxBytes; 081 } 082 083 public void setWifiRxBytes(long wifiRxBytes) { 084 this.wifiRxBytes = wifiRxBytes; 085 } 086 087 /** 088 * @return <div class="zh"> 指定应用程序通过WiFi发送的数据量。 </div> <div class="en"> Specifies the amount of data that the app sends over WiFi. </div> 089 */ 090 public long getWifiTxBytes() { 091 return wifiTxBytes; 092 } 093 094 public void setWifiTxBytes(long wifiTxBytes) { 095 this.wifiTxBytes = wifiTxBytes; 096 } 097}