use of android.net.metrics.NetworkEvent in project platform_frameworks_base by android.
the class NetworkMonitor method maybeLogEvaluationResult.
private void maybeLogEvaluationResult(int evtype) {
if (mEvaluationTimer.isRunning()) {
mMetricsLog.log(new NetworkEvent(mNetId, evtype, mEvaluationTimer.stop()));
mEvaluationTimer.reset();
}
}
use of android.net.metrics.NetworkEvent in project android_frameworks_base by crdroidandroid.
the class NetworkMonitor method maybeLogEvaluationResult.
private void maybeLogEvaluationResult(int evtype) {
if (mEvaluationTimer.isRunning()) {
mMetricsLog.log(new NetworkEvent(mNetId, evtype, mEvaluationTimer.stop()));
mEvaluationTimer.reset();
}
}
use of android.net.metrics.NetworkEvent in project android_frameworks_base by DirtyUnicorns.
the class NetworkMonitor method maybeLogEvaluationResult.
private void maybeLogEvaluationResult(int evtype) {
if (mEvaluationTimer.isRunning()) {
mMetricsLog.log(new NetworkEvent(mNetId, evtype, mEvaluationTimer.stop()));
mEvaluationTimer.reset();
}
}
use of android.net.metrics.NetworkEvent in project android_frameworks_base by AOSPA.
the class NetworkMonitor method maybeLogEvaluationResult.
private void maybeLogEvaluationResult(int evtype) {
if (mEvaluationTimer.isRunning()) {
mMetricsLog.log(new NetworkEvent(mNetId, evtype, mEvaluationTimer.stop()));
mEvaluationTimer.reset();
}
}
use of android.net.metrics.NetworkEvent in project android_frameworks_base by ResurrectionRemix.
the class NetworkMonitor method maybeLogEvaluationResult.
private void maybeLogEvaluationResult(int evtype) {
if (mEvaluationTimer.isRunning()) {
mMetricsLog.log(new NetworkEvent(mNetId, evtype, mEvaluationTimer.stop()));
mEvaluationTimer.reset();
}
}
Aggregations