All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mobi.cangol.mobile.stat.traffic.AppTraffic Maven / Gradle / Ivy

There is a newer version: 1.2.7
Show newest version
/**
 * Copyright (c) 2013 Cangol
 * 

* Licensed under the Apache License, Version 2.0 (the "License") * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

* http://www.apache.org/licenses/LICENSE-2.0 *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package mobi.cangol.mobile.stat.traffic; import mobi.cangol.mobile.db.DatabaseField; import mobi.cangol.mobile.db.DatabaseTable; /** * Created by weixuewu on 16/1/23. */ @DatabaseTable("APP_TRAFFIC") public class AppTraffic { @DatabaseField(primaryKey = true, notNull = true, value = "id") public int id; @DatabaseField(value = "package_name", notNull = true) public String packageName; @DatabaseField(value = "uid", notNull = true) public int uid; @DatabaseField(value = "total_rx", notNull = true) public long totalRx; @DatabaseField(value = "total_tx", notNull = true) public long totalTx; @DatabaseField(value = "mobile_rx", notNull = true) public long mobileRx; @DatabaseField(value = "mobile_tx", notNull = true) public long mobileTx; @DatabaseField(value = "wifi_rx", notNull = true) public long wifiRx; @DatabaseField(value = "wifi_tx", notNull = true) public long wifiTx; @Override public String toString() { return "AppTraffic{" + "id=" + id + ", packageName='" + packageName + '\'' + ", uid=" + uid + ", totalRx=" + totalRx + ", totalTx=" + totalTx + ", mobileRx=" + mobileRx + ", mobileTx=" + mobileTx + ", wifiRx=" + wifiRx + ", wifiTx=" + wifiTx + '}'; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy