Home
last modified time | relevance | path

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

12345678910>>...12

/tools/tradefederation/core/src/com/android/tradefed/device/
DManagedDeviceList.java74 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 …]
DBackgroundDeviceAction.java86 CLog.d("Sleep for %d before starting %s for %s.", mLogStartDelay, mDescriptor, in run()
95 CLog.d("Starting %s for %s.", mDescriptor, mTestDevice.getSerialNumber()); in run()
116 CLog.d("%s while running %s on %s. May see duplicated content in log.", exceptionType, in waitForDeviceRecovery()
146 CLog.d("Waiting for device %s online before starting.", mTestDevice.getSerialNumber()); in blockUntilOnlineNoThrow()
153 CLog.d("Device %s now online.", mTestDevice.getSerialNumber()); in blockUntilOnlineNoThrow()
/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/
DDeviceDescriptor.java190 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/test/connectivity/acts/framework/acts/
Drecords.py121 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 …]
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/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/tests/src/com/android/tradefed/device/
DManagedDeviceListTest.java67 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/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()
/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)
Dip.py63 d = match.groupdict()
64 address = ipaddress.IPv4Interface(d['address'])
65 bcast = ipaddress.IPv4Address(d['bcast'])
70 d = match.groupdict()
71 address = ipaddress.IPv4Interface(d['address'])
/tools/tradefederation/core/test_framework/com/android/tradefed/util/statsd/
DMetricUtil.java57 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()
/tools/test/connectivity/acts/framework/tests/
Dacts_records_test.py46 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/test/connectivity/acts/tests/google/bt/setup/
DBtPreFlightTest.py33 d = a.droid
36 self.log.info("BOOTLOADER VERSION {}".format(d.getBuildBootloader(
38 self.log.info("BUILD HARDWARE {}".format(d.getBuildHardware()))
39 self.log.info("BUILD PRODUCT {}".format(d.getBuildProduct()))
41 self.log.info(pprint.pformat(d.environment()))
/tools/tradefederation/core/test_framework/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/test/connectivity/acts/tests/google/ble/beacon_tests/
DBeaconSwarmTest.py68 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/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 …]
DGceAvdInfo.java189 JSONObject d = (JSONObject) devices.get(0); in parseGceInfoFromString() local
190 addCfStartTimeMetrics(d); in parseGceInfoFromString()
191 String ip = d.getString("ip"); in parseGceInfoFromString()
192 String instanceName = d.getString("instance_name"); in parseGceInfoFromString()
200 if (d.has(buildVar) && !d.getString(buildVar).trim().isEmpty()) { in parseGceInfoFromString()
201 avdInfo.addBuildVar(buildVar, d.getString(buildVar).trim()); in parseGceInfoFromString()
/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/test/connectivity/acts/tests/google/ble/bt5/
DBt5ScanTest.py106 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/testtype/suite/module/
DMinSdkModuleController.java53 CLog.d("SDK version is null"); in shouldRun()
56 CLog.d( in shouldRun()
65 CLog.d( in shouldRun()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DTimeWaster.java47 CLog.d("Pre-sleep device reboot on %s", device.getSerialNumber()); in setUp()
51 CLog.d("Sleeping %d msecs on device %s", mDelayMsecs, device.getSerialNumber()); in setUp()
55 CLog.d("Post-sleep device reboot on %s", device.getSerialNumber()); in setUp()
DDisableSELinuxTargetPreparer.java45 CLog.d( in setUp()
56 CLog.d("Disabling SELinux."); in setUp()
77 CLog.d("Enabling SELinux."); in tearDown()
/tools/tradefederation/core/src/com/android/tradefed/command/remote/
DDeviceTracker.java58 public void allocateDevice(ITestDevice d) { in allocateDevice() argument
59 mAllocatedDeviceMap.put(d.getSerialNumber(), d); in allocateDevice() local
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/utils/
DLittleEndianUtilsTest.java59 for (int d : data) { in readWrite2Le()
60 LittleEndianUtils.writeUnsigned2Le(out, d); in readWrite2Le()
102 for (long d : data) { in readWrite4Le()
103 LittleEndianUtils.writeUnsigned4Le(out, d); in readWrite4Le()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java235 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 …]

12345678910>>...12