Home
last modified time | relevance | path

Searched refs:checker (Results 1 – 25 of 43) sorted by relevance

12

/tools/test/connectivity/tools/lab/tests/
Dhealth_checker_test.py37 checker = HealthChecker(fake_config)
38 self.assertEquals(checker._analyzers[0][0], 'RamMetric')
39 self.assertIsInstance(checker._analyzers[0][1],
55 checker = HealthChecker(fake_config)
63 checker._analyzers.sort(key=lambda x: x[0]),
80 checker = HealthChecker(fake_config)
90 self.assertFalse(checker.get_unhealthy(fake_metric_response))
105 checker = HealthChecker(fake_config)
116 set(checker.get_unhealthy(fake_metric_response)),
128 checker = HealthChecker(fake_config)
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DSuiteModuleLoaderTest.java132 TestInject checker = (TestInject) config.getTests().get(0); in testInjectConfigOptions_moduleArgs() local
133 assertEquals("value1", checker.test); in testInjectConfigOptions_moduleArgs()
135 assertTrue(checker.testList.size() == 3); in testInjectConfigOptions_moduleArgs()
136 assertTrue(checker.testList.contains("value2")); in testInjectConfigOptions_moduleArgs()
137 assertTrue(checker.testList.contains("value3")); in testInjectConfigOptions_moduleArgs()
138 assertTrue(checker.testList.contains("set-option:moreoption")); in testInjectConfigOptions_moduleArgs()
140 assertTrue(checker.testMap.size() == 1); in testInjectConfigOptions_moduleArgs()
141 assertEquals("moreoption", checker.testMap.get("set-option")); in testInjectConfigOptions_moduleArgs()
181 TestInject checker = (TestInject) config.getTests().get(0); in testInjectConfigOptions_testArgs() local
182 assertEquals("value1", checker.test); in testInjectConfigOptions_testArgs()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/suite/checker/
DUserCheckerTest.java16 package com.android.tradefed.suite.checker;
18 import com.android.tradefed.suite.checker.UserChecker.DeviceUserState;
29 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
45 UserChecker checker = new UserChecker(); in testNoWarningsIsSuccess() local
52 assertEquals(CheckStatus.SUCCESS, checker.preExecutionCheck(preDevice).getStatus()); in testNoWarningsIsSuccess()
59 assertEquals(CheckStatus.SUCCESS, checker.postExecutionCheck(postDevice).getStatus()); in testNoWarningsIsSuccess()
65 UserChecker checker = new UserChecker(); in testAllErrorsIsFailed() local
72 assertEquals(CheckStatus.SUCCESS, checker.preExecutionCheck(preDevice).getStatus()); in testAllErrorsIsFailed()
80 assertEquals(CheckStatus.FAILED, checker.postExecutionCheck(postDevice).getStatus()); in testAllErrorsIsFailed()
85 UserChecker checker = new UserChecker(); in testSwitchToExistingOrCreateUserType() local
[all …]
DEnforcedSeLinuxCheckerTest.java16 package com.android.tradefed.suite.checker;
24 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
DActivityStatusCheckerTest.java16 package com.android.tradefed.suite.checker;
25 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
DKeyguardStatusCheckerTest.java16 package com.android.tradefed.suite.checker;
22 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
DLeakedThreadStatusCheckerTest.java16 package com.android.tradefed.suite.checker;
24 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
DTimeStatusCheckerTest.java16 package com.android.tradefed.suite.checker;
22 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
DShellStatusCheckerTest.java16 package com.android.tradefed.suite.checker;
25 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
DSystemServerStatusCheckerTest.java16 package com.android.tradefed.suite.checker;
23 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DITestSuite.java45 import com.android.tradefed.suite.checker.ISystemStatusChecker;
46 import com.android.tradefed.suite.checker.ISystemStatusCheckerReceiver;
47 import com.android.tradefed.suite.checker.StatusCheckerResult;
48 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
535 for (ISystemStatusChecker checker : mSystemStatusCheckers) { in run()
536 if (checker instanceof ITestLoggerReceiver) { in run()
537 ((ITestLoggerReceiver) checker).setTestLogger(listener); in run()
712 for (ISystemStatusChecker checker : checkers) { in runPreModuleCheck()
714 if (mSystemStatusCheckBlacklist.contains(checker.getClass().getName())) { in runPreModuleCheck()
717 checker.getClass().getName(), SKIP_SYSTEM_STATUS_CHECKER); in runPreModuleCheck()
[all …]
/tools/test/connectivity/acts/framework/acts/test_utils/audio_analysis_lib/
Dcheck_quality.py537 checker = QualityChecker(raw_data, rate)
544 checker.do_spectral_analysis(
549 checker.dump(output_file)
552 checker.check_freqs(freqs, freq_threshold)
555 checker.check_quality()
/tools/tradefederation/core/tests/src/com/android/tradefed/
DUnitTests.java174 import com.android.tradefed.suite.checker.ActivityStatusCheckerTest;
175 import com.android.tradefed.suite.checker.DeviceSettingCheckerTest;
176 import com.android.tradefed.suite.checker.EnforcedSeLinuxCheckerTest;
177 import com.android.tradefed.suite.checker.KeyguardStatusCheckerTest;
178 import com.android.tradefed.suite.checker.LeakedThreadStatusCheckerTest;
179 import com.android.tradefed.suite.checker.ShellStatusCheckerTest;
180 import com.android.tradefed.suite.checker.SystemServerFileDescriptorCheckerTest;
181 import com.android.tradefed.suite.checker.SystemServerStatusCheckerTest;
182 import com.android.tradefed.suite.checker.TimeStatusCheckerTest;
183 import com.android.tradefed.suite.checker.UserCheckerTest;
/tools/tradefederation/core/util-apps/WifiUtil/src/com/android/tradefed/utils/wifi/
DWifiConnector.java85 private long waitForCallable(final Callable<Boolean> checker, final String description, in waitForCallable() argument
96 if (checker.call()) { in waitForCallable()
111 private void waitForCallable(final Callable<Boolean> checker, final String description) in waitForCallable() argument
113 waitForCallable(checker, description, DEFAULT_TIMEOUT); in waitForCallable()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DShardHelperTest.java41 import com.android.tradefed.suite.checker.KeyguardStatusChecker;
224 KeyguardStatusChecker checker = new KeyguardStatusChecker(); in testCloneStatusChecker() local
225 File configFile = createTmpConfig(Configuration.SYSTEM_STATUS_CHECKER_TYPE_NAME, checker); in testCloneStatusChecker()
233 mConfig.setSystemStatusChecker(checker); in testCloneStatusChecker()
255 checker, in testCloneStatusChecker()
/tools/test/connectivity/tools/lab/
Dmain.py120 checker = health_checker.HealthChecker(health_config)
126 reporters += cls._reporter_constructor[rep_type](checker,
130 reporters += [LoggerReporter(checker)]
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/
DISystemStatusChecker.java16 package com.android.tradefed.suite.checker;
20 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
DEnforcedSeLinuxChecker.java16 package com.android.tradefed.suite.checker;
21 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
DTimeStatusChecker.java16 package com.android.tradefed.suite.checker;
22 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
DKeyguardStatusChecker.java16 package com.android.tradefed.suite.checker;
22 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
DLeakedThreadStatusChecker.java16 package com.android.tradefed.suite.checker;
22 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
DActivityStatusChecker.java16 package com.android.tradefed.suite.checker;
25 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
DShellStatusChecker.java16 package com.android.tradefed.suite.checker;
23 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
DSystemServerFileDescriptorChecker.java16 package com.android.tradefed.suite.checker;
21 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
DSystemServerStatusChecker.java16 package com.android.tradefed.suite.checker;
22 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;

12