Home
last modified time | relevance | path

Searched refs:doesFileExist (Results 1 – 25 of 28) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DGTestTest.java121 EasyMock.expect(mMockITestDevice.doesFileExist(GTest.DEFAULT_NATIVETEST_PATH)) in testRun_noTestDir()
153 EasyMock.expect(mMockITestDevice.doesFileExist(nativeTestPath)).andReturn(true); in testRun()
192 EasyMock.expect(mMockITestDevice.doesFileExist(nativeTestPath)).andReturn(true); in testRunFilterAbiPath()
229 EasyMock.expect(mMockITestDevice.doesFileExist(modulePath)).andReturn(true); in testRun_moduleName()
254 EasyMock.expect(mMockITestDevice.doesFileExist(nativeTestPath)).andReturn(true); in testRun_nested()
287 EasyMock.expect(mMockITestDevice.doesFileExist(nativeTestPath)).andReturn(true); in doTestFilter()
371 EasyMock.expect(mMockITestDevice.doesFileExist(nativeTestPath)).andReturn(true); in testCommandTooLong()
468 EasyMock.expect(mMockITestDevice.doesFileExist(nativeTestPath)).andReturn(true); in testRunXml()
515 EasyMock.expect(mMockITestDevice.doesFileExist(nativeTestPath)).andReturn(true); in testNativeCoverageAllProcesses()
580 EasyMock.expect(mMockITestDevice.doesFileExist(nativeTestPath)).andReturn(true); in testNativeCoverageSpecificProcesses()
[all …]
DGoogleBenchmarkTestTest.java108 EasyMock.expect(mMockITestDevice.doesFileExist(nativeTestPath)).andReturn(true); in testRun()
167 EasyMock.expect(mMockITestDevice.doesFileExist(GoogleBenchmarkTest.DEFAULT_TEST_PATH)) in testRun_noBenchmarkDir()
190 EasyMock.expect(mMockITestDevice.doesFileExist(nativeTestPath)).andReturn(true); in testRun_withModuleName()
238 EasyMock.expect(mMockITestDevice.doesFileExist(nativeTestPath)).andReturn(true); in testRun_withRunReportName()
273 EasyMock.expect(mMockITestDevice.doesFileExist(nativeTestPath)).andReturn(true); in testRun_exceptionDuringExecShell()
397 EasyMock.expect(mMockITestDevice.doesFileExist(nativeTestPath)).andReturn(true); in doTestFilter()
516 EasyMock.expect(mMockITestDevice.doesFileExist(nativeTestPath)).andReturn(true); in testCommandTooLong()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DPushFilePreparerTest.java183 EasyMock.expect(mMockDevice.doesFileExist("/data/local/tmp/")).andReturn(true); in testPushDir_RemoteIsDir()
211 EasyMock.expect(mMockDevice.doesFileExist("/data/local/tmp/file")).andReturn(true); in testPushDir_RemoteIsFile()
408 EasyMock.expect(mMockDevice.doesFileExist("/data/local/tmp/debugger")).andReturn(false); in testPush_abiDirectory_noBitness()
444 EasyMock.expect(mMockDevice.doesFileExist("/data/local/tmp/folder")).andReturn(false); in testPush_abiDirectory_noBitness_withModule()
480 EasyMock.expect(mMockDevice.doesFileExist("/data/local/tmp/debugger")).andReturn(false); in testPush_abiDirectory()
521 EasyMock.expect(mMockDevice.doesFileExist("/data/local/tmp/lib")).andReturn(false); in testPush_moduleName_dirs()
662 EasyMock.expect(mMockDevice.doesFileExist("/data/local/tmp/lib")).andReturn(false); in testPush_moduleName_ignored()
705 EasyMock.expect(mMockDevice.doesFileExist("/data/local/tmp/lib")).andReturn(false); in testPush_moduleName_multiAbi()
748 EasyMock.expect(mMockDevice.doesFileExist("/data/local/tmp/debugger")).andReturn(false); in testPush_moduleName_multiabi_files()
790 EasyMock.expect(mMockDevice.doesFileExist("/data/local/tmp/lib")).andReturn(false); in testPush_moduleName_noMatch()
[all …]
DDeviceStringPusherTest.java58 EasyMock.expect(mMockDevice.doesFileExist("file")).andReturn(false).once(); in testFail()
71 EasyMock.expect(mMockDevice.doesFileExist("file")).andReturn(false).once(); in testDoesntExist()
87 EasyMock.expect(mMockDevice.doesFileExist("file")).andReturn(true).once(); in testAlreadyExists()
DDefaultTestsZipInstallerTest.java146 EasyMock.expect(mMockDevice.doesFileExist("data/app")).andReturn(false); in testPushTestsZipOntoData()
189 EasyMock.expect(mMockDevice.doesFileExist("data/app")).andStubReturn(true); in testPushTestsZipOntoData_retry()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceFuncTest.java179 mTestDevice.doesFileExist(String.format("/data/local/tmp/%s", in assertWifiApkInstall()
219 mTestDevice.doesFileExist(deviceFilePath)); in testPushPull_normal()
222 assertTrue(mTestDevice.doesFileExist(deviceFilePath)); in testPushPull_normal()
259 mTestDevice.doesFileExist(deviceFilePath)); in testPushPull_extStorageVariable()
262 assertTrue(mTestDevice.doesFileExist(deviceFilePath)); in testPushPull_extStorageVariable()
294 mTestDevice.doesFileExist(deviceFilePath)); in testPull_noexist()
315 mTestDevice.doesFileExist(deviceFilePath)); in testPull_nopermissions()
448 assertTrue(mTestDevice.doesFileExist(expectedDeviceFilePath)); in doTestSyncFiles()
459 assertTrue(mTestDevice.doesFileExist(expectedDeviceFilePath2)); in doTestSyncFiles()
501 assertTrue(mTestDevice.doesFileExist(expectedDeviceFilePath)); in testPushDir()
DTestDeviceStressTest.java125 mTestDevice.doesFileExist(deviceFilePath)); in testPushFolderWithManyFiles()
127 assertTrue(mTestDevice.doesFileExist(deviceFilePath)); in testPushFolderWithManyFiles()
135 mTestDevice.doesFileExist(deviceFilePath)); in testPushFolderWithManyFiles()
164 mTestDevice.doesFileExist(deviceFilePath)); in testSyncDataWithManyFiles()
DTestDeviceTest.java4730 assertTrue(mTestDevice.doesFileExist("/data/local/tmp/file")); in testDoesFileExists()
4740 assertFalse(mTestDevice.doesFileExist("/data/local/tmp/file")); in testDoesFileExists_notExists()
4759 assertTrue(mTestDevice.doesFileExist("/sdcard/file")); in testDoesFileExists_sdcard()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/rust/
DRustBinaryTestTest.java146 EasyMock.expect(mMockITestDevice.doesFileExist(testPath)).andReturn(false); in testRun_noTestDir()
173 EasyMock.expect(mMockITestDevice.doesFileExist(testPath)).andReturn(true); in testNotFound()
193 EasyMock.expect(mMockITestDevice.doesFileExist(testPath)).andReturn(true); in testNotFound2()
221 EasyMock.expect(mMockITestDevice.doesFileExist(testPath)).andReturn(true); in testRun()
254 EasyMock.expect(mMockITestDevice.doesFileExist(modulePath)).andReturn(true); in testRun_moduleName()
281 EasyMock.expect(mMockITestDevice.doesFileExist(testPath)).andReturn(true); in testRun_nested()
329 EasyMock.expect(mMockITestDevice.doesFileExist(testPath)).andReturn(true); in testNativeCoverageAllProcesses()
430 EasyMock.expect(mMockITestDevice.doesFileExist(testPath)).andReturn(true); in testNativeCoverageSpecificProcesses()
501 EasyMock.expect(mMockITestDevice.doesFileExist(testPath)).andReturn(true); in doTestFilter()
/tools/tradefederation/core/util-apps/ContentProvider/hostsidetests/src/com/android/tradefed/contentprovider/
DContentProviderTest.java72 assertTrue(getDevice().doesFileExist(mCurrentUserStoragePath + tmpFile.getName())); in testPushFile_encode()
89 assertTrue(getDevice().doesFileExist(mCurrentUserStoragePath + tmpFile.getName())); in testPushFile_encode_plus()
103 assertTrue(getDevice().doesFileExist(mCurrentUserStoragePath + tmpFile.getName())); in testPushFile()
118 assertTrue(getDevice().doesFileExist(mCurrentUserStoragePath + tmpFile.getName())); in testDeleteFile()
/tools/tradefederation/core/src/com/android/tradefed/device/
DTestDevice.java1135 public boolean doesFileExist(String deviceFilePath) throws DeviceNotAvailableException { in doesFileExist() method in TestDevice
1141 return super.doesFileExist(deviceFilePath); in doesFileExist()
1871 while (!doesFileExist(devicePath) && attempt < 3) { in dumpAndPullHeap()
DNativeDevice.java1274 public boolean doesFileExist(String deviceFilePath) throws DeviceNotAvailableException { in doesFileExist() method in NativeDevice
1626 if (!doesFileExist(deviceFilePath)) { in pullDir()
1687 if (!doesFileExist(deviceFilePath)) { in syncFiles()
2549 if (!doesFileExist(remoteFilePath)) { in getBugreportzInternal()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DGTest.java126 if (getDevice().doesFileExist(filterFile)) { in loadFilter()
422 if (!mDevice.doesFileExist(testPath)) { in run()
DUiAutomatorTest.java325 if (!getDevice().doesFileExist(runnerPath)) { in preTestSetup()
332 if (!getDevice().doesFileExist(jarPath)) { in preTestSetup()
DCodeCoverageTest.java78 if (getDevice().doesFileExist(mCoverageFile)) { in run()
DInstrumentationFileTest.java261 if (mInstrumentationTest.getDevice().doesFileExist(pathToFile)) { in deleteTestFileFromDevice()
DGoogleBenchmarkTest.java322 if (!mDevice.doesFileExist(testPath)) { in run()
/tools/tradefederation/contrib/src/com/android/media/tests/
DAudioLoopbackTest.java536 if (getDevice().doesFileExist(resultFilename)) { in runTest()
763 if (getDevice().doesFileExist(getDeviceFilename(log, iteration))) { in storeDeviceFilesOnHost()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DDeviceStringPusher.java45 if (device.doesFileExist(mFileName)) { in setUp()
DPushFileInvoker.java62 if (!device.doesFileExist(devicePath)) { in setUp()
DFolderSaver.java82 if (!device.doesFileExist(path)) { in tearDown()
DPushFilePreparer.java396 if (!device.doesFileExist(remotePath)) { in evaluatePushingPair()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDefaultTestsZipInstaller.java200 if (!device.doesFileExist(fullEscapedPath)) { in deleteDir()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/rust/
DRustBinaryTest.java223 if (!mDevice.doesFileExist(testPath)) { in run()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DINativeDevice.java728 public boolean doesFileExist(String deviceFilePath) throws DeviceNotAvailableException; in doesFileExist() method

12