Home
last modified time | relevance | path

Searched refs:counter (Results 1 – 23 of 23) sorted by relevance

/tools/trebuchet/core/common/src/test/kotlin/trebuchet/importers/ftrace/
DTracingMarkerEventTest.kt36 val counter = detailsFor<CounterSliceEvent>("tracing_mark_write: C|42|myCounter|9001") in testCounter() constant
37 assertEquals(42, counter.tgid) in testCounter()
38 assertEquals("myCounter", counter.name) in testCounter()
39 assertEquals(9001, counter.value) in testCounter()
/tools/test/graphicsbenchmark/functional_tests/native/
Dmprotect_test.cpp32 volatile int counter = 0; variable
35 ++counter; in handler()
160 …EXPECT_EQ(pagesToWrite, counter) << "Memory type " << i << " wrote " << counter << " pages instead… in TEST()
162 counter = 0; in TEST()
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceStateMonitor.java48 int counter = 1; in waitForPmResponsive() local
65 getRunUtil().sleep(Math.min(getCheckPollTime() * counter, MAX_CHECK_POLL_TIME)); in waitForPmResponsive()
66 counter++; in waitForPmResponsive()
DNativeDeviceStateMonitor.java385 int counter = 0; in waitForStoreMount() local
390 if (counter > 0) { in waitForStoreMount()
391 getRunUtil().sleep(Math.min(getCheckPollTime() * counter, MAX_CHECK_POLL_TIME)); in waitForStoreMount()
393 counter++; in waitForStoreMount()
731 int counter = 0; in busyWaitFunction() local
735 if (counter > 0) { in busyWaitFunction()
736 long nextWaitTime = Math.min(getCheckPollTime() * counter, MAX_CHECK_POLL_TIME); in busyWaitFunction()
743 counter++; in busyWaitFunction()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/coex/
Daudio_test_utils.py145 counter = 0
146 while os.path.exists(self.analysis_path % counter):
147 counter += 1
148 return counter
Daudio_capture_device.py48 counter = 0
49 while os.path.exists(self.wave_file % counter):
50 counter += 1
51 return counter
DCoexBaseTest.py73 self.counter = 0
186 'fping_%s.txt' % self.counter)
189 self.counter = +1
Dcoex_test_utils.py941 counter = 0
944 while os.path.isfile(fping_path + "/fping_%s.txt" % counter):
945 counter += 1
946 out_file_name = "{}".format("fping_%s.txt" % counter)
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/rust/
DRustTestBase.java182 int counter = 0; in collectTestLines() local
185 counter++; in collectTestLines()
189 CLog.d("Found %d tests", counter); in collectTestLines()
/tools/test/connectivity/acts_tests/tests/google/tel/live/
DTelLiveConnectivityMonitorBaseTest.py555 for counter in checking_counters:
557 counter,
558 0) != call_data_summary_before.get(counter, 0) + 1:
559 self.dut.log.error("Counter %s did not increase", counter)
562 self.dut.log.info("Counter %s increased", counter)
563 if counter == "Calls":
572 if "_dropped" in counter and counter != "Calls_dropped":
573 desc = counter.split("_")[0]
/tools/asuite/adevice/tests/common/
Dfakes.rs141 let mut counter = self.wait_called.borrow_mut(); in wait() localVariable
142 *counter += 1; in wait()
/tools/tradefederation/contrib/src/com/android/media/tests/
DAudioLoopbackTestHelper.java349 int counter = 0; in getWorstResults() local
353 if (counter < maxNrOfWorstResults) { in getWorstResults()
355 counter++; in getWorstResults()
360 if (counter < maxNrOfWorstResults) { in getWorstResults()
373 counter++; in getWorstResults()
DAudioLoopbackTest.java397 int counter = 0; in runGlitchesTest() local
412 counter++; in runGlitchesTest()
413 } while (nrOfSuccessfulTests <= 0 && counter <= MAX_RETRIES); in runGlitchesTest()
441 counter = 0; in runGlitchesTest()
452 counter++; in runGlitchesTest()
453 } while (glitches > 10 || glitches < 0 && counter <= MAX_RETRIES); in runGlitchesTest()
DAudioLoopbackImageAnalyzer.java267 int counter = 0; in analyzeDuration() local
271 .append(counter) in analyzeDuration()
277 counter++; in analyzeDuration()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DRunUtil.java334 int counter = 0; in runTimedCmdRetryWithOutputMonitor() local
335 while (counter < attempts) { in runTimedCmdRetryWithOutputMonitor()
341 counter++; in runTimedCmdRetryWithOutputMonitor()
472 int counter = 0; in runTimedCmdSilentlyRetry() local
473 while (counter < attempts) { in runTimedCmdSilentlyRetry()
479 counter++; in runTimedCmdSilentlyRetry()
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DTestsPoolPoller.java165 CountTestCasesCollector counter = new CountTestCasesCollector(test); in run() local
167 counter.init(info.getContext(), listenerWithCollectors); in run()
/tools/test/connectivity/acts/framework/acts/controllers/
Daccess_point.py376 counter = 1
389 counter = counter + 1
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DGranularRetriableTestWrapper.java363 CountTestCasesCollector counter = new CountTestCasesCollector(mTest); in intraModuleRun() local
364 clonedCollectors.add(counter); in intraModuleRun()
/tools/test/connectivity/acts/framework/acts/controllers/anritsu_lib/
Dmd8475a.py1862 counter = 1
1864 if counter > 3:
1868 counter += 1
1894 counter = 1
1896 if counter > 3:
1900 counter += 1
3087 counter = 1
3089 if counter > 3:
3093 counter += 1
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DInstrumentationTest.java983 CountTestCasesCollector counter = new CountTestCasesCollector(this); in doTestRun() local
984 copyList.add(counter); in doTestRun()
/tools/repohooks/tools/
Dspelling.txt413 couter||counter
414 coutner||counter
416 cunter||counter
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java1455 CountTestCasesCollector counter = new CountTestCasesCollector(test); in runTest() local
1456 clonedCollectors.add(counter); in runTest()
/tools/apkzlib/src/test/resources/testData/packaging/text-files/
Drfc2460.txt1021 bit, "wrap-around" counter, incremented each time a packet must
1023 maintain a single counter for the node or multiple counters,