/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | CameraStressTest.java | 135 TestInfo t = new TestInfo(); in testInfoSetup() local 139 t.mTestName = "testBackImageCapture"; in testInfoSetup() 140 t.mClassName = "com.android.camera.stress.ImageCapture"; in testInfoSetup() 141 t.mTestMetricsName = "GCamApplicationStress"; in testInfoSetup() 142 t.mInstrumentationArgs.put("image_iterations", Integer.toString(100)); in testInfoSetup() 143 t.mPatternMap = patMap; in testInfoSetup() 144 mTestCases.add(t); in testInfoSetup() 148 t.mTestName = "imagecap"; in testInfoSetup() 149 t.mClassName = "com.android.camera.stress.ImageCapture"; in testInfoSetup() 150 t.mTestMetricsName = "CameraApplicationStress"; in testInfoSetup() [all …]
|
D | CameraLatencyTest.java | 105 TestInfo t = new TestInfo(); in testInfoSetup() local 108 t.mTestName = "testLaunchCamera"; in testInfoSetup() 109 t.mClassName = "com.android.camera.stress.CameraStartUp"; in testInfoSetup() 110 t.mTestMetricsName = "GCameraStartup"; in testInfoSetup() 111 RegexTrie<String> map = t.mPatternMap; in testInfoSetup() 112 map = t.mPatternMap; in testInfoSetup() 115 mTestCases.add(t); in testInfoSetup() 117 t.mTestName = "startup"; in testInfoSetup() 118 t.mClassName = "com.android.camera.stress.CameraStartUp"; in testInfoSetup() 119 t.mTestMetricsName = "CameraVideoRecorderStartup"; in testInfoSetup() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | FakeTestTest.java | 75 final Map<String, String> t = new HashMap<String, String>(); in testDecodeRle() local 76 t.put("PFAI", "PFAI"); in testDecodeRle() 77 t.put("P1F1A1", "PFA"); in testDecodeRle() 78 t.put("P2F2A2", "PPFFAA"); in testDecodeRle() 79 t.put("P3F2A1", "PPPFFA"); in testDecodeRle() 80 t.put("", ""); in testDecodeRle() 81 for (Map.Entry<String, String> testcase : t.entrySet()) { in testDecodeRle() 101 final Map<String, String> t = new HashMap<String, String>(); in testDecode() local 103 t.put("PFA", "PFA"); in testDecode() 104 t.put("P1F1A1", "PFA"); in testDecode() [all …]
|
/tools/tradefederation/contrib/src/com/android/wireless/tests/ |
D | WifiStressTest.java | 152 TestInfo t = new TestInfo(); in setupTests() local 153 t.mTestName = "WifiScanning"; in setupTests() 154 t.mTestClass = "com.android.connectivitymanagertest.stress.WifiStressTest"; in setupTests() 155 t.mTestMethod = "testWifiScanning"; in setupTests() 156 t.mTestMetricsName = "wifi_scan_performance"; in setupTests() 157 t.mTestTimer = SCAN_TEST_TIMER; in setupTests() 158 t.mPatternMap = new RegexTrie<>(); in setupTests() 159 t.mPatternMap.put("avg_scan_time", "^average scanning time is (\\d+)"); in setupTests() 160 t.mPatternMap.put("scan_quality", "ssid appear (\\d+) out of (\\d+) scan iterations"); in setupTests() 162 mTestList.add(t); in setupTests() [all …]
|
/tools/tradefederation/core/common_util/com/android/tradefed/log/ |
D | LogUtil.java | 152 public static void w(Throwable t) { in w() argument 154 Log.w(getClassName(2), getStackTraceString(t)); in w() 196 public static void e(Throwable t) { in e() argument 198 Log.e(getClassName(2), t); in e() 240 public static void wtf(Throwable t) { in wtf() argument 241 wtf(t.getMessage(), t); in wtf() local 263 public static void wtf(String message, Throwable t) { in wtf() argument 266 String stackTrace = getStackTraceString(t); in wtf() 281 private static String getStackTraceString(Throwable t) { in getStackTraceString() argument 282 if (t == null) { in getStackTraceString() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/result/suite/ |
D | SuiteResultReporter.java | 106 for (TestRunResult t : results) { in extractModuleCheckers() 107 if (t.getName().startsWith(ITestSuite.MODULE_CHECKER_POST) in extractModuleCheckers() 108 || t.getName().startsWith(ITestSuite.MODULE_CHECKER_PRE)) { in extractModuleCheckers() 109 moduleCheckers.add(t); in extractModuleCheckers() 251 for (TestRunResult t : results) { in printTopSlowModules() 252 if (t.getElapsedTime() < 5000) { in printTopSlowModules() 253 moduleTime.remove(t); in printTopSlowModules() 315 for (TestRunResult t : moduleCheckerResults) { in printModuleCheckersMetric() 319 t.getName(), TimeUtil.formatElapsedTime(t.getElapsedTime()))); in printModuleCheckersMetric() 320 totalTime += t.getElapsedTime(); in printModuleCheckersMetric() [all …]
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/ |
D | DownloadStressTest.py | 116 t = threading.Thread(target=self.download_thread, args=(url, )) 117 download_threads.append(t) 118 t.start() 121 for t in download_threads: 122 t.join(self.download_timeout_s) 127 for index, t in enumerate(download_threads): 128 if t.isAlive(): 129 t = None 156 t = threading.Thread( 159 download_threads.append(t) [all …]
|
D | PingStressTest.py | 138 t = threading.Thread(target=self.ping_thread, args=(url, )) 139 ping_threads.append(t) 140 t.start() 143 for t in ping_threads: 144 t.join(self.ping_thread_timeout_s) 149 for index, t in enumerate(ping_threads): 150 if t.isAlive(): 151 t = None
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | BaseDeviceMetricCollector.java | 250 } catch (Throwable t) { in testRunStarted() 252 CLog.e(t); in testRunStarted() 277 } catch (Throwable t) { in testRunEnded() 279 CLog.e(t); in testRunEnded() 297 } catch (Throwable t) { in testStarted() 299 CLog.e(t); in testStarted() 310 } catch (Throwable t) { in testFailed() 312 CLog.e(t); in testFailed() 326 } catch (Throwable t) { in testFailed() 328 CLog.e(t); in testFailed() [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | ApiAnalyzer.kt | 994 val t = p.type() in <lambda>() constant 995 if (!t.primitive) { in <lambda>() 996 … if (!m.deprecated && !cl.deprecated && t.asClass()?.deprecated == true) { in <lambda>() 999 …"Parameter of deprecated type $t in ${cl.qualifiedName()}.${m.name()}(): this method should also b… in <lambda>() 1003 hiddenClass = findHiddenClasses(t, stubImportPackages) in <lambda>() 1005 if (hiddenClass.qualifiedName() == t.asClass()?.qualifiedName()) { in <lambda>() 1009 … "Parameter of unavailable type $t in ${cl.qualifiedName()}.${m.name()}()" in <lambda>() 1015 … "Parameter uses type parameter of unavailable type $t in ${cl.qualifiedName()}.${m.name()}()" in <lambda>() 1022 val t = m.returnType() in <lambda>() constant 1023 …if (t != null && !t.primitive && !m.deprecated && !cl.deprecated && t.asClass()?.deprecated == tru… in <lambda>() [all …]
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | InstalledInstrumentationsTest.java | 354 InstrumentationTest t = createInstrumentationTest(); in buildTests() local 358 OptionCopier.copyOptions(InstalledInstrumentationsTest.this, t); in buildTests() 364 t.setMetricCollectors(collectors); in buildTests() 366 t.setPackageName(targetPackageName); in buildTests() 374 if (t instanceof AndroidJUnitTest) { in buildTests() 375 AndroidJUnitTest filterable = (AndroidJUnitTest) t; in buildTests() 391 t.setRunnerName(target.runnerName); in buildTests() 392 t.setCoverageTarget(target.targetName); in buildTests() 394 t.addInstrumentationArg("shardIndex", Integer.toString(mShardIndex)); in buildTests() 395 t.addInstrumentationArg("numShards", Integer.toString(mTotalShards)); in buildTests() [all …]
|
/tools/tradefederation/contrib/src/com/android/graphics/tests/ |
D | FlatlandTestFuncTest.java | 52 String t = ft.mResultMap.get("16:10 Single Static Window 1280 x 800"); in testPraseResults() local 53 Assert.assertTrue(t.equals("0")); in testPraseResults() 55 t = ft.mResultMap.get("16:10 Single Static Window 1920 x 1200"); in testPraseResults() 56 Assert.assertTrue(t.equals("3.136")); in testPraseResults() 58 t = ft.mResultMap.get("16:10 App -> Home Transition 1280 x 800"); in testPraseResults() 59 Assert.assertTrue(t.equals("-1")); in testPraseResults() 61 t = ft.mResultMap.get("16:10 SurfaceView -> Home Transition 1280 x 800"); in testPraseResults() 62 Assert.assertTrue(t.equals("1000")); in testPraseResults()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/ |
D | RuntimeRestartCollector.java | 237 .map(t -> String.valueOf(t)) in addStatsdStatsBasedMetrics() 247 .map(t -> timestampToHoursMinutesSeconds(t)) in addStatsdStatsBasedMetrics() 265 .map(t -> String.valueOf(t)) in addAtomBasedMetrics() 275 .map(t -> nanosToHoursMinutesSeconds(t)) in addAtomBasedMetrics()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/log/ |
D | LogUtilFuncTest.java | 87 Throwable t = new Throwable(); in testCLog_findCallerClassName_callerDeeperInStackTrace() local 91 Arrays.asList(t.getStackTrace())); in testCLog_findCallerClassName_callerDeeperInStackTrace() 96 t.setStackTrace(list.toArray(new StackTraceElement[list.size()])); in testCLog_findCallerClassName_callerDeeperInStackTrace() 98 String klass = CLog.findCallerClassName(t); in testCLog_findCallerClassName_callerDeeperInStackTrace() 106 Throwable t = new Throwable(); in testCLog_findCallerClassName_emptyStackTrace() local 109 t.setStackTrace(emptyStackTrace); in testCLog_findCallerClassName_emptyStackTrace() 111 String klass = CLog.findCallerClassName(t); in testCLog_findCallerClassName_emptyStackTrace()
|
/tools/acloud/ |
D | run_tests_py2.sh | 56 for t in $all_tests; 60 if [[ "$t" =~ "$t_pattern" ]]; then 61 tests_to_run=("${tests_to_run[@]}" "$t") 67 for t in $tests_to_run; 69 if ! PYTHONPATH=$(get_python_path):$PYTHONPATH $run_cmd $t; then 71 echo -e "${RED}$t failed${NC}"
|
D | run_tests.sh | 58 for t in $all_tests; 62 if [[ "$t" =~ "$t_pattern" ]]; then 63 tests_to_run=("${tests_to_run[@]}" "$t") 69 for t in $tests_to_run; 71 if ! PYTHONPATH=$(get_python_path):$PYTHONPATH $run_cmd $t; then 73 echo -e "${RED}$t failed${NC}"
|
/tools/metalava/ |
D | FORMAT.md | 9 through Android P. Note that this isn't actually a single format; it evolved 251 This doesn't currently apply to the SDK, but the signature files are also used 303 Note that this isn't just for Kotlin. Just like there are special nullness 306 @android.annotation.ParameterName (which is hidden). This obviously isn't usable 316 (Note how the implementation parameter doesn't have to match the public, API 372 It didn't do that in stubs, because you can't: those are special methods 374 files since they're entirely implied by the enum, you can't change them, and 411 The above list doesn't include the Kotlin modifiers, which are inserted 504 * Don't add spaces in type bounds lists (e.g. Map<X,Y>, not Map<X, Y>.)
|
/tools/test/connectivity/acts/framework/acts/ |
D | logger.py | 95 def _parse_logline_timestamp(t): argument 105 date, time = t.split(' ') 140 t = datetime.datetime.now() 142 t = t + datetime.timedelta(seconds=delta) 143 return t.strftime(time_format)[:-3]
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | DeviceConcurrentUtil.java | 63 Throwable t = e.getCause(); in joinFuture() 64 if (t instanceof DeviceNotAvailableException) { in joinFuture() 66 throw (DeviceNotAvailableException)t; in joinFuture() 68 CLog.e("%s while executing %s", t.getClass().getSimpleName(), taskDesc); in joinFuture() 69 CLog.e(t); in joinFuture()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | RunUtilFuncTest.java | 204 for (Thread t : list) { in testRunTimedCmd_timeout() 206 String.format("We found a thread: %s", t.getName()), in testRunTimedCmd_timeout() 207 t.getName().contains(RunUtil.RUNNABLE_NOTIFIER_NAME)); in testRunTimedCmd_timeout() 209 String.format("We found a thread: %s", t.getName()), in testRunTimedCmd_timeout() 210 t.getName().contains(RunUtil.INHERITIO_PREFIX)); in testRunTimedCmd_timeout()
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/google/protobuf/ |
D | descriptor.proto | 47 // algorithms don't work during bootstrapping. 353 // The parser stores options it doesn't recognize here. See above. 415 // The parser stores options it doesn't recognize here. See above. 485 // The parser stores options it doesn't recognize here. See above. 504 // The parser stores options it doesn't recognize here. See above. 518 // The parser stores options it doesn't recognize here. See above. 538 // The parser stores options it doesn't recognize here. See above. 558 // The parser stores options it doesn't recognize here. See above. 641 // ignore those that it doesn't understand, as more types of locations could
|
/tools/test/connectivity/acts/tests/google/wifi/ |
D | WifiTetheringPowerTest.py | 134 t = threading.Thread(target = self._start_traffic_on_device, 136 t.start() 137 threads.append(t) 141 for t in threads: 142 t.join()
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/testtype/ |
D | GameQualificationHostsideController.java | 259 for (PerformanceTest.Test t : PerformanceTest.Test.values()) { in run() 260 … TestDescription identifier = new TestDescription(CLASS, t.getName() + "[" + apk.getName() + "]"); in run() 261 if (t.isEnableCollectors()) { in run() 275 t.getMethod().run(test); in run() 284 if (t.isEnableCollectors()) { in run()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ITestSuiteIntegrationTest.java | 452 Thread t = in scheduleConfig() local 490 mRunning.add(t); in scheduleConfig() 491 t.setName("shard-integration-test" + config.getName()); in scheduleConfig() 492 t.start(); in scheduleConfig() 576 for (Thread t : rescheduler.mRunning) { in testRun_sharding_parallelRun() 577 t.join(2000); in testRun_sharding_parallelRun()
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/ |
D | DeviceRuntimeException.java | 41 public DeviceRuntimeException(Throwable t) { in DeviceRuntimeException() argument 42 super(t); in DeviceRuntimeException() 51 public DeviceRuntimeException(String msg, Throwable t) { in DeviceRuntimeException() argument 52 super(msg, t); in DeviceRuntimeException()
|