Home
last modified time | relevance | path

Searched refs:pullDir (Results 1 – 13 of 13) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/device/contentprovider/
DContentProviderHandlerTest.java280 assertTrue(mProvider.pullDir("path/somewhere", pullTo)); in testPullDir_EmptyDirectory()
293 assertFalse(mProvider.pullDir("path/somewhere", pullTo)); in testPullDir_failedDevice()
318 mProvider.pullDir(devicePath, pullTo); in testPullDir_OneFile()
365 mProvider.pullDir(devicePath, pullTo); in testPullDir_RecursiveSubDir()
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/
DFilePullerDeviceMetricCollectorTest.java215 Mockito.when(mMockDevice.pullDir(Mockito.eq("coverageDirectory"), in testPullMatchingDirectory()
236 Mockito.when(mMockDevice.pullDir(Mockito.eq("coverageDirectory"), in testCompressDirectoryOption()
DAtraceRunMetricCollectorTest.java91 Mockito.when(mMockDevice.pullDir(Mockito.eq("sdcard/srcdirectory"), in testPullMatchingDirectoryKey()
DBluetoothHciSnoopLogCollectorTest.java182 .pullDir(Mockito.anyString(), Mockito.any(File.class)); in testPullDirMultipleSnoopLogs()
DFilePullerLogCollectorTest.java229 when(mMockDevice.pullDir(Mockito.any(), Mockito.any())).thenReturn(true); in testCompressDirectoryBeforeUpload()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DFolderSaver.java108 if (!device.pullDir(path, tempDir)) { in tearDown()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DINativeDevice.java744 public boolean pullDir(String deviceFilePath, File localDir) in pullDir() method
757 public boolean pullDir(String deviceFilePath, File localDir, int userId) in pullDir() method
/tools/tradefederation/core/util_apps/ContentProvider/hostsidetests/src/com/android/tradefed/contentprovider/
DContentProviderTest.java169 boolean res = mHandler.pullDir("/sdcard/" + dirName, tmpPullDir); in testPullDir()
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DNativeDeviceTest.java422 mTestDevice.pullDir(deviceFilePath, dir, testUserId); in testPullDir_withUserId()
425 verify(mMockContentProviderHandler).pullDir(deviceFilePath, dir); in testPullDir_withUserId()
445 mTestDevice.pullDir(deviceFilePath, dir); in testPullDir_withoutUserId()
448 verify(mMockContentProviderHandler).pullDir(deviceFilePath, dir); in testPullDir_withoutUserId()
483 boolean res = mTestDevice.pullDir("/some_device_path/screenshots/", dir); in testPullDir_nothingToDo()
555 boolean res = mTestDevice.pullDir("/some_device_path/", dir); in testPullDir()
639 boolean res = mTestDevice.pullDir("/some_device_path/", dir); in testPullDir_pullFail()
673 assertFalse(mTestDevice.pullDir("somefile", dir)); in testPullDir_invalidPath()
DTestDeviceFileFuncTest.java234 boolean didPullSucceed = mTestDevice.pullDir(remotePath, pulledDir); in testPushPullDir_Basic()
280 boolean didPullSucceed = mTestDevice.pullDir(remotePath, pulledDir); in testPushPullDir_ExtStorage()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DFilePullerDeviceMetricCollector.java261 if (device.pullDir(keyDirectory, tmpDestDir)) { in pullMetricDirectory()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/contentprovider/
DContentProviderHandler.java211 public boolean pullDir(String deviceFilePath, File localDir) in pullDir() method in ContentProviderHandler
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java2104 public boolean pullDir(String deviceFilePath, File localDir) in pullDir() method in NativeDevice
2106 return pullDir(deviceFilePath, localDir, getCurrentUserCompatible()); in pullDir()
2111 public boolean pullDir(String deviceFilePath, File localDir, int userId) in pullDir() method in NativeDevice
2119 return handler.pullDir(deviceFilePath, localDir); in pullDir()
3074 boolean success = pullDir(ANRS_PATH, localDir); in logAnrs()