HomeSort by relevance Sort by last modified time
    Searched defs:in (Results 426 - 450 of 2162) sorted by null

<<11121314151617181920>>

  /frameworks/base/core/java/android/ddm/
DdmHandleThread.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
44 * Register for the messages we're interested in.
88 ByteBuffer in = wrapChunk(request); local
90 boolean enable = (in.get() != 0);
101 ByteBuffer in = wrapChunk(request); local
102 // currently nothing to read from "in"
119 * However, we're using the short threadId in THST messages, so we
121 * thread ID in the low 16 bits and somehow serialize the top 16 bits.)
124 ByteBuffer in = wrapChunk(request) local
    [all...]
  /frameworks/base/core/java/android/gesture/
GestureLibraries.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
82 Log.d(LOG_TAG, "Could not save the gesture library in " + mPath, e);
84 Log.d(LOG_TAG, "Could not save the gesture library in " + mPath, e);
130 final InputStream in = context.getResources().openRawResource(mResourceId); local
132 mStore.load(in, true);
  /frameworks/base/core/java/android/util/
Base64InputStream.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
42 * @param in the InputStream to read the source data from
44 * constants in {@link Base64}
46 public Base64InputStream(InputStream in, int flags) {
47 this(in, flags, false);
54 * @param in the InputStream to read the source data from
56 * constants in {@link Base64}
61 public Base64InputStream(InputStream in, int flags, boolean encode) {
62 super(in);
    [all...]
  /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
58 final Intent in = (Intent) pa[i]; local
59 modifyTargetIntent(in);
60 initialIntents[i] = in;
80 private void modifyTargetIntent(Intent in) {
81 final String action = in.getAction();
84 in.addFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT |
  /frameworks/base/core/tests/coretests/src/android/net/
SSLTest.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
37 InputStream in = ssl.getInputStream(); local
38 assertNotNull(in);
47 int ret = in.read(b);
  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
DurableUtils.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
40 final ByteArrayInputStream in = new ByteArrayInputStream(data); local
43 d.read(new DataInputStream(in));
94 public static String readNullableString(DataInputStream in) throws IOException {
95 if (in.read() != 0) {
96 return in.readUTF();
  /hardware/libhardware_legacy/audio/
AudioHardwareStub.cpp 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
73 AudioStreamInStub* in = new AudioStreamInStub(); local
74 status_t lStatus = in->set(format, channels, sampleRate, acoustics);
79 return in;
80 delete in;
84 void AudioHardwareStub::closeInputStream(AudioStreamIn* in)
86 delete in;
  /libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
ChunkHandler.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
53 * Returns a response in a Chunk.
78 ByteBuffer in; local
80 in = ByteBuffer.wrap(request.data, request.offset, request.length);
81 in.order(CHUNK_ORDER);
82 return in;
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
HostnameVerifierTest.java 6 * "License"); you may not use this file except in compliance with the License.
11 * Unless required by applicable law or agreed to in writing, software
46 InputStream in; local
48 in = new ByteArrayInputStream(X509_FOO);
49 x509 = (X509Certificate) cf.generateCertificate(in);
57 in = new ByteArrayInputStream(X509_HANAKO);
58 x509 = (X509Certificate) cf.generateCertificate(in);
63 in = new ByteArrayInputStream(X509_FOO_BAR);
64 x509 = (X509Certificate) cf.generateCertificate(in);
71 in = new ByteArrayInputStream(X509_FOO_BAR_HANAKO)
142 InputStream in = new ByteArrayInputStream(X509_MULTIPLE_SUBJECT_ALT); local
156 InputStream in = new ByteArrayInputStream(X509_MULTIPLE_SUBJECT_ALT); local
179 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8")); local
207 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8")); local
240 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8")); local
277 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8")); local
    [all...]
  /libcore/luni/src/main/java/java/io/
FileDescriptor.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
35 public static final FileDescriptor in = new FileDescriptor(); field in class:FileDescriptor
54 in.descriptor = STDIN_FILENO;
PipedInputStream.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 byte will be written
61 protected int in = -1; field in class:PipedInputStream
    [all...]
PushbackInputStream.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
51 * @param in
54 public PushbackInputStream(InputStream in) {
55 super(in);
56 buf = (in == null) ? null : new byte[1];
61 * Constructs a new {@code PushbackInputStream} with {@code in} as source
68 * @param in
75 public PushbackInputStream(InputStream in, int size) {
76 super(in);
    [all...]
PushbackReader.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
47 * @param in
50 public PushbackReader(Reader in) {
51 super(in);
57 * Constructs a new {@code PushbackReader} with {@code in} as source reader.
60 * @param in
67 public PushbackReader(Reader in, int size) {
68 super(in);
87 in.close()
    [all...]
  /libcore/luni/src/main/java/javax/crypto/
CipherInputStream.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
94 // in the cipher can cause this to vary from call to call
99 int byteCount = in.read(inputBuffer);
127 if (in == null) {
128 throw new NullPointerException("in == null");
152 if (in == null) {
153 throw new NullPointerException("in == null");
188 in.close();
  /libcore/luni/src/main/java/javax/xml/datatype/
DatatypeConfigurationException.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
44 /** Indicates whether this class is being used in a JDK 1.4 context. */
152 private void readObject(ObjectInputStream in)
154 in.defaultReadObject();
  /libcore/luni/src/main/java/javax/xml/namespace/
QName.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
29 * as defined in the XML specifications: <a
33 * in XML</a>, <a
35 * in XML Errata</a>.</p>
41 * <p>The prefix is included in <code>QName</code> to retain lexical
42 * information <strong><em>when present</em></strong> in an {@link
44 * <strong><em>NOT</em></strong> used in {@link #equals(Object)
60 * @see <a href="http://www.w3.org/TR/REC-xml-names/#ns-qualnames">Namespaces in XML</a>
61 * @see <a href="http://www.w3.org/XML/xml-names-19990114-errata">Namespaces in XML Errata</a
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/security/asn1/
ASN1Any.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
72 public Object decode(BerInputStream in) throws IOException {
74 in.readContent();
76 if (in.isVerify) {
79 return getDecodedObject(in);
86 * @param in BER input stream
89 public Object getDecodedObject(BerInputStream in) throws IOException {
90 byte[] bytesEncoded = new byte[in.offset - in.tagOffset]
    [all...]
ASN1Integer.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 * that is represented as byte array in two's-complement notation.
62 public Object decode(BerInputStream in) throws IOException {
63 in.readInteger();
65 if (in.isVerify) {
68 return getDecodedObject(in);
76 public Object getDecodedObject(BerInputStream in) throws IOException {
77 byte[] bytesEncoded = new byte[in.length];
78 System.arraycopy(in.buffer, in.contentOffset, bytesEncoded, 0
    [all...]
ASN1Oid.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
62 public Object decode(BerInputStream in) throws IOException {
63 in.readOID();
65 if (in.isVerify) {
68 return getDecodedObject(in);
76 @Override public Object getDecodedObject(BerInputStream in) throws IOException {
78 int oidElement = in.oidElement;
81 int octet = in.buffer[in.contentOffset + i]
    [all...]
ASN1StringType.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
41 public Object getDecodedObject(BerInputStream in) throws IOException {
42 return new String(in.buffer, in.contentOffset, in.length, StandardCharsets.UTF_8);
84 public Object decode(BerInputStream in) throws IOException {
85 in.readString(this);
87 if (in.isVerify) {
90 return getDecodedObject(in);
    [all...]
ASN1UTCTime.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
77 @Override public Object decode(BerInputStream in) throws IOException {
78 in.readUTCTime();
80 if (in.isVerify) {
83 return getDecodedObject(in);
  /libcore/luni/src/main/java/org/apache/harmony/security/x501/
Name.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
67 DerInputStream in = new DerInputStream(encoding); local
69 if (in.getEndOffset() != encoding.length) {
73 ASN1.decode(in);
75 this.rdn = (List<List<AttributeTypeAndValue>>) in.content;
240 public Object getDecodedObject(BerInputStream in) {
241 return new Name((List<List<AttributeTypeAndValue>>) in.content);
  /libcore/luni/src/test/etc/loading-test-jar/
TestMethods.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
28 * file. Each test method in this class is called from the same-named
29 * method in {@code DexClassLoaderTest}.
66 public static byte[] readFully(InputStream in) throws IOException {
67 // This is a copy of the same-named method in libcore.io.Streams.
71 int byteCount = in.read(buffer);
123 * Test getting a resource which should be in the same jar
128 InputStream in = cl.getResourceAsStream("test/Resource1.txt"); local
129 byte[] contents = readFully(in);
184 InputStream in = cl.getResourceAsStream("test2\/Resource2.txt"); local
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
OldAndroidPipedStreamTest.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
42 final PipedInputStream in = new PipedInputStream(); local
43 final PipedOutputStream out = new PipedOutputStream(in);
45 assertEquals(0, in.available());
58 readInt = in.read();
109 final PipedInputStream in = new PipedInputStream(); local
110 final PipedOutputStream out = new PipedOutputStream(in);
112 assertEquals(0, in.available());
127 ret = in.read(readBytes, nread, readBytes.length - nread)
194 final PipedInputStream in = new PipedInputStream(); local
    [all...]
  /libcore/luni/src/test/java/libcore/util/
SerializationTester.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 ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes)); local
90 Object result = in.readObject();
91 assertEquals(-1, in.read());

Completed in 46 milliseconds

<<11121314151617181920>>