Home
last modified time | relevance | path

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

123

/tools/tradefederation/core/javatests/com/android/tradefed/suite/checker/
DUserCheckerTest.java16 package com.android.tradefed.suite.checker;
32 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
47 UserChecker checker = new UserChecker(); in testNoWarningsIsSuccess() local
51 assertEquals(CheckStatus.SUCCESS, checker.preExecutionCheck(preDevice).getStatus()); in testNoWarningsIsSuccess()
55 assertEquals(CheckStatus.SUCCESS, checker.postExecutionCheck(postDevice).getStatus()); in testNoWarningsIsSuccess()
60 UserChecker checker = new UserChecker(); in testSwitchIsSuccess() local
61 OptionSetter mOptionSetter = new OptionSetter(checker); in testSwitchIsSuccess()
71 assertEquals(CheckStatus.SUCCESS, checker.preExecutionCheck(preDevice).getStatus()); in testSwitchIsSuccess()
81 assertEquals(CheckStatus.SUCCESS, checker.postExecutionCheck(postDevice).getStatus()); in testSwitchIsSuccess()
88 UserChecker checker = new UserChecker(); in testCreateIsSuccess() local
[all …]
DActivityStatusCheckerFuncTest.java16 package com.android.tradefed.suite.checker;
22 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
DDeviceBaselineCheckerTest.java17 package com.android.tradefed.suite.checker;
27 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
28 import com.android.tradefed.suite.checker.baseline.DeviceBaselineSetter;
29 import com.android.tradefed.suite.checker.baseline.SettingsBaselineSetter;
DEnforcedSeLinuxCheckerTest.java16 package com.android.tradefed.suite.checker;
24 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
DKeyguardStatusCheckerTest.java16 package com.android.tradefed.suite.checker;
25 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
DActivityStatusCheckerTest.java16 package com.android.tradefed.suite.checker;
27 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
DDeviceStorageStatusCheckerTest.java16 package com.android.tradefed.suite.checker;
25 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
DTimeStatusCheckerTest.java16 package com.android.tradefed.suite.checker;
25 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;
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/
DSuiteModuleLoaderTest.java299 TestInject checker = (TestInject) config.getTests().get(0); in testInjectConfigOptions_moduleArgs() local
300 assertEquals("value1", checker.test); in testInjectConfigOptions_moduleArgs()
301 assertEquals("", checker.testEmpty); in testInjectConfigOptions_moduleArgs()
303 assertTrue(checker.testList.size() == 4); in testInjectConfigOptions_moduleArgs()
304 assertTrue(checker.testList.contains("value2")); in testInjectConfigOptions_moduleArgs()
305 assertTrue(checker.testList.contains("value3")); in testInjectConfigOptions_moduleArgs()
306 assertTrue(checker.testList.contains("set-option:moreoption")); in testInjectConfigOptions_moduleArgs()
307 assertTrue(checker.testList.contains("")); in testInjectConfigOptions_moduleArgs()
309 assertTrue(checker.testMap.size() == 2); in testInjectConfigOptions_moduleArgs()
310 assertEquals("moreoption", checker.testMap.get("set-option")); in testInjectConfigOptions_moduleArgs()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/
DDeviceAvailableChecker.java16 package com.android.tradefed.suite.checker;
20 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
DISystemStatusChecker.java16 package com.android.tradefed.suite.checker;
20 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;
DEnforcedSeLinuxChecker.java16 package com.android.tradefed.suite.checker;
21 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;
DDeviceStorageStatusChecker.java16 package com.android.tradefed.suite.checker;
27 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;
DActivityStatusChecker.java16 package com.android.tradefed.suite.checker;
25 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
DFilesystemRootChecker.java16 package com.android.tradefed.suite.checker;
20 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
DSystemServerFileDescriptorChecker.java16 package com.android.tradefed.suite.checker;
22 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
DSystemServerStatusChecker.java16 package com.android.tradefed.suite.checker;
23 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/audio_analysis_lib/
Dcheck_quality.py529 checker = QualityChecker(raw_data, rate)
537 checker.do_spectral_analysis(ignore_high_freq=ignore_high_freq,
541 checker.dump(output_file)
544 checker.check_freqs(freqs, freq_threshold)
547 checker.check_quality()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DITestSuite.java72 import com.android.tradefed.suite.checker.ISystemStatusChecker;
73 import com.android.tradefed.suite.checker.ISystemStatusCheckerReceiver;
74 import com.android.tradefed.suite.checker.StatusCheckerResult;
75 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
799 for (ISystemStatusChecker checker : mSystemStatusCheckers) { in run()
800 if (checker instanceof ITestLoggerReceiver) { in run()
801 ((ITestLoggerReceiver) checker).setTestLogger(listener); in run()
1150 for (ISystemStatusChecker checker : checkers) { in runPreModuleCheck()
1152 TfObjectTracker.countWithParents(checker.getClass()); in runPreModuleCheck()
1154 if (mSystemStatusCheckBlacklist.contains(checker.getClass().getName())) { in runPreModuleCheck()
[all …]
/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()

123