/frameworks/av/services/mediametrics/ |
D | MediaDrmStatsdHelper.cpp | 33 …{{.msb = 0x6DD8B3C345F44A68, .lsb = 0xBF3A64168D01A4A6}, android::stats::media_metrics::MEDIA_DRM_… 34 …{{.msb = 0xF239E769EFA34850, .lsb = 0x9C16A903C6932EFB}, android::stats::media_metrics::MEDIA_DRM_… 35 …{{.msb = 0x616C746963617374, .lsb = 0x2D50726F74656374}, android::stats::media_metrics::MEDIA_DRM_… 36 …{{.msb = 0x94CE86FB07FF4F43, .lsb = 0xADB893D2FA968CA2}, android::stats::media_metrics::MEDIA_DRM_… 37 …{{.msb = 0x279FE473512C48FE, .lsb = 0xADE8D176FEE6B40F}, android::stats::media_metrics::MEDIA_DRM_… 38 …{{.msb = 0x3D5E6D359B9A41E8, .lsb = 0xB843DD3C6E72C42C}, android::stats::media_metrics::MEDIA_DRM_… 39 …{{.msb = 0x3EA8778F77424BF9, .lsb = 0xB18BE834B2ACBD47}, android::stats::media_metrics::MEDIA_DRM_… 40 …{{.msb = 0xBE58615B19C44684, .lsb = 0x88B3C8C57E99E957}, android::stats::media_metrics::MEDIA_DRM_… 41 …{{.msb = 0xE2719D58A985B3C9, .lsb = 0x781AB030AF78D30E}, android::stats::media_metrics::MEDIA_DRM_… 42 …{{.msb = 0x644FE7B5260F4FAD, .lsb = 0x949A0762FFB054B4}, android::stats::media_metrics::MEDIA_DRM_… [all …]
|
D | statsd_extractor.cpp | 54 ::android::stats::mediametrics_message::ExtractorData metrics_proto; in statsd_extractor() 72 stats::mediametrics_message::ExtractorData::EntryPoint entry_point = in statsd_extractor() 73 stats::mediametrics_message::ExtractorData_EntryPoint_OTHER; in statsd_extractor() 76 entry_point = stats::mediametrics_message::ExtractorData_EntryPoint_SDK; in statsd_extractor() 78 entry_point = stats::mediametrics_message::ExtractorData_EntryPoint_NDK_WITH_JVM; in statsd_extractor() 80 entry_point = stats::mediametrics_message::ExtractorData_EntryPoint_NDK_NO_JVM; in statsd_extractor() 82 entry_point = stats::mediametrics_message::ExtractorData_EntryPoint_OTHER; in statsd_extractor() 99 const stats::media_metrics::BytesField bf_serialized( serialized.c_str(), serialized.size()); in statsd_extractor() 100 const int result = stats::media_metrics::stats_write( in statsd_extractor() 101 stats::media_metrics::MEDIAMETRICS_EXTRACTOR_REPORTED, in statsd_extractor() [all …]
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | PssTable.java | 57 final long[] stats = getArrayForKey(key); in mergeStats() local 63 mergeStats(stats, statsIndex, thatStats, thatStatsIndex); in mergeStats() 74 final long[] stats = getArrayForKey(key); in mergeStats() local 76 mergeStats(stats, statsIndex, inCount, minPss, avgPss, maxPss, minUss, avgUss, maxUss, in mergeStats() 80 public static void mergeStats(final long[] stats, final int statsIndex, in mergeStats() argument 82 mergeStats(stats, statsIndex, (int)thatStats[thatStatsIndex + PSS_SAMPLE_COUNT], in mergeStats() 94 public static void mergeStats(final long[] stats, final int statsIndex, final int inCount, in mergeStats() argument 98 final long count = stats[statsIndex + PSS_SAMPLE_COUNT]; in mergeStats() 100 stats[statsIndex + PSS_SAMPLE_COUNT] = inCount; in mergeStats() 101 stats[statsIndex + PSS_MINIMUM] = minPss; in mergeStats() [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/power/ |
D | EnergyConsumerStatsTest.java | 63 final EnergyConsumerStats stats = new EnergyConsumerStats(config); in testConstruction() local 67 assertTrue(stats.isStandardBucketSupported(bucket)); in testConstruction() 68 assertEquals(0L, stats.getAccumulatedStandardBucketCharge(bucket)); in testConstruction() 70 assertFalse(stats.isStandardBucketSupported(bucket)); in testConstruction() 72 stats.getAccumulatedStandardBucketCharge(bucket)); in testConstruction() 81 assertEquals(0L, stats.getAccumulatedCustomBucketCharge(i)); in testConstruction() 98 final EnergyConsumerStats stats = new EnergyConsumerStats(config); in testReadWriteParcel() local 100 stats.setState(0, 1000); in testReadWriteParcel() 101 stats.updateStandardBucket(POWER_BUCKET_SCREEN_ON, 10, 2000); in testReadWriteParcel() 102 stats.setState(1, 3000); in testReadWriteParcel() [all …]
|
/frameworks/av/media/libmedia/include/media/ |
D | EventMetric.h | 88 EventStatistics* stats = values_[attribute].get(); in Record() local 90 double deviation = value - stats->mean; in Record() 91 stats->mean = stats->mean + (deviation / stats->count); in Record() 92 stats->sum_squared_deviation = in Record() 93 stats->sum_squared_deviation + (deviation * (value - stats->mean)); in Record() 94 stats->count++; in Record() 96 stats->min = stats->min < value ? stats->min : value; in Record() 97 stats->max = stats->max > value ? stats->max : value; in Record() 99 std::unique_ptr<EventStatistics> stats = in Record() local 101 stats->count = 1; in Record() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | SatelliteStatsTest.java | 91 SatelliteController stats = captor.getValue(); in onSatelliteControllerMetrics_withAtoms() local 93 stats.countOfSatelliteServiceEnablementsSuccess); in onSatelliteControllerMetrics_withAtoms() 95 stats.countOfSatelliteServiceEnablementsFail); in onSatelliteControllerMetrics_withAtoms() 97 stats.countOfOutgoingDatagramSuccess); in onSatelliteControllerMetrics_withAtoms() 99 stats.countOfOutgoingDatagramFail); in onSatelliteControllerMetrics_withAtoms() 101 stats.countOfIncomingDatagramSuccess); in onSatelliteControllerMetrics_withAtoms() 103 stats.countOfIncomingDatagramFail); in onSatelliteControllerMetrics_withAtoms() 105 stats.countOfDatagramTypeSosSmsSuccess); in onSatelliteControllerMetrics_withAtoms() 107 stats.countOfDatagramTypeSosSmsFail); in onSatelliteControllerMetrics_withAtoms() 109 stats.countOfDatagramTypeLocationSharingSuccess); in onSatelliteControllerMetrics_withAtoms() [all …]
|
D | ImsStatsTest.java | 178 ImsRegistrationStats stats = captor.getValue(); in conclude_registered() local 179 assertEquals(CARRIER1_ID, stats.carrierId); in conclude_registered() 180 assertEquals(0, stats.simSlotIndex); in conclude_registered() 181 assertEquals(TelephonyManager.NETWORK_TYPE_LTE, stats.rat); in conclude_registered() 182 assertEquals(2000L, stats.registeredMillis); in conclude_registered() 183 assertEquals(2000L, stats.voiceCapableMillis); in conclude_registered() 184 assertEquals(2000L, stats.voiceAvailableMillis); in conclude_registered() 185 assertEquals(2000L, stats.videoCapableMillis); in conclude_registered() 186 assertEquals(2000L, stats.videoAvailableMillis); in conclude_registered() 187 assertEquals(2000L, stats.utCapableMillis); in conclude_registered() [all …]
|
D | RcsStatsTest.java | 189 for (RcsAcsProvisioningStats stats : mRcsAcsProvisioningStatsList) { in getRcsAcsProvisioningCachedTime() 190 if (stats.carrierId == carreirId && stats.slotId == slotId) { in getRcsAcsProvisioningCachedTime() 191 return stats.stateTimerMillis; in getRcsAcsProvisioningCachedTime() 255 ImsRegistrationFeatureTagStats stats = captorValues.get(index); in onImsRegistrationFeatureTagStats_withAtoms() local 256 assertEquals(CARRIER_ID, stats.carrierId); in onImsRegistrationFeatureTagStats_withAtoms() 257 assertEquals(SLOT_ID, stats.slotId); in onImsRegistrationFeatureTagStats_withAtoms() 259 stats.featureTagName); in onImsRegistrationFeatureTagStats_withAtoms() 260 assertEquals(registrationTech, stats.registrationTech); in onImsRegistrationFeatureTagStats_withAtoms() 280 RcsClientProvisioningStats stats = captor.getValue(); in onRcsClientProvisioningStats_withAtoms() local 281 assertEquals(CARRIER_ID, stats.carrierId); in onRcsClientProvisioningStats_withAtoms() [all …]
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/transport/ |
D | TransportStatsTest.java | 54 Stats stats = mTransportStats.getStatsForTransport(mTransportComponent1); in testRegisterConnectionTime() local 55 assertThat(stats.average).isWithin(TOLERANCE).of(50); in testRegisterConnectionTime() 56 assertThat(stats.max).isEqualTo(50L); in testRegisterConnectionTime() 57 assertThat(stats.min).isEqualTo(50L); in testRegisterConnectionTime() 58 assertThat(stats.n).isEqualTo(1); in testRegisterConnectionTime() 67 Stats stats = mTransportStats.getStatsForTransport(mTransportComponent1); in testRegisterConnectionTime_whenHasAlreadyOneSample() local 68 assertThat(stats.average).isWithin(TOLERANCE).of(75); in testRegisterConnectionTime_whenHasAlreadyOneSample() 69 assertThat(stats.max).isEqualTo(100L); in testRegisterConnectionTime_whenHasAlreadyOneSample() 70 assertThat(stats.min).isEqualTo(50L); in testRegisterConnectionTime_whenHasAlreadyOneSample() 71 assertThat(stats.n).isEqualTo(2); in testRegisterConnectionTime_whenHasAlreadyOneSample() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | PersistAtomsStorage.java | 398 public synchronized void addImsRegistrationStats(ImsRegistrationStats stats) { in addImsRegistrationStats() argument 399 ImsRegistrationStats existingStats = find(stats); in addImsRegistrationStats() 401 existingStats.registeredMillis += stats.registeredMillis; in addImsRegistrationStats() 402 existingStats.voiceCapableMillis += stats.voiceCapableMillis; in addImsRegistrationStats() 403 existingStats.voiceAvailableMillis += stats.voiceAvailableMillis; in addImsRegistrationStats() 404 existingStats.smsCapableMillis += stats.smsCapableMillis; in addImsRegistrationStats() 405 existingStats.smsAvailableMillis += stats.smsAvailableMillis; in addImsRegistrationStats() 406 existingStats.videoCapableMillis += stats.videoCapableMillis; in addImsRegistrationStats() 407 existingStats.videoAvailableMillis += stats.videoAvailableMillis; in addImsRegistrationStats() 408 existingStats.utCapableMillis += stats.utCapableMillis; in addImsRegistrationStats() [all …]
|
D | MetricsCollector.java | 335 for (DataCallSessionStats stats : mOngoingDataCallStats) { in concludeDataCallSessionStats() 336 stats.conclude(); in concludeDataCallSessionStats() 1057 private static StatsEvent buildStatsEvent(ImsRegistrationStats stats) { in buildStatsEvent() argument 1060 stats.carrierId, in buildStatsEvent() 1061 stats.simSlotIndex, in buildStatsEvent() 1062 stats.rat, in buildStatsEvent() 1063 roundAndConvertMillisToSeconds(stats.registeredMillis), in buildStatsEvent() 1064 roundAndConvertMillisToSeconds(stats.voiceCapableMillis), in buildStatsEvent() 1065 roundAndConvertMillisToSeconds(stats.voiceAvailableMillis), in buildStatsEvent() 1066 roundAndConvertMillisToSeconds(stats.smsCapableMillis), in buildStatsEvent() [all …]
|
D | ModemPowerMetrics.java | 55 CellularBatteryStats stats = getStats(); in buildProto() local 56 if (stats != null) { in buildProto() 57 m.loggingDurationMs = stats.getLoggingDurationMillis(); in buildProto() 58 m.energyConsumedMah = stats.getEnergyConsumedMaMillis() in buildProto() 60 m.numPacketsTx = stats.getNumPacketsTx(); in buildProto() 61 m.cellularKernelActiveTimeMs = stats.getKernelActiveTimeMillis(); in buildProto() 63 long timeInVeryPoorRxSignalLevelMs = stats.getTimeInRxSignalStrengthLevelMicros( in buildProto() 69 m.sleepTimeMs = stats.getSleepTimeMillis(); in buildProto() 70 m.idleTimeMs = stats.getIdleTimeMillis(); in buildProto() 71 m.rxTimeMs = stats.getRxTimeMillis(); in buildProto() [all …]
|
/frameworks/base/libs/hwui/tests/unit/ |
D | FrameMetricsReporterTests.cpp | 47 const int64_t* stats; in TEST() local 51 reporter->reportFrameMetrics(stats, hasPresentTime, frameNumber, surfaceControlId); in TEST() 55 reporter->reportFrameMetrics(stats, hasPresentTime, frameNumber, surfaceControlId); in TEST() 59 reporter->reportFrameMetrics(stats, hasPresentTime, frameNumber, surfaceControlId); in TEST() 63 reporter->reportFrameMetrics(stats, hasPresentTime, frameNumber, surfaceControlId); in TEST() 67 const int64_t* stats; in TEST() local 80 reporter->reportFrameMetrics(stats, hasPresentTime, frameNumber, surfaceControlId); in TEST() 84 reporter->reportFrameMetrics(stats, hasPresentTime, frameNumber, surfaceControlId); in TEST() 88 const int64_t* stats; in TEST() local 101 reporter->reportFrameMetrics(stats, hasPresentTime, frameNumber, surfaceControlId); in TEST() [all …]
|
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/ |
D | BenchmarkResults.java | 35 final Bundle stats = new Bundle(); in getStatsToReport() local 36 stats.putDouble("Mean (ms)", mean()); in getStatsToReport() 37 return stats; in getStatsToReport() 41 final Bundle stats = new Bundle(); in getStatsToLog() local 42 stats.putDouble("Mean (ms)", mean()); in getStatsToLog() 43 stats.putDouble("Median (ms)", median()); in getStatsToLog() 44 stats.putDouble("Sigma (ms)", standardDeviation()); in getStatsToLog() 45 return stats; in getStatsToLog() 53 final Bundle stats = new Bundle(); in getFailedStatsToReport() local 54 stats.putDouble("Mean (ms)", DECLARED_VALUE_IF_ERROR_MS); in getFailedStatsToReport() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/stats/ |
D | AmbientDisplayPowerCalculatorTest.java | 17 package com.android.server.power.stats; 48 BatteryStatsImpl stats = mStatsRule.getBatteryStats(); in testMeasuredEnergyBasedModel() local 50 stats.updateDisplayEnergyConsumerStatsLocked(new long[]{300_000_000}, in testMeasuredEnergyBasedModel() 53 stats.noteScreenStateLocked(0, Display.STATE_DOZE, 30 * MINUTE_IN_MS, 30 * MINUTE_IN_MS, in testMeasuredEnergyBasedModel() 56 stats.updateDisplayEnergyConsumerStatsLocked(new long[]{200_000_000}, in testMeasuredEnergyBasedModel() 59 stats.noteScreenStateLocked(0, Display.STATE_OFF, 120 * MINUTE_IN_MS, 120 * MINUTE_IN_MS, in testMeasuredEnergyBasedModel() 62 stats.updateDisplayEnergyConsumerStatsLocked(new long[]{100_000_000}, in testMeasuredEnergyBasedModel() 85 BatteryStatsImpl stats = mStatsRule.getBatteryStats(); in testMeasuredEnergyBasedModel_multiDisplay() local 90 stats.noteScreenStateLocked(0, screenStates[0], 0, 0, 0); in testMeasuredEnergyBasedModel_multiDisplay() 91 stats.noteScreenStateLocked(1, screenStates[1], 0, 0, 0); in testMeasuredEnergyBasedModel_multiDisplay() [all …]
|
D | MobileRadioPowerCalculatorTest.java | 17 package com.android.server.power.stats; 77 BatteryStatsImpl stats = mStatsRule.getBatteryStats(); in testCounterBasedModel() local 80 setInitialEmptyModemActivityInfo(stats); in testCounterBasedModel() 83 stats.notePhoneStateLocked(ServiceState.STATE_OUT_OF_SERVICE, in testCounterBasedModel() 88 stats.notePhoneStateLocked(ServiceState.STATE_IN_SERVICE, TelephonyManager.SIM_STATE_READY, in testCounterBasedModel() 100 stats.notePhoneSignalStrengthLocked(signalStrength, 5000, 5000); in testCounterBasedModel() 102 stats.noteMobileRadioPowerStateLocked(DataConnectionRealTimeInfo.DC_POWER_STATE_HIGH, in testCounterBasedModel() 106 stats.noteNetworkInterfaceForTransports("cellular", in testCounterBasedModel() 114 stats.notePhoneSignalStrengthLocked(signalStrength, 8111, 8111); in testCounterBasedModel() 116 stats.notePhoneSignalStrengthLocked(signalStrength, 8333, 8333); in testCounterBasedModel() [all …]
|
/frameworks/base/services/core/java/com/android/server/powerstats/ |
D | PowerStatsHALWrapper.java | 20 import android.hardware.power.stats.Channel; 21 import android.hardware.power.stats.EnergyMeasurement; 22 import android.hardware.power.stats.IPowerStats; 23 import android.hardware.power.stats.PowerEntity; 24 import android.hardware.power.stats.StateResidencyResult; 56 android.hardware.power.stats.PowerEntity[] getPowerEntityInfo(); in getPowerEntityInfo() 76 android.hardware.power.stats.StateResidencyResult[] getStateResidency(int[] powerEntityIds); in getStateResidency() 88 android.hardware.power.stats.EnergyConsumer[] getEnergyConsumerInfo(); in getEnergyConsumerInfo() 104 android.hardware.power.stats.EnergyConsumerResult[] getEnergyConsumed( in getEnergyConsumed() 114 android.hardware.power.stats.Channel[] getEnergyMeterInfo(); in getEnergyMeterInfo() [all …]
|
/frameworks/base/core/java/android/content/ |
D | SyncResult.java | 101 public final SyncStats stats; field in SyncResult 145 this.stats = new SyncStats(); in SyncResult() 157 stats = new SyncStats(parcel); in SyncResult() 176 return stats.numParseExceptions > 0 in hasHardError() 177 || stats.numConflictDetectedExceptions > 0 in hasHardError() 178 || stats.numAuthExceptions > 0 in hasHardError() 197 return syncAlreadyInProgress || stats.numIoExceptions > 0; in hasSoftError() 214 return ((stats.numDeletes > 0) && !tooManyDeletions) in madeSomeProgress() 215 || stats.numInserts > 0 in madeSomeProgress() 216 || stats.numUpdates > 0; in madeSomeProgress() [all …]
|
/frameworks/base/core/java/android/app/usage/ |
D | EventStats.java | 64 public EventStats(EventStats stats) { in EventStats() argument 65 mEventType = stats.mEventType; in EventStats() 66 mBeginTimeStamp = stats.mBeginTimeStamp; in EventStats() 67 mEndTimeStamp = stats.mEndTimeStamp; in EventStats() 68 mLastEventTime = stats.mLastEventTime; in EventStats() 69 mTotalTime = stats.mTotalTime; in EventStats() 70 mCount = stats.mCount; in EventStats() 166 EventStats stats = new EventStats(); 167 stats.mEventType = in.readInt(); 168 stats.mBeginTimeStamp = in.readLong(); [all …]
|
D | ConfigurationStats.java | 72 public ConfigurationStats(ConfigurationStats stats) { in ConfigurationStats() argument 73 mConfiguration = stats.mConfiguration; in ConfigurationStats() 74 mBeginTimeStamp = stats.mBeginTimeStamp; in ConfigurationStats() 75 mEndTimeStamp = stats.mEndTimeStamp; in ConfigurationStats() 76 mLastTimeActive = stats.mLastTimeActive; in ConfigurationStats() 77 mTotalTimeActive = stats.mTotalTimeActive; in ConfigurationStats() 78 mActivationCount = stats.mActivationCount; in ConfigurationStats() 152 ConfigurationStats stats = new ConfigurationStats(); 154 stats.mConfiguration = Configuration.CREATOR.createFromParcel(source); 156 stats.mBeginTimeStamp = source.readLong(); [all …]
|
/frameworks/proto_logging/stats/atoms/dnd/ |
D | dnd_atoms.proto | 21 import "frameworks/proto_logging/stats/atom_field_options.proto"; 22 import "frameworks/proto_logging/stats/enums/dnd/dnd_enums.proto"; 35 optional android.stats.dnd.ZenMode zen_mode = 4; 48 optional android.stats.dnd.State calls = 1; 49 optional android.stats.dnd.State repeat_callers = 2; 50 optional android.stats.dnd.State messages = 3; 51 optional android.stats.dnd.State conversations = 4; 52 optional android.stats.dnd.State reminders = 5; 53 optional android.stats.dnd.State events = 6; 54 optional android.stats.dnd.State alarms = 7; [all …]
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsProto.java | 68 UsageStats stats; in loadUsageStats() local 72 stats = statsOut.getOrCreateUsageStats( in loadUsageStats() 76 stats = statsOut.getOrCreateUsageStats( in loadUsageStats() 80 stats = new UsageStats(); in loadUsageStats() 89 tempPackage.mLastTimeUsed = stats.mLastTimeUsed; in loadUsageStats() 90 tempPackage.mTotalTimeInForeground = stats.mTotalTimeInForeground; in loadUsageStats() 91 tempPackage.mLastEvent = stats.mLastEvent; in loadUsageStats() 92 tempPackage.mAppLaunchCount = stats.mAppLaunchCount; in loadUsageStats() 93 stats = tempPackage; in loadUsageStats() 99 tempPackageIndex.mLastTimeUsed = stats.mLastTimeUsed; in loadUsageStats() [all …]
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | VibrationStats.java | 314 VibrationStats stats, long completionUptimeMillis) { in StatsInfo() argument 319 endedBySameUid = (uid == stats.mEndedByUid); in StatsInfo() 320 endedByUsage = stats.mEndedByUsage; in StatsInfo() 321 interruptedUsage = stats.mInterruptedUsage; in StatsInfo() 322 repeatCount = stats.mRepeatCount; in StatsInfo() 328 (int) Math.max(0, completionUptimeMillis - stats.mCreateUptimeMillis); in StatsInfo() 329 vibratorOnMillis = stats.mVibratorOnTotalDurationMillis; in StatsInfo() 331 if (stats.hasStarted()) { in StatsInfo() 334 (int) Math.max(0, stats.mStartUptimeMillis - stats.mCreateUptimeMillis); in StatsInfo() 336 (int) Math.max(0, completionUptimeMillis - stats.mEndUptimeMillis); in StatsInfo() [all …]
|
/frameworks/base/services/core/java/com/android/server/utils/quota/ |
D | CountQuotaTracker.java | 192 final ExecutionStats stats = getExecutionStatsLocked(userId, packageName, tag); in noteEvent() local 193 stats.countInWindow++; in noteEvent() 194 stats.expirationTimeElapsed = Math.min(stats.expirationTimeElapsed, in noteEvent() 195 nowElapsed + stats.windowSizeMs); in noteEvent() 196 if (stats.countInWindow == stats.countLimit) { in noteEvent() 197 final long windowEdgeElapsed = nowElapsed - stats.windowSizeMs; in noteEvent() 201 stats.inQuotaTimeElapsed = times.peekFirst() + stats.windowSizeMs; in noteEvent() 203 } else if (stats.countLimit > 9 in noteEvent() 204 && stats.countInWindow == stats.countLimit * 4 / 5) { in noteEvent() 207 + " has reached 80% of it's count limit of " + stats.countLimit); in noteEvent() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/transport/ |
D | TransportStats.java | 35 Stats stats = mTransportStats.get(transportComponent); in registerConnectionTime() local 36 if (stats == null) { in registerConnectionTime() 37 stats = new Stats(); in registerConnectionTime() 38 mTransportStats.put(transportComponent, stats); in registerConnectionTime() 40 stats.register(timeMs); in registerConnectionTime() 48 Stats stats = mTransportStats.get(transportComponent); in getStatsForTransport() local 49 if (stats == null) { in getStatsForTransport() 52 return new Stats(stats); in getStatsForTransport() 66 Stats stats = mTransportStats.get(transportComponent); in dump() local 68 dumpStats(pw, " ", stats); in dump() [all …]
|