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

<<31323334353637383940>>

  /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: " +
237 * request an identity (e.g. in EAP-TTLS).
245 * EAP-Response/Identity packet to contain an actual, IMSI-based identity, in order to
309 throw new IOException("No certificate in chain matches supplied fingerprint");
  /frameworks/support/core-utils/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
332 final InputStream in = mResolver.openInputStream(actual); local
334 MoreAsserts.assertEquals(expected, readFully(in));
336 closeQuietly(in);
381 * Returns a byte[] containing the remainder of 'in', closing it when done.
383 private static byte[] readFully(InputStream in) throws IOException {
385 return readFullyNoClose(in);
387 in.close();
392 * 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...]
  /libcore/luni/src/test/java/libcore/java/io/
OldInputStreamReaderTest.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
33 private final String source = "This is a test message with Unicode character. \u4e2d\u56fd is China's name in Chinese";
35 private InputStream in; field in class:OldInputStreamReaderTest
48 in = new ByteArrayInputStream(source.getBytes("UTF-8"));
49 reader = new InputStreamReader(in, "UTF-8");
63 in.close();
  /libcore/ojluni/src/main/java/java/net/
ServerSocket.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
36 * requests to come in over the network. It performs some operation
108 * This could result in a SecurityException.
152 * This could result in a SecurityException.
156 * specific. In particular, an implementation may impose a maximum length
201 * This could result in a SecurityException.
205 * specific. In particular, an implementation may impose a maximum length
344 * specific. In particular, an implementation may impose a maximum lengt
403 InetAddress in = getImpl().getInetAddress(); local
    [all...]
