/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/ |
D | DeviceStringPusherTest.java | 65 when(mMockDevice.pushString("hi", "file")).thenReturn(false); in testFail() 71 verify(mMockDevice, times(1)).pushString("hi", "file"); in testFail() 81 when(mMockDevice.pushString("hi", "file")).thenReturn(true); in testDoesntExist() 87 verify(mMockDevice, times(1)).pushString("hi", "file"); in testDoesntExist() 99 when(mMockDevice.pushString("hi", "file")).thenReturn(true); in testAlreadyExists() 107 verify(mMockDevice, times(1)).pushString("hi", "file"); in testAlreadyExists()
|
D | DefaultTestsZipInstallerTest.java | 127 when(mMockDevice.pushString((String) Mockito.any(), (String) Mockito.any())) in testCantTouchFilesystem() 157 when(mMockDevice.pushString((String) Mockito.any(), (String) Mockito.any())) in testPushTestsZipOntoData() 198 when(mMockDevice.pushString((String) Mockito.any(), (String) Mockito.any())) in testPushTestsZipOntoData_retry()
|
D | DeviceSetupTest.java | 1537 when(mMockDevice.pushString(setPropCapture.capture(), Mockito.contains("local.prop"))) in doSetupExpectations()
|
/tools/tradefederation/core/javatests/com/android/tradefed/util/ |
D | GCSBucketUtilFuncTest.java | 73 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/javatests/com/android/tradefed/device/ |
D | TestDeviceFileFuncTest.java | 120 mTestDevice.pushString(testString, deviceFilePath); in testPushPull_FromString() 144 mTestDevice.pushString(testString, deviceFilePath); in testPushPull_PullContents() 302 mTestDevice.pushString(generateRandomString(10 * 1024), remotePath); in testDoesFileExist_Basic() 322 mTestDevice.pushString(generateRandomString(10 * 1024), remotePath); in testDeleteFile_Basic() 346 mTestDevice.pushString(generateRandomString(10 * 1024), remotePath); in testDeleteFile_ExtStorage() 463 mTestDevice.pushString(generateRandomString(10 * 1024), remotePath); in testGetChildren_NotDirectory()
|
D | TestDeviceShellFuncTest.java | 69 mTestDevice.pushString(contents, devicePath); in testExecuteShellCommand_basic() 110 mTestDevice.pushString(contents, devicePath); in testExecuteShellCommandV2_basic()
|
D | TestDeviceFuncTest.java | 328 assertTrue(mTestDevice.pushString("test data", deviceFilePath)); in testPull_nopermissions() 905 assertTrue(mTestDevice.pushString(content, path)); in testPullFileContents()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | DeviceStringPusher.java | 48 if (!device.pushString(mFileContent, mFileName)) { in setUp()
|
/tools/tradefederation/contrib/src/com/android/tradefed/targetprep/ |
D | SetPackagesRecentlyUsed.java | 70 testInfo.getDevice().pushString(builder.toString(), PACKAGE_USAGE_FILE); in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | DefaultTestsZipInstaller.java | 172 boolean yayTurtle = device.pushString("I like turtles", turtlePath); in doDeleteData()
|
D | DeviceSetup.java | 986 boolean result = device.pushString(sb.toString(), "/data/local.prop"); in changeSystemProps()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | GoogleBenchmarkTest.java | 488 testDevice.pushString(String.format("#!/bin/bash\n%s", cmd), tmpFileDevice); in executeCommandByScript()
|
D | GTest.java | 276 testDevice.pushString(String.format("#!/bin/bash\n%s", cmd), tmpFileDevice); in executeCommandByScript()
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/ |
D | GoogleBenchmarkTestTest.java | 600 when(mMockITestDevice.pushString(Mockito.<String>any(), eq(deviceScriptPath))) in testCommandTooLong() 609 when(mMockITestDevice.pushString(Mockito.<String>any(), eq(deviceScriptPath))) in testCommandTooLong()
|
D | GTestTest.java | 344 when(mMockITestDevice.pushString(Mockito.<String>any(), Mockito.eq(deviceScriptPath))) in testCommandTooLong()
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/ |
D | INativeDevice.java | 811 public boolean pushString(String contents, String deviceFilePath) in pushString() method
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | GCSBucketUtil.java | 551 public CommandResult pushString(String contents, Path bucketPath) throws IOException { in pushString() method in GCSBucketUtil
|
/tools/tradefederation/contrib/src/com/android/monkey/ |
D | MonkeyBase.java | 322 device.pushString(allowlist.toString(), DEVICE_ALLOWLIST_PATH); in runMonkey()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | NativeDevice.java | 1652 public boolean pushString(final String contents, final String remoteFilePath) in pushString() method in NativeDevice
|