Home
last modified time | relevance | path

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

/packages/apps/VideoEditor/src/com/android/videoeditor/util/
DStringUtils.java74 final char[] randBuffer = new char[length]; in randomString() local
75 for (int i = 0; i < randBuffer.length; i++) { in randomString()
76 randBuffer[i] = sNumbersAndLetters[sRandGen.nextInt(sNumbersAndLetters.length - 1)]; in randomString()
79 return new String(randBuffer); in randomString()
97 final char[] randBuffer = new char[length]; in randomStringOfNumbers() local
98 for (int i = 0; i < randBuffer.length; i++) { in randomStringOfNumbers()
99 randBuffer[i] = sNumbers[sRandGen.nextInt(sNumbers.length - 1)]; in randomStringOfNumbers()
101 return new String(randBuffer); in randomStringOfNumbers()