SocksSocketImpl.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
114 private int readSocksReply(InputStream in, byte[] data) throws IOException {
115 return readSocksReply(in, data, 0L);
118 private int readSocksReply(InputStream in, byte[] data, long deadlineMillis) throws IOException {
124 count = ((SocketInputStream)in).read(data, received, len - received, remainingMillis(deadlineMillis));
138 private boolean authenticate(byte method, InputStream in,
140 return authenticate(method, in, out, 0L);
143 private boolean authenticate(byte method, InputStream in,
697 InputStream in = cmdIn; local
    [all...]
  /packages/apps/Email/provider_src/com/android/email/provider/
AttachmentProvider.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
195 InputStream in = local
197 Bitmap thumbnail = createThumbnail(type, in);
205 in.close();
244 * Returns a cursor based on the data in the attachments table, or null if the attachment
245 * is not recorded in the table.
336 * Need this to suppress warning in unit tests.
  /packages/apps/Settings/src/com/android/settings/dashboard/conditional/
ConditionManager.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
80 FileReader in = new FileReader(xmlFile); local
81 parser.setInput(in);
102 in.close();
  /frameworks/base/core/java/android/provider/
DocumentsContract.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
88 * is used in the {@code <intent-filter>} of a {@code <provider>}.
108 * Set this in a DocumentsUI intent to cause a package's own roots to be
114 * Included in {@link AssetFileDescriptor#getExtras()} when returned
122 * Overrides the default prompt text in DocumentsUI when set in an intent.
206 * Timestamp when a document was last modified, in milliseconds since
245 * Size of a document, in bytes, or {@code null} if unknown. This column
306 * Flag indicating that a directory prefers its contents be shown in
1077 final Bundle in = new Bundle(); local
1090 final Bundle in = new Bundle(); local
1134 final Bundle in = new Bundle(); local
1166 final Bundle in = new Bundle(); local
1197 final Bundle in = new Bundle(); local
1232 final Bundle in = new Bundle(); local
1269 final Bundle in = new Bundle(); local
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
CharsetEncoderTest.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
282 CharBuffer in = CharBuffer.wrap("aaa"); local
295 encoder.encode(in, out, true);
304 encoder.encode(in, out, false);
327 // encode facade can be execute in anywhere
328 CharBuffer in = CharBuffer.wrap("aaa"); local
330 encoder.encode(in);
331 in.rewind();
334 encoder.encode(in);
372 CharBuffer in = CharBuffer.wrap("aaa"); local
422 CharBuffer in = CharBuffer.wrap("aaa"); local
591 CharBuffer in = CharBuffer.wrap("\\ud800"); local
628 CharBuffer in; local
708 CharBuffer in = CharBuffer.wrap(unistr); local
833 CharBuffer in = getMalformedCharBuffer(); local
917 CharBuffer in = CharBuffer.wrap("aaa"); local
    [all...]
  /libcore/luni/src/test/java/libcore/xml/
XsltXPathConformanceTestSuite.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
80 * <p>Unfortunately, some of the tests in the OASIS suite will fail when
84 * "Couldn't open file" errors due to a mismatch in file name casing.
86 * stylesheet files. In particular, "http://webxtest/" isn't generally
271 * Finds the named file in the named directory. This tries extra hard to
273 * available in a different casing.
428 * Returns the given file's XML fragment as a single node, wrapped in
451 // it in <result> tags would result in a malformed XML document
581 InputStream in = new BufferedInputStream(new FileInputStream(file), 1024); local
    [all...]
  /cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/
SplitAppTest.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
97 fail("Unexpected drawable in base");
120 // Receiver disabled by default in base
127 // We shouldn't have any native code in base
130 fail("Unexpected native code in base");
265 // Receiver only enabled in feature
283 // And assert that we spun up the provider in this process
334 * done in {@link #testBaseInstalled()}.
381 * Write app data in a number of locations that expect to remain intact ove
576 BufferedReader in = null; local
    [all...]
  /cts/libs/json/src/com/android/json/stream/
JsonReader.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
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 the buffer
    [all...]
  /cts/tests/tests/app.usage/src/android/app/usage/cts/
NetworkUsageStatsTest.java 5 * use this file except in compliance with the License. You may obtain a copy
10 * Unless required by applicable law or agreed to in writing, software
105 " your phone, have enabled data over cellular and in case of" +
129 InputStreamReader in = null; local
141 in = new InputStreamReader(
145 while (in.read() != -1) ++mBytesRead;
150 if (in != null) {
152 in.close();
  /cts/tests/tests/os/src/android/os/cts/
ParcelFileDescriptorTest.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 AutoCloseInputStream in = new AutoCloseInputStream(pfd); local
56 assertEquals(0, in.read());
57 assertEquals(1, in.read());
58 assertEquals(2, in.read());
59 assertEquals(3, in.read());
61 in.close();
105 AutoCloseInputStream in = new AutoCloseInputStream(pfd); local
106 assertEquals(DATA, in.read())
181 AutoCloseInputStream in = new AutoCloseInputStream(pfd); local
    [all...]
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/
DebugEventSocketProxy.java 6 Redistribution and use in source and binary forms, with or without
11 2. Redistributions in binary form must reproduce the above copyright
12 notice, this list of conditions and the following disclaimer in the
20 IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
24 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
43 * be kept in sync. New events must be handled on both sides of socket.
52 protected BufferedReader in; field in class:DebugEventSocketProxy
83 in = new BufferedReader(isr);
108 in.readLine()
    [all...]
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
KeyStore2Test.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
472 InputStream in = new ByteArrayInputStream(keyStore); local
473 keyTest.load(in, pssWord);
474 in.close();
484 in = new ByteArrayInputStream(keyStore);
485 keyTest.load(in, null);
486 in.close();
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/utils/
Util.java 166 InputStream in = new FileInputStream(src); local
170 while ((len = in.read(buf)) > 0) {
173 in.close();
188 * @param in the input stream.
193 public static boolean copyStream(InputStream in, File dest) {
199 while ((len = in.read(buf)) > 0) {
202 in.close();

Completed in 2330 milliseconds

<<31323334353637383940>>