Searched defs:to (Results 1 - 6 of 6) sorted by relevance

/cts/tools/dasm/src/dasm/
H A DDasmCatchBuilder.java10 * Unless required by applicable law or agreed to in writing, software
40 * Represents catch block that was not processed yet. Holds "from" and "to"
41 * labels as well as list of exceptions to catch.
46 String to; field in class:DasmCatchBuilder.UnprocessedCatch
57 * @param to
58 * "to" label
62 UnprocessedCatch(String exception, String from, String to, argument
65 this.to = to;
70 * Adds new exception type and branch label to curren
[all...]
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
H A DVpnTest.java10 * Unless required by applicable law or agreed to in writing, software
72 * to the device without causing any network traffic. This allows testing the local VPN data path
76 * tests fail, it may be due to the lack of kernel support. The necessary patches can be
144 // Attempt to prepare.
162 "to display the VPN confirmation dialog, but this test could not find the " +
163 "button to allow the VPN application to connect. Please ensure that the " +
176 "that button allows the VPN application to connect. " +
215 // Start the service and wait up for TIMEOUT_MS ms for the VPN to come up.
236 // configured. Give the system some time to d
283 checkPing(String to) argument
352 checkTcpReflection(String to, String expectedFrom) argument
423 checkUdpEcho(String to, String expectedFrom) argument
[all...]
/cts/tests/tests/widget/src/android/widget/cts/
H A DHorizontalScrollViewTest.java10 * Unless required by applicable law or agreed to in writing, software
657 // check scrolling to the child which wants focus
662 // check scrolling to the child which wants focus
788 private boolean isInRange(int current, int from, int to) { argument
789 if (from < to) {
790 return current >= from && current <= to;
792 return current <= from && current >= to;
H A DScrollViewTest.java10 * Unless required by applicable law or agreed to in writing, software
685 // check scrolling to the child which wants focus
690 // check scrolling to the child which wants focus
817 private boolean isInRange(int current, int from, int to) { argument
818 if (from < to) {
819 return current >= from && current <= to;
821 return current <= from && current >= to;
/cts/hostsidetests/services/windowmanager/src/android/wm/cts/
H A DCrossAppDragAndDropTests.java10 * Unless required by applicable law or agreed to in writing, software
138 // Reinitialize the docked stack to force the window manager to reset its default bounds.
145 // Moving a task from the full screen stack to the docked stack resets
187 throw new Exception(fullActivityName + " has failed to start");
190 private void injectInput(Point from, Point to, int durationMs) throws Exception { argument
192 INPUT_MOUSE_SWIPE + from.x + " " + from.y + " " + to.x + " " + to.y + " " +
219 private boolean getWindowBounds(String name, Point from, Point to) throws Exception { argument
225 parsePoint(sections[2], to);
[all...]
/cts/tests/camera/src/android/hardware/cts/
H A DCameraTest.java10 * Unless required by applicable law or agreed to in writing, software
127 // to starCtsActivity.
150 // Set up a looper to be used by camera.
159 Log.e(TAG, "Fail to open camera." + e);
173 assertNotNull("Fail to open camera.", mCamera);
186 // the method. So we need to join the looper thread here.
193 // Align 'x' to 'to', which should be a power of 2
194 private static int align(int x, int to) { argument
195 return (x + (to
[all...]

Completed in 361 milliseconds