Home
last modified time | relevance | path

Searched refs:generateRandomString (Results 1 – 2 of 2) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/device/
DTestDeviceShellFuncTest.java68 String contents = generateRandomString(64); in testExecuteShellCommand_basic()
109 String contents = generateRandomString(64); in testExecuteShellCommandV2_basic()
146 final String contents = generateRandomString(64); in testExecuteShellCommand_pipeStdin()
160 private static String generateRandomString(int length) { in generateRandomString() method in TestDeviceShellFuncTest
DTestDeviceFileFuncTest.java117 String testString = generateRandomString(128 * 1024); // 128 kilobyte-ish string; in testPushPull_FromString()
141 String testString = generateRandomString(128 * 1024); // 128 kilobyte-ish string; in testPushPull_PullContents()
223 FileUtil.writeToFile(generateRandomString(FILE_SIZE), tmp); in testPushPullDir_Basic()
269 FileUtil.writeToFile(generateRandomString(FILE_SIZE), tmp); in testPushPullDir_ExtStorage()
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()
380 FileUtil.writeToFile(generateRandomString(FILE_SIZE), tmp); in testIsDirectory()
420 FileUtil.writeToFile(generateRandomString(FILE_SIZE), tmp); in testGetChildren_Basic()
463 mTestDevice.pushString(generateRandomString(10 * 1024), remotePath); in testGetChildren_NotDirectory()
[all …]