/frameworks/base/telecomm/java/android/telecom/ |
PhoneAccountHandle.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 38 * properly. Passing in invalid parameters will generate a log warning. 157 public PhoneAccountHandle createFromParcel(Parcel in) { 158 return new PhoneAccountHandle(in); 167 private PhoneAccountHandle(Parcel in) { 168 this(ComponentName.CREATOR.createFromParcel(in), 169 in.readString(), 170 UserHandle.CREATOR.createFromParcel(in));
|
/frameworks/native/services/surfaceflinger/ |
GpuService.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 40 int in = data.readFileDescriptor(); local 48 return shellCommand(in, out, err, args); 67 status_t GpuService::shellCommand(int /*in*/, int out, int err,
|
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicLUT.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 62 const uchar *in = (uchar *)info->inPtr[0]; local 72 out[0] = tr[in[0]]; 73 out[1] = tg[in[1]]; 74 out[2] = tb[in[2]]; 75 out[3] = ta[in[3]]; 76 in += 4;
|
/frameworks/rs/java/tests/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));
|
/frameworks/support/ |
Android.mk | 4 # you may not use this file except in compliance with the License. 9 # Unless required by applicable law or agreed to in writing, software 16 # Don't include in unbundled build. 22 # Find all of the files in the given subdirs that match the 32 define find-files-in-subdirs-exclude 47 $(call find-files-in-subdirs-exclude,$(LOCAL_PATH),"$(1)","$(2)",$(3))
|
/frameworks/volley/src/test/java/com/android/volley/toolbox/ |
ImageRequestTest.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 43 // "file:fake" is ASCII encodable and thus the name in Robolectric's fake 45 // "file:" + name in its lookaside map. I write all this because it will 102 // Scale in X and Y independently, so that src matches dst exactly. This 153 private static byte[] readInputStream(InputStream in) throws IOException { 157 while ((count = in.read(buffer)) != -1) { 160 in.close();
|
/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/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/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());
|
/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</code> 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/ec/ |
ECPrivateKeyImpl.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 57 * not in the private key structure. 122 DerInputStream in = new DerInputStream(key); local 123 DerValue derValue = in.getDerValue(); 147 + "encoded in the algorithm identifier");
|
/ndk/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,
|
/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/TV/usbtuner/src/com/android/usbtuner/ |
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 67 BufferedReader in = new BufferedReader(new InputStreamReader(is)); local 71 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/current/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/extras/ext4_utils/ |
ext2simg.c | 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 const char *in = NULL; local 150 in = argv[optind++]; 166 infd = open(in, O_RDONLY); 175 build_sparse_ext(infd, in);
|
/system/update_engine/ |
omaha_response_handler_action_unittest.cc | 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 55 bool DoTest(const OmahaResponse& in, 94 const OmahaResponse& in, 102 feeder_action.set_obj(in); 103 if (in.update_exists && in.version != kBadVersion) { 105 SetString(kPrefsUpdateCheckResponseHash, in.hash)) 114 string current_url = in.payload_urls.size() ? in.payload_urls[0] : "" 144 OmahaResponse in; local 169 OmahaResponse in; local 190 OmahaResponse in; local 213 OmahaResponse in; local 221 OmahaResponse in; local 241 OmahaResponse in; local 262 OmahaResponse in; local 282 OmahaResponse in; local 301 OmahaResponse in; local 321 OmahaResponse in; local 363 OmahaResponse in; local 405 OmahaResponse in; local [all...] |