Home
last modified time | relevance | path

Searched refs:desc (Results 1 – 15 of 15) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/log/
DLogReceiver.java18 public LogReceiver(ITestDevice device, String cmd, String desc) { in LogReceiver() argument
19 this(device, cmd, LOG_SIZE, DELAY, desc); in LogReceiver()
22 public LogReceiver(ITestDevice device, String cmd, String desc, in LogReceiver() argument
24 this(device, cmd, logcat_size, delay_secs, desc); in LogReceiver()
28 long maxFileSize, int logStartDelay, String desc) { in LogReceiver() argument
30 mReceiver = new LargeOutputReceiver(desc, device.getSerialNumber(), in LogReceiver()
32 mDeviceAction = new BackgroundDeviceAction(cmd, desc, device, in LogReceiver()
34 mDesc = desc; in LogReceiver()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceUtilStatsMonitorTest.java69 UtilizationDesc desc = mDeviceUtilMonitor.getUtilizationStats(); in testOnlyAvailable() local
70 assertEquals(0, desc.mTotalUtil); in testOnlyAvailable()
71 assertEquals(1, desc.mDeviceUtil.size()); in testOnlyAvailable()
72 assertEquals(0L, (long)desc.mDeviceUtil.get("serial0")); in testOnlyAvailable()
84 UtilizationDesc desc = mDeviceUtilMonitor.getUtilizationStats(); in testOnlyAllocated() local
85 assertEquals(100L, desc.mTotalUtil); in testOnlyAllocated()
86 assertEquals(1, desc.mDeviceUtil.size()); in testOnlyAllocated()
87 assertEquals(100L, (long)desc.mDeviceUtil.get("serial0")); in testOnlyAllocated()
DNativeDeviceTest.java1671 DeviceDescriptor desc = mTestDevice.getDeviceDescriptor(); in testGetDeviceDescriptor() local
1672 assertTrue(desc.isStubDevice()); in testGetDeviceDescriptor()
1673 assertEquals(serial, desc.getSerial()); in testGetDeviceDescriptor()
1674 assertEquals("StubDevice", desc.getDeviceClass()); in testGetDeviceDescriptor()
/tools/tradefederation/core/src/com/android/tradefed/util/
DTestFilterHelper.java147 public boolean shouldTestRun(Description desc) { in shouldTestRun() argument
148 return shouldTestRun(desc.getAnnotations()); in shouldTestRun()
235 public boolean shouldRun(Description desc) { in shouldRun() argument
239 classObj = Class.forName(desc.getClassName()); in shouldRun()
246 String className = desc.getClassName(); in shouldRun()
247 String methodName = String.format("%s#%s", className, desc.getMethodName()); in shouldRun()
251 if (!shouldTestRun(desc)) { in shouldRun()
DJUnit4TestFilter.java39 for (Description desc : description.getChildren()) { in shouldRun()
40 if (shouldRun(desc)) { in shouldRun()
/tools/test/connectivity/acts/tests/google/bt/pts/
Dgatts_lib.py224 def _setup_descriptor(self, desc): argument
226 desc['uuid'], desc['permissions'])
227 if 'value' in desc:
229 descriptor, desc['value'])
230 if 'instance_id' in desc:
232 descriptor, desc['instance_id'])
250 for desc in char['descriptors']:
251 descriptor = self._setup_descriptor(desc)
/tools/repohooks/rh/
Dhooks.py327 def check_commit_msg_bug_field(project, commit, desc, _diff, options=None): argument
337 for line in desc.splitlines():
351 def check_commit_msg_changeid_field(project, commit, desc, _diff, options=None): argument
361 for line in desc.splitlines():
405 def check_commit_msg_test_field(project, commit, desc, _diff, options=None): argument
415 for line in desc.splitlines():
Dhooks_unittest.py251 for desc in msgs:
252 ret = func(self.project, 'commit', desc, (), options=self.options)
255 ret, None, msg='Should have accepted: {{{%s}}}' % (desc,))
258 ret, None, msg='Should have rejected: {{{%s}}}' % (desc,))
/tools/repohooks/
Dpre-upload.py266 desc = rh.git.get_commit_desc(commit)
267 os.environ['PREUPLOAD_COMMIT_MESSAGE'] = desc
269 commit_summary = desc.split('\n', 1)[0]
274 hook_results = hook(project, commit, desc, diff)
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceManager.java937 for (DeviceDescriptor desc : sortedDeviceList) { in addDevicesInfo()
938 if (desc.isStubDevice() && in addDevicesInfo()
939 desc.getState() != DeviceAllocationState.Allocated) { in addDevicesInfo()
944 desc.getSerial(), in addDevicesInfo()
945 desc.getDeviceState().toString(), in addDevicesInfo()
946 desc.getState().toString(), in addDevicesInfo()
947 desc.getProduct(), in addDevicesInfo()
948 desc.getProductVariant(), in addDevicesInfo()
949 desc.getBuildId(), in addDevicesInfo()
950 desc.getBatteryLevel()) in addDevicesInfo()
/tools/tradefederation/core/src/com/android/tradefed/result/
DBugreportCollector.java384 String desc = storedP.toString(); in check() local
395 desc = testName; in check()
400 desc = String.format("FAILED-%s", testName); in check()
409 grabBugreport(desc); in check()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DHostTest.java442 private void fakeDescriptionExecution(Description desc, JUnit4ResultForwarder listener) { in fakeDescriptionExecution() argument
443 if (desc.getMethodName() == null) { in fakeDescriptionExecution()
444 for (Description child : desc.getChildren()) { in fakeDescriptionExecution()
448 listener.testStarted(desc); in fakeDescriptionExecution()
449 listener.testFinished(desc); in fakeDescriptionExecution()
/tools/tradefederation/core/prod-tests/src/com/android/monkey/
DMonkeyBrillopadForwarder.java65 MonkeyStatus(String desc) { in MonkeyStatus() argument
66 mDescription = desc; in MonkeyStatus()
/tools/repohooks/tools/
Dcheckpatch.pl716 my ($commit, $id, $desc) = @_;
718 return ($id, $desc) if ((which("git") eq "") || !(-e ".git"));
724 return ($id, $desc) if ($#lines < 0);
739 $desc = substr($lines[0], 41);
742 return ($id, $desc);
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DFastbootDeviceFlasherTest.java608 IDeviceBuildInfo localBuild, DeviceDescriptor desc) throws TargetSetupError { in getFlasherWithParserData()