HomeSort by relevance Sort by last modified time
    Searched defs:stats (Results 1 - 25 of 1153) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/valgrind/none/tests/solaris/
resolv.c 11 struct __res_state stats; local
12 bzero(&stats, sizeof(stats));
14 printf("PRE stats->nscount = %d\n", stats.nscount );
16 res_ninit(&stats);
17 printf("POST stats->nscount = %d\n", ( int ) stats.nscount > 0 );
  /external/libdrm/tests/
getstats.c 41 drm_stats_t stats; local
45 ret = ioctl(fd, DRM_IOCTL_GET_STATS, &stats);
  /tools/loganalysis/tests/src/com/android/loganalysis/parser/
BatteryStatsDetailedInfoParserTest.java 79 BatteryStatsDetailedInfoItem stats = new BatteryStatsDetailedInfoParser().parse(inputBlock); local
81 assertEquals(8465622, stats.getTimeOnBattery());
82 assertEquals(910619, stats.getScreenOnTime());
83 assertNotNull(stats.getWakelockItem());
84 assertNotNull(stats.getInterruptItem());
85 assertNotNull(stats.getProcessUsageItem());
120 BatteryStatsDetailedInfoItem stats = new BatteryStatsDetailedInfoParser().parse(inputBlock); local
122 assertEquals(8465622, stats.getTimeOnBattery());
123 assertEquals(910619, stats.getScreenOnTime());
125 assertNull(stats.getWakelockItem())
    [all...]
  /external/webrtc/webrtc/modules/audio_coding/acm2/
call_statistics_unittest.cc 20 AudioDecodingCallStats stats; local
22 stats = call_stats.GetDecodingStatistics();
23 EXPECT_EQ(0, stats.calls_to_neteq);
24 EXPECT_EQ(0, stats.calls_to_silence_generator);
25 EXPECT_EQ(0, stats.decoded_normal);
26 EXPECT_EQ(0, stats.decoded_cng);
27 EXPECT_EQ(0, stats.decoded_plc);
28 EXPECT_EQ(0, stats.decoded_plc_cng);
33 AudioDecodingCallStats stats; local
41 stats = call_stats.GetDecodingStatistics()
    [all...]
  /art/tools/dexfuzz/src/dexfuzz/
