/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
GroupTest.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 73 ScriptGroup.Input in = b.addInput(); local 78 new ScriptGroup.Binding(mConvolve.getFieldID_Input(), in));
|
/hardware/interfaces/gnss/1.0/default/ |
AGnss.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 72 struct sockaddr_in* in = reinterpret_cast<struct sockaddr_in*>(&(status->addr)); local 76 .ipV4Addr = in->sin_addr.s_addr, 120 * was earlier being done in GnssLocationProvider.
|
/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) 135 InputStream in = new ByteArrayInputStream(X509_MULTIPLE_SUBJECT_ALT); local 149 InputStream in = new ByteArrayInputStream(X509_MULTIPLE_SUBJECT_ALT); local 172 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8")); local 200 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8")); local 233 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8")); local 270 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8")); local [all...] |
/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/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/ojluni/src/main/java/java/io/ |
LineNumberInputStream.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 35 * immediately by a linefeed character. In all three cases, the line 61 * @param in the underlying input stream. 63 public LineNumberInputStream(InputStream in) { 64 super(in); 69 * byte is returned as an {@code int} in the range 79 * returns and newline characters in the input, and modifies the 87 * @see java.io.FilterInputStream#in [all...] |
PushbackInputStream.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 32 * one byte. This is useful in situations where 73 if (in == null) 81 * <code>in</code>, for later use. Initially, 86 * @param in the input stream from which bytes will be read. 91 public PushbackInputStream(InputStream in, int size) { 92 super(in); 103 * <code>in</code>, for later use. Initially [all...] |
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
AdaptableX509CertSelector.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 163 // In practice, a CA may replace its root certificate and require that 170 // AKID need to be respected to seek the exact certificate in case 224 DerInputStream in = new DerInputStream(extVal); local 225 byte[] certSubjectKeyID = in.getOctetString(); 239 + "exception in subject key ID check");
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/ |
TCKWeekFieldsSerialization.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 31 * Redistribution and use in source and binary forms, with or without 37 * * Redistributions in binary form must reproduce the above copyright notice, 38 * this list of conditions and the following disclaimer in the documentation 48 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 53 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 54 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 113 try (ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(val))) [all...] |
/libcore/ojluni/src/test/java/time/tck/java/time/zone/serial/ |
TCKFixedZoneRulesSerialization.java | 9 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * version 2 for more details (a copy is included in the LICENSE file that 34 * Redistribution and use in source and binary forms, with or without 40 * * Redistributions in binary form must reproduce the above copyright notice, 41 * this list of conditions and the following disclaimer in the documentation 51 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 56 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 57 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 109 ObjectInputStream in = new ObjectInputStream(bais); local 110 ZoneRules result = (ZoneRules) in.readObject() [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppBtEnableActivity.java | 6 * Redistribution and use in source and binary forms, with or without 12 * - Redistributions in binary form must reproduce the above copyright notice, 13 * this list of conditions and the following disclaimer in the documentation 23 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 90 Intent in = new Intent(this, BluetoothOppBtEnablingActivity.class); local 91 in.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 92 this.startActivity(in);
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
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();
|
/packages/apps/Email/src/com/beetstra/jutf7/ |
UTF7StyleCharsetDecoder.java | 6 * "Software"), to deal in the Software without restriction, including
13 * included in all copies or substantial portions of the Software.
18 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
19 * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
20 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
21 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
64 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) {
65 while (in.hasRemaining()) {
66 byte b = in.get();
70 return malformed(in);
[all...] |
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/ |
ImapTestUtils.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 103 ByteArrayInputStream in = new ByteArrayInputStream(Utility.toAscii(content + "#trailing")); local 104 return new FixedLengthInputStream(in, content.length());
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/codeinspection/ |
CodeInspector.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 30 * Inspector takes a list of class objects and perform static code analysis in its {@link #run()} 68 // Classes that are not in Settings 85 final InputStream in = ShadowApplication.getInstance().getApplicationContext() local 88 BufferedReader reader = new BufferedReader(new InputStreamReader(in));
|
/packages/apps/TV/src/com/android/tv/tuner/ |
ChannelScanFileParser.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 BufferedReader in = new BufferedReader(new InputStreamReader(is)); local 81 while ((line = in.readLine()) != null) {
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
BinaryTempFileBody.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 72 InputStream in = getInputStream(); local 75 IOUtils.copy(in, base64Out); 81 public BinaryTempFileBodyInputStream(InputStream in) { 82 super(in);
|
/prebuilts/ndk/r10/sources/cxx-stl/stlport/stlport/stl/ |
_codecvt.h | 84 result in(state_type& __state, function 202 result in(state_type& __state, 299 result in(state_type& __state,
|
/prebuilts/ndk/r11/sources/cxx-stl/stlport/stlport/stl/ |
_codecvt.h | 84 result in(state_type& __state, function 202 result in(state_type& __state, 299 result in(state_type& __state,
|
/prebuilts/ndk/r13/sources/cxx-stl/stlport/stlport/stl/ |
_codecvt.h | 84 result in(state_type& __state, function 202 result in(state_type& __state, 299 result in(state_type& __state,
|
/system/libvintf/ |
utils.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 40 std::ifstream in; local 42 in.open(path); 43 if (!in.is_open()) { 49 ss << in.rdbuf();
|