Home
last modified time | relevance | path

Searched refs:getChildren (Results 1 – 25 of 31) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/rust/
DRustBinaryTestTest.java175 EasyMock.expect(mMockITestDevice.getChildren(testPath)).andReturn(new String[0]); in testNotFound()
195 EasyMock.expect(mMockITestDevice.getChildren(testPath)).andReturn(dirs); in testNotFound2()
197 EasyMock.expect(mMockITestDevice.getChildren(testPath + "/d1")).andReturn(d1dirs); in testNotFound2()
199 EasyMock.expect(mMockITestDevice.getChildren(testPath + "/d1/d1_1")).andReturn(nofiles); in testNotFound2()
201 EasyMock.expect(mMockITestDevice.getChildren(testPath + "/d2")).andReturn(nofiles); in testNotFound2()
223 EasyMock.expect(mMockITestDevice.getChildren(testPath)).andReturn(files); in testRun()
288 EasyMock.expect(mMockITestDevice.getChildren(testPath)).andReturn(files); in testRun_nested()
290 EasyMock.expect(mMockITestDevice.getChildren(subDirPath)).andReturn(files2); in testRun_nested()
373 EasyMock.expect(mMockITestDevice.getChildren(testPath)).andReturn(files); in testNativeCoverageAllProcesses()
474 EasyMock.expect(mMockITestDevice.getChildren(testPath)).andReturn(files); in testNativeCoverageSpecificProcesses()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DGTestTest.java163 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(files); in testRun()
202 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(dirs); in testRunFilterAbiPath()
204 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath + "/arm64")) in testRunFilterAbiPath()
262 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(files); in testRun_nested()
264 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath + "/" + subFolderName)) in testRun_nested()
293 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(files); in doTestFilter()
377 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(files); in testCommandTooLong()
475 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(files); in testRunXml()
525 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(files); in testNativeCoverageAllProcesses()
590 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(files); in testNativeCoverageSpecificProcesses()
DGoogleBenchmarkTestTest.java113 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(files); in testRun()
195 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(files); in testRun_withModuleName()
242 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(files); in testRun_withRunReportName()
277 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(files); in testRun_exceptionDuringExecShell()
403 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(files); in doTestFilter()
522 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(files); in testCommandTooLong()
/tools/metalava/src/main/java/com/android/tools/metalava/
DAnnotationsMerger.kt47 import com.android.tools.lint.detector.api.getChildren
364 for (item in getChildren(root)) { in mergeDocument()
520 loop@ for (annotationElement in getChildren(xmlElement)) { in mergeAnnotations()
569 val children = getChildren(annotationElement) in createAnnotation()
596 val children = getChildren(annotationElement) in createAnnotation()
675 val children = getChildren(annotationElement) in createAnnotation()
704 val children = getChildren(annotationElement) in createAnnotation()
733 val children = getChildren(annotationElement) in createAnnotation()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DNativeDeviceTest.java359 EasyMock.expect(fakeEntry.getChildren(false)).andReturn(childrens); in testPullDir_nothingToDo()
427 EasyMock.expect(fakeDir.getChildren(false)).andReturn(fakeDirChildren); in testPullDir()
428 EasyMock.expect(fakeEntry.getChildren(false)).andReturn(children); in testPullDir()
503 EasyMock.expect(fakeDir.getChildren(false)).andReturn(fakeDirChildren); in testPullDir_pullFail()
504 EasyMock.expect(fakeEntry.getChildren(false)).andReturn(children); in testPullDir_pullFail()
1213 EasyMock.expect(fakeEntry.getChildren(false)).andReturn(list); in testGetBugreport_deviceUnavail_fallback()
1343 EasyMock.expect(entryMock.getChildren(false)).andReturn(Arrays.asList(childNode)); in testGetBugreportz_fallBack_validation()
3160 doReturn(tombs).when(spy).getChildren("/data/tombstones/"); in testGetTombstones()
DMockFileUtil.java56 EasyMock.expect(rootEntry.getChildren(EasyMock.anyBoolean())) in setMockDirContents()
83 EasyMock.expect(rootEntry.getChildren(EasyMock.anyBoolean())).andStubReturn( in setMockDirPath()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DHostTest.java741 for (Description childDescription : description.getChildren()) { in findIgnoredClass()
761 if (desc.getMethodName() == null || !desc.getChildren().isEmpty()) { in fakeDescriptionExecution()
762 for (Description child : desc.getChildren()) { in fakeDescriptionExecution()
883 List<Description> children = desc.getChildren(); in getTestMethods()
DDeviceSuite.java60 for (Runner r : getChildren()) { in setTestInformation()
82 for (Runner r : getChildren()) { in setAbi()
DUiAutomatorTest.java390 for (IFileEntry testDirectory : traceSrcDir.getChildren(false)) { in logTraceFiles()
395 for (IFileEntry traceFile : testDirectory.getChildren(false)) { in logTraceFiles()
DNativeStressTest.java154 for (IFileEntry childEntry : rootEntry.getChildren(true)) { in doRunAllTestsInSubdirectory()
DNativeBenchmarkTest.java177 for (IFileEntry childEntry : rootEntry.getChildren(true)) { in doRunAllTestsInSubdirectory()
DGoogleBenchmarkTest.java170 for (String child : testDevice.getChildren(root)) { in doRunAllTestsInSubdirectory()
/tools/tradefederation/core/lite/com/android/tradefed/lite/
DDryRunner.java57 if (desc.getMethodName() == null || !desc.getChildren().isEmpty()) { in fakeExecution()
58 for (Description child : desc.getChildren()) { in fakeExecution()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/proto/
DFileProtoResultReporterTest.java184 assertEquals("child record1", record.getChildren(0).getTestRecordId()); in testWriteReadAtestResults()
185 assertEquals("child record2", record.getChildren(1).getTestRecordId()); in testWriteReadAtestResults()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java1526 public String[] getChildren(String path) throws DeviceNotAvailableException { in getChildren() method in NativeDevice
1636 Collection<IFileEntry> children = entry.getChildren(false); in pullDir()
2412 for (IFileEntry f : entries.getChildren(false)) { in bugreportzFallback()
4948 for (String tombName : getChildren(TOMBSTONE_PATH)) { in getTombstones()
DFileEntryWrapper.java101 public Collection<IFileEntry> getChildren(boolean useCache) throws DeviceNotAvailableException { in getChildren() method in FileEntryWrapper
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DIFileEntry.java93 public Collection<IFileEntry> getChildren(boolean useCache) throws DeviceNotAvailableException; in getChildren() method
DINativeDevice.java770 public String[] getChildren(String deviceFilePath) throws DeviceNotAvailableException; in getChildren() method
/tools/tradefederation/core/src/com/android/tradefed/util/
DJUnit4TestFilter.java44 for (Description desc : description.getChildren()) { in shouldRun()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DFolderSaver.java94 if (!mIncludeEmpty && device.getFileEntry(path).getChildren(false).isEmpty()) { in tearDown()
/tools/tradefederation/contrib/src/com/android/media/tests/
DCamera2FrameworkStressTest.java173 for (IFileEntry file : dirEntry.getChildren(false)) { in getCameraIdList()
DCamera2StressTest.java114 for (IFileEntry remoteFile : screenshotDir.getChildren(false)) { in postScreenshotOnFailure()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/
DJUnit4ResultForwarder.java115 for (Description child : description.getChildren()) { in testFinished()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDefaultTestsZipInstaller.java184 for (IFileEntry dataSubDir : dataEntry.getChildren(false)) { in doDeleteData()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/rust/
DRustBinaryTest.java129 for (String child : testDevice.getChildren(root)) { in doRunAllTestsInSubdirectory()

12