Searched refs:replaceLine (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/identity/src/android/security/identity/cts/ |
D | UtilUnitTests.java | 355 Util.replaceLine("Hello World", 0, "foo")); in replaceLineTest() 357 Util.replaceLine("Hello World\n", 0, "foo")); in replaceLineTest() 359 Util.replaceLine("Hello World", 1, "foo")); in replaceLineTest() 361 Util.replaceLine("Hello World\n", 1, "foo")); in replaceLineTest() 363 Util.replaceLine("one\ntwo\nthree", 0, "foo")); in replaceLineTest() 365 Util.replaceLine("one\ntwo\nthree", 1, "foo")); in replaceLineTest() 367 Util.replaceLine("one\ntwo\nthree", 2, "foo")); in replaceLineTest() 369 Util.replaceLine("one\ntwo\nthree", -1, "foo")); in replaceLineTest() 371 Util.replaceLine("one\ntwo\nthree\nfour", -1, "foo")); in replaceLineTest() 373 Util.replaceLine("one\ntwo\nthree\nfour", -2, "foo")); in replaceLineTest()
|
D | ReaderAuthTest.java | 217 pretty = Util.replaceLine(pretty, 6, " 'readerCertificate' : [] // Removed"); in readerAuth() 218 pretty = Util.replaceLine(pretty, 10, " 'readerCertificate' : [] // Removed"); in readerAuth() 219 pretty = Util.replaceLine(pretty, 14, " 'readerCertificate' : [] // Removed"); in readerAuth()
|
D | Util.java | 701 public static String replaceLine(String text, int lineNumber, String replacementLine) { in replaceLine() method in Util
|