Home
last modified time | relevance | path

Searched refs:d (Results 1 – 25 of 304) sorted by relevance

12345678910>>...13

/tools/tradefederation/core/src/com/android/tradefed/device/
DManagedDeviceList.java70 public ManagedDeviceList(IManagedTestDeviceFactory d) { in ManagedDeviceList() argument
71 mDeviceFactory = d; in ManagedDeviceList()
136 for (IManagedTestDevice d : mList) {
137 if (serials.contains(d.getSerialNumber())) {
138 d.setDeviceState(TestDeviceState.FASTBOOT);
139 } else if (d.getDeviceState() == TestDeviceState.FASTBOOT) {
141 d.setDeviceState(TestDeviceState.NOT_AVAILABLE);
142 CLog.d("Device %s was in fastboot and not found anymore", d.getSerialNumber());
143 toRemove.add(d);
149 for (IManagedTestDevice d : toRemove) {
[all …]
DDeviceManager.java322 CLog.d("No IMultiDeviceRecovery configured."); in startAdbBridgeAndDependentServices()
434 CLog.d("checking new '%s' '%s' responsiveness", testDevice.getClass().getName(), in checkAndAddAvailableDevice()
443 CLog.d("Device %s failed or ignored responsiveness check, ", in checkAndAddAvailableDevice()
515 IManagedTestDevice d = mManagedDeviceList.findOrCreate(stubDevice); in addAvailableDevice() local
516 if (d != null) { in addAvailableDevice()
517 mManagedDeviceList.handleDeviceEvent(d, DeviceEvent.FORCE_AVAILABLE); in addAvailableDevice()
527 FastbootDevice d = new FastbootDevice(serial); in addFastbootDevices() local
528 if (mGlobalDeviceFilter != null && mGlobalDeviceFilter.matches(d)) { in addFastbootDevices()
529 addAvailableDevice(d); in addFastbootDevices()
584 IManagedTestDevice d = mManagedDeviceList.findOrCreate(new StubDevice(serial, false)); in forceAllocateDevice() local
[all …]
/tools/test/connectivity/acts/framework/acts/
Drecords.py122 d = collections.OrderedDict()
123 d[TestResultEnums.RECORD_NAME] = self.test_name
124 d[TestResultEnums.RECORD_CLASS] = self.test_class
125 d[TestResultEnums.RECORD_BEGIN_TIME] = self.begin_time
126 d[TestResultEnums.RECORD_END_TIME] = self.end_time
127 d[TestResultEnums.RECORD_LOG_BEGIN_TIME] = self.log_begin_time
128 d[TestResultEnums.RECORD_LOG_END_TIME] = self.log_end_time
129 d[TestResultEnums.RECORD_RESULT] = self.result
130 d[TestResultEnums.RECORD_UID] = self.uid
131 d[TestResultEnums.RECORD_EXTRAS] = self.extras
[all …]
Derror.py30 d = {}
31 d['ErrorCode'] = self.error_code
32 d['Message'] = self.message
33 d['Extras'] = self.extra
34 json_str = json.dumps(d, indent=4, sort_keys=True)
/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/
DDeviceDescriptor.java176 public DeviceDescriptor(DeviceDescriptor d, DeviceAllocationState state) { in DeviceDescriptor() argument
178 d.getSerial(), in DeviceDescriptor()
179 d.isStubDevice(), in DeviceDescriptor()
180 d.getDeviceState(), in DeviceDescriptor()
182 d.getProduct(), in DeviceDescriptor()
183 d.getProductVariant(), in DeviceDescriptor()
184 d.getSdkVersion(), in DeviceDescriptor()
185 d.getBuildId(), in DeviceDescriptor()
186 d.getBatteryLevel(), in DeviceDescriptor()
187 d.getDeviceClass(), in DeviceDescriptor()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DManagedDeviceListTest.java61 ITestDevice d = mManagedDeviceList.findOrCreate(new StubDevice("foo")); in testFindOrCreate() local
62 assertNotNull(d); in testFindOrCreate()
64 assertEquals(d, mManagedDeviceList.find("foo")); in testFindOrCreate()
66 assertEquals(d, mManagedDeviceList.findOrCreate(new StubDevice("foo"))); in testFindOrCreate()
84 IManagedTestDevice d = mManagedDeviceList.findOrCreate(new StubDevice("foo")); in testAllocate() local
85 assertNotNull(d); in testAllocate()
88 d.handleAllocationEvent(DeviceEvent.FORCE_AVAILABLE); in testAllocate()
100 IManagedTestDevice d = mManagedDeviceList.findOrCreate(new StubDevice("foo")); in testHandleDeviceEvent() local
101 assertNotNull(d); in testHandleDeviceEvent()
102 d.handleAllocationEvent(DeviceEvent.FORCE_ALLOCATE_REQUEST); in testHandleDeviceEvent()
[all …]
/tools/test/connectivity/acts/framework/tests/
Dacts_records_test.py44 d = {}
45 d[records.TestResultEnums.RECORD_NAME] = self.tn
46 d[records.TestResultEnums.RECORD_RESULT] = result
47 d[records.TestResultEnums.RECORD_DETAILS] = details
48 d[records.TestResultEnums.RECORD_EXTRAS] = extras
49 d[records.TestResultEnums.RECORD_BEGIN_TIME] = record.begin_time
50 d[records.TestResultEnums.RECORD_END_TIME] = record.end_time
51 d[records.TestResultEnums.
53 d[records.TestResultEnums.RECORD_LOG_END_TIME] = record.log_end_time
54 d[records.TestResultEnums.RECORD_UID] = None
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DDeviceBuildDescriptorTest.java32 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/device/metric/
DRuntimeRestartCollector.java186 .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/invoker/
DInvocationExecution.java192 CLog.d("Starting setup for device: '%s'", device.getSerialNumber()); in doSetup()
200 CLog.d("%s has been disabled. skipping.", preparer); in doSetup()
206 CLog.d( in doSetup()
210 CLog.d( in doSetup()
214 CLog.d("Done with setup of device: '%s'", device.getSerialNumber()); in doSetup()
227 CLog.d("Setup duration: %s'", TimeUtil.formatElapsedTime(setupDuration)); in doSetup()
243 CLog.d("Starting device pre invocation setup for : '%s'", device.getSerialNumber()); in runDevicePreInvocationSetup()
281 CLog.d("%s has been disabled. skipping.", multiPreparer); in runMultiTargetPreparers()
287 CLog.d("Starting %s '%s'", description, multiPreparer); in runMultiTargetPreparers()
289 CLog.d("done with %s '%s'", description, multiPreparer); in runMultiTargetPreparers()
[all …]
DRemoteInvocationExecution.java218 CLog.d("stdout: %s", listRemoteDir.getStdout()); in runTests()
219 CLog.d("stderr: %s", listRemoteDir.getStderr()); in runTests()
224 CLog.d("Pushing Tradefed XML configuration to remote."); in runTests()
433 CLog.d("ps -ef: stdout: %s\nstderr: %s\n", psRes.getStdout(), psRes.getStderr()); in isStillRunning()
435 CLog.d("still running: %s", stillRunning); in isStillRunning()
465 CLog.d("remote adb prob: %s", probAdb.getStdout()); in resetAdb()
466 CLog.d("%s", probAdb.getStderr()); in resetAdb()
471 CLog.d("version adb: %s", versionAdb.getStdout()); in resetAdb()
472 CLog.d("%s", versionAdb.getStderr()); in resetAdb()
485 CLog.d("Remote TMPDIR folder is: %s", folder); in collectAdbLogs()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DGceSshTunnelMonitor.java155 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/connectivity/acts/tests/google/ble/beacon_tests/
DBeaconSwarmTest.py71 d, e = ad.droid, ad.ed
80 d.bleSetAdvertiseDataIncludeDeviceName(True)
81 d.bleSetAdvertiseSettingsAdvertiseMode(
85 generate_ble_advertise_objects(d))
86 d.bleStartBleAdvertising(advertise_callback, advertise_data,
93 local_bt_name = d.bluetoothGetLocalName()
96 d.bluetoothGetLocalName())
119 d, e = a.droid, a.ed
124 args=(d, e, beacon_count))
148 d, e = a.droid, a.ed
[all …]
/tools/test/connectivity/acts/tests/google/ble/bt5/
DBt5ScanTest.py108 d = self.scn_ad.droid
109 sup2M = d.bluetoothIsLe2MPhySupported()
110 supCoded = d.bluetoothIsLeCodedPhySupported()
111 supExt = d.bluetoothIsLeExtendedAdvertisingSupported()
112 supPeriodic = d.bluetoothIsLePeriodicAdvertisingSupported()
113 maxDataLen = d.bluetoothGetLeMaximumAdvertisingDataLength()
119 d = self.adv_ad.droid
120 sup2M = d.bluetoothIsLe2MPhySupported()
121 supCoded = d.bluetoothIsLeCodedPhySupported()
122 supExt = d.bluetoothIsLeExtendedAdvertisingSupported()
[all …]
/tools/tradefederation/contrib/src/com/android/wireless/tests/
DRadioHelper.java69 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()
DWifiStressTest.java189 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()
/tools/tradefederation/core/src/com/android/tradefed/util/statsd/
DMetricUtil.java51 CLog.d("No stats report collected."); in getEventMetricData()
64 CLog.d("Received EventMetricDataList as following:\n"); in getEventMetricData()
65 for (EventMetricData d : data) { in getEventMetricData()
66 CLog.d("Atom at %d:\n%s", d.getElapsedTimestampNanos(), d.getAtom().toString()); in getEventMetricData()
99 CLog.d( in getReportByteArray()
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
Dbt_test_utils.py612 d, e = a.droid, a.ed
613 model = d.getBuildModel()
632 'droid': d,
813 if addr in {d['address'] for d in devices}:
829 if addr in {d['address'] for d in devices}:
845 if addr in {d['address'] for d in devices}:
861 if addr in {d['address'] for d in devices}:
877 if addr in {d['address'] for d in devices}:
1076 for d in bonded_devices:
1077 if d['address'] == target_address:
[all …]
/tools/repohooks/rh/
Dhooks.py231 for d in diff:
232 if (d.status != 'D' and
233 _match_regex_list(d.file, include_list) and
234 not _match_regex_list(d.file, exclude_list)):
236 filtered.append(d)
510 for d in filtered:
511 data = rh.git.get_file_content(commit, d.file)
516 files=(d.file,)))
530 for d in filtered:
531 data = rh.git.get_file_content(commit, d.file)
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/commands/
Droute.py115 d = match.groupdict()
118 address = ipaddress.IPv4Address(d['address'])
120 address = ipaddress.IPv4Network(d['address'])
122 pair = (address, d['net_interface'])
190 for a, d in routes:
191 self.remove_route(a, d)
/tools/tradefederation/contrib/src/com/android/framework/tests/
DPackageManagerOTATestUtils.java111 CLog.d("Found node %s for xpath %s", n.getNodeName(), xPathString); in expectExists()
128 CLog.d("Failed to find node for xpath %s", xPathString); in expectStartsWith()
131 CLog.d("Value of node %s: %s", xPathString, n.getNodeValue()); in expectStartsWith()
146 CLog.d("Failed to find node for xpath %s", xPathString); in expectEquals()
198 CLog.d("Failed to execute shell command: %s", cmd); in packageHasPermission()
220 CLog.d("Failed to find package flags record in dumpsys package output"); in packageHasFlag()
223 CLog.d("Failed to execute shell command: %s", cmd); in packageHasFlag()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceSetup.java470 CLog.d("boot failure: skipping teardown"); in tearDown()
702 CLog.d("Skipping system props due to force-skip-system-props"); in changeSystemProps()
732 CLog.d("Pushing the following properties to /data/local.prop:\n%s", sb.toString()); in changeSystemProps()
756 CLog.d("Setting screen always on to true"); in handleScreenAlwaysOnSetting()
765 CLog.d("Setting screen always on to false"); in handleScreenAlwaysOnSetting()
786 CLog.d("Skipping settings due to force-skip-setttings"); in changeSettings()
792 CLog.d("No settings to change"); in changeSettings()
806 CLog.d("Changing global setting airplane_mode_on to 1"); in changeSettings()
813 CLog.d("Changing global setting airplane_mode_on to 0"); in changeSettings()
830 CLog.d("Changing system setting %s to %s", key, value); in changeSettings()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DGranularRetriableTestWrapper.java209 CLog.d("%s has been disabled. Skipping.", collector); in initializeListeners()
258 CLog.d("RetryStrategy does not involved moving filters proceeding with retry."); in run()
260 CLog.d( in run()
268 CLog.d("Starting intra-module retry."); in run()
270 CLog.d("Retry attempt number %s", attemptNumber); in run()
283 CLog.d("Retrying the run failure."); in run()
293 CLog.d("Retrying the test case failure."); in run()
300 CLog.d("No test run or test case failures. No need to retry."); in run()
408 CLog.d("%s has been disabled. Skipping.", collector); in intraModuleRun()
/tools/test/connectivity/acts/tests/google/bt/car_bt/
DBtCarHfpFuzzTest.py93 for d in self.android_devices:
94 if not car_telecom_utils.wait_for_not_in_call(self.log, d):
97 format(d.serial))
117 for d in self.android_devices:
118 if not car_telecom_utils.wait_for_not_in_call(self.log, d):
121 format(d.serial))
/tools/tradefederation/core/src/com/android/tradefed/util/
DRunUtil.java344 CLog.d( in runTimed()
348 CLog.d("Running command %s without timeout.", runnable.getCommand()); in runTimed()
402 CLog.d("operation failed, waiting for %d ms", pollInterval); in runTimedRetry()
419 CLog.d("operation failed, waiting for %d ms", pollInterval); in runFixedTimedRetry()
441 CLog.d("operation is still failing after retrying for %d ms", maxTime); in runEscalatingTimedRetry()
447 CLog.d("operation failed, waiting for %d ms", pollInterval); in runEscalatingTimedRetry()
480 CLog.d("sleep interrupted"); in sleep()
684 CLog.d("stdout read thread %s still alive.", stdoutThread.toString()); in run()
688 CLog.d("stderr read thread %s still alive.", stderrThread.toString()); in run()
717 CLog.d("%s command failed. return code %d", mProcessBuilder.command(), rc); in run()
[all …]

12345678910>>...13