HomeSort by relevance Sort by last modified time
    Searched refs:Stat (Results 1 - 25 of 317) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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;
68 double[] mbps = Stat.calcRatePerSecArray((double)BUFFER_SIZE / 1024 / 1024, times);
71 Stat.StatResult stat = Stat.getStat(mbps); local
72 report.setSummary("write_throughput_average", stat.mAverage, ResultType.HIGHER_BETTER,
101 Stat.calcRatePerSec((double)fileSize / 1024 / 1024, finish - start),
120 double[] mbps = Stat.calcRatePerSecArray((double)fileSize / 1024 / 1024, times);
122 Stat.StatResult stat = Stat.getStat(mbps) local
    [all...]
FileUtil.java 29 import com.android.compatibility.common.util.Stat;
305 double[] mbps = Stat.calcRatePerSecArray((double)fileSize / runsInOneGo / 1024 / 1024,
310 Stat.StatResult stat = Stat.getStat(mbps); local
312 report.setSummary("read_throughput_average", stat.mAverage, ResultType.HIGHER_BETTER,
357 double[] mbps = Stat.calcRatePerSecArray((double)fileSize / runsInOneGo / 1024 / 1024,
361 Stat.StatResult stat = Stat.getStat(mbps) local
408 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/go/darwin-x86/src/net/http/cgi/
plan9_test.go 16 _, err := os.Stat("/proc/" + strconv.Itoa(pid))
  /prebuilts/go/linux-x86/src/net/http/cgi/
plan9_test.go 16 _, err := os.Stat("/proc/" + strconv.Itoa(pid))
  /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;
173 double[] mbps = Stat.calcRatePerSecArray(
176 Stat.StatResult stat = Stat.getStatWithOutlierRejection(mbps, OUTLIER_THRESHOLD); local
177 if (stat.mDataCount != result.length) {
178 Log.w(TAG, "rejecting " + (result.length - stat.mDataCount) + " outliers");
186 double screensPerSecAverage = stat.mAverage / pixels * 1024.0 * 1024.0 / 4.0;
189 report.setSummary("memcpy_throughput_average", stat.mAverage, ResultType.HIGHER_BETTER,
208 double[] mbps = Stat.calcRatePerSecArray
211 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
  /prebuilts/go/darwin-x86/src/net/internal/socktest/
switch.go 33 func (sw *Switch) Stats() []Stat {
34 var st []Stat
83 // A Stat represents a per-cookie socket statistics.
84 type Stat struct {
102 func (st Stat) String() string {
106 type stats map[Cookie]*Stat
108 func (st stats) getLocked(c Cookie) *Stat {
111 s = &Stat{Family: c.Family(), Type: c.Type(), Protocol: c.Protocol()}
  /prebuilts/go/linux-x86/src/net/internal/socktest/
switch.go 33 func (sw *Switch) Stats() []Stat {
34 var st []Stat
83 // A Stat represents a per-cookie socket statistics.
84 type Stat struct {
102 func (st Stat) String() string {
106 type stats map[Cookie]*Stat
108 func (st stats) getLocked(c Cookie) *Stat {
111 s = &Stat{Family: c.Family(), Type: c.Type(), Protocol: c.Protocol()}
  /prebuilts/go/darwin-x86/src/cmd/addr2line/
addr2line_test.go 72 fi1, err := os.Stat("addr2line_test.go")
74 t.Fatalf("Stat failed: %v", err)
76 fi2, err := os.Stat(srcPath)
78 t.Fatalf("Stat failed: %v", err)
  /prebuilts/go/darwin-x86/src/os/
os_windows_test.go 61 ia1, err := os.Stat("a")
70 ia2, err := os.Stat(path)
82 ia3, err := os.Stat(p)
110 fi, err := os.Stat(link)
112 t.Fatalf("failed to stat link %v: %v", link, err)
  /prebuilts/go/linux-x86/src/cmd/addr2line/
addr2line_test.go 72 fi1, err := os.Stat("addr2line_test.go")
74 t.Fatalf("Stat failed: %v", err)
76 fi2, err := os.Stat(srcPath)
78 t.Fatalf("Stat failed: %v", err)
  /prebuilts/go/linux-x86/src/os/
os_windows_test.go 61 ia1, err := os.Stat("a")
70 ia2, err := os.Stat(path)
82 ia3, err := os.Stat(p)
110 fi, err := os.Stat(link)
112 t.Fatalf("failed to stat link %v: %v", link, err)

Completed in 1457 milliseconds

1 2 3 4 5 6 7 8 91011>>