Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/test-apps/rro/OverlayTarget/src/com/android/cts/overlay/target/
DOverlayTargetTest.java161 final int colonIndex = result.indexOf(':', stateIndex); in getStateForOverlay() local
162 assertWithMessage(errorMsg).that(stateIndex).isLessThan(colonIndex); in getStateForOverlay()
163 assertWithMessage(errorMsg).that(colonIndex).isLessThan(endIndex); in getStateForOverlay()
165 final int endLineIndex = result.indexOf('\n', colonIndex); in getStateForOverlay()
166 assertWithMessage(errorMsg).that(colonIndex).isLessThan(endLineIndex); in getStateForOverlay()
169 return result.substring(colonIndex + 2, endLineIndex); in getStateForOverlay()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DOverlayHostTest.java106 int colonIndex = result.indexOf(':', stateIndex); in getStateForOverlay()
107 assertTrue(stateIndex < colonIndex && colonIndex < endIndex); in getStateForOverlay()
109 int endLineIndex = result.indexOf('\n', colonIndex); in getStateForOverlay()
110 assertTrue(colonIndex < endLineIndex && endLineIndex < endIndex); in getStateForOverlay()
111 return result.substring(colonIndex + 2, endLineIndex); in getStateForOverlay()