Home
last modified time | relevance | path

Searched refs:getStats (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/hardware/display/
DAmbientBrightnessDayStatsTest.java80 assertEquals(4, dayStats.getStats().length); in testAmbientBrightnessDayStatsAdd()
81 assertEquals(2.5f, dayStats.getStats()[0], 0); in testAmbientBrightnessDayStatsAdd()
82 assertEquals(0, dayStats.getStats()[1], 0); in testAmbientBrightnessDayStatsAdd()
83 assertEquals(12.5f, dayStats.getStats()[2], 0); in testAmbientBrightnessDayStatsAdd()
84 assertEquals(1.24f, dayStats.getStats()[3], 0); in testAmbientBrightnessDayStatsAdd()
93 assertArrayEquals(STATS, dayStats.getStats(), 0); in testGetters()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DAmbientBrightnessStatsTrackerTest.java74 assertArrayEquals(expectedStats, userStats.get(0).getStats(), 0); in testBrightnessStatsTrackerOverSingleDay()
91 assertArrayEquals(expectedStats, userStats.get(0).getStats(), 0); in testBrightnessStatsTrackerOverSingleDay()
124 assertArrayEquals(expectedStats, userStats.get(0).getStats(), 0); in testBrightnessStatsTrackerOverMultipleDays()
129 assertArrayEquals(expectedStats, userStats.get(1).getStats(), 0); in testBrightnessStatsTrackerOverMultipleDays()
162 assertArrayEquals(expectedStats, userStats.get(0).getStats(), 0); in testBrightnessStatsTrackerOverMultipleUsers()
169 assertArrayEquals(expectedStats, userStats.get(0).getStats(), 0); in testBrightnessStatsTrackerOverMultipleUsers()
348 assertArrayEquals(expectedStats, userStats.get(0).getStats(), 0); in testWriteThenReadAmbientBrightnessStats()
354 assertArrayEquals(expectedStats, userStats.get(1).getStats(), 0); in testWriteThenReadAmbientBrightnessStats()
362 assertArrayEquals(expectedStats, userStats.get(0).getStats(), 0); in testWriteThenReadAmbientBrightnessStats()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationRecordTest.java595 assertFalse(record.getStats().hasSeen()); in testNotificationStats()
597 assertFalse(record.getStats().hasDirectReplied()); in testNotificationStats()
598 assertFalse(record.getStats().hasExpanded()); in testNotificationStats()
599 assertFalse(record.getStats().hasInteracted()); in testNotificationStats()
600 assertFalse(record.getStats().hasViewedSettings()); in testNotificationStats()
601 assertFalse(record.getStats().hasSnoozed()); in testNotificationStats()
604 assertTrue(record.getStats().hasSeen()); in testNotificationStats()
606 assertFalse(record.getStats().hasDirectReplied()); in testNotificationStats()
607 assertFalse(record.getStats().hasExpanded()); in testNotificationStats()
608 assertFalse(record.getStats().hasInteracted()); in testNotificationStats()
[all …]
DNotificationManagerServiceTest.java2061 assertTrue(nonGrouped.getStats().hasSnoozed()); in testSnoozeRunnable_snoozeNonGrouped()
2871 assertTrue(mService.getNotificationRecord(r.getKey()).getStats().hasDirectReplied()); in testStats_updatedOnDirectReply()
2883 assertTrue(mService.getNotificationRecord(r.getKey()).getStats().hasExpanded()); in testStats_updatedOnUserExpansion()
2888 assertTrue(mService.getNotificationRecord(r.getKey()).getStats().hasExpanded()); in testStats_updatedOnUserExpansion()
2898 assertFalse(mService.getNotificationRecord(r.getKey()).getStats().hasExpanded()); in testStats_notUpdatedOnAutoExpansion()
2903 assertFalse(mService.getNotificationRecord(r.getKey()).getStats().hasExpanded()); in testStats_notUpdatedOnAutoExpansion()
2914 assertTrue(mService.getNotificationRecord(r.getKey()).getStats().hasViewedSettings()); in testStats_updatedOnViewSettings()
2925 assertTrue(mService.getNotificationRecord(r.getKey()).getStats().hasSeen()); in testStats_updatedOnVisibilityChanged()
2928 assertTrue(mService.getNotificationRecord(r.getKey()).getStats().hasSeen()); in testStats_updatedOnVisibilityChanged()
2942 assertEquals(NotificationStats.DISMISSAL_AOD, r.getStats().getDismissalSurface()); in testStats_dismissalSurface()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiPowerMetrics.java64 WifiBatteryStats stats = getStats(); in buildProto()
97 WifiBatteryStats stats = getStats(); in buildWifiRadioUsageProto()
140 private WifiBatteryStats getStats() { in getStats() method in WifiPowerMetrics
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/
DTimedStatement.java121 sCalibrated = stats.getStats().getMedian(); in doCalibration()
173 timeStats.getStats(), in evaluate()
174 memoryUseStats.getStats()); in evaluate()
DLongStatsCollector.java41 public Stats getStats() { in getStats() method in LongStatsCollector
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DModemPowerMetrics.java47 CellularBatteryStats stats = getStats(); in buildProto()
83 private CellularBatteryStats getStats() { in getStats() method in ModemPowerMetrics
/frameworks/av/media/tests/benchmark/src/native/common/
DBenchmarkCommon.cpp34 self->getStats()->addInputTime(); in OnInputAvailableCB()
43 self->getStats()->addOutputTime(); in OnOutputAvailableCB()
DBenchmarkCommon.h107 Stats *getStats() { return mStats; } in getStats() function
/frameworks/av/media/tests/benchmark/src/native/muxer/
DMuxer.h43 Stats *getStats() { return mStats; } in getStats() function
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHelper.java200 sFileXfer.put(path, this.getStats()); in storeStatsHistoryInFile()
205 getStats().writeToParcelWithoutUids(hist, 0); in storeStatsHistoryInFile()
247 return getStats(IBatteryStats.Stub.asInterface( in statsFromFile()
267 public BatteryStats getStats() { in getStats() method in BatteryStatsHelper
377 getStats(); in refreshStats()
1049 mStats = getStats(mBatteryInfo); in load()
1056 private static BatteryStatsImpl getStats(IBatteryStats service) { in getStats() method in BatteryStatsHelper
DProcessCpuTracker.java716 final public Stats getStats(int index) {
720 final public List<Stats> getStats(FilterStats filter) {
/frameworks/native/services/surfaceflinger/
DFrameTracker.h86 void getStats(FrameStats* outStats) const;
DFrameTracker.cpp116 void FrameTracker::getStats(FrameStats* outStats) const { in getStats() function in android::FrameTracker
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoderBase.h50 virtual sp<AMessage> getStats() const { in getStats() function
DNuPlayerDecoder.h37 virtual sp<AMessage> getStats() const;
DNuPlayer.h91 void getStats(Vector<sp<AMessage> > *trackStats);
DNuPlayerDriver.cpp549 mPlayer->getStats(&trackStats); in updateMetrics()
888 mPlayer->getStats(&trackStats); in dump()
DNuPlayer.cpp2241 void NuPlayer::getStats(Vector<sp<AMessage> > *trackStats) { in getStats() function in android::NuPlayer
2248 trackStats->push_back(mVideoDecoder->getStats()); in getStats()
2251 trackStats->push_back(mAudioDecoder->getStats()); in getStats()
DNuPlayerDecoder.cpp109 sp<AMessage> NuPlayer::Decoder::getStats() const { in getStats() function in android::NuPlayer::Decoder
/frameworks/base/core/java/android/hardware/display/
DAmbientBrightnessDayStats.java105 public float[] getStats() { in getStats() method in AmbientBrightnessDayStats
/frameworks/base/core/java/android/os/health/
DHealthStats.java328 public Map<String,HealthStats> getStats(int key) { in getStats() method in HealthStats
/frameworks/base/services/core/java/com/android/server/display/
DAmbientBrightnessStatsTracker.java192 timeSpentValues.append(userDayStats.getStats()[i]); in writeToXML()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java1078 public NotificationStats getStats() { in getStats() method in NotificationRecord

12