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

<<21222324252627282930>>

  /frameworks/base/core/java/android/os/
ServiceManagerNative.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
38 IServiceManager in = local
40 if (in != null) {
41 return in;
  /frameworks/base/core/java/android/print/
PrintFileDocumentAdapter.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
117 InputStream in = null; local
121 in = new FileInputStream(mFile);
126 final int readByteCount = in.read(buffer);
137 IoUtils.closeQuietly(in);
  /frameworks/base/core/java/com/android/internal/app/
ChooserActivity.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
66 final Intent in = (Intent) pa[i]; local
67 modifyTargetIntent(in);
68 initialIntents[i] = in;
112 private void modifyTargetIntent(Intent in) {
113 final String action = in.getAction();
116 in.addFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT |
  /frameworks/base/core/tests/coretests/src/com/android/internal/net/
NetworkStatsFactoryTest.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
134 InputStream in = null; local
137 in = getContext().getResources().openRawResource(rawId);
139 Streams.copy(in, out);
141 IoUtils.closeQuietly(in);
  /frameworks/base/graphics/java/android/graphics/
FontListParser.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
77 public static Config parse(InputStream in) throws XmlPullParserException, IOException {
80 parser.setInput(in, null);
84 in.close();
  /frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
StackOverflowXmlParser.java 5 * in compliance with the License. You may obtain a copy of the License at
9 * Unless required by applicable law or agreed to in writing, software distributed under the License
30 * where each list element represents a single entry (post) in the XML feed.
37 public List<Entry> parse(InputStream in) throws XmlPullParserException, IOException {
41 parser.setInput(in, null);
45 in.close();
68 // This class represents a single entry (post) in the XML feed.
108 // Processes title tags in the feed.
116 // Processes link tags in the feed.
132 // Processes summary tags in the feed
    [all...]
  /frameworks/base/sax/tests/saxtests/src/android/sax/
ExpatPerformanceTest.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 InputStream in = mContext.getResources().openRawResource(R.raw.youtube); local
49 while ((length = in.read(buffer)) != -1) {
  /frameworks/base/services/tests/servicestests/src/com/android/server/net/
NetworkStatsCollectionTest.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
149 // assert that we report boundary in atomic buckets
160 InputStream in = null; local
163 in = getContext().getResources().openRawResource(rawId);
165 Streams.copy(in, out);
167 IoUtils.closeQuietly(in);
  /frameworks/base/tests/HugeBackup/src/com/android/hugebackup/
HugeAgent.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
90 // may throw an IOException, but in that case something has gone
113 // If we decided that we do in fact need to write our dataset, go
135 // Now, in order to incur deliberate too-much-data failures,
146 // Finally, in all cases, we need to write the new state blob
159 DataInputStream in = new DataInputStream(instream); local
162 int stateVersion = in.readInt();
167 // In this implementation, we recover by simply rewriting
175 int lastFilling = in.readInt()
235 DataInputStream in = new DataInputStream(baStream); local
    [all...]
  /frameworks/compile/mclinker/lib/Object/
SectionMap.cpp 167 Output::iterator in, inBegin = (*out)->begin(), inEnd = (*out)->end(); local
168 for (in = inBegin; in != inEnd; ++in) {
169 if (*in != NULL)
170 delete *in;
183 Output::const_iterator in, inBegin = (*out)->begin(), inEnd = (*out)->end(); local
184 for (in = inBegin; in != inEnd; ++in) {
197 Output::iterator in, inBegin = (*out)->begin(), inEnd = (*out)->end(); local
239 Output::iterator in, inBegin = (*out)->begin(), inEnd = (*out)->end(); local
275 Output::iterator in, inBegin = (*out)->begin(), inEnd = (*out)->end(); local
    [all...]
  /frameworks/multidex/library/test/src/android/support/multidex/
ZipEntryReader.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
17 /* Apache Harmony HEADER because the code in this class comes mostly from ZipFile, ZipEntry and
50 static ZipEntry readEntry(ByteBuffer in) throws IOException {
52 int sig = in.getInt();
57 in.position(8);
58 int gpbf = in.getShort() & 0xffff;
64 int compressionMethod = in.getShort() & 0xffff;
65 int time = in.getShort() & 0xffff;
66 int modDate = in.getShort() & 0xffff
    [all...]
  /frameworks/rs/cpu_ref/
rsCpuIntrinsicHistogram.cpp 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
168 uchar *in = (uchar *)p->in; local
172 sums[(in[0] << 2) ] ++;
173 sums[(in[1] << 2) + 1] ++;
174 sums[(in[2] << 2) + 2] ++;
175 sums[(in[3] << 2) + 3] ++;
176 in += instep;
185 uchar *in = (uchar *)p->in local
201 uchar *in = (uchar *)p->in; local
216 uchar *in = (uchar *)p->in; local
234 uchar *in = (uchar *)p->in; local
251 uchar *in = (uchar *)p->in; local
267 uchar *in = (uchar *)p->in; local
282 uchar *in = (uchar *)p->in; local
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
ConsoleTest.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
42 private InputStream in = new ByteArrayInputStream(bytes); field in class:ConsoleTest
52 console = constructor.newInstance(in, out);
OutputStreamTesterTest.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
120 final PipedInputStream in = new PipedInputStream(); local
121 PipedOutputStream out = new PipedOutputStream(in);
130 while ((count = in.read(buffer)) != -1) {
WriterTesterTest.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
113 final PipedReader in = new PipedReader(); local
114 PipedWriter out = new PipedWriter(in);
123 while ((count = in.read(buffer)) != -1) {
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
GZIPOutputStreamTest.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
173 GZIPInputStream in = new GZIPInputStream(pin); local
183 assertEquals(1, in.read());
184 assertEquals(2, in.read());
185 assertEquals(3, in.read());
  /libcore/luni/src/main/java/java/io/
DataInputStream.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
30 * 64-bit double, byte strings, and strings encoded in
40 * Constructs a new DataInputStream on the InputStream {@code in}. All
42 * stream is not in a human readable format and was most likely created by a
48 * @param in
53 public DataInputStream(InputStream in) {
54 super(in);
63 return in.read(buffer, byteOffset, byteCount);
67 int temp = in.read()
    [all...]
PipedReader.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
40 * range {@code [out, in)} and written to the range {@code [in, out)}.
41 * Data in the buffer is either sequential: <pre>
45 * out in</pre>
50 * in out</pre>
51 * When the buffer is empty, {@code in == -1}. Reading when the buffer is
53 * {@code in == out}. Writing when the buffer is full will block until free
59 * The index in {@code buffer} where the next character will be written
61 private int in = -1; field in class:PipedReader
    [all...]
  /libcore/luni/src/main/java/java/util/logging/
Level.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 * The predefined levels in ascending order are FINEST, FINER, FINE, CONFIG,
277 * @param in
284 private void readObject(ObjectInputStream in) throws IOException,
286 in.defaultReadObject();
348 * Returns the string representation of this {@code Level} object. In
  /libcore/luni/src/main/java/java/util/zip/
DeflaterInputStream.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
28 * compressed data in the "deflate" format from the uncompressed
43 * implementation-defined default internal buffer size. {@code in} is a source of
46 * @param in the source {@code InputStream}
48 public DeflaterInputStream(InputStream in) {
49 this(in, new Deflater(), DEFAULT_BUFFER_SIZE);
54 * implementation-defined default internal buffer size. {@code in} is a source of
57 * @param in the source {@code InputStream}
60 public DeflaterInputStream(InputStream in, Deflater deflater)
    [all...]
  /libcore/luni/src/main/java/libcore/io/
Streams.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
35 * Implements InputStream.read(int) in terms of InputStream.read(byte[], int, int).
39 public static int readSingleByte(InputStream in) throws IOException {
41 int result = in.read(buffer, 0, 1);
46 * Implements OutputStream.write(int) in terms of OutputStream.write(byte[], int, int).
57 * Fills 'dst' with bytes from 'in', throwing EOFException if insufficient bytes are available.
59 public static void readFully(InputStream in, byte[] dst) throws IOException {
60 readFully(in, dst, 0, dst.length);
64 * Reads exactly 'byteCount' bytes from 'in' (into 'dst' at offset 'offset'), and throw
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/security/asn1/
ASN1BitString.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
63 @Override public Object decode(BerInputStream in) throws IOException {
64 in.readBitString();
66 if (in.isVerify) {
69 return getDecodedObject(in);
75 * @param in - BER input stream
78 @Override public Object getDecodedObject(BerInputStream in) throws IOException {
79 byte[] bytes = new byte[in.length - 1];
80 System.arraycopy(in.buffer, in.contentOffset + 1, bytes, 0
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/security/x501/
AttributeValue.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
85 DerInputStream in = new DerInputStream(encoded); local
87 tag = in.tag;
91 this.rawString = (String) DirectoryString.ASN1.decode(in);
207 * '#' char is escaped in any position
224 * We should escape spaces in the following cases:
230 * doesn't escape consecutive spaces, so they are removed in
330 * Removes escape sequences used in RFC1779 escaping but not in RFC2253 an
    [all...]
  /libcore/luni/src/test/java/libcore/java/nio/charset/
CharsetDecoderTest.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
35 ByteBuffer in = ByteBuffer.wrap(new byte[] { 109, 97, 109 }); local
36 assertEquals("\u6d61x", d.decode(in).toString());
  /libcore/luni/src/test/java/libcore/java/text/
DateFormatSymbolsTest.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 ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes)); local
64 DateFormatSymbols deserializedDfs = (DateFormatSymbols) in.readObject();
65 assertEquals(-1, in.read());

Completed in 52 milliseconds

<<21222324252627282930>>