Home
last modified time | relevance | path

Searched refs:pushString (Results 1 – 17 of 17) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DGCSBucketUtilFuncTest.java73 mBucket.pushString(FILE_CONTENT, path); in testStringUploadThenDownLoad()
81 mBucket.pushString(FILE_CONTENT, Paths.get(mRemoteRoot, file)); in testDownloadMultiple()
153 mBucket.pushString(FILE_CONTENT, Paths.get(mRemoteRoot, file)); in testLs_folder()
167 mBucket.pushString(FILE_CONTENT, path); in testLs_file()
177 mBucket.pushString(FILE_CONTENT, path); in testIsFile()
184 mBucket.pushString(FILE_CONTENT, path); in testIsFile_folder()
196 mBucket.pushString(FILE_CONTENT, path); in testStat()
205 mBucket.pushString(FILE_CONTENT, path); in testmd5Hash()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DDeviceStringPusherTest.java59 EasyMock.expect(mMockDevice.pushString("hi", "file")).andReturn(false).once(); in testFail()
72 EasyMock.expect(mMockDevice.pushString("hi", "file")).andReturn(true).once(); in testDoesntExist()
89 EasyMock.expect(mMockDevice.pushString("hi", "file")).andReturn(true).once(); in testAlreadyExists()
DDefaultTestsZipInstallerTest.java111 EasyMock.expect(mMockDevice.pushString((String) EasyMock.anyObject(), in testCantTouchFilesystem()
142 EasyMock.expect(mMockDevice.pushString((String) EasyMock.anyObject(), in testPushTestsZipOntoData()
185 EasyMock.expect(mMockDevice.pushString((String) EasyMock.anyObject(), in testPushTestsZipOntoData_retry()
DDeviceSetupTest.java1327 mMockDevice.pushString( in doSetupExpectations()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DGoogleBenchmarkTestTest.java525 mMockITestDevice.pushString( in testCommandTooLong()
535 mMockITestDevice.pushString( in testCommandTooLong()
DGTestTest.java379 EasyMock.expect(mMockITestDevice.pushString(EasyMock.<String>anyObject(), in testCommandTooLong()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DDeviceStringPusher.java48 if (!device.pushString(mFileContent, mFileName)) { in setUp()
/tools/tradefederation/contrib/src/com/android/tradefed/targetprep/
DSetPackagesRecentlyUsed.java67 testInfo.getDevice().pushString(builder.toString(), PACKAGE_USAGE_FILE); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDefaultTestsZipInstaller.java172 boolean yayTurtle = device.pushString("I like turtles", turtlePath); in doDeleteData()
DDeviceSetup.java740 boolean result = device.pushString(sb.toString(), "/data/local.prop"); in changeSystemProps()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DINativeDevice.java668 public boolean pushString(String contents, String deviceFilePath) in pushString() method
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DGoogleBenchmarkTest.java470 testDevice.pushString(String.format("#!/bin/bash\n%s", cmd), tmpFileDevice); in executeCommandByScript()
DGTest.java265 testDevice.pushString(String.format("#!/bin/bash\n%s", cmd), tmpFileDevice); in executeCommandByScript()
/tools/tradefederation/core/src/com/android/tradefed/util/
DGCSBucketUtil.java551 public CommandResult pushString(String contents, Path bucketPath) throws IOException { in pushString() method in GCSBucketUtil
/tools/tradefederation/contrib/src/com/android/monkey/
DMonkeyBase.java353 device.pushString(allowlist.toString(), DEVICE_ALLOWLIST_PATH); in runMonkey()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceFuncTest.java313 assertTrue(mTestDevice.pushString("test data", deviceFilePath)); in testPull_nopermissions()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java1257 public boolean pushString(final String contents, final String remoteFilePath) in pushString() method in NativeDevice