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

/cts/tests/tests/graphics/src/android/graphics/cts/
H A DMovieTest.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
121 private byte[] inputStreamToBytes(InputStream in) throws IOException { argument
125 while ((len = in.read(buffer)) >= 0) {
128 in.close();
/cts/tools/vm-tests/src/util/build/
H A DBuildStep.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
106 public static void copyFile(File in, File out) throws IOException { argument
107 FileChannel inChannel = new FileInputStream(in).getChannel();
/cts/tools/host/src/com/android/cts/
H A DSelector.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
38 ": select[Y], reject[n], or choose suite in it[m]? [Y/n/m] ";
42 ": select[Y], reject[n], or choose case in it[m]? [Y/n/m] ";
46 ": select[Y], reject[n], or choose method in it[m]? [Y/n/m] ";
91 * @param in The input stream.
93 public void setInputStream(BufferedReader in) { argument
94 mBufferedReader = in;
101 * @return The string the user typed in over the console.
H A DHostConfig.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
78 // Max size [tests] for a package to be run in batch mode
82 // Max time [ms] from start of package in batch mode and the first test status update.
84 // Max time [ms] from start of test in individual mode to the first test status update.
130 * @return If succeed in loading, return true; else, return false.
325 Log.e("Configure error (in " + fileName
331 Log.e("Configure error (in " + fileName
414 InputStream in = getClass().getResourceAsStream(File.separator + name);
415 if (in !
860 writeToFile(InputStream in, String path) argument
[all...]
/cts/libs/json/src/com/android/json/stream/
H A DJsonReader.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
29 * end delimiters of objects and arrays. The tokens are traversed in
30 * depth-first order, the same order that they appear in the JSON document.
37 * <p>Next, create handler methods for each structure in your JSON text. You'll
86 * public List<Message> readJsonStream(InputStream in) throws IOException {
87 * JsonReader reader = new JsonReader(new InputStreamReader(in, "UTF-8"));
165 * in JSON.
176 private final Reader in; field in class:JsonReader
207 * and length in th
219 JsonReader(Reader in) argument
[all...]
/cts/tests/src/android/app/cts/
H A DLaunchpadActivity.java5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
54 public MyBadParcelable createFromParcel(Parcel in) {
55 return new MyBadParcelable(in);
63 public MyBadParcelable(Parcel in) { argument
64 in.readString();
81 // Also used as the Binder interface descriptor string in these tests
219 * @param debugName for the lifecycle shown in the logs

Completed in 253 milliseconds