/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/ |
D | DeviceDescriptor.java | 190 public DeviceDescriptor(DeviceDescriptor d, DeviceAllocationState state) { in DeviceDescriptor() argument 192 d.getSerial(), in DeviceDescriptor() 193 d.getDisplaySerial(), in DeviceDescriptor() 194 d.isStubDevice(), in DeviceDescriptor() 195 d.getDeviceState(), in DeviceDescriptor() 197 d.getTestDeviceState(), in DeviceDescriptor() 198 d.getProduct(), in DeviceDescriptor() 199 d.getProductVariant(), in DeviceDescriptor() 200 d.getSdkVersion(), in DeviceDescriptor() 201 d.getBuildId(), in DeviceDescriptor() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | ManagedDeviceList.java | 74 public ManagedDeviceList(IManagedTestDeviceFactory d) { in ManagedDeviceList() argument 75 mDeviceFactory = d; in ManagedDeviceList() 145 for (IManagedTestDevice d : mList) { 146 String serial = d.getSerialNumber(); 148 d.setDeviceState(state); 149 } else if (state.equals(d.getDeviceState())) { 151 d.setDeviceState(TestDeviceState.NOT_AVAILABLE); 152 CLog.d("Device %s was in %s and not found anymore", serial, state); 153 toRemove.add(d); 159 for (IManagedTestDevice d : toRemove) { [all …]
|
D | DeviceManager.java | 278 CLog.d("Using Fastboot from: '%s'", getFastbootPath()); in init() 334 CLog.d("No IMultiDeviceRecovery configured."); in startAdbBridgeAndDependentServices() 446 CLog.d("checking new '%s' '%s' responsiveness", testDevice.getClass().getName(), in checkAndAddAvailableDevice() 455 CLog.d("Device %s failed or ignored responsiveness check, ", in checkAndAddAvailableDevice() 552 IManagedTestDevice d = mManagedDeviceList.findOrCreate(stubDevice); in addAvailableDevice() local 553 if (d != null) { in addAvailableDevice() 554 mManagedDeviceList.handleDeviceEvent(d, DeviceEvent.FORCE_AVAILABLE); in addAvailableDevice() 564 FastbootDevice d = new FastbootDevice(serial); in addFastbootDevices() local 565 if (mGlobalDeviceFilter != null && mGlobalDeviceFilter.matches(d)) { in addFastbootDevices() 566 addAvailableDevice(d); in addFastbootDevices() [all …]
|
D | NativeDevice.java | 458 CLog.d( in internalGetProperty() 475 CLog.d("Device %s is not online cannot get property %s.", getSerialNumber(), name); in getProperty() 1591 CLog.d( in pushDir() 1709 CLog.d("Syncing %s to %s on %s", localFileDir.getAbsolutePath(), in syncFiles() 1717 CLog.d("Detected missing file path %s", localFile.getAbsolutePath()); in syncFiles() 1726 CLog.d("Detected newer file %s", localFile.getAbsolutePath()); in syncFiles() 1732 CLog.d("No files to sync"); in syncFiles() 2168 CLog.d("Device Unresponsive during recovery, is root still enabled: %s", enabled); in recoverDevice() 2228 CLog.d("Already capturing logcat for %s, ignoring", getSerialNumber()); in startLogcat() 2373 CLog.d("Api level above 24, using bugreportz instead."); in getBugreport() [all …]
|
/tools/test/connectivity/acts/framework/acts/ |
D | records.py | 121 d = collections.OrderedDict() 122 d[TestResultEnums.RECORD_NAME] = self.test_name 123 d[TestResultEnums.RECORD_CLASS] = self.test_class 124 d[TestResultEnums.RECORD_BEGIN_TIME] = self.begin_time 125 d[TestResultEnums.RECORD_END_TIME] = self.end_time 126 d[TestResultEnums.RECORD_LOG_BEGIN_TIME] = self.log_begin_time 127 d[TestResultEnums.RECORD_LOG_END_TIME] = self.log_end_time 128 d[TestResultEnums.RECORD_RESULT] = self.result 129 d[TestResultEnums.RECORD_UID] = self.uid 130 d[TestResultEnums.RECORD_EXTRAS] = self.extras [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | InvocationExecution.java | 235 CLog.d("Using parallel setup due to replicated setup enabled."); in doSetup() 290 CLog.d("Setup duration: %s'", TimeUtil.formatElapsedTime(setupDuration)); in doSetup() 306 CLog.d("Starting setup for device: '%s'", device.getSerialNumber()); in runPreparationOnDevice() 315 CLog.d("%s has been disabled. skipping.", preparer); in runPreparationOnDevice() 322 CLog.d("starting preparer '%s' on device: '%s'", preparer, device.getSerialNumber()); in runPreparationOnDevice() 330 CLog.d("done with preparer '%s' on device: '%s'", preparer, device.getSerialNumber()); in runPreparationOnDevice() 332 CLog.d("Done with setup of device: '%s'", device.getSerialNumber()); in runPreparationOnDevice() 344 CLog.d("Starting device pre invocation setup for : '%s'", device.getSerialNumber()); in runDevicePreInvocationSetup() 386 CLog.d("%s has been disabled. skipping.", multiPreparer); in runMultiTargetPreparers() 393 CLog.d("Starting %s '%s'", description, multiPreparer); in runMultiTargetPreparers() [all …]
|
D | RemoteInvocationExecution.java | 199 CLog.d("stdout: %s", listRemoteDir.getStdout()); in runTests() 200 CLog.d("stderr: %s", listRemoteDir.getStderr()); in runTests() 205 CLog.d("Pushing Tradefed XML configuration to remote."); in runTests() 480 CLog.d("ps -ef: stdout: %s\nstderr: %s\n", psRes.getStdout(), psRes.getStderr()); in isStillRunning() 482 CLog.d("still running: %s", stillRunning); in isStillRunning() 535 CLog.d("remote adb prob: %s", probAdb.getStdout()); in resetAdb() 536 CLog.d("%s", probAdb.getStderr()); in resetAdb() 541 CLog.d("version adb: %s", versionAdb.getStdout()); in resetAdb() 542 CLog.d("%s", versionAdb.getStderr()); in resetAdb() 555 CLog.d("Remote TMPDIR folder is: %s", folder); in collectAdbLogs() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | ManagedDeviceListTest.java | 67 ITestDevice d = mManagedDeviceList.findOrCreate(new StubDevice("foo")); in testFindOrCreate() local 68 assertNotNull(d); in testFindOrCreate() 70 assertEquals(d, mManagedDeviceList.find("foo")); in testFindOrCreate() 72 assertEquals(d, mManagedDeviceList.findOrCreate(new StubDevice("foo"))); in testFindOrCreate() 90 IManagedTestDevice d = mManagedDeviceList.findOrCreate(new StubDevice("foo")); in testAllocate() local 91 assertNotNull(d); in testAllocate() 94 d.handleAllocationEvent(DeviceEvent.FORCE_AVAILABLE); in testAllocate() 107 IManagedTestDevice d = mManagedDeviceList.findOrCreate(new StubDevice("foo")); in testHandleDeviceEvent() local 108 assertNotNull(d); in testHandleDeviceEvent() 109 d.handleAllocationEvent(DeviceEvent.FORCE_ALLOCATE_REQUEST); in testHandleDeviceEvent() [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
D | bt_test_utils.py | 626 d, e = a.droid, a.ed 627 model = d.getBuildModel() 646 'droid': d, 1026 if addr in {d['address'] for d in devices}: 1042 if addr in {d['address'] for d in devices}: 1058 if addr in {d['address'] for d in devices}: 1074 if addr in {d['address'] for d in devices}: 1090 if addr in {d['address'] for d in devices}: 1291 for d in bonded_devices: 1292 if d['address'] == target_address: [all …]
|
/tools/test/connectivity/acts/framework/tests/ |
D | acts_records_test.py | 46 d = {} 47 d[records.TestResultEnums.RECORD_NAME] = self.tn 48 d[records.TestResultEnums.RECORD_RESULT] = result 49 d[records.TestResultEnums.RECORD_DETAILS] = details 50 d[records.TestResultEnums.RECORD_EXTRAS] = extras 51 d[records.TestResultEnums.RECORD_BEGIN_TIME] = record.begin_time 52 d[records.TestResultEnums.RECORD_END_TIME] = record.end_time 53 d[records.TestResultEnums. 55 d[records.TestResultEnums.RECORD_LOG_END_TIME] = record.log_end_time 56 d[records.TestResultEnums.RECORD_UID] = None [all …]
|
/tools/repohooks/rh/ |
D | hooks.py | 246 for d in diff: 247 if (d.status != 'D' and 248 _match_regex_list(d.file, include_list) and 249 not _match_regex_list(d.file, exclude_list)): 251 filtered.append(d) 314 for d in filtered: 315 data = rh.git.get_file_content(commit, d.file) 320 files=(d.file,))) 728 for d in filtered: 729 data = rh.git.get_file_content(commit, d.file) [all …]
|
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/ |
D | RuntimeRestartCollector.java | 186 .filter(d -> d.hasElapsedTimestampNanos()) in onTestRunEnd() 187 .filter(d -> d.hasAtom()) in onTestRunEnd() 188 .filter(d -> d.getAtom().hasAppCrashOccurred()) in onTestRunEnd() 189 .filter(d -> d.getAtom().getAppCrashOccurred().hasProcessName()) in onTestRunEnd() 191 d -> in onTestRunEnd() 193 d.getAtom() in onTestRunEnd() 196 .map(d -> d.getElapsedTimestampNanos()) in onTestRunEnd()
|
/tools/tradefederation/core/src/com/android/tradefed/command/ |
D | CommandScheduler.java | 322 CLog.d("removing exec command for id %d", getCommandTracker().getId()); in commandFinished() 394 CLog.d("rescheduling for command %d", mCmdTracker.getId()); in rescheduleCommand() 731 CLog.d("Attempting postInvocationTearDown in stopInvocation"); in stopInvocation() 763 CLog.d("No deviceOptions in the configuration, cannot do Battery level check"); in checkDeviceBatteryLevel() 775 CLog.d("device %s: battery level=%d%%", device.getSerialNumber(), batteryLevel); in checkDeviceBatteryLevel() 815 CLog.d( in createReleaseMap() 1054 CLog.d("Checking invocations..."); in checkInvocations() 1065 CLog.d("processReadyCommands..."); in processReadyCommands() 1114 CLog.d("done processReadyCommands..."); in processReadyCommands() 1244 CLog.d("Using commandline arguments as starting command: %s", Arrays.asList(args)); in createConfiguration() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/ |
D | GceSshTunnelMonitor.java | 155 CLog.d("closeConnection is triggered."); in closeConnection() 161 CLog.d("Failed to disconnect from local host %s", mLocalHostAndPort.toString()); in closeConnection() 214 CLog.d("Running %s", stopAdb); in initGce() 244 CLog.d("Running %s", startAdb); in initGce() 257 CLog.d("Final shutdown of the tunnel has been requested. terminating."); in run() 263 CLog.d("Failed to init remote GCE. Terminating due to:"); in run() 306 CLog.d("SSH tunnel terminated %s", e.getMessage()); in run() 308 CLog.d("Reached end of loop, tunnel is going to re-init."); in run() 311 CLog.d( in run() 349 CLog.d("Shutdown has been requested. Skipping creation of the ssh process"); in createSshTunnel() [all …]
|
/tools/test/openhst/resources/ |
D | device_config.common.ascii_proto | 7 regex: "^(\\d+-\\d+ \\d+:\\d+:\\d+.\\d+)" 8 date_format: "%m-%d %H:%M:%S.%f" 18 regex: "^\\d+,\\d+,(\\d+)" 56 regex: "STRESS_TEST: Iteration \d+ complete"
|
/tools/test/connectivity/acts_tests/tests/google/ble/bt5/ |
D | Bt5ScanTest.py | 106 d = self.scn_ad.droid 107 sup2M = d.bluetoothIsLe2MPhySupported() 108 supCoded = d.bluetoothIsLeCodedPhySupported() 109 supExt = d.bluetoothIsLeExtendedAdvertisingSupported() 110 supPeriodic = d.bluetoothIsLePeriodicAdvertisingSupported() 111 maxDataLen = d.bluetoothGetLeMaximumAdvertisingDataLength() 117 d = self.adv_ad.droid 118 sup2M = d.bluetoothIsLe2MPhySupported() 119 supCoded = d.bluetoothIsLeCodedPhySupported() 120 supExt = d.bluetoothIsLeExtendedAdvertisingSupported() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | DeviceSetup.java | 475 CLog.d("boot failure: skipping teardown"); in tearDown() 709 CLog.d("Skipping system props due to force-skip-system-props"); in changeSystemProps() 739 CLog.d("Pushing the following properties to /data/local.prop:\n%s", sb.toString()); in changeSystemProps() 763 CLog.d("Setting screen always on to true"); in handleScreenAlwaysOnSetting() 772 CLog.d("Setting screen always on to false"); in handleScreenAlwaysOnSetting() 793 CLog.d("Skipping settings due to force-skip-setttings"); in changeSettings() 799 CLog.d("No settings to change"); in changeSettings() 813 CLog.d("Changing global setting airplane_mode_on to 1"); in changeSettings() 820 CLog.d("Changing global setting airplane_mode_on to 0"); in changeSettings() 837 CLog.d("Changing system setting %s to %s", key, value); in changeSettings() [all …]
|
/tools/test/connectivity/acts_tests/tests/google/ble/beacon_tests/ |
D | BeaconSwarmTest.py | 68 d, e = ad.droid, ad.ed 77 d.bleSetAdvertiseDataIncludeDeviceName(True) 78 d.bleSetAdvertiseSettingsAdvertiseMode( 82 generate_ble_advertise_objects(d)) 83 d.bleStartBleAdvertising(advertise_callback, advertise_data, 90 local_bt_name = d.bluetoothGetLocalName() 93 d.bluetoothGetLocalName()) 116 d, e = a.droid, a.ed 121 args=(d, e, beacon_count)) 145 d, e = a.droid, a.ed [all …]
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | AudioLoopbackTest.java | 368 final ResultData d = new ResultData(); in runLatencyTest() local 369 d.setIteration(i); in runLatencyTest() 371 resultsDictionary = runTest(d, getSingleTestTimeoutValue()); in runLatencyTest() 372 loopbackTestHelper.addTestData(d, resultsDictionary, true); in runLatencyTest() 464 final ResultData d = new ResultData(); in runGlitchesTest() local 465 d.setIteration(0); in runGlitchesTest() 467 resultsDictionary = runTest(d, getSingleTestTimeoutValue()); in runGlitchesTest() 488 loopbackTestHelper.addTestData(d, resultsDictionary, false); in runGlitchesTest() 653 for (final ResultData d : results) { in uploadLogsReturnMetrics() 656 uploadLog(listener, logType, d); in uploadLogsReturnMetrics() [all …]
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | RunUtil.java | 373 CLog.d( in runTimed() 377 CLog.d("Running command %s without timeout.", runnable.getCommand()); in runTimed() 431 CLog.d("operation failed, waiting for %d ms", pollInterval); in runTimedRetry() 448 CLog.d("operation failed, waiting for %d ms", pollInterval); in runFixedTimedRetry() 470 CLog.d("operation is still failing after retrying for %d ms", maxTime); in runEscalatingTimedRetry() 476 CLog.d("operation failed, waiting for %d ms", pollInterval); in runEscalatingTimedRetry() 509 CLog.d("sleep interrupted"); in sleep() 726 CLog.d("stdout read thread %s still alive.", stdoutThread.toString()); in run() 732 CLog.d("stderr read thread %s still alive.", stderrThread.toString()); in run() 762 CLog.d("%s command failed. return code %d", mProcessBuilder.command(), rc); in run() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/build/ |
D | DeviceBuildDescriptorTest.java | 32 ITestDevice d = EasyMock.createNiceMock(ITestDevice.class); in testDeviceBuildDescriptor() local 33 EasyMock.expect(d.getProperty("ro.product.name")).andReturn("yakju"); in testDeviceBuildDescriptor() 34 EasyMock.expect(d.getProperty("ro.build.type")).andReturn("userdebug"); in testDeviceBuildDescriptor() 35 EasyMock.expect(d.getProperty("ro.product.brand")).andReturn("google"); in testDeviceBuildDescriptor() 36 EasyMock.expect(d.getProperty("ro.product.model")).andReturn("Galaxy Nexus"); in testDeviceBuildDescriptor() 37 EasyMock.expect(d.getProperty("ro.build.version.release")).andReturn("4.2"); in testDeviceBuildDescriptor() 38 EasyMock.replay(d); in testDeviceBuildDescriptor() 39 DeviceBuildDescriptor.injectDeviceAttributes(d, b); in testDeviceBuildDescriptor()
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | ClusterCommandScheduler.java | 452 CLog.d("No devices are available for testing."); in processReadyCommands() 461 CLog.d("No commands available for testing."); in processReadyCommands() 500 CLog.d("%s is available", runTarget); in getDevices() 531 CLog.d("fetching cluster host commands from leasehosttasks..."); in fetchHostCommands() 550 for (DeviceDescriptor d : devices.get(runTarget)) { in fetchHostCommands() 551 String groupName = deviceToGroup.getOrDefault(d.getSerial(), null); in fetchHostCommands() 554 .setDeviceDescriptor(d) in fetchHostCommands() 672 CLog.d("configFile: %s", FileUtil.readStringFromFile(configFile)); in execManagedClusterCommand() 738 CLog.d("event uploading with state %s", state.toString()); in UploadHostEventWithState() 741 CLog.d("event %s uploaded with state %s", event.toString(), state.toString()); in UploadHostEventWithState()
|
/tools/tradefederation/contrib/src/com/android/wireless/tests/ |
D | WifiStressTest.java | 189 CLog.d("Command to set screen timeout value to 10 minutes: %s", command); in setDeviceScreenTimeout() 203 CLog.d("set svc power stay on " + on); in setScreenProperty() 260 CLog.d("TestInfo: " + testCase.toString()); in run() 286 CLog.d("Sending %d byte file %s into the logosphere!", resFile.length(), resFile); in logOutputFile() 315 CLog.d( in parseOutputFile() 345 CLog.d("No iteration logs found in %s, set to 0", mOutputFile); in parseOutputFile() 373 CLog.d("About to report metrics to %s: %s", metricsName, metrics); in reportMetrics() 380 CLog.d("Remove output file: %s", mOutputFile); in cleanOutputFiles()
|
D | RadioHelper.java | 69 CLog.d("phonetype: %s", phoneType); in isCdmaDevice() 70 CLog.d("gsm.sim.state: %s", simState); in isCdmaDevice() 75 CLog.d("Error: phoneType or simState is null."); in isCdmaDevice() 83 CLog.d("it is a CDMA device, return true"); in isCdmaDevice() 103 CLog.d("Start ping test, ping %s", host); in pingTest() 124 CLog.d("not a CDMA device, no need to activiate the device"); in radioActivation() 128 CLog.d("CDMA device has been activated."); in radioActivation()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/util/statsd/ |
D | MetricUtil.java | 57 CLog.d("No stats report collected."); in getEventMetricData() 70 CLog.d("Received EventMetricDataList as following:\n"); in getEventMetricData() 71 for (EventMetricData d : data) { in getEventMetricData() 72 CLog.d("Atom at %d:\n%s", d.getElapsedTimestampNanos(), d.getAtom().toString()); in getEventMetricData() 112 CLog.d("Dumping stats report with command: " + dumpCommand); in getReportByteArray()
|