/art/tools/dexfuzz/src/dexfuzz/program/mutators/ |
CodeMutator.java | 40 protected MutationStats stats; field in class:CodeMutator 66 public CodeMutator(Random rng, MutationStats stats, List<Mutation> mutations) { 68 this.stats = stats;
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/ |
EventBasicVerificationTest.java | 49 SensorStats stats; local 55 stats = new SensorStats(); 57 verification.verify(stats); 58 assertEquals(true, stats.getValue(EventBasicVerification.PASSED_KEY)); 59 assertEquals(20, (long) stats.getValue(SensorStats.EVENT_COUNT_KEY)); 60 assertEquals(false, stats.getValue(SensorStats.WRONG_SENSOR_KEY)); 64 stats = new SensorStats(); 67 verification.verify(stats); 72 assertEquals(false, stats.getValue(EventBasicVerification.PASSED_KEY)); 73 assertEquals(5, (long) stats.getValue(SensorStats.EVENT_COUNT_KEY)) [all...] |
FrequencyVerificationTest.java | 39 SensorStats stats = new SensorStats(); local 41 verification.verify(getEnvironment(1000), stats); 42 verifyStats(stats, true, 1000.0); 44 stats = new SensorStats(); 46 verification.verify(getEnvironment(950), stats); 47 verifyStats(stats, true, 1000.0); 49 stats = new SensorStats(); 51 verification.verify(getEnvironment(1050), stats); 52 verifyStats(stats, true, 1000.0); 54 stats = new SensorStats() [all...] |
MagnitudeVerificationTest.java | 53 SensorStats stats = new SensorStats(); local 56 verification.verify(stats); 59 verification.verify(stats); 65 assertEquals(pass, stats.getValue(MagnitudeVerification.PASSED_KEY)); 66 assertEquals(magnitude, (Float) stats.getValue(SensorStats.MAGNITUDE_KEY), 0.01);
|
MeanVerificationTest.java | 47 SensorStats stats = new SensorStats(); local 49 verification.verify(stats); 50 verifyStats(stats, true, new float[]{2.0f, 3.0f, 6.0f}); 54 stats = new SensorStats(); 56 verification.verify(stats); 57 verifyStats(stats, true, new float[]{2.0f, 3.0f, 6.0f}); 61 stats = new SensorStats(); 64 verification.verify(stats); 69 verifyStats(stats, false, new float[]{2.0f, 3.0f, 6.0f}); 73 stats = new SensorStats() [all...] |
StandardDeviationVerificationTest.java | 64 SensorStats stats = new SensorStats(); local 67 verification.verify(stats); 71 verification.verify(stats); 78 assertEquals(pass, stats.getValue(StandardDeviationVerification.PASSED_KEY)); 79 float[] actual = (float[]) stats.getValue(SensorStats.STANDARD_DEVIATION_KEY);
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
GrammarReport2.java | 48 stats(root, buf); method 51 stats(g, buf); method 56 void stats(Grammar g, StringBuilder buf) { method in class:GrammarReport2
|
/external/eigen/Eigen/src/OrderingMethods/ |
Ordering.h | 139 StorageIndex stats [COLAMD_STATS]; local 146 StorageIndex info = internal::colamd(m, n, Alen, A.data(), p.data(), knobs, stats);
|
/external/guava/guava/src/com/google/common/cache/ |
ForwardingCache.java | 113 public CacheStats stats() { method in class:ForwardingCache 114 return delegate().stats();
|
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheManualTest.java | 31 CacheStats stats = cache.stats(); local 32 assertEquals(0, stats.missCount()); 33 assertEquals(0, stats.loadSuccessCount()); 34 assertEquals(0, stats.loadExceptionCount()); 35 assertEquals(0, stats.hitCount()); 41 stats = cache.stats(); 42 assertEquals(1, stats.missCount()); 43 assertEquals(0, stats.loadSuccessCount()) 107 CacheStats stats = cache.stats(); local [all...] |
/external/libchrome/base/ |
sys_info_posix.cc | 79 struct statvfs stats; local 80 if (HANDLE_EINTR(statvfs(path.value().c_str(), &stats)) != 0) 84 *available_bytes = static_cast<int64_t>(stats.f_bavail) * stats.f_frsize; 86 *total_bytes = static_cast<int64_t>(stats.f_blocks) * stats.f_frsize;
|
/external/ltp/testcases/kernel/device-drivers/drm/user_space/ |
user_tdrm.c | 153 drm_stats_t stats; local 154 if (ioctl(tdrm_fd, DRM_IOCTL_GET_STATS, &stats))
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
bitrate.cc | 76 BitrateStatistics stats; local 114 stats.bitrate_bps = bitrate_; 115 stats.packet_rate = packet_rate_; 116 stats.timestamp_ms = now; 120 observer_->BitrateUpdated(stats);
|
rtcp_utility_unittest.cc | 31 RTCPUtility::NackStats stats; local 32 EXPECT_EQ(0U, stats.unique_requests()); 33 EXPECT_EQ(0U, stats.requests()); 34 stats.ReportRequest(10); 35 EXPECT_EQ(1U, stats.unique_requests()); 36 EXPECT_EQ(1U, stats.requests()); 38 stats.ReportRequest(10); 39 EXPECT_EQ(1U, stats.unique_requests()); 40 stats.ReportRequest(11); 41 EXPECT_EQ(2U, stats.unique_requests()) 54 RTCPUtility::NackStats stats; local [all...] |
/external/webrtc/webrtc/p2p/base/ |
transport_unittest.cc | 222 cricket::TransportStats stats; local 223 EXPECT_TRUE(transport_->GetStats(&stats)); 225 ASSERT_EQ(1U, stats.channel_stats.size()); 226 EXPECT_EQ(1, stats.channel_stats[0].component); 228 EXPECT_TRUE(transport_->GetStats(&stats)); 229 ASSERT_EQ(1U, stats.channel_stats.size()); 230 EXPECT_EQ(1, stats.channel_stats[0].component);
|
/external/webrtc/webrtc/video/ |
report_block_stats_unittest.cc | 59 const RTCPReportBlock& stats) { 61 block.cumulative_lost = stats.cumulativeLost; 62 block.fraction_lost = stats.fractionLost; 63 block.extended_max_sequence_number = stats.extendedHighSeqNum; 64 block.jitter = stats.jitter; 82 ReportBlockStats stats; local 84 RTCPReportBlock aggregated = stats.AggregateAndStore(empty); 92 ReportBlockStats stats; local 93 RTCPReportBlock aggregated = stats.AggregateAndStore(ssrc1block1_); 100 aggregated = stats.AggregateAndStore(ssrc1block2_) 111 ReportBlockStats stats; local 131 ReportBlockStats stats; local [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
PrivateStorageInfo.java | 43 final StorageStatsManager stats = context.getSystemService(StorageStatsManager.class); local 50 privateTotalBytes += sm.getTotalBytes(stats, info); 51 privateFreeBytes += sm.getFreeBytes(stats, info); 62 final StorageStatsManager stats = context.getSystemService(StorageStatsManager.class); local 64 return stats.getTotalBytes(info.getFsUuid());
|
/libcore/ojluni/src/test/java/util/stream/ |
TestDoubleSumAverage.java | 79 DoubleSummaryStatistics stats = ds.get().collect(DoubleSummaryStatistics::new, local 83 failures += compareUlpDifference(expectedSum, stats.getSum(), 3); 84 failures += compareUlpDifference(expectedAvg, stats.getAverage(), 3); 128 DoubleSummaryStatistics stats = ds.get().collect(DoubleSummaryStatistics::new, local 132 failures += compareUlpDifference(expected, stats.getSum(), 0); 133 failures += compareUlpDifference(expected, stats.getAverage(), 0);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
ScanClient.java | 45 AppScanStats stats = null; field in class:ScanClient
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
FetchPackageStorageAsyncLoaderTest.java | 62 AppStorageStats stats = mock(AppStorageStats.class); local 63 when(stats.getCodeBytes()).thenReturn(1L); 64 when(stats.getDataBytes()).thenReturn(2L); 65 when(stats.getCacheBytes()).thenReturn(3L); 67 .thenReturn(stats); 73 assertThat(task.loadInBackground()).isEqualTo(stats);
|
/frameworks/base/core/java/android/app/usage/ |
NetworkStatsManager.java | 69 * <b>NOTE:</b> Calling {@link #querySummaryForDevice} or accessing stats for apps other than the 139 NetworkStats stats = new NetworkStats(mContext, template, startTime, endTime); local 140 bucket = stats.getDeviceSummaryForNetwork(); 142 stats.close(); 176 NetworkStats stats; local 177 stats = new NetworkStats(mContext, template, startTime, endTime); 178 stats.startSummaryEnumeration(); 180 stats.close(); 181 return stats.getSummaryAggregate(); 266 Log.e(TAG, "Error while querying stats for uid=" + uid + " tag=" + tag, e) [all...] |
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/ |
UiAutomationTest.java | 83 // Clear stats to be with a clean slate. 93 // Get the frame stats. 94 WindowContentFrameStats stats = uiAutomation.getWindowContentFrameStats(windowId); local 96 // Check the frame stats... 99 assertNotNull(stats); 102 assertTrue(stats.getRefreshPeriodNano() > 0); 105 final int frameCount = stats.getFrameCount(); 109 assertWindowContentTimestampsInAscendingOrder(stats); 112 assertEquals(stats.getStartTimeNano(), stats.getFramePresentedTimeNano(0)) 148 WindowContentFrameStats stats = uiAutomation.getWindowContentFrameStats(windowId); local 208 WindowAnimationFrameStats stats = uiAutomation.getWindowAnimationFrameStats(); local 250 WindowAnimationFrameStats stats = uiAutomation.getWindowAnimationFrameStats(); local [all...] |
/prebuilts/gradle-plugin/com/android/tools/analytics-library/tracker/25.2.0-alpha1/ |
tracker-25.2.0-alpha1.jar | |
/prebuilts/gradle-plugin/com/android/tools/analytics-library/tracker/25.2.0-alpha3/ |
tracker-25.2.0-alpha3.jar | |
/build/kati/ |
stats.go | 114 stats.add(e.name, e.v, e.t) 129 var stats = &statsT{ var 156 for k, v := range stats.data {
|