/tools/test/connectivity/tools/lab/tests/ |
D | health_checker_test.py | 37 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/ |
D | SuiteModuleLoaderTest.java | 132 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/ |
D | UserCheckerTest.java | 16 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 …]
|
D | EnforcedSeLinuxCheckerTest.java | 16 package com.android.tradefed.suite.checker; 24 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
|
D | ActivityStatusCheckerTest.java | 16 package com.android.tradefed.suite.checker; 25 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
|
D | KeyguardStatusCheckerTest.java | 16 package com.android.tradefed.suite.checker; 22 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
|
D | LeakedThreadStatusCheckerTest.java | 16 package com.android.tradefed.suite.checker; 24 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
|
D | TimeStatusCheckerTest.java | 16 package com.android.tradefed.suite.checker; 22 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
|
D | ShellStatusCheckerTest.java | 16 package com.android.tradefed.suite.checker; 25 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
|
D | SystemServerStatusCheckerTest.java | 16 package com.android.tradefed.suite.checker; 23 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ITestSuite.java | 45 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/ |
D | check_quality.py | 537 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/ |
D | UnitTests.java | 174 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/ |
D | WifiConnector.java | 85 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/ |
D | ShardHelperTest.java | 41 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/ |
D | main.py | 120 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/ |
D | ISystemStatusChecker.java | 16 package com.android.tradefed.suite.checker; 20 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
|
D | EnforcedSeLinuxChecker.java | 16 package com.android.tradefed.suite.checker; 21 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
|
D | TimeStatusChecker.java | 16 package com.android.tradefed.suite.checker; 22 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
|
D | KeyguardStatusChecker.java | 16 package com.android.tradefed.suite.checker; 22 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
|
D | LeakedThreadStatusChecker.java | 16 package com.android.tradefed.suite.checker; 22 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
|
D | ActivityStatusChecker.java | 16 package com.android.tradefed.suite.checker; 25 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
|
D | ShellStatusChecker.java | 16 package com.android.tradefed.suite.checker; 23 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
|
D | SystemServerFileDescriptorChecker.java | 16 package com.android.tradefed.suite.checker; 21 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
|
D | SystemServerStatusChecker.java | 16 package com.android.tradefed.suite.checker; 22 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
|