/cts/common/util/tests/src/com/android/compatibility/common/util/ |
StatTest.java | 19 import com.android.compatibility.common.util.Stat; 23 * Unit tests for the {@link Stat} class. 28 * Test {@link Stat#get95PercentileValue(double[])}. 35 assertEquals(95, (int) Stat.get95PercentileValue(values)); 41 assertEquals(950, (int) Stat.get95PercentileValue(values)); 47 assertEquals(95 * 95, (int) Stat.get95PercentileValue(values)); 51 * Test {@link Stat#getAverage(double[])}. 55 double average = Stat.getAverage(values); 59 average = Stat.getAverage(values); 63 average = Stat.getAverage(values) [all...] |
/external/libchrome/dbus/ |
dbus_statistics.cc | 23 struct Stat { 24 Stat(const std::string& service, 41 bool Compare(const Stat& other) const { 50 bool operator()(Stat* lhs, Stat* rhs) const { 57 typedef std::set<Stat*, Stat::PtrCompare> StatSet; 75 // Enum to specify which field in Stat to increment in AddStat 92 Stat* stat = GetStat(service, interface, method, true) local 199 const Stat* stat = *cur_iter; local [all...] |
/cts/tests/filesystem/src/android/filesystem/cts/ |
SequentialRWTest.java | 26 import com.android.compatibility.common.util.Stat; 71 double[] mbps = Stat.calcRatePerSecArray((double)BUFFER_SIZE / 1024 / 1024, times); 74 Stat.StatResult stat = Stat.getStat(mbps); local 75 report.setSummary("write_throughput_average", stat.mAverage, ResultType.HIGHER_BETTER, 105 Stat.calcRatePerSec((double)fileSize / 1024 / 1024, finish - start), 124 double[] mbps = Stat.calcRatePerSecArray((double)fileSize / 1024 / 1024, times); 126 Stat.StatResult stat = Stat.getStat(mbps) local [all...] |
FileUtil.java | 29 import com.android.compatibility.common.util.Stat; 306 double[] mbps = Stat.calcRatePerSecArray((double)fileSize / runsInOneGo / 1024 / 1024, 311 Stat.StatResult stat = Stat.getStat(mbps); local 313 report.setSummary("read_throughput_average", stat.mAverage, ResultType.HIGHER_BETTER, 358 double[] mbps = Stat.calcRatePerSecArray((double)fileSize / runsInOneGo / 1024 / 1024, 362 Stat.StatResult stat = Stat.getStat(mbps) local 409 Stat.StatResult stat = Stat.getStat(mbpsAll); local [all...] |
/cts/tests/simplecpu/src/android/simplecpu/cts/ |
SimpleCpuTest.java | 25 import com.android.compatibility.common.util.Stat; 106 Stat.StatResult stat = Stat.getStatWithOutlierRejection(result, OUTLIER_THRESHOLD); local 107 if (stat.mDataCount != result.length) { 108 Log.w(TAG, "rejecting " + (result.length - stat.mDataCount) + " outliers"); 110 report.setSummary("sorting_time_average", stat.mAverage, ResultType.LOWER_BETTER, ResultUnit.MS); 131 Stat.StatResult stat = Stat.getStatWithOutlierRejection(result, OUTLIER_THRESHOLD) local [all...] |
/external/lzma/CPP/7zip/UI/GUI/ |
ExtractGUI.cpp | 95 CDecompressStat Stat;
108 FinalMessage.ErrorMessage.Message, Stat);
114 AddValuePair(s, IDS_ARCHIVES_COLON, Stat.NumArchives, false);
115 AddSizePair(s, IDS_PROP_PACKED_SIZE, Stat.PackSize);
119 if (Stat.NumFolders != 0)
120 AddValuePair(s, IDS_PROP_FOLDERS, Stat.NumFolders);
121 AddValuePair(s, IDS_PROP_FILES, Stat.NumFiles);
122 AddSizePair(s, IDS_PROP_SIZE, Stat.UnpackSize);
123 if (Stat.NumAltStreams != 0)
126 AddValuePair(s, IDS_PROP_NUM_ALT_STREAMS, Stat.NumAltStreams); [all...] |
/cts/tests/sample/src/android/sample/cts/ |
SampleDeviceResultTest.java | 26 import com.android.compatibility.common.util.Stat; 82 Stat.StatResult stat = Stat.getStat(result); local 88 reportLog.addValue("min", stat.mMin, ResultType.LOWER_BETTER, ResultUnit.MS); 89 reportLog.addValue("max", stat.mMax, ResultType.LOWER_BETTER, ResultUnit.MS); 91 reportLog.setSummary("average", stat.mAverage, ResultType.LOWER_BETTER, ResultUnit.MS);
|
/cts/tests/ui/src/android/ui/cts/ |
ScrollingTest.java | 25 import com.android.compatibility.common.util.Stat; 76 Stat.StatResult stat = Stat.getStat(results); local 77 report.setSummary("scrolling_time_average", stat.mAverage,
|
/external/gtest/test/ |
gtest_premature_exit_test.cc | 42 using ::testing::internal::posix::Stat; 55 StatStruct stat; local 56 return Stat(filepath, &stat) == 0;
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/ |
gtest_premature_exit_test.cc | 42 using ::testing::internal::posix::Stat; 55 StatStruct stat; local 56 return Stat(filepath, &stat) == 0;
|
/prebuilts/misc/common/swig/include/2.0.11/perl5/ |
noembed.h | 82 #ifdef Stat 83 #undef Stat 103 #ifdef stat 104 #undef stat macro
|
/cts/tests/tvprovider/src/android/tvprovider/cts/ |
TvProviderPerfTest.java | 40 import com.android.compatibility.common.util.Stat; 112 averages[0] = Stat.getAverage(applyBatchTimes); 140 averages[1] = Stat.getAverage(applyBatchTimes); 156 averages[2] = Stat.getAverage(applyBatchTimes); 176 averages[3] = Stat.getAverage(applyBatchTimes); 187 averages[4] = Stat.getAverage(applyBatchTimes); 250 averages[0] = Stat.getAverage(applyBatchTimes); 285 averages[1] = Stat.getAverage(applyBatchTimes); 301 averages[2] = Stat.getAverage(applyBatchTimes); 321 averages[3] = Stat.getAverage(applyBatchTimes) [all...] |
/cts/tests/dram/src/android/dram/cts/ |
BandwidthTest.java | 28 import com.android.compatibility.common.util.Stat; 174 double[] mbps = Stat.calcRatePerSecArray( 177 Stat.StatResult stat = Stat.getStatWithOutlierRejection(mbps, OUTLIER_THRESHOLD); local 178 if (stat.mDataCount != result.length) { 179 Log.w(TAG, "rejecting " + (result.length - stat.mDataCount) + " outliers"); 187 double screensPerSecAverage = stat.mAverage / pixels * 1024.0 * 1024.0 / 4.0; 190 report.setSummary("memcpy_throughput_average", stat.mAverage, ResultType.HIGHER_BETTER, 209 double[] mbps = Stat.calcRatePerSecArray 212 Stat.StatResult stat = Stat.getStatWithOutlierRejection(mbps, OUTLIER_THRESHOLD); local [all...] |
/external/clang/unittests/Basic/ |
VirtualFileSystemTest.cpp | 551 auto Stat = FS.status("/a"); 552 ASSERT_EQ(Stat.getError(),errc::no_such_file_or_directory) << FS.toString(); 553 Stat = FS.status("/"); 554 ASSERT_EQ(Stat.getError(), errc::no_such_file_or_directory) << FS.toString(); 559 auto Stat = FS.status("c:"); 561 ASSERT_FALSE(Stat.getError()) << Stat.getError() << FS.toString(); 563 Stat = FS.status("c:/windows/system128/foo.cpp"); 564 ASSERT_FALSE(Stat.getError()) << Stat.getError() << FS.toString() [all...] |
/cts/hostsidetests/ui/src/android/ui/cts/ |
InstallTimeTest.java | 25 import com.android.compatibility.common.util.Stat; 96 Stat.StatResult stat = Stat.getStatWithOutlierRejection(result, OUTLIER_THRESHOLD); local 97 if (stat.mDataCount != result.length) { 98 Log.w(TAG, "rejecting " + (result.length - stat.mDataCount) + " outliers"); 100 report.setSummary("install_time_average", stat.mAverage, ResultType.LOWER_BETTER,
|
/external/llvm/lib/Support/ |
FileOutputBuffer.cpp | 41 sys::fs::file_status Stat; 42 std::error_code EC = sys::fs::status(FilePath, Stat); 43 switch (Stat.type()) {
|
/external/skia/include/utils/win/ |
SkIStream.h | 77 virtual HRESULT STDMETHODCALLTYPE Stat(STATSTG* pStatstg 108 virtual HRESULT STDMETHODCALLTYPE Stat(STATSTG* pStatstg 131 virtual HRESULT STDMETHODCALLTYPE Stat(STATSTG* pStatstg
|
/cts/hostsidetests/sample/src/android/sample/cts/ |
SampleHostResultTest.java | 25 import com.android.compatibility.common.util.Stat; 138 Stat.StatResult stat = Stat.getStat(result); local 146 report.addValue("min", stat.mMin, ResultType.LOWER_BETTER, ResultUnit.MS); 147 report.addValue("max", stat.mMax, ResultType.LOWER_BETTER, ResultUnit.MS); 149 report.setSummary("average", stat.mAverage, ResultType.LOWER_BETTER, ResultUnit.MS);
|
/cts/hostsidetests/ui/control/src/android/taskswitching/control/cts/ |
TaskSwitchingDeviceTest.java | 35 import com.android.compatibility.common.util.Stat; 91 Stat.StatResult stat = Stat.getStat(results); local 92 report.setSummary("task_switching_time_average", stat.mAverage, ResultType.LOWER_BETTER,
|
/cts/common/util/src/com/android/compatibility/common/util/ |
Stat.java | 24 public class Stat { 28 private Stat() {}
|
/external/skia/src/utils/win/ |
SkIStream.cpp | 100 HRESULT STDMETHODCALLTYPE SkBaseIStream::Stat(STATSTG* pStatstg 207 HRESULT STDMETHODCALLTYPE SkIStream::Stat(STATSTG* pStatstg 267 HRESULT STDMETHODCALLTYPE SkWIStream::Stat(STATSTG* pStatstg
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
PerformanceTest.java | 48 import com.android.compatibility.common.util.Stat; 184 avgCameraLaunchTimes[counter] = Stat.getAverage(cameraLaunchTimes); 210 Stat.getAverage(avgCameraLaunchTimes), ResultType.LOWER_BETTER, ResultUnit.MS); 320 avgResultTimes[counter] = Stat.getAverage(getResultTimes); 335 Stat.getAverage(avgResultTimes), ResultType.LOWER_BETTER, ResultUnit.MS); 571 Stat.getAverage(maxCaptureGapsMs), ResultType.LOWER_BETTER, ResultUnit.MS); [all...] |
/external/google-breakpad/src/testing/gtest/src/ |
gtest-filepath.cc | 210 return posix::Stat(pathname_.c_str(), &file_stat) == 0; 237 result = posix::Stat(path.c_str(), &file_stat) == 0 &&
|
/external/gtest/src/ |
gtest-filepath.cc | 212 return posix::Stat(pathname_.c_str(), &file_stat) == 0; 239 result = posix::Stat(path.c_str(), &file_stat) == 0 &&
|
/external/llvm/utils/unittest/googletest/src/ |
gtest-filepath.cc | 208 return posix::Stat(pathname_.c_str(), &file_stat) == 0; 235 result = posix::Stat(path.c_str(), &file_stat) == 0 &&
|