/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | GTestTest.java | 121 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 …]
|
D | GoogleBenchmarkTestTest.java | 108 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/ |
D | PushFilePreparerTest.java | 183 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 …]
|
D | DeviceStringPusherTest.java | 58 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()
|
D | DefaultTestsZipInstallerTest.java | 146 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/ |
D | TestDeviceFuncTest.java | 179 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()
|
D | TestDeviceStressTest.java | 125 mTestDevice.doesFileExist(deviceFilePath)); in testPushFolderWithManyFiles() 127 assertTrue(mTestDevice.doesFileExist(deviceFilePath)); in testPushFolderWithManyFiles() 135 mTestDevice.doesFileExist(deviceFilePath)); in testPushFolderWithManyFiles() 164 mTestDevice.doesFileExist(deviceFilePath)); in testSyncDataWithManyFiles()
|
D | TestDeviceTest.java | 4730 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/ |
D | RustBinaryTestTest.java | 146 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/ |
D | ContentProviderTest.java | 72 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/ |
D | TestDevice.java | 1135 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()
|
D | NativeDevice.java | 1274 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/ |
D | GTest.java | 126 if (getDevice().doesFileExist(filterFile)) { in loadFilter() 422 if (!mDevice.doesFileExist(testPath)) { in run()
|
D | UiAutomatorTest.java | 325 if (!getDevice().doesFileExist(runnerPath)) { in preTestSetup() 332 if (!getDevice().doesFileExist(jarPath)) { in preTestSetup()
|
D | CodeCoverageTest.java | 78 if (getDevice().doesFileExist(mCoverageFile)) { in run()
|
D | InstrumentationFileTest.java | 261 if (mInstrumentationTest.getDevice().doesFileExist(pathToFile)) { in deleteTestFileFromDevice()
|
D | GoogleBenchmarkTest.java | 322 if (!mDevice.doesFileExist(testPath)) { in run()
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | AudioLoopbackTest.java | 536 if (getDevice().doesFileExist(resultFilename)) { in runTest() 763 if (getDevice().doesFileExist(getDeviceFilename(log, iteration))) { in storeDeviceFilesOnHost()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | DeviceStringPusher.java | 45 if (device.doesFileExist(mFileName)) { in setUp()
|
D | PushFileInvoker.java | 62 if (!device.doesFileExist(devicePath)) { in setUp()
|
D | FolderSaver.java | 82 if (!device.doesFileExist(path)) { in tearDown()
|
D | PushFilePreparer.java | 396 if (!device.doesFileExist(remotePath)) { in evaluatePushingPair()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | DefaultTestsZipInstaller.java | 200 if (!device.doesFileExist(fullEscapedPath)) { in deleteDir()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/rust/ |
D | RustBinaryTest.java | 223 if (!mDevice.doesFileExist(testPath)) { in run()
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/ |
D | INativeDevice.java | 728 public boolean doesFileExist(String deviceFilePath) throws DeviceNotAvailableException; in doesFileExist() method
|