use of android.net.metrics.IpManagerEvent in project platform_frameworks_base by android.
the class IpManager method recordMetric.
private void recordMetric(final int type) {
if (mStartTimeMillis <= 0) {
Log.wtf(mTag, "Start time undefined!");
}
final long duration = SystemClock.elapsedRealtime() - mStartTimeMillis;
mMetricsLog.log(new IpManagerEvent(mInterfaceName, type, duration));
}
use of android.net.metrics.IpManagerEvent in project android_frameworks_base by ResurrectionRemix.
the class IpManager method recordMetric.
private void recordMetric(final int type) {
if (mStartTimeMillis <= 0) {
Log.wtf(mTag, "Start time undefined!");
}
final long duration = SystemClock.elapsedRealtime() - mStartTimeMillis;
mMetricsLog.log(new IpManagerEvent(mInterfaceName, type, duration));
}
use of android.net.metrics.IpManagerEvent in project android_frameworks_base by crdroidandroid.
the class IpManager method recordMetric.
private void recordMetric(final int type) {
if (mStartTimeMillis <= 0) {
Log.wtf(mTag, "Start time undefined!");
}
final long duration = SystemClock.elapsedRealtime() - mStartTimeMillis;
mMetricsLog.log(new IpManagerEvent(mInterfaceName, type, duration));
}
Aggregations