Search in sources :

Example 1 with NetworkEvent

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();
    }
}
Also used : NetworkEvent(android.net.metrics.NetworkEvent)

Example 2 with NetworkEvent

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();
    }
}
Also used : NetworkEvent(android.net.metrics.NetworkEvent)

Example 3 with NetworkEvent

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();
    }
}
Also used : NetworkEvent(android.net.metrics.NetworkEvent)

Example 4 with NetworkEvent

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();
    }
}
Also used : NetworkEvent(android.net.metrics.NetworkEvent)

Example 5 with NetworkEvent

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();
    }
}
Also used : NetworkEvent(android.net.metrics.NetworkEvent)

Aggregations

NetworkEvent (android.net.metrics.NetworkEvent)5