HomeSort by relevance Sort by last modified time
    Searched defs:in (Results 601 - 625 of 3217) sorted by null

<<21222324252627282930>>

  /libcore/dex/src/main/java/com/android/dex/
EncodedValueReader.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
45 protected final ByteInput in; field in class:EncodedValueReader
50 public EncodedValueReader(ByteInput in) {
51 this.in = in;
54 public EncodedValueReader(EncodedValue in) {
55 this(in.asByteInput());
64 public EncodedValueReader(ByteInput in, int knownType) {
65 this.in = in
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
ProcessBuilderTest.java 5 * (the "License"); you may not use this file except in compliance with
10 * Unless required by applicable law or agreed to in writing, software
152 InputStream in = process.getInputStream(); local
165 if (in.available() > 0) {
166 assertTrue(in.read(buf) > 0);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
JarEntryTest.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
131 try (InputStream in = jarFile.getInputStream(jarEntry1)) {
140 in.read(new byte[64]);
147 Streams.skipByReading(in, Long.MAX_VALUE);
149 assertEquals(-1, in.read());
163 InputStream in = jarFile.getInputStream(jarEntry); local
165 while (in.available() > 0) {
168 in.read(buffer);
170 assertEquals("the file is fully read", -1, in.read())
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
GZIPInputStreamTest.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
37 TestGZIPInputStream(InputStream in) throws IOException {
38 super(in);
41 TestGZIPInputStream(InputStream in, int size) throws IOException {
42 super(in, size);
210 GZIPInputStream in = new GZIPInputStream(new ByteArrayInputStream(baos.toByteArray())); local
212 in.read(outBuf, 530, 1);
217 result = in.read(outBuf, 0, 5);
224 result = in.read(null, 100, 1)
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
InterruptedStreamTest.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
51 // not leave us in a bad state.
67 PipedInputStream in = new PipedInputStream(out); local
68 testInterruptInputStream(in);
120 private void testInterruptInputStream(final InputStream in) throws Exception {
123 in.read();
  /libcore/luni/src/test/java/libcore/java/net/
OldUnixSocketTest.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
48 InputStream in = worker.getInputStream(); local
49 in.read();
100 // Port 0 is not allowed to be used in connect() on some platforms,
  /libcore/luni/src/test/java/libcore/java/util/zip/
GZIPInputStreamTest.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
89 GZIPInputStream in = new GZIPInputStream(new ByteArrayInputStream(gzipped)); local
94 count = in.skip(Long.MAX_VALUE);
99 in.close();
197 InputStream in = new GZIPInputStream(bis); local
201 while ((count = in.read(buffer)) != -1) {
206 in.close();
OldZipFileTest.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
54 InputStream in; local
58 in = zfile.getInputStream(zentry);
64 if (in != null) {
65 data = in.read();
66 in.close();
71 // the file hyts_zipFile.zip in setup must be included as a resource
ZipEntryTest.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
73 ZipInputStream in = new ZipInputStream(new FileInputStream(f)); local
76 while ((entry = in.getNextEntry()) != null) {
81 in.close();
150 // that forces zip64. This also needs followup changes in ZipInputStream et al. to assume zip64
222 // Read it back and make sure comments and extra are in the right order
  /libcore/ojluni/src/main/java/java/io/
BufferedReader.java 10 * by Oracle in the LICENSE file that accompanied this code.
12 * This code is distributed in the hope that it will be useful, but WITHOUT
15 * version 2 for more details (a copy is included in the LICENSE file that
44 * <p> In general, each read request made of a Reader causes a corresponding
51 * BufferedReader in
52 * = new BufferedReader(new FileReader("foo.in"));
73 private Reader in; field in class:BufferedReader
96 * @param in A Reader
101 public BufferedReader(Reader in, int sz) {
102 super(in);
    [all...]
  /libcore/ojluni/src/main/java/java/nio/channels/
Channels.java 10 * by Oracle in the LICENSE file that accompanied this code.
12 * This code is distributed in the hope that it will be useful, but WITHOUT
15 * version 2 for more details (a copy is included in the LICENSE file that
72 * Write all remaining bytes in buffer to the given channel.
86 * Write all remaining bytes in buffer to the given channel.
113 * channel is in non-blocking mode. The stream will not be buffered, and
116 * multiple concurrent threads. Closing the stream will in turn cause the
134 * channel is in non-blocking mode. The stream will not be buffered. The
136 * the stream will in turn cause the channel to be closed. </p>
190 * its I/O operations to the given stream. Closing the channel will in
213 InputStream in; field in class:ReadableByteChannelImpl
    [all...]
  /libcore/ojluni/src/main/java/java/util/
ServiceLoader.java 10 * by Oracle in the LICENSE file that accompanied this code.
12 * This code is distributed in the hope that it will be useful, but WITHOUT
15 * version 2 for more details (a copy is included in the LICENSE file that
46 * of a service. The classes in a provider typically implement the interfaces
47 * and subclass the classes defined in the service itself. Service providers
48 * can be installed in an implementation of the Java platform in the form of
68 * <i>provider-configuration file</i> in the resource directory
76 * The file must be encoded in UTF-8.
78 * <p> If a particular concrete provider class is named in more than on
293 InputStream in = null; local
    [all...]
  /libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
JarURLConnection.java 9 * by Oracle in the LICENSE file that accompanied this code.
11 * This code is distributed in the hope that it will be useful, but WITHOUT
14 * version 2 for more details (a copy is included in the LICENSE file that
141 " not found in " +
159 " not found in " +
209 InputStream in = jarFile.getInputStream(jarEntry); local
211 new BufferedInputStream(in));
212 in.close();
313 * "reload" button in a browser). If the UseCaches flag on a connection
  /libcore/ojluni/src/main/java/sun/nio/cs/
StreamDecoder.java 10 * by Oracle in the LICENSE file that accompanied this code.
12 * This code is distributed in the hope that it will be useful, but WITHOUT
15 * version 2 for more details (a copy is included in the LICENSE file that
50 // In order to handle surrogates properly we must never try to produce
61 public static StreamDecoder forInputStreamReader(InputStream in,
71 return new StreamDecoder(in, lock, Charset.forName(csn));
76 public static StreamDecoder forInputStreamReader(InputStream in,
80 return new StreamDecoder(in, lock, cs);
83 public static StreamDecoder forInputStreamReader(InputStream in,
87 return new StreamDecoder(in, lock, dec)
228 private InputStream in; field in class:StreamDecoder
    [all...]
  /libcore/ojluni/src/main/java/sun/security/provider/certpath/
OCSP.java 9 * by Oracle in the LICENSE file that accompanied this code.
11 * This code is distributed in the hope that it will be useful, but WITHOUT
14 * version 2 for more details (a copy is included in the LICENSE file that
61 * incur the overhead of validating all of the certificates in the
76 * Integer value indicating the timeout length, in seconds, to be
94 // specified in seconds
124 ("No OCSP Responder URI in certificate");
215 InputStream in = null; local
242 in = con.getInputStream();
250 int count = in.read(response, total, response.length - total)
    [all...]
  /libcore/support/src/test/java/tests/support/resource/
Support_Resources.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
38 // If we have the resources packaged up in our jar file, get them that way.
44 // Otherwise, if we're in an Android build tree, get the files directly.
112 InputStream in = Support_Resources.getStream(resourceName); local
114 copyLocalFileto(dest, in);
127 public static void copyLocalFileto(File dest, InputStream in) throws IOException {
130 copy(in, out);
134 in.close();
137 private static int copy(InputStream in, OutputStream out) throws IOException
150 InputStream in = new URL(url).openStream(); local
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppReceiver.java 6 * Redistribution and use in source and binary forms, with or without
12 * - Redistributions in binary form must reproduce the above copyright notice,
13 * this list of conditions and the following disclaimer in the documentation
23 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
53 * Intents from OppService; Intents from modules in Opp application layer.
117 Intent in = new Intent(context, BluetoothOppIncomingFileConfirmActivity.class); local
118 in.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
119 in.setDataAndNormalize(uri)
165 Intent in = new Intent(context, BluetoothOppTransferActivity.class); local
175 Intent in = new Intent(context, BluetoothOppTransferHistory.class); local
182 Intent in = new Intent(context, BluetoothOppTransferHistory.class); local
189 Intent in = new Intent(context, BluetoothOppTransferHistory.class); local
    [all...]
  /packages/apps/Music/tests/src/com/android/music/functional/
TestSongs.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
87 InputStream in = new FileInputStream(src); local
90 // Transfer bytes from in to out
93 while ((len = in.read(buf)) > 0) {
96 in.close();
116 * Verification: The new playlist title should be sorted in alphabetical order
156 //This only check if there only 1 ringtone set in music player
  /packages/apps/Settings/tests/app/src/com/android/settings/vpn2/
CertInstallerHelper.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
78 InputStream in = null; local
83 in = new FileInputStream(new File(
85 raw = Streams.readFully(in);
94 Assert.fail("key store failed to put in keychain");
98 // be only one alias in the keystore
119 if (in != null) {
121 in.close();
  /packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
MimeUtility.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
119 * character following the sequence resulting in a line longer than 76
176 * parameter is returned, or if there are no additional parameters in the
178 * searched for in a case insensitive fashion and returned. If the parameter
185 * TODO: Need to decode %-escaped strings, as in: filename="ab%22d".
222 * @return a String containing the converted text in the body, or null if there was no text
228 InputStream in = part.getBody().getInputStream(); local
236 IOUtils.copy(in, out);
237 in.close()
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/
NotificationActionIntentService.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
95 * Grab the alarm from the intent. Since the remote AlarmManagerService fills in the Intent
103 final Parcel in = Parcel.obtain(); local
104 in.unmarshall(data, 0, data.length);
105 in.setDataPosition(0);
106 notificationAction = NotificationAction.CREATOR.createFromParcel(in,
123 // logic after the Undo notification expires in a regular flow.
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
ThumbnailLoadTask.java 6 * you may not use this file except in compliance with the License.
11 * Unless required by applicable law or agreed to in writing, software
40 * Performs the load of a thumbnail bitmap in a background
137 LogUtils.d(LOG_TAG, "in background, src w/h=%d/%d dst w/h=%d/%d, divider=%d",
170 InputStream in = null; local
173 in = resolver.openInputStream(thumbnailUri);
174 return Exif.getOrientation(in, -1);
179 if (in != null) {
181 in.close();
194 LogUtils.d(LOG_TAG, "back in UI thread, decode failed or file does not exist")
    [all...]
  /packages/services/Telephony/src/com/android/phone/common/mail/internet/
MimeUtility.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
118 * character following the sequence resulting in a line longer than 76
175 * parameter is returned, or if there are no additional parameters in the
177 * searched for in a case insensitive fashion and returned. If the parameter
184 * TODO: Need to decode %-escaped strings, as in: filename="ab%22d".
221 * @return a String containing the converted text in the body, or null if there was no text
227 InputStream in = part.getBody().getInputStream(); local
235 IOUtils.copy(in, out);
236 in.close()
    [all...]
  /sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/
CaptureLoader.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
43 DataInputStream in = null; local
53 in = new DataInputStream(new BufferedInputStream(socket.getInputStream()));
59 int width = in.readInt();
60 int height = in.readInt();
64 while (readLayer(in, psd)) {
77 if (in != null) {
78 in.close();
91 private static boolean readLayer(DataInputStream in, PsdFile psd)
131 BufferedInputStream in = null; local
    [all...]
ViewHierarchyLoader.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
43 BufferedReader in = null; local
56 in = new BufferedReader(new InputStreamReader(socket.getInputStream(), "utf-8"));
70 while ((line = in.readLine()) != null) {
122 if (in != null) {
123 in.close();

Completed in 644 milliseconds

<<21222324252627282930>>