/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
D | AmbientBrightnessDayStatsTest.java | 80 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/ |
D | AmbientBrightnessStatsTrackerTest.java | 74 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/ |
D | NotificationRecordTest.java | 657 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 …]
|
D | NotificationManagerServiceTest.java | 3651 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/ |
D | TimedStatement.java | 121 sCalibrated = stats.getStats().getMedian(); in doCalibration() 173 timeStats.getStats(), in evaluate() 174 memoryUseStats.getStats()); in evaluate()
|
D | LongStatsCollector.java | 41 public Stats getStats() { in getStats() method in LongStatsCollector
|
/frameworks/av/media/tests/benchmark/src/native/common/ |
D | BenchmarkCommon.cpp | 34 self->getStats()->addInputTime(); in OnInputAvailableCB() 43 self->getStats()->addOutputTime(); in OnOutputAvailableCB()
|
D | BenchmarkCommon.h | 107 Stats *getStats() { return mStats; } in getStats() function
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | ModemPowerMetrics.java | 55 CellularBatteryStats stats = getStats(); in buildProto() 114 private CellularBatteryStats getStats() { in getStats() method in ModemPowerMetrics
|
/frameworks/av/media/tests/benchmark/src/native/muxer/ |
D | Muxer.h | 43 Stats *getStats() { return mStats; } in getStats() function
|
/frameworks/native/services/surfaceflinger/ |
D | FrameTracker.h | 83 void getStats(FrameStats* outStats) const;
|
D | FrameTracker.cpp | 118 void FrameTracker::getStats(FrameStats* outStats) const { in getStats() function in android::FrameTracker
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | SurfaceFlinger_OnInitializeDisplaysTest.cpp | 83 mFlinger.getAnimFrameTracker().getStats(&stats); in TEST_F()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/include/nuplayer/ |
D | NuPlayerDecoderBase.h | 50 virtual sp<AMessage> getStats() { in getStats() function
|
D | NuPlayerDecoder.h | 37 virtual sp<AMessage> getStats();
|
D | NuPlayer.h | 92 void getStats(Vector<sp<AMessage> > *trackStats);
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | AmbientBrightnessStatsTracker.java | 191 timeSpentValues.append(userDayStats.getStats()[i]); in writeToXML() 296 lastBrightnessStats.getStats(), in getOrCreateDayStats()
|
/frameworks/base/core/java/android/hardware/display/ |
D | AmbientBrightnessDayStats.java | 104 public float[] getStats() { in getStats() method in AmbientBrightnessDayStats
|
/frameworks/base/core/java/android/os/health/ |
D | HealthStats.java | 328 public Map<String,HealthStats> getStats(int key) { in getStats() method in HealthStats
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDriver.cpp | 572 mPlayer->getStats(&trackStats); in updateMetrics() 941 mPlayer->getStats(&trackStats); in dump()
|
D | NuPlayer.cpp | 2267 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()
|
D | NuPlayerDecoder.cpp | 108 sp<AMessage> NuPlayer::Decoder::getStats() { in getStats() function in android::NuPlayer::Decoder
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ProcessCpuTracker.java | 720 final public Stats getStats(int index) { 724 final public List<Stats> getStats(FilterStats filter) {
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppProfiler.java | 438 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()
|
D | PhantomProcessList.java | 548 final ProcessCpuTracker.Stats st = tracker.getStats(i); in updateProcessCpuStatesLocked()
|