HomeSort by relevance Sort by last modified time
    Searched defs:in (Results 776 - 800 of 3057) sorted by null

<<31323334353637383940>>

  /art/test/577-profile-foreign-dex/src/
Main.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
143 FileInputStream in = new FileInputStream(fromFile); local
148 while ((bytesRead = in.read(buffer)) >= 0) {
158 in.close();
  /cts/hostsidetests/sustainedperf/src/android/SustainedPerformance/cts/
SustainedPerformanceHostTest.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
115 Scanner in = new Scanner(logs); local
116 while (in.hasNextLine()) {
117 String line = in.nextLine();
143 in.close();
177 Scanner in = new Scanner(logs); local
178 while (in.hasNextLine()) {
179 String line = in.nextLine();
184 in.close()
    [all...]
  /cts/tests/tests/mediastress/preconditions/src/android/mediastress/cts/preconditions/
MediaPreparer.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
75 * The message printed when the maximum video playback resolution cannot be found in the
101 * These depend on the device's mount point, which is retrieved in the MediaPreparer's run
120 * provided in the arguments
133 * Returns the maximum video playback resolution of the device, in the form of a Dimension
136 * maximum video playback resolution, and is rounded down to the nearest dimension in the
148 // could not find resolution in dumpsysOutput, return largest max playback resolution
163 // dimensions in dumpsys output seem consistently reversed
197 * directory containing 'bbb_short' and 'bbb_full' directories, as it is defined in it
239 InputStream in = conn.getInputStream(); local
    [all...]
  /developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageFetcher.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
182 * The main process method, which will be called by the ImageWorker in the AsyncTask background
185 * @param data The data to load the bitmap, in this case, a regular http URL
210 Log.d(TAG, "processBitmap, not found in http cache, downloading...");
270 BufferedInputStream in = null; local
275 in = new BufferedInputStream(urlConnection.getInputStream(), IO_BUFFER_SIZE);
279 while ((b = in.read()) != -1) {
284 Log.e(TAG, "Error in downloadBitmap - " + e);
293 if (in != null)
    [all...]
  /developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageFetcher.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
182 * The main process method, which will be called by the ImageWorker in the AsyncTask background
185 * @param data The data to load the bitmap, in this case, a regular http URL
210 Log.d(TAG, "processBitmap, not found in http cache, downloading...");
270 BufferedInputStream in = null; local
275 in = new BufferedInputStream(urlConnection.getInputStream(), IO_BUFFER_SIZE);
279 while ((b = in.read()) != -1) {
284 Log.e(TAG, "Error in downloadBitmap - " + e);
293 if (in != null)
    [all...]
  /development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
ImageFetcher.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
182 * The main process method, which will be called by the ImageWorker in the AsyncTask background
185 * @param data The data to load the bitmap, in this case, a regular http URL
210 Log.d(TAG, "processBitmap, not found in http cache, downloading...");
270 BufferedInputStream in = null; local
275 in = new BufferedInputStream(urlConnection.getInputStream(), IO_BUFFER_SIZE);
279 while ((b = in.read()) != -1) {
284 Log.e(TAG, "Error in downloadBitmap - " + e);
293 if (in != null)
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/random/
EmpiricalDistributionImpl.java 6 * (the "License"); you may not use this file except in compliance with
11 * Unless required by applicable law or agreed to in writing, software
49 * <li>Generate a uniformly distributed value in (0,1) </li>
89 /** upper bounds of subintervals in (0,1) "belonging" to the bins */
92 /** RandomData instance to use in repeated calls to getNext() */
117 * @param in the input data array
119 public void load(double[] in) {
120 DataAdapter da = new ArrayDataAdapter(in);
123 fillBinStats(in);
138 BufferedReader in local
166 BufferedReader in = new BufferedReader(new FileReader(file)); local
    [all...]
  /external/apache-http/src/org/apache/commons/logging/impl/
SimpleLog.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
49 * included in output messages. Defaults to <code>false</code>.</li>
52 * included in output messages. Defaults to <code>true</code>.</li>
55 * to be included in output messages. Default is <code>false</code>.</li>
57 * The date and time format to be used in the output messages.
59 * used in <code>java.text.SimpleDateFormat</code>. If the format is not
64 * <p>In addition to looking for system properties with the names specified
96 /** Include the instance name in the log message? */
98 /** Include the short name ( last component ) of the logger in the lo
159 InputStream in = getResourceAsStream("simplelog.properties"); typedefs
162 simpleLogProps.load(in); typedefs
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
CompatibilityTest.java 103 ObjectInputStream in = new ObjectInputStream(inputStream); local
104 Object inputObjects[] = (Object[]) in.readObject();
107 in.close();
153 // GeneralMeasureFormat was in technical preview, but is going away after ICU 52.1.
214 private static InputStream copyInputStream(InputStream in) throws IOException {
219 int r = in.read(buf);
227 in.close();
310 * The path to an actual data resource file in the JAR. This is needed because when the
320 // Get the URL to an actual resource and then compute the URL to the directory just in
321 // case the resources are in a JAR file that doesn't have entries for directories
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
CompatibilityTest.java 99 ObjectInputStream in = new ObjectInputStream(inputStream); local
100 Object inputObjects[] = (Object[]) in.readObject();
103 in.close();
149 // GeneralMeasureFormat was in technical preview, but is going away after ICU 52.1.
210 private static InputStream copyInputStream(InputStream in) throws IOException {
215 int r = in.read(buf);
223 in.close();
306 * The path to an actual data resource file in the JAR. This is needed because when the
316 // Get the URL to an actual resource and then compute the URL to the directory just in
317 // case the resources are in a JAR file that doesn't have entries for directories
    [all...]
  /external/jetty/src/java/org/eclipse/jetty/util/resource/
Resource.java 413 * Returns a list of resource names contained in the given resource
549 * Encode any characters that could break the URI string in an HREF.
619 InputStream in = getInputStream(); local
622 in.skip(start);
624 IO.copy(in,out);
626 IO.copy(in,out,count);
630 in.close();
  /external/lzma/Java/Tukaani/src/org/tukaani/xz/
SeekableXZInputStream.java 24 * Decompresses a .xz file in random access mode.
29 * The Indexes from all Streams are loaded in RAM by a constructor of this
33 * To make random access possible, the data in a .xz file must be splitted
43 * Stream from the data structures in RAM. It was the simplest to implement
64 * liblzma in XZ Utils supports starting a new Block with
80 private SeekableInputStream in; field in class:SeekableXZInputStream
96 * List of IndexDecoders, one for each Stream in the file.
97 * The list is in reverse order: The first element is
98 * the last Stream in the file.
113 * Uncompressed size of the largest XZ Block in the file
    [all...]
  /external/okhttp/okcurl/src/main/java/com/squareup/okhttp/curl/
Main.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
74 InputStream in = Main.class.getResourceAsStream("/okcurl-version.properties"); local
75 prop.load(in);
76 in.close();
112 @Option(name = { "-i", "--include" }, description = "Include protocol headers in the output")
  /external/slf4j/jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl/
SimpleLog.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
49 * <code>true</code> if you want the Log instance name to be included in output
53 * included in output messages. Defaults to <code>true</code>.</li>
55 * <code>true</code> if you want the current date and time to be included in
58 * date and time format to be used in the output messages. The pattern
59 * describing the date and time format is the same that is used in
66 * In addition to looking for system properties with the names specified above,
93 /** Include the instance name in the log message? */
96 * Include the short name ( last component ) of the logger in the log message
156 InputStream in = getResourceAsStream("simplelog.properties"); typedefs
159 simpleLogProps.load(in); typedefs
    [all...]
  /external/slf4j/slf4j-simple/src/main/java/org/slf4j/impl/
SimpleLogger.java 7 * "Software"), to deal in the Software without restriction, including
14 * included in all copies or substantial portions of the Software.
19 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
64 * time to be included in output messages. Default is <code>false</code></li>
66 * <li><code>org.slf4j.simpleLogger.dateTimeFormat</code> - The date and time format to be used in the output messages.
75 * to be included in output messages. Defaults to <code>true</code>.</li>
78 * of the name to be included in output messages. Defaults to <code>false</code>.</li
231 InputStream in = AccessController.doPrivileged(new PrivilegedAction<InputStream>() { local
    [all...]
  /frameworks/base/core/java/android/app/backup/
BlobBackupHelper.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
68 * to apply that described state in the live system. This method is called once
70 * for restore in lexical order by key, <i>not</i> in the order in which the keys
71 * were supplied in the constructor.
84 * [Int=N] : number of keys represented in the state blob
94 DataInputStream in = new DataInputStream(fis); local
97 int version = in.readInt()
197 InflaterInputStream in = new InflaterInputStream(source); local
    [all...]
  /frameworks/base/core/tests/SvcMonitor/src/com/android/google/experimental/svcmoniter/
SvcMonitor.java 165 BufferedReader in = new BufferedReader( local
167 String temp = in.readLine();
171 in.close();
  /frameworks/base/sax/tests/saxtests/src/android/sax/
SafeSaxTest.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
147 InputStream in = mContext.getResources().openRawResource(R.raw.youtube); local
153 while ((length = in.read(buffer)) != -1) {
158 in.close();
  /frameworks/base/services/core/java/com/android/server/net/
IpConfigStore.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
155 loge("Failure in writing " + config + e);
177 DataInputStream in = null; local
179 in = new DataInputStream(new BufferedInputStream(new FileInputStream(filePath)));
181 int version = in.readInt();
200 key = in.readUTF();
203 id = in.readInt();
205 ipAssignment = IpAssignment.valueOf(in.readUTF());
208 NetworkUtils.numericToInetAddress(in.readUTF()), in.readInt())
    [all...]
  /frameworks/base/services/core/java/com/android/server/wm/
ViewServer.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
63 // Lists all of the available windows in the system
222 BufferedReader in = null; local
224 in = new BufferedReader(new InputStreamReader(mClient.getInputStream()), 1024);
226 final String request = in.readLine();
262 if (in != null) {
264 in.close();
  /frameworks/multidex/library/test/src/android/support/multidex/
ZipUtilTest.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
120 InputStream in = zip.getInputStream(refEntry); local
122 int read = in.read(buffer);
125 read = in.read(buffer);
127 in.close();
150 InputStream in = zip.getInputStream(refEntry); local
152 int read = in.read(buffer);
155 read = in.read(buffer);
157 in.close()
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/
ConfigBuilder.java 135 ByteArrayInputStream in = new ByteArrayInputStream(octets); local
136 ks.load(in, new char[0]);
137 in.close();
149 Log.w(TAG, "Element in cert chain is not an X509Certificate: " +
290 throw new IOException("No certificate in chain matches supplied fingerprint");
  /frameworks/support/tests/java/android/support/v4/content/
FileProviderTest.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
319 final InputStream in = mResolver.openInputStream(actual); local
321 MoreAsserts.assertEquals(expected, readFully(in));
323 closeQuietly(in);
368 * Returns a byte[] containing the remainder of 'in', closing it when done.
370 private static byte[] readFully(InputStream in) throws IOException {
372 return readFullyNoClose(in);
374 in.close();
379 * Returns a byte[] containing the remainder of 'in'
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
JarURLConnectionTest.java 6 * (the "License"); you may not use this file except in compliance with
11 * Unless required by applicable law or agreed to in writing, software
165 InputStream in = connection.getInputStream(); local
169 while (in.read(data) >= 0)
171 in.close();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
SAXParserTest.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
430 InputStream in = null; local
432 in = new BrokenInputStream(new FileInputStream(list_wf[0]), 10);
433 is = new InputSource(in);
438 in.close();
480 InputStream in = null; local
482 in = new BrokenInputStream(new FileInputStream(list_wf[0]), 10);
483 parser.parse(in, (HandlerBase) null, SAXParserTestSupport.XML_SYSTEM_ID);
487 in.close()
    [all...]

Completed in 1684 milliseconds

<<31323334353637383940>>