Home
last modified time | relevance | path

Searched refs:getStats (Results 1 – 25 of 36) 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.java657 assertFalse(record.getStats().hasSeen()); in testNotificationStats()
659 assertFalse(record.getStats().hasDirectReplied()); in testNotificationStats()
660 assertFalse(record.getStats().hasExpanded()); in testNotificationStats()
661 assertFalse(record.getStats().hasInteracted()); in testNotificationStats()
662 assertFalse(record.getStats().hasViewedSettings()); in testNotificationStats()
663 assertFalse(record.getStats().hasSnoozed()); in testNotificationStats()
666 assertTrue(record.getStats().hasSeen()); in testNotificationStats()
668 assertFalse(record.getStats().hasDirectReplied()); in testNotificationStats()
669 assertFalse(record.getStats().hasExpanded()); in testNotificationStats()
670 assertFalse(record.getStats().hasInteracted()); in testNotificationStats()
[all …]
DNotificationManagerServiceTest.java3651 assertTrue(nonGrouped.getStats().hasSnoozed()); in testSnoozeRunnable_snoozeNonGrouped()
4778 assertTrue(mService.getNotificationRecord(r.getKey()).getStats().hasDirectReplied()); in testStats_updatedOnDirectReply()
4795 assertTrue(mService.getNotificationRecord(r.getKey()).getStats().hasExpanded()); in testStats_updatedOnUserExpansion()
4801 assertTrue(mService.getNotificationRecord(r.getKey()).getStats().hasExpanded()); in testStats_updatedOnUserExpansion()
4817 assertFalse(mService.getNotificationRecord(r.getKey()).getStats().hasExpanded()); in testStats_notUpdatedOnAutoExpansion()
4823 assertFalse(mService.getNotificationRecord(r.getKey()).getStats().hasExpanded()); in testStats_notUpdatedOnAutoExpansion()
4834 assertTrue(mService.getNotificationRecord(r.getKey()).getStats().hasViewedSettings()); in testStats_updatedOnViewSettings()
4846 assertTrue(mService.getNotificationRecord(r.getKey()).getStats().hasSeen()); in testStats_updatedOnVisibilityChanged()
4850 assertTrue(mService.getNotificationRecord(r.getKey()).getStats().hasSeen()); in testStats_updatedOnVisibilityChanged()
4865 assertEquals(NotificationStats.DISMISSAL_AOD, r.getStats().getDismissalSurface()); in testStats_dismissalSurface()
[all …]
/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/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/opt/telephony/src/java/com/android/internal/telephony/metrics/
DModemPowerMetrics.java55 CellularBatteryStats stats = getStats(); in buildProto()
114 private CellularBatteryStats getStats() { in getStats() method in ModemPowerMetrics
/frameworks/av/media/tests/benchmark/src/native/muxer/
DMuxer.h43 Stats *getStats() { return mStats; } in getStats() function
/frameworks/native/services/surfaceflinger/
DFrameTracker.h83 void getStats(FrameStats* outStats) const;
DFrameTracker.cpp118 void FrameTracker::getStats(FrameStats* outStats) const { in getStats() function in android::FrameTracker
/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_OnInitializeDisplaysTest.cpp83 mFlinger.getAnimFrameTracker().getStats(&stats); in TEST_F()
/frameworks/av/media/libmediaplayerservice/nuplayer/include/nuplayer/
DNuPlayerDecoderBase.h50 virtual sp<AMessage> getStats() { in getStats() function
DNuPlayerDecoder.h37 virtual sp<AMessage> getStats();
DNuPlayer.h92 void getStats(Vector<sp<AMessage> > *trackStats);
/frameworks/base/services/core/java/com/android/server/display/
DAmbientBrightnessStatsTracker.java191 timeSpentValues.append(userDayStats.getStats()[i]); in writeToXML()
296 lastBrightnessStats.getStats(), in getOrCreateDayStats()
/frameworks/base/core/java/android/hardware/display/
DAmbientBrightnessDayStats.java104 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/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.cpp572 mPlayer->getStats(&trackStats); in updateMetrics()
941 mPlayer->getStats(&trackStats); in dump()
DNuPlayer.cpp2267 void NuPlayer::getStats(Vector<sp<AMessage> > *trackStats) { in getStats() function in android::NuPlayer
2274 trackStats->push_back(mVideoDecoder->getStats()); in getStats()
2277 trackStats->push_back(mAudioDecoder->getStats()); in getStats()
DNuPlayerDecoder.cpp108 sp<AMessage> NuPlayer::Decoder::getStats() { in getStats() function in android::NuPlayer::Decoder
/frameworks/base/core/java/com/android/internal/os/
DProcessCpuTracker.java720 final public Stats getStats(int index) {
724 final public List<Stats> getStats(FilterStats filter) {
/frameworks/base/services/core/java/com/android/server/am/
DAppProfiler.java438 stats = mProcessCpuTracker.getStats(st -> { in collectPssInBackground()
1838 ProcessCpuTracker.Stats st = mProcessCpuTracker.getStats(i); in updateCpuStatsNow()
1896 return mProcessCpuTracker.getStats(st -> predicate.test(st)); in getCpuStats()
1904 consumer.accept(mProcessCpuTracker.getStats(i)); in forAllCpuStats()
DPhantomProcessList.java548 final ProcessCpuTracker.Stats st = tracker.getStats(i); in updateProcessCpuStatesLocked()

12