/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 | 595 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 …]
|
D | NotificationManagerServiceTest.java | 2061 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/ |
D | WifiPowerMetrics.java | 64 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/ |
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/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | ModemPowerMetrics.java | 47 CellularBatteryStats stats = getStats(); in buildProto() 83 private CellularBatteryStats getStats() { in getStats() method in ModemPowerMetrics
|
/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/av/media/tests/benchmark/src/native/muxer/ |
D | Muxer.h | 43 Stats *getStats() { return mStats; } in getStats() function
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsHelper.java | 200 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
|
D | ProcessCpuTracker.java | 716 final public Stats getStats(int index) { 720 final public List<Stats> getStats(FilterStats filter) {
|
/frameworks/native/services/surfaceflinger/ |
D | FrameTracker.h | 86 void getStats(FrameStats* outStats) const;
|
D | FrameTracker.cpp | 116 void FrameTracker::getStats(FrameStats* outStats) const { in getStats() function in android::FrameTracker
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDecoderBase.h | 50 virtual sp<AMessage> getStats() const { in getStats() function
|
D | NuPlayerDecoder.h | 37 virtual sp<AMessage> getStats() const;
|
D | NuPlayer.h | 91 void getStats(Vector<sp<AMessage> > *trackStats);
|
D | NuPlayerDriver.cpp | 549 mPlayer->getStats(&trackStats); in updateMetrics() 888 mPlayer->getStats(&trackStats); in dump()
|
D | NuPlayer.cpp | 2241 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()
|
D | NuPlayerDecoder.cpp | 109 sp<AMessage> NuPlayer::Decoder::getStats() const { in getStats() function in android::NuPlayer::Decoder
|
/frameworks/base/core/java/android/hardware/display/ |
D | AmbientBrightnessDayStats.java | 105 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/base/services/core/java/com/android/server/display/ |
D | AmbientBrightnessStatsTracker.java | 192 timeSpentValues.append(userDayStats.getStats()[i]); in writeToXML()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationRecord.java | 1078 public NotificationStats getStats() { in getStats() method in NotificationRecord
|