Home
last modified time | relevance | path

Searched defs:stats (Results 1 – 25 of 256) sorted by relevance

1234567891011

/frameworks/base/services/core/java/com/android/server/power/stats/
DWifiPowerStatsLayout.java96 public void setDeviceRxTime(long[] stats, long durationMillis) { in setDeviceRxTime()
100 public long getDeviceRxTime(long[] stats) { in getDeviceRxTime()
104 public void setDeviceTxTime(long[] stats, long durationMillis) { in setDeviceTxTime()
108 public long getDeviceTxTime(long[] stats) { in getDeviceTxTime()
112 public void setDeviceScanTime(long[] stats, long durationMillis) { in setDeviceScanTime()
116 public long getDeviceScanTime(long[] stats) { in getDeviceScanTime()
120 public void setDeviceBasicScanTime(long[] stats, long durationMillis) { in setDeviceBasicScanTime()
124 public long getDeviceBasicScanTime(long[] stats) { in getDeviceBasicScanTime()
128 public void setDeviceBatchedScanTime(long[] stats, long durationMillis) { in setDeviceBatchedScanTime()
132 public long getDeviceBatchedScanTime(long[] stats) { in getDeviceBatchedScanTime()
[all …]
DMobileRadioPowerStatsLayout.java93 public void setDeviceSleepTime(long[] stats, long durationMillis) { in setDeviceSleepTime()
97 public long getDeviceSleepTime(long[] stats) { in getDeviceSleepTime()
101 public void setDeviceIdleTime(long[] stats, long durationMillis) { in setDeviceIdleTime()
105 public long getDeviceIdleTime(long[] stats) { in getDeviceIdleTime()
109 public void setDeviceScanTime(long[] stats, long durationMillis) { in setDeviceScanTime()
113 public long getDeviceScanTime(long[] stats) { in getDeviceScanTime()
117 public void setDeviceCallTime(long[] stats, long durationMillis) { in setDeviceCallTime()
121 public long getDeviceCallTime(long[] stats) { in getDeviceCallTime()
125 public void setDeviceCallPowerEstimate(long[] stats, double power) { in setDeviceCallPowerEstimate()
129 public double getDeviceCallPowerEstimate(long[] stats) { in getDeviceCallPowerEstimate()
[all …]
DBluetoothPowerStatsLayout.java60 public void setDeviceRxTime(long[] stats, long durationMillis) { in setDeviceRxTime()
64 public long getDeviceRxTime(long[] stats) { in getDeviceRxTime()
68 public void setDeviceTxTime(long[] stats, long durationMillis) { in setDeviceTxTime()
72 public long getDeviceTxTime(long[] stats) { in getDeviceTxTime()
76 public void setDeviceIdleTime(long[] stats, long durationMillis) { in setDeviceIdleTime()
80 public long getDeviceIdleTime(long[] stats) { in getDeviceIdleTime()
84 public void setDeviceScanTime(long[] stats, long durationMillis) { in setDeviceScanTime()
88 public long getDeviceScanTime(long[] stats) { in getDeviceScanTime()
92 public void setUidRxBytes(long[] stats, long count) { in setUidRxBytes()
96 public long getUidRxBytes(long[] stats) { in getUidRxBytes()
[all …]
DBinaryStatePowerStatsProcessor.java94 void start(PowerComponentAggregatedPowerStats stats, long timestampMs) { in start()
105 void noteStateChange(PowerComponentAggregatedPowerStats stats, in noteStateChange()
147 void addPowerStats(PowerComponentAggregatedPowerStats stats, PowerStats powerStats, in addPowerStats()
164 private void flushPowerStats(PowerComponentAggregatedPowerStats stats, long timestamp) { in flushPowerStats()
179 void finish(PowerComponentAggregatedPowerStats stats, long timestampMs) { in finish()
199 protected void computeDevicePowerEstimates(PowerComponentAggregatedPowerStats stats, in computeDevicePowerEstimates()
221 private void combineDevicePowerEstimates(PowerComponentAggregatedPowerStats stats) { in combineDevicePowerEstimates()
239 private void computeUidActivityTotals(PowerComponentAggregatedPowerStats stats, in computeUidActivityTotals()
259 private void computeUidPowerEstimates(PowerComponentAggregatedPowerStats stats, in computeUidPowerEstimates()
DCpuPowerStatsLayout.java59 public void setTimeByScalingStep(long[] stats, int step, long value) { in setTimeByScalingStep()
67 public long getTimeByScalingStep(long[] stats, int step) { in getTimeByScalingStep()
87 public void setTimeByCluster(long[] stats, int cluster, long value) { in setTimeByCluster()
95 public long getTimeByCluster(long[] stats, int cluster) { in getTimeByCluster()
128 public void setUidTimeByPowerBracket(long[] stats, int bracket, long value) { in setUidTimeByPowerBracket()
135 public long getUidTimeByPowerBracket(long[] stats, int bracket) { in getUidTimeByPowerBracket()
DGnssPowerStatsLayout.java50 public void setDeviceSignalLevelTime(long[] stats, int signalLevel, long durationMillis) { in setDeviceSignalLevelTime()
54 public long getDeviceSignalLevelTime(long[] stats, int signalLevel) { in getDeviceSignalLevelTime()
58 public void setUidSignalLevelTime(long[] stats, int signalLevel, long durationMillis) { in setUidSignalLevelTime()
62 public long getUidSignalLevelTime(long[] stats, int signalLevel) { in getUidSignalLevelTime()
DPowerStatsLayout.java147 public void setUsageDuration(long[] stats, long value) { in setUsageDuration()
154 public long getUsageDuration(long[] stats) { in getUsageDuration()
176 public void setConsumedEnergy(long[] stats, int index, long energy) { in setConsumedEnergy()
184 public long getConsumedEnergy(long[] stats, int index) { in getConsumedEnergy()
200 public void setDevicePowerEstimate(long[] stats, double power) { in setDevicePowerEstimate()
207 public double getDevicePowerEstimate(long[] stats) { in getDevicePowerEstimate()
235 public void setUidUsageDuration(long[] stats, long durationMs) { in setUidUsageDuration()
242 public long getUidUsageDuration(long[] stats) { in getUidUsageDuration()
250 public void setUidPowerEstimate(long[] stats, double power) { in setUidPowerEstimate()
257 public double getUidPowerEstimate(long[] stats) { in getUidPowerEstimate()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DDataCallSessionStatsTest.java116 DataCallSession stats = callCaptor.getValue(); in testSetupDataCallOnCellularIms_success() local
142 DataCallSession stats = callCaptor.getValue(); in testSetupDataCallOnIwlan_success() local
171 DataCallSession stats = callCaptor.getValue(); in testSetupDataCallOnCrossSimCalling_success() local
195 DataCallSession stats = callCaptor.getValue(); in testSetupDataCallOnCellularIms_failure() local
221 DataCallSession stats = callCaptor.getValue(); in testHandoverFromCellularToIwlan_success() local
249 DataCallSession stats = callCaptor.getValue(); in testHandoverFromCellularToCrossSimCalling_success() local
277 DataCallSession stats = callCaptor.getValue(); in testHandoverFromCellularToIwlan_failure() local
308 DataCallSession stats = callCaptor.getValue(); in testSetupDataCallOnIwlan_success_thenOOS() local
334 DataCallSession stats = callCaptor.getValue(); in testIsNtn() local
384 DataCallSession stats = callCaptor.getValue(); in testIsProvisioningProfile() local
DImsStatsTest.java188 ImsRegistrationStats stats = captor.getValue(); in conclude_registered() local
236 ImsRegistrationStats stats = captor.getValue(); in conclude_registeredPartialFeatures() local
283 ImsRegistrationStats stats = captor.getValue(); in conclude_registeredVoiceOnly() local
318 ImsRegistrationStats stats = captor.getValue(); in conclude_registeredVoiceOnly_crossSimCalling() local
375 ImsRegistrationStats stats = statsCaptor.getValue(); in conclude_notRegistered() local
416 ImsRegistrationStats stats = captor.getValue(); in conclude_registering() local
534 ImsRegistrationStats stats = statsCaptor.getValue(); in conclude_serviceStateChanged_afterRatLte() local
559 ImsRegistrationStats stats = captor.getValue(); in onImsCapabilitiesChanged_sameTech() local
599 ImsRegistrationStats stats = captor.getValue(); in onImsCapabilitiesChanged_differentTech() local
639 ImsRegistrationStats stats = captor.getValue(); in onImsCapabilitiesChanged_differentTechNoVoice() local
[all …]
DRcsStatsTest.java256 ImsRegistrationFeatureTagStats stats = captorValues.get(index); in onImsRegistrationFeatureTagStats_withAtoms() local
281 RcsClientProvisioningStats stats = captor.getValue(); in onRcsClientProvisioningStats_withAtoms() local
318 RcsAcsProvisioningStats stats = captor.getValue(); in onRcsAcsProvisioningStats_withAtoms() local
359 RcsAcsProvisioningStats stats = captor.getValue(); in onRcsAcsProvisioningStats_withAtomsInvalidSubId() local
396 RcsAcsProvisioningStats stats = captor.getValue(); in onRcsAcsProvisioningStats_byCallBack() local
433 RcsAcsProvisioningStats stats = captor.getValue(); in onRcsAcsProvisioningStats_byErrorCallBack() local
479 RcsAcsProvisioningStats stats = statsList.get(i); in onStoreCompleteRcsAcsProvisioningStats_withSubId() local
527 RcsAcsProvisioningStats stats = statsList.get(i); in onFlushIncompleteRcsAcsProvisioningStats_withoutSubId() local
558 SipDelegateStats stats = captor.getValue(); in onSipDelegateStats_addStats() local
622 SipDelegateStats stats = captorValues.get(i); in onSipDelegateStats_addMultipleEntries() local
[all …]
DSatelliteStatsTest.java112 SatelliteController stats = captor.getValue(); in onSatelliteControllerMetrics_withAtoms() local
191 SatelliteSession stats = captor.getValue(); in onSatelliteSessionMetrics_withAtoms() local
226 SatelliteIncomingDatagram stats = captor.getValue(); in onSatelliteIncomingDatagramMetrics_withAtoms() local
250 SatelliteOutgoingDatagram stats = captor.getValue(); in onSatelliteOutgoingDatagramMetrics_withAtoms() local
275 SatelliteProvision stats = captor.getValue(); in onSatelliteProvisionMetrics_withAtoms() local
302 SatelliteSosMessageRecommender stats = captor.getValue(); in onSatelliteSosMessageRecommenderMetrics_withAtoms() local
342 CarrierRoamingSatelliteSession stats = captor.getValue(); in onCarrierRoamingSatelliteSessionMetrics_withAtoms() local
382 CarrierRoamingSatelliteControllerStats stats = captor.getValue(); in onCarrierRoamingSatelliteControllerStatsMetrics_withAtoms() local
413 SatelliteEntitlement stats = captor.getValue(); in onSatelliteEntitlementMetrics_withAtoms() local
438 SatelliteConfigUpdater stats = captor.getValue(); in onSatelliteConfigUpdaterMetrics_withAtoms() local
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/power/
DEnergyConsumerStatsTest.java67 final EnergyConsumerStats stats = new EnergyConsumerStats(config); in testConstruction() local
102 final EnergyConsumerStats stats = new EnergyConsumerStats(config); in testReadWriteParcel() local
197 final EnergyConsumerStats stats = new EnergyConsumerStats(config); in testCreateAndReadSummaryFromParcel() local
239 final EnergyConsumerStats stats = new EnergyConsumerStats(config); in testCreateAndReadSummaryFromParcel_configChange() local
295 final EnergyConsumerStats stats = new EnergyConsumerStats(config); in testCreateAndReadSummaryFromParcel_nullConfig() local
324 final EnergyConsumerStats stats = new EnergyConsumerStats(config); in testCreateAndReadSummaryFromParcel_boring() local
363 final EnergyConsumerStats stats = new EnergyConsumerStats(config); in testUpdateBucket() local
399 final EnergyConsumerStats stats = new EnergyConsumerStats(config); in testIsValidCustomBucket() local
422 final EnergyConsumerStats stats = new EnergyConsumerStats(config); in testGetAccumulatedCustomBucketCharges() local
441 final EnergyConsumerStats stats = new EnergyConsumerStats(config); in testGetAccumulatedCustomBucketCharges_empty() local
[all …]
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DAggregatedPowerStatsTest.java74 AggregatedPowerStats stats = prepareAggregatePowerStats(); in aggregation() local
81 AggregatedPowerStats stats = prepareAggregatePowerStats(); in xmlPersistence() local
98 AggregatedPowerStats stats = new AggregatedPowerStats(mAggregatedPowerStatsConfig); in prepareAggregatePowerStats() local
143 private void verifyAggregatedPowerStats(AggregatedPowerStats stats) { in verifyAggregatedPowerStats()
230 private static long[] getDeviceStats(AggregatedPowerStats stats, int... states) { in getDeviceStats()
238 private static long[] getStateStats(AggregatedPowerStats stats, int key, int... states) { in getStateStats()
246 private static long[] getUidDeviceStats(AggregatedPowerStats stats, int uid, int... states) { in getUidDeviceStats()
DAmbientDisplayPowerCalculatorTest.java54 BatteryStatsImpl stats = mStatsRule.getBatteryStats(); in testMeasuredEnergyBasedModel() local
91 BatteryStatsImpl stats = mStatsRule.getBatteryStats(); in testMeasuredEnergyBasedModel_multiDisplay() local
149 BatteryStatsImpl stats = mStatsRule.getBatteryStats(); in testPowerProfileBasedModel() local
175 BatteryStatsImpl stats = mStatsRule.getBatteryStats(); in testPowerProfileBasedModel_multiDisplay() local
DMobileRadioPowerCalculatorTest.java83 BatteryStatsImpl stats = mStatsRule.getBatteryStats(); in testCounterBasedModel() local
203 BatteryStatsImpl stats = mStatsRule.getBatteryStats(); in testCounterBasedModel_multipleDefinedRat() local
360 BatteryStatsImpl stats = mStatsRule.getBatteryStats(); in testCounterBasedModel_legacyPowerProfile() local
480 BatteryStatsImpl stats = mStatsRule.getBatteryStats(); in testTimerBasedModel_byProcessState() local
599 BatteryStatsImpl stats = mStatsRule.getBatteryStats(); in testMeasuredEnergyBasedModel_mobileRadioActiveTimeModel() local
677 BatteryStatsImpl stats = mStatsRule.getBatteryStats(); in testMeasuredEnergyBasedModel_modemActivityInfoRxTxModel() local
861 BatteryStatsImpl stats = mStatsRule.getBatteryStats(); in testMeasuredEnergyBasedModel_modemActivityInfoRxTxModel_legacyPowerProfile() local
966 BatteryStatsImpl stats = mStatsRule.getBatteryStats(); in testMeasuredEnergyBasedModel_byProcessState() local
1049 public void setInitialEmptyModemActivityInfo(BatteryStatsImpl stats) { in setInitialEmptyModemActivityInfo()
1057 NetworkStats stats; in mockNetworkStats() local
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DPowerStatsTest.java73 PowerStats stats = new PowerStats(mDescriptor); in parceling_compatibleParcel() local
143 PowerStats stats = new PowerStats( in parceling_unrecognizedPowerComponent() local
162 PowerStats stats = new PowerStats(mDescriptor); in parceling_wrongArrayLength() local
180 PowerStats stats = new PowerStats(mDescriptor); in parceling_corruptParcel() local
204 PowerStats stats = new PowerStats(mDescriptor); in formatForBatteryHistory() local
225 PowerStats stats = new PowerStats(mDescriptor); in dump() local
261 private static StringSubject assertThatFormatted(long[] stats, String format) { in assertThatFormatted()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/transport/
DTransportStatsTest.java54 Stats stats = mTransportStats.getStatsForTransport(mTransportComponent1); in testRegisterConnectionTime() local
67 Stats stats = mTransportStats.getStatsForTransport(mTransportComponent1); in testRegisterConnectionTime_whenHasAlreadyOneSample() local
79 Stats stats = mTransportStats.getStatsForTransport(mTransportComponent1); in testGetStatsForTransport() local
94 Stats stats = Stats.merge(stats1, stats2); in testMerge() local
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsDatabase.java211 boolean checkin(IntervalStats stats); in checkin()
245 final IntervalStats stats = new IntervalStats(); in checkinDailyFiles() local
246 readLocked(files.valueAt(i), stats, false); in checkinDailyFiles() local
544 IntervalStats stats = new IntervalStats(); in continueUpgradeLocked() local
604 final IntervalStats stats = new IntervalStats(); in pruneUninstalledPackagesData() local
651 final IntervalStats stats = new IntervalStats(); in prunePackagesDataOnUpgrade() local
666 private boolean pruneStats(HashMap<String, Long> installedPackages, IntervalStats stats) { in pruneStats()
759 IntervalStats stats = new IntervalStats(); in getLatestUsageStats() local
773 void filterStats(IntervalStats stats) { in filterStats()
818 boolean combine(IntervalStats stats, boolean mutable, List<T> accumulatedResult); in combine()
[all …]
DStorageStatsManagerLocal.java49 void augmentStatsForPackageForUser( in augmentStatsForPackageForUser()
66 void augmentStatsForUid( in augmentStatsForUid()
76 void augmentStatsForUser(@NonNull PackageStats stats, @NonNull UserHandle userHandle); in augmentStatsForUser()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPulledStatsTest.java47 PulledStats stats = new PulledStats(0L); in testPulledStats_Empty() local
53 PulledStats stats = new PulledStats(0L); in testPulledStats_UnknownReport() local
72 PulledStats stats = new PulledStats(0L); in testPulledStats_RemoteViewReportPackages() local
104 PulledStats stats = new PulledStats(0L); in testPulledStats_RemoteViewReportEndTime() local
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DMetricsCollector.java1234 private static StatsEvent buildStatsEvent(ImsRegistrationStats stats) { in buildStatsEvent()
1277 private static StatsEvent buildStatsEvent(ImsRegistrationFeatureTagStats stats) { in buildStatsEvent()
1287 private static StatsEvent buildStatsEvent(RcsClientProvisioningStats stats) { in buildStatsEvent()
1296 private static StatsEvent buildStatsEvent(RcsAcsProvisioningStats stats) { in buildStatsEvent()
1308 private static StatsEvent buildStatsEvent(SipDelegateStats stats) { in buildStatsEvent()
1318 private static StatsEvent buildStatsEvent(SipTransportFeatureTagStats stats) { in buildStatsEvent()
1329 private static StatsEvent buildStatsEvent(SipMessageResponse stats) { in buildStatsEvent()
1341 private static StatsEvent buildStatsEvent(SipTransportSession stats) { in buildStatsEvent()
1353 private static StatsEvent buildStatsEvent(ImsDedicatedBearerListenerEvent stats) { in buildStatsEvent()
1364 private static StatsEvent buildStatsEvent(ImsDedicatedBearerEvent stats) { in buildStatsEvent()
[all …]
DPersistAtomsStorage.java410 public synchronized void addImsRegistrationStats(ImsRegistrationStats stats) { in addImsRegistrationStats()
494 ImsRegistrationFeatureTagStats stats) { in addImsRegistrationFeatureTagStats()
507 public synchronized void addRcsClientProvisioningStats(RcsClientProvisioningStats stats) { in addRcsClientProvisioningStats()
520 public synchronized void addRcsAcsProvisioningStats(RcsAcsProvisioningStats stats) { in addRcsAcsProvisioningStats()
536 public synchronized void addSipDelegateStats(SipDelegateStats stats) { in addSipDelegateStats()
543 public synchronized void addSipTransportFeatureTagStats(SipTransportFeatureTagStats stats) { in addSipTransportFeatureTagStats()
556 public synchronized void addSipMessageResponse(SipMessageResponse stats) { in addSipMessageResponse()
568 public synchronized void addCompleteSipTransportSession(SipTransportSession stats) { in addCompleteSipTransportSession()
585 ImsDedicatedBearerListenerEvent stats) { in addImsDedicatedBearerListenerEvent()
598 public synchronized void addImsDedicatedBearerEvent(ImsDedicatedBearerEvent stats) { in addImsDedicatedBearerEvent()
[all …]
/frameworks/base/core/java/com/android/internal/app/procstats/
DPssTable.java57 final long[] stats = getArrayForKey(key); in mergeStats() local
74 final long[] stats = getArrayForKey(key); in mergeStats() local
80 public static void mergeStats(final long[] stats, final int statsIndex, in mergeStats()
94 public static void mergeStats(final long[] stats, final int statsIndex, final int inCount, in mergeStats()
148 final long[] stats = getArrayForKey(key); in writeStatsToProtoForKey() local
153 public static void writeStatsToProto(ProtoOutputStream proto, final long[] stats, in writeStatsToProto()
171 final long[] stats = getArrayForKey(key); in getRssMeanAndMax() local
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DBenchmarkResults.java35 final Bundle stats = new Bundle(); in getStatsToReport() local
41 final Bundle stats = new Bundle(); in getStatsToLog() local
53 final Bundle stats = new Bundle(); in getFailedStatsToReport() local
63 final Bundle stats = new Bundle(); in getFailedStatsToLog() local
/frameworks/base/libs/hwui/tests/unit/
DFrameMetricsReporterTests.cpp47 const int64_t* stats; in TEST() local
67 const int64_t* stats; in TEST() local
88 const int64_t* stats; in TEST() local
109 const int64_t* stats; in TEST() local
141 const int64_t* stats; in TEST() local
168 const int64_t* stats; in TEST() local
190 const int64_t* stats; in TEST() local

1234567891011