Home
last modified time | relevance | path

Searched refs:getStats (Results 1 – 25 of 42) 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.java569 assertFalse(record.getStats().hasSeen()); in testNotificationStats()
571 assertFalse(record.getStats().hasDirectReplied()); in testNotificationStats()
572 assertFalse(record.getStats().hasExpanded()); in testNotificationStats()
573 assertFalse(record.getStats().hasInteracted()); in testNotificationStats()
574 assertFalse(record.getStats().hasViewedSettings()); in testNotificationStats()
575 assertFalse(record.getStats().hasSnoozed()); in testNotificationStats()
578 assertTrue(record.getStats().hasSeen()); in testNotificationStats()
580 assertFalse(record.getStats().hasDirectReplied()); in testNotificationStats()
581 assertFalse(record.getStats().hasExpanded()); in testNotificationStats()
582 assertFalse(record.getStats().hasInteracted()); in testNotificationStats()
[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/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/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/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/opt/gamesdk/src/swappy/
DSwappy_c.cpp90 Swappy::getStats(stats); in Swappy_getStats()
DFrameStatistics.h43 Swappy_Stats getStats();
DFrameStatistics.cpp156 Swappy_Stats FrameStatistics::getStats() { in getStats() function in swappy::FrameStatistics
DSwappy.h86 static void getStats(Swappy_Stats *stats);
DSwappy.cpp292 void Swappy::getStats(Swappy_Stats *stats) { in getStats() function in swappy::Swappy
300 *stats = swappy->mFrameStatistics->getStats(); in getStats()
/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);
/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2DecoderBase.h50 virtual sp<AMessage> getStats() const { in getStats() function
DNuPlayer2Decoder.h40 virtual sp<AMessage> getStats() const;
DNuPlayer2.h91 void getStats(Vector<sp<AMessage> > *mTrackStats);
DNuPlayer2Driver.cpp447 mPlayer->getStats(&trackStats); in updateMetrics()
721 mPlayer->getStats(&trackStats); in dump()
/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.java711 final public Stats getStats(int index) {
715 final public List<Stats> getStats(FilterStats filter) {
/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

12