MutationStats.java 33 private Map<String,Long> stats; field in class:MutationStats
37 stats = new HashMap<String,Long>();
49 if (!stats.containsKey(statName)) {
50 stats.put(statName, 0L);
53 stats.put(statName, stats.get(statName) + amt);
57 * Get a string representing the collected stats - looks like a JSON dictionary.
69 builder.append("\"").append(statName).append("\": ").append(stats.get(statName));
  /external/valgrind/memcheck/tests/solaris/
shmat.c 22 struct shmid_ds stats; local
23 int ret = shmctl(shmid, IPC_STAT, &stats);
29 printf("segment size: %zu\n", stats.shm_segsz);
syscall_at.c 20 struct stat stats; local
74 fstatat(dfd, FILENAME, &stats, 0);
75 fstatat(0x42515151, DIRECTORY FILENAME, &stats, 0);
76 fstatat(AT_FDCWD, FILENAME, &stats, 0);
77 fstatat(0x42515152, FILENAME, &stats, 0); /* warning for this one */
  /libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
SummaryStatisticsTest.java 52 for (IntSummaryStatistics stats : instances) {
53 assertEquals(stats.getCount(), 1000);
54 assertEquals(stats.getSum(), countTo(1000).stream().mapToInt(i -> i).sum());
55 assertEquals(stats.getMax(), 1000);
56 assertEquals(stats.getMin(), 1);
67 for (LongSummaryStatistics stats : instances) {
68 assertEquals(stats.getCount(), 1000);
69 assertEquals(stats.getSum(), (long) countTo(1000).stream().mapToInt(i -> i).sum());
70 assertEquals(stats.getMax(), 1000L);
71 assertEquals(stats.getMin(), 1L)
    [all...]
  /packages/apps/Camera2/src/com/android/camera/stats/profiler/
Profiler.java 17 package com.android.camera.stats.profiler;
Writer.java 17 package com.android.camera.stats.profiler;
Profile.java 17 package com.android.camera.stats.profiler;
  /frameworks/base/core/tests/benchmarks/src/android/net/
NetworkStatsBenchmark.java 65 NetworkStats stats = mNetworkStats.clone(); local
66 stats.migrateTun(TUN_UID, TUN_IFACE, UNDERLYING_IFACE);
77 NetworkStats stats = mNetworkStats.clone(); local
  /cts/tests/tests/content/src/android/content/pm/cts/
PackageStatsTest.java 34 PackageStats stats = new PackageStats(PACKAGE_NAME); local
35 assertEquals(PACKAGE_NAME, stats.packageName);
36 stats.cacheSize = codeSize;
37 stats.codeSize = cacheSize;
38 stats.dataSize = dataSize;
39 PackageStats infoFromExisted = new PackageStats(stats);
40 checkInfoSame(stats, infoFromExisted);
43 assertNotNull(stats.toString());
44 assertEquals(0, stats.describeContents());
48 stats.writeToParcel(p, 0)
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowStatFs.java 15 private static final Stats DEFAULT_STATS = new Stats(0, 0, 0);
16 private static Map<String, Stats> stats = new HashMap<String, Stats>(); field in class:ShadowStatFs
17 private Stats stat;
45 stat = stats.get(path);
56 stats.put(path, new Stats(blockCount, freeBlocks, availableBlocks));
60 stats.clear()
    [all...]
ShadowSyncResult.java 19 Field f = SyncResult.class.getDeclaredField("stats");
31 return result.syncAlreadyInProgress || result.stats.numIoExceptions > 0;
36 return result.stats.numParseExceptions > 0
37 || result.stats.numConflictDetectedExceptions > 0
38 || result.stats.numAuthExceptions > 0
51 return ((result.stats.numDeletes > 0) && !result.tooManyDeletions)
52 || result.stats.numInserts > 0
53 || result.stats.numUpdates > 0;
69 result.stats.clear();
76 private SyncStats stats; field in class:ShadowSyncResult.ShadowSyncStats
    [all...]
  /frameworks/base/core/java/android/content/
SyncResult.java 91 public final SyncStats stats; field in class:SyncResult
135 this.stats = new SyncStats();
147 stats = new SyncStats(parcel);
166 return stats.numParseExceptions > 0
167 || stats.numConflictDetectedExceptions > 0
168 || stats.numAuthExceptions > 0
187 return syncAlreadyInProgress || stats.numIoExceptions > 0;
204 return ((stats.numDeletes > 0) && !tooManyDeletions)
205 || stats.numInserts > 0
206 || stats.numUpdates > 0
    [all...]
  /tools/tradefederation/core/tests/src/com/android/tradefed/device/
CpuStatsCollectorTest.java 163 CpuStats stats = cpuStats.get("Total").get(0); local
166 assertEquals(2, stats.mTimeStats.get(TimeCategory.USER).intValue());
167 assertEquals(3, stats.mTimeStats.get(TimeCategory.NICE).intValue());
168 assertEquals(5, stats.mTimeStats.get(TimeCategory.SYS).intValue());
169 assertEquals(7, stats.mTimeStats.get(TimeCategory.IDLE).intValue());
170 assertEquals(11, stats.mTimeStats.get(TimeCategory.IOW).intValue());
171 assertEquals(13, stats.mTimeStats.get(TimeCategory.IRQ).intValue());
172 assertEquals(17, stats.mTimeStats.get(TimeCategory.SIRQ).intValue());
175 assertEquals(100.0 * 2 / 58, stats.getPercentage(TimeCategory.USER), 0.01);
176 assertEquals(100.0 * 3 / 58, stats.getPercentage(TimeCategory.NICE), 0.01)
240 CpuStats stats = cpuStats.get("Total").get(0); local
273 Map<String, List<CpuStats>> stats = mCollector.getCpuStats(); local
316 Map<String, List<CpuStats>> stats = mCollector.getCpuStats(); local
    [all...]
  /cts/tests/sensor/src/android/hardware/cts/helpers/
SensorStatsTest.java 32 SensorStats stats = new SensorStats(); local
33 stats.addValue("value0", 0);
34 stats.addValue("value1", 1);
45 stats.addSensorStats("stats0", subStats);
47 // Add empty stats, expect no value in flattened map
48 stats.addSensorStats("stats2", new SensorStats());
51 stats.addSensorStats("stats3", null);
52 stats.addValue("value6", null);
54 Map<String, Object> flattened = stats.flatten();
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
ndiff.py 130 stats = pstats.Stats(statf) variable
131 stats.strip_dirs().sort_stats('time').print_stats()
  /external/ltp/testcases/kernel/syscalls/statfs/
statfs01.c 107 * Print errno log and/or timing stats if options given
128 struct statfs stats; variable in typeref:struct:statfs
143 TEST(statfs(fname, &stats));
  /cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/
EventGapVerificationTest.java 70 SensorStats stats = new SensorStats(); local
74 verification.verify(environment, stats);
78 verification.verify(environment, stats);
85 assertEquals(pass, stats.getValue(EventGapVerification.PASSED_KEY));
86 assertEquals(indices.length, stats.getValue(SensorStats.EVENT_GAP_COUNT_KEY));
87 assertNotNull(stats.getValue(SensorStats.EVENT_GAP_POSITIONS_KEY));
88 int[] actualIndices = (int[]) stats.getValue(SensorStats.EVENT_GAP_POSITIONS_KEY);
EventOrderingVerificationTest.java 37 SensorStats stats = new SensorStats(); local
39 verification.verify(stats);
40 verifyStats(stats, true, 0);
47 SensorStats stats = new SensorStats(); local
49 verification.verify(stats);
50 verifyStats(stats, true, 0);
57 SensorStats stats = new SensorStats(); local
60 verification.verify(stats);
65 verifyStats(stats, false, 1);
66 List<Integer> indices = getIndices(stats);
74 SensorStats stats = new SensorStats(); local
    [all...]
  /cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/
StorageTest.java 100 final StorageStatsManager stats = getContext().getSystemService(StorageStatsManager.class); local
114 assertTrue(stats.getTotalBytes(StorageManager.UUID_DEFAULT) >= Environment
116 assertTrue(stats.getFreeBytes(StorageManager.UUID_DEFAULT) >= Environment
119 // Verify that we can see our own stats, and that they look sane
121 final StorageStats pstats = stats.queryStatsForPackage(ai.storageUuid, ai.packageName,
123 final StorageStats ustats = stats.queryStatsForUid(ai.storageUuid, ai.uid);
130 stats.queryStatsForPackage(ai.storageUuid, ai.packageName,
136 stats.queryStatsForUid(ai.storageUuid, ai.uid);
141 stats.queryExternalStatsForUser(StorageManager.UUID_DEFAULT,
  /external/caliper/caliper/src/main/java/com/google/caliper/worker/
AllocationRecorder.java 39 AllocationStats stats = stopRecording(1); local
40 if (stats.getAllocationCount() != 1 || stats.getAllocationSize() < 1) {
44 stats));
  /external/google-breakpad/src/common/tests/
auto_tempdir.h 80 struct stat stats; local
81 EXPECT_TRUE(lstat(entry_path.c_str(), &stats) == 0);
82 if (S_ISDIR(stats.st_mode))

Completed in 918 milliseconds

1 2 3 4 5 6 7 8 91011>>