/external/jarjar/src/main/com/tonicsystems/jarjar/ |
StringDumper.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 34 InputStream in = entry.openStream(); local 36 new ClassReader(in).accept(stringReader, 0); 40 in.close();
|
/external/jcommander/src/test/java/com/beust/jcommander/internal/ |
DefaultConsoleTest.java | 12 final InputStream inBackup = System.in; 14 final StringInputStream in = new StringInputStream(); local 15 System.setIn(in); 18 in.setData("password1\n"); 21 Assert.assertFalse(in.isClosedCalled(), "System.in stream shouldn't be closed"); 23 in.setData("password2\n"); 26 Assert.assertFalse(in.isClosedCalled(), "System.in stream shouldn't be closed");
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/ |
XZInputStream.java | 19 * Decompresses a .xz file in streamed mode (no seeking). 33 * It's important to keep in mind that decompressor memory usage depends 65 private InputStream in; field in class:XZInputStream 77 * from <code>in</code>. The header of the first Block is not read 80 * @param in input stream from which XZ-compressed 84 * input is not in the XZ format 95 * from <code>in</code> 97 * @throws IOException may be thrown by <code>in</code> 99 public XZInputStream(InputStream in) throws IOException { 100 this(in, -1) [all...] |
/external/sl4a/Utils/src/com/googlecode/android_scripting/ |
IoUtils.java | 5 * use this file except in compliance with the License. You may obtain a copy of 10 * Unless required by applicable law or agreed to in writing, software 35 BufferedInputStream in = new BufferedInputStream(input, BUFFER_SIZE); local 39 while ((n = in.read(buffer, 0, BUFFER_SIZE)) != -1) { 51 in.close();
|
/external/vogar/src/vogar/util/ |
Strings.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 public static boolean isNullOrEmpty(String in) { 43 return com.google.common.base.Strings.isNullOrEmpty(in); 48 BufferedReader in = new BufferedReader(reader); local 50 while ((line = in.readLine()) != null) { 54 in.close(); 63 BufferedReader in = local 67 while ((line = in.readLine()) != null) { 70 in.close() [all...] |
/frameworks/base/core/java/com/android/server/backup/ |
UsageStatsBackupHelper.java | 58 DataInputStream in = new DataInputStream(new ByteArrayInputStream(payload)); local 60 int user = in.readInt(); 62 in.read(restoreData, 0, restoreData.length);
|
/libcore/benchmarks/src/benchmarks/ |
BufferedZipFileBenchmark.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 60 InputStream in = zipFile.getInputStream(entry); local 62 while (in.read(buffer) != -1) { 64 in.close(); 73 InputStream in = new BufferedInputStream(zipFile.getInputStream(entry)); local 75 while (in.read(buffer) != -1) { 77 in.close();
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
OldAndroidGZIPStreamTest.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 GZIPInputStream in = new GZIPInputStream(bytesIn); local 101 while ((len = in.read(buf)) > 0) { 108 in.close();
|
/libcore/luni/src/test/java/tests/support/ |
Support_SQL.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 InputStream in = Class.forName("tests.support.Support_SQL") local 53 loadProperties(in); 54 in.close();
|
/libcore/ojluni/src/main/java/sun/misc/ |
Resource.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 74 /* Cache result in case getBytes is called after getByteBuffer. */ 89 InputStream in = cachedInputStream(); local 124 cc = in.read(b, pos, bytesToRead); 143 in.close(); 160 InputStream in = cachedInputStream(); local 161 if (in instanceof ByteBuffered) { 162 return ((ByteBuffered)in).getByteBuffer() [all...] |
/libcore/support/src/test/java/tests/support/ |
Support_GetLocal.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 InputStream in = Support_GetLocal.class.getResourceAsStream(url); local 48 while ((result = in.read(buf)) != -1) { 51 in.close(); 62 InputStream in = new URL(url).openStream(); local 68 while ((result = in.read(buf)) != -1) { 71 in.close(); 80 InputStream in = new URL(url).openStream(); local 84 while ((result = in.read(buf)) != -1) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AbstractHtmlTemplates.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 67 InputStreamReader in = null; local 70 in = new InputStreamReader( 75 while ((chars=in.read(buf)) > 0) { 82 if (in != null) { 83 in.close();
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
EOLConvertingInputStream.java | 7 * "License"); you may not use this file except in compliance * 12 * Unless required by applicable law or agreed to in writing, * 42 private PushbackInputStream in = null; field in class:EOLConvertingInputStream 57 * instance converting bytes in the given <code>InputStream</code>. 60 * @param in the <code>InputStream</code> to read from. 64 in = new PushbackInputStream(_in, 2); 69 * instance converting bytes in the given <code>InputStream</code>. 89 in.close(); 93 int b = in.read(); 106 in.unread(c) [all...] |
/packages/services/Telephony/src/org/apache/james/mime4j/ |
EOLConvertingInputStream.java | 7 * "License"); you may not use this file except in compliance * 12 * Unless required by applicable law or agreed to in writing, * 42 private PushbackInputStream in = null; field in class:EOLConvertingInputStream 57 * instance converting bytes in the given <code>InputStream</code>. 60 * @param in the <code>InputStream</code> to read from. 64 in = new PushbackInputStream(_in, 2); 69 * instance converting bytes in the given <code>InputStream</code>. 89 in.close(); 93 int b = in.read(); 106 in.unread(c) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/templates/ |
SimpleFile.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 104 TemplatedInputStream in = new TemplatedInputStream(sourceURL.openStream(), local 106 destFile.create(in, true, monitor); 107 in.close();
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
ProfilesLoader.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 39 BufferedReader in = null; local 48 in = new BufferedReader(new InputStreamReader(socket.getInputStream())); 54 String response = in.readLine(); 69 if (in != null) { 70 in.close();
|
VersionLoader.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 BufferedReader in = null; local 51 in = new BufferedReader(new InputStreamReader(socket.getInputStream())); 57 return Integer.parseInt(in.readLine()); 65 if (in != null) { 66 in.close();
|
/build/core/tasks/tools/ |
package-modules.mk | 18 # Calculate the dest files in the output zip file. 40 define copy-tests-in-batch 53 $(call copy-tests-in-batch,$(wordlist 1,200,$(PRIVATE_COPY_PAIRS))) 54 $(call copy-tests-in-batch,$(wordlist 201,400,$(PRIVATE_COPY_PAIRS))) 55 $(call copy-tests-in-batch,$(wordlist 401,600,$(PRIVATE_COPY_PAIRS))) 56 $(call copy-tests-in-batch,$(wordlist 601,800,$(PRIVATE_COPY_PAIRS))) 57 $(call copy-tests-in-batch,$(wordlist 801,1000,$(PRIVATE_COPY_PAIRS))) 58 $(call copy-tests-in-batch,$(wordlist 1001,1200,$(PRIVATE_COPY_PAIRS))) 59 $(call copy-tests-in-batch,$(wordlist 1201,9999,$(PRIVATE_COPY_PAIRS)))
|
/cts/tests/camera/src/android/hardware/camera2/cts/helpers/ |
InMatcher.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 * A {@link Matcher} class for checking if value contained in a {@link Collection} or array. 58 description.appendText("in(").appendValue(mValues).appendText(")"); 62 public static <T> Matcher<T> in(T... operand) { method in class:InMatcher 67 public static <T> Matcher<T> in(Collection<T> operand) { method in class:InMatcher
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
InitTest.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 36 float[] in = new float[INPUTSIZE]; local 42 in[i] = 0; 45 mIn.copy1DRangeFrom(0, INPUTSIZE, in);
|
/developers/build/prebuilts/gradle/TextSwitcher/Application/src/main/java/com/example/android/textswitcher/ |
MainActivity.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 * the current text out and new text in when 53 * Set the in and out animations. Using the fade_in/out animations 56 Animation in = AnimationUtils.loadAnimation(this, local 60 mSwitcher.setInAnimation(in); 66 * the new value is displayed in the TextSwitcher. The change of text is 67 * automatically animated using the in/out animations set above.
|
/developers/samples/android/ui/views/TextSwitcher/Application/src/main/java/com/example/android/textswitcher/ |
MainActivity.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 * the current text out and new text in when 53 * Set the in and out animations. Using the fade_in/out animations 56 Animation in = AnimationUtils.loadAnimation(this, local 60 mSwitcher.setInAnimation(in); 66 * the new value is displayed in the TextSwitcher. The change of text is 67 * automatically animated using the in/out animations set above.
|
/development/samples/browseable/TextSwitcher/src/com.example.android.textswitcher/ |
MainActivity.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 * the current text out and new text in when 53 * Set the in and out animations. Using the fade_in/out animations 56 Animation in = AnimationUtils.loadAnimation(this, local 60 mSwitcher.setInAnimation(in); 66 * the new value is displayed in the TextSwitcher. The change of text is 67 * automatically animated using the in/out animations set above.
|
/device/google/accessory/arduino/AndroidAccessory/ |
AndroidAccessory.h | 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 34 uint8_t in; member in class:AndroidAccessory
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
AnyTest.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 45 DerInputStream in = new DerInputStream(encoded); local 47 .decode(in)));
|