Home
last modified time | relevance | path

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

/external/smali/util/src/test/java/org/jf/util/
DClassFileNameHandlerTest.java52 String result = ClassFileNameHandler.shortenPathComponent(sb.toString(), 5); in test1ByteEncodings()
65 String result = ClassFileNameHandler.shortenPathComponent(sb.toString(), 4); in test2ByteEncodings()
71 result = ClassFileNameHandler.shortenPathComponent(sb.toString(), 5); in test2ByteEncodings()
85 String result = ClassFileNameHandler.shortenPathComponent(sb.toString(), 6); in test3ByteEncodings()
91 result = ClassFileNameHandler.shortenPathComponent(sb.toString(), 7); in test3ByteEncodings()
105 String result = ClassFileNameHandler.shortenPathComponent(sb.toString(), 8); in test4ByteEncodings()
111 result = ClassFileNameHandler.shortenPathComponent(sb.toString(), 7); in test4ByteEncodings()
/external/smali/util/src/main/java/org/jf/util/
DClassFileNameHandler.java181 static String shortenPathComponent(@Nonnull String pathComponent, int bytesToRemove) { in shortenPathComponent() method in ClassFileNameHandler
264 … elementName = shortenPathComponent(elementName, utf8Length - getMaxFilenameLength()); in getNormalizedName()