HomeSort by relevance Sort by last modified time
    Searched defs:in (Results 826 - 850 of 3164) sorted by null

<<31323334353637383940>>

  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
PipedInputStreamTest.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
65 // Used in tests
349 PipedInputStream in = new PipedInputStream(); local
351 in.connect(out);
355 assertEquals("Should read 20.", 20, in.read());
357 assertEquals("Write end is closed, should return -1", -1, in.read());
359 assertEquals("Write end is closed, should return -1", -1, in.read(buf, 0, 1));
360 assertEquals("Buf len 0 should return first", 0, in.read(buf, 0, 0));
361 in.close()
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
ClassTest.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
438 assertNotNull("the file " + name + " can not be found in this directory", str2);
441 assertNull("the file " + nameBadURI + " should not be found in this directory",
576 InputStream in = local
578 assertNotNull(in);
579 in.close();
602 InputStream in = local
604 assertNotNull(in);
605 in.close()
628 InputStream in = this.getClass().getClassLoader().getResourceAsStream(RESOURCE_ABS_NAME); local
634 InputStream in = getClass().getResourceAsStream(resourceName); local
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
ControlTest.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
391 Reader in = new InputStreamReader(src.openStream()); local
394 while ((c = in.read()) != -1) {
397 in.close();
414 * change the value in the .properties file
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
ZipFileTest.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 // the file hyts_zipFile.zip in setup must be included as a resource
96 InputStream in = Support_Resources.getStream("hyts_ZipFile.zip"); local
101 while ((result = in.read(buf)) != -1) {
104 in.close();
192 InputStream in; local
198 in = zfile.getInputStream(zentry);
199 assertNotNull("testdir1/ should not have null input stream", in);
200 r = in.read()
218 InputStream in; local
    [all...]
  /libcore/luni/src/test/java/dalvik/system/
DexClassLoaderTest.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 * Copy a resource in the package directory to the indicated
89 InputStream in = loader.getResourceAsStream(PACKAGE_PATH + resourceName); local
90 if (in == null) {
95 Streams.copy(in, out);
97 in.close();
152 InputStream in = cl.getResourceAsStream(resourceName); local
153 if (in == null) {
157 byte[] contents = Streams.readFully(in);
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/zip/
AbstractZipFileTest.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
178 ZipInputStream in = new ZipInputStream(new FileInputStream(f)); local
179 while (in.getNextEntry() != null) {
180 while (in.read(readBuffer, 0, readBuffer.length) != -1) {}
182 in.close();
445 // when we find it in the central directory.
  /libcore/ojluni/src/main/java/sun/security/x509/
AVA.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
91 * If the value has any of these characters in it, it must be quoted.
99 * In RFC2253, if the value has any of these characters in it, it
132 AVA(Reader in) throws IOException {
133 this(in, DEFAULT);
138 * or perhaps with quotes. Additional keywords can be specified in the
145 AVA(Reader in, Map<String, String> keywordMap) throws IOException
    [all...]
  /packages/apps/Email/provider_src/com/android/email/
LegacyConversions.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
64 /** DO NOT CHECK IN "TRUE" */
108 // Keep the message in the "unloaded" state until it has (at least) a display name.
109 // This prevents early flickering of empty messages in POP download.
127 // Only replace the local message-id if a new one was found. This is seen in some ISP's
227 // Run the mime type through inferMimeType in case we have something generic and can do
243 * This will skip adding attachments if they are already found in the attachments table.
245 * included in a single POP3 message.
281 // We test each of the fields here (instead of in SQL) because they may b
333 InputStream in = null; local
    [all...]
  /packages/apps/Messaging/src/android/support/v7/mms/
MmsHttpClient.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
194 final InputStream in = new BufferedInputStream(connection.getInputStream()); local
198 while ((count = in.read(buf)) > 0) {
201 in.close();
250 * US if we are in a different locale than US.
280 } else if ("in".equals(langCode)) {
304 * Resolve the macro in HTTP param value text
341 * macros like "##LINE1##" or "##NAI##" which is resolved with methods in this class
  /packages/apps/Nfc/src/com/android/nfc/beam/
FireflyRenderer.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
254 InputStream in = null; local
257 in = mContext.getAssets().open("star.png");
259 Bitmap bitmap = BitmapFactory.decodeStream(in);
272 if (in != null) {
274 in.close();
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
Attachment.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 * Attachment size in bytes. See {@link AttachmentColumns#SIZE}.
125 * handles file:// uris not content:// uris. We do the same workaround in
174 public Attachment(Parcel in) {
175 name = in.readString();
176 size = in.readInt();
177 uri = in.readParcelable(null);
178 contentType = in.readString();
179 state = in.readInt()
267 final InputStream in = part.getBody().getInputStream(); local
    [all...]
  /packages/services/Mms/src/com/android/mms/service/
MmsHttpClient.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
154 // after an MMS request/response is complete. In these cases keep alive
203 final InputStream in = new BufferedInputStream(connection.getInputStream()); local
207 while ((count = in.read(buf)) > 0) {
210 in.close();
293 * US if we are in a different locale than US.
323 } else if ("in".equals(langCode)) {
348 * macros like "##LINE1##" or "##NAI##" which is resolved with methods in this class
376 * Resolve the macro in HTTP param value tex
    [all...]
  /platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DataCollector.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
275 // Spaces matter in the following command line. Make sure there are no spaces
276 // in the filename and around the '>' sign.
326 InputStream in = null; local
330 in = new ParcelFileDescriptor.AutoCloseInputStream(pfd);
334 bytesRead = in.read(buffer);
341 if (in != null) {
342 in.close();
  /prebuilts/tools/common/fest/
fest-reflect-1.2.jar 
  /bionic/libc/kernel/uapi/linux/
netfilter.h 25 #include <linux/in.h>
81 struct in_addr in; member in union:nf_inet_addr
  /bionic/tests/
time_test.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
151 t.tm_isdst = 0; // "0 if Daylight Savings Time is not in effect".
156 t.tm_isdst = 2; // "positive if Daylight Savings Time is in effect"
572 timespec in; local
574 ASSERT_EQ(EINVAL, clock_nanosleep(-1, 0, &in, &out));
  /bootable/recovery/minui/
graphics.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
284 // fall back to the compiled-in font.
295 unsigned char* in = font.rundata; local
296 while((data = *in++)) {
  /cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/
BasePackageInstallTest.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
160 InputStream in = new FileInputStream(file); local
164 while ((c = in.read(buffer)) != -1) {
  /cts/hostsidetests/jdwpsecurity/src/android/jdwpsecurity/cts/
JdwpSecurityHostTest.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
177 // We need a dalvik-cache in /data/local/tmp so we have read-write access.
178 // Note: this will cause the runtime to optimize the DEX file (contained in
205 private InputStream in; field in class:JdwpSecurityHostTest.AdbJdwpOutputReader
210 // in the background. Since we know the tested app is already running, we only need to
215 in = adbProcess.getInputStream();
217 // Read the output for 5s in a separate thread before stopping the command.
233 br = new BufferedReader(new InputStreamReader(in));
  /cts/libs/vogar-expect/src/vogar/commands/
Command.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
121 BufferedReader in = new BufferedReader( local
125 while ((outputLine = in.readLine()) != null) {
  /cts/tests/tests/graphics/src/android/graphics/cts/
MovieTest.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
98 private byte[] inputStreamToBytes(InputStream in) throws IOException {
102 while ((len = in.read(buffer)) >= 0) {
105 in.close();
  /dalvik/dx/src/com/android/dx/io/instructions/
DecodedInstruction.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
33 * match the names given in the Dalvik instruction format
35 * arbitrarily alphabetically from A. In this class, non-register
55 * though it is stored in an {@code int}.
69 public static DecodedInstruction decode(CodeInput in) throws EOFException {
70 int opcodeUnit = in.read();
74 return format.decode(opcodeUnit, in);
85 ShortArrayCodeInput in = new ShortArrayCodeInput(encodedInstructions); local
88 while (in.hasMore())
    [all...]
  /dalvik/dx/tests/098-dex-jsr-ret-throw/
ViewDebug$ViewServer.class 
  /dalvik/dx/tests/115-merge/com/android/dx/merge/
DexMergeTest.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
128 * Merging dex files uses pessimistic sizes that naturally leave gaps in the
186 private void copy(InputStream in, OutputStream out) throws IOException {
189 while ((count = in.read(buffer)) != -1) {
192 in.close();
  /developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/net/
FeedParser.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 * where each list element represents a single entry (post) in the XML feed.
42 // Constants indicting XML element names that we're interested in
53 * @param in Atom feed, as a stream.
58 public List<Entry> parse(InputStream in)
63 parser.setInput(in, null);
67 in.close();
97 // article in the feed.
208 * Processes link tags in the feed
    [all...]

Completed in 7754 milliseconds

<<31323334353637383940>>