/frameworks/base/telecomm/java/android/telecom/ |
PhoneAccount.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 58 * Flag indicating that this {@code PhoneAccount} can make phone calls in place of 61 * distinct from {@link #CAPABILITY_CONNECTION_MANAGER} in that it is not allowed to manage 62 * calls from or use the built-in telephony stack to place its calls. 71 * Flag indicating that this {@code PhoneAccount} represents a built-in PSTN SIM 306 * Determines if this {@code PhoneAccount} has a capabilities specified by the passed in 374 * An icon to represent this {@code PhoneAccount} in a user interface. 394 Log.e(this, e, "Cannot find icon %d in package %s", 424 public PhoneAccount createFromParcel(Parcel in) { [all...] |
/frameworks/compile/libbcc/bcinfo/tools/ |
main.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 233 FILE *in = fopen(inFile.c_str(), "r"); local 234 if (!in) { 242 size_t nread = fread((void*) *bitcode, 1, bitcodeSize, in); 247 fclose(in);
|
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsic3DLUT.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 55 extern "C" void rsdIntrinsic3DLUT_K(void *dst, void const *in, size_t count, 67 uchar4 *in = (uchar4 *)p->in; local 90 rsdIntrinsic3DLUT_K(out, in, len, 95 in += len; 101 int4 baseCoord = convert_int4(*in) * coordMul; 136 ret.w = in->w; 140 ALOGE("in %08x %08x %08x %08x", in->r, in->g, in->b, in->a) [all...] |
/frameworks/support/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 318 final InputStream in = mResolver.openInputStream(actual); local 320 MoreAsserts.assertEquals(expected, Streams.readFully(in)); 322 IoUtils.closeQuietly(in);
|
/frameworks/volley/src/com/android/volley/toolbox/ |
BasicNetwork.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 // If a pool isn't passed in, then build a small default pool that will give us a lot of 75 * @param pool a buffer pool that improves GC performance in copy operations 169 * Attempts to prepare the request for a retry. If there are no more attempts remaining in the 215 InputStream in = entity.getContent(); local 216 if (in == null) { 221 while ((count = in.read(buffer)) != -1) { 230 // This can happen if there was an exception above that left the entity in
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_resize.c | 5 * that can be found in the LICENSE file in the root of the source 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 467 const uint8_t *const in = (s == 0 ? input : out); local 473 down2_symodd(in, filteredlength, out); 475 down2_symeven(in, filteredlength, out);
|
/hardware/libhardware/modules/audio/ |
audio_hw.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 337 struct stub_stream_in *in; local 340 in = (struct stub_stream_in *)calloc(1, sizeof(struct stub_stream_in)); 341 if (!in) 344 in->stream.common.get_sample_rate = in_get_sample_rate; 345 in->stream.common.set_sample_rate = in_set_sample_rate; 346 in->stream.common.get_buffer_size = in_get_buffer_size; 347 in->stream.common.get_channels = in_get_channels; 348 in->stream.common.get_format = in_get_format [all...] |
/hardware/libhardware_legacy/audio/ |
AudioHardwareGeneric.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 121 AudioStreamInGeneric* in = new AudioStreamInGeneric(); local 122 status_t lStatus = in->set(this, mFd, devices, format, channels, sampleRate, acoustics); 127 mInput = in; 129 delete in; 134 void AudioHardwareGeneric::closeInputStream(AudioStreamIn* in) { 135 if (mInput && in == mInput) {
|
/libcore/benchmarks/src/benchmarks/regression/ |
URLConnectionBenchmark.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 85 InputStream in = connection.getInputStream(); local 87 while ((count = in.read(readBuffer)) != -1) {
|
/libcore/dex/src/main/java/com/android/dex/ |
TableOfContents.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 115 private void readMap(Dex.Section in) throws IOException { 116 int mapSize = in.readInt(); 119 short type = in.readShort(); 120 in.readShort(); // unused 122 int size = in.readInt(); 123 int offset = in.readInt();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
ProcessManagerTest.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 48 // BrokenTest: Sporadic failures in CTS, but not in CoreTestRunner 82 fail("InterruptedException was thrown in " + 132 InputStream in = process.getInputStream(); local 133 BufferedReader reader = new BufferedReader(new InputStreamReader(in)); 140 InputStream in = process.getErrorStream(); 142 = new BufferedReader(new InputStreamReader(in)); 177 InputStream in; field in class:ProcessManagerTest 205 InputStream in = process.getInputStream(); local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
ASCIICharsetEncoderTest.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 95 // We consume the entire input buffer because we're in an underflow 96 // state. We can't make a decision on whether the char in this buffer 139 CharBuffer in = CharBuffer.wrap("A"); local 144 encoder.encode(in, out, false); 145 in = CharBuffer.wrap("B"); 146 encoder.encode(in, out, true); 161 CharBuffer in = CharBuffer.wrap("A"); local 163 newEncoder.encode(in, out, false) 169 CharBuffer in = CharBuffer.wrap("A"); local 176 CharBuffer in = CharBuffer.wrap("A"); local 188 CharBuffer in = CharBuffer.wrap("A"); local 195 CharBuffer in = CharBuffer.wrap("A"); local 203 CharBuffer in = CharBuffer.wrap("A"); local 213 CharBuffer in = CharBuffer.wrap("A"); local 227 CharBuffer in = CharBuffer.wrap("A"); local 246 CharBuffer in = CharBuffer.wrap("A"); local 253 CharBuffer in = CharBuffer.wrap("A"); local 262 CharBuffer in = CharBuffer.wrap("A"); local 272 CharBuffer in = CharBuffer.wrap("A"); local 282 CharBuffer in = CharBuffer.wrap("A"); local 314 CharBuffer in = CharBuffer.wrap("A"); local 329 CharBuffer in = CharBuffer.wrap("A"); local 344 CharBuffer in = CharBuffer.wrap("A"); local 353 CharBuffer in = CharBuffer.wrap("A"); local 365 CharBuffer in = CharBuffer.wrap("A"); local 372 CharBuffer in = CharBuffer.wrap("A"); local 379 CharBuffer in = CharBuffer.wrap("A"); local 389 CharBuffer in = CharBuffer.wrap("A"); local 399 CharBuffer in = CharBuffer.wrap("A"); local 413 CharBuffer in = CharBuffer.wrap("A"); local 420 CharBuffer in = CharBuffer.wrap("A"); local 433 CharBuffer in = CharBuffer.wrap("A"); local 442 CharBuffer in = CharBuffer.wrap("A"); local 449 CharBuffer in = CharBuffer.wrap("A"); local [all...] |
CharsetDecoder2Test.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 61 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) { 94 ByteBuffer in = ByteBuffer.wrap(new byte[] { 109, 97, 109 }); local 96 decoder2.decode(in); 159 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) { 173 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { 191 ByteBuffer in = ByteBuffer.wrap(new byte[] { 0x45, 0x38, 0x45, 0x45 }); local 192 CoderResult result = decoder.decode(in, out, false); 198 // and then decode "in" [all...] |
/libcore/json/src/main/java/org/json/ |
JSONTokener.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 57 * designed for inheritance and should not be subclassed. In particular, 65 private final String in; field in class:JSONTokener 74 * @param in JSON encoded string. Null is not permitted and will yield a 78 public JSONTokener(String in) { 80 if (in != null && in.startsWith("\ufeff")) { 81 in = in.substring(1) [all...] |
/libcore/luni/src/main/java/java/lang/ |
StringBuilder.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 26 * A modifiable {@link CharSequence sequence of characters} for use in creating 620 * Replaces the specified subsequence in this builder with the specified 642 * Reverses the order of characters in this builder. 654 * @return the string representation of the data in this builder. 659 * in the RI javac (at least in 1.5.0_06) that will generate a 670 * @param in 677 private void readObject(ObjectInputStream in) throws IOException [all...] |
Throwable.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 * circumstances in which the {@code Throwable} was created (basically an error 36 * message in most cases), and for saving a stack trace (that is, a record of 37 * the call stack at a particular point in time) which can be printed later. 155 * traces for their language. Filling in the stack trace is relatively expensive. 156 * <i>Overriding</i> this method in the root of a language's exception hierarchy allows the 165 // Fill in the intermediate representation. 167 // Mark the full representation as in need of update. 193 * {@code StackTraceElement} represents an entry in the call stack. Th [all...] |
/libcore/luni/src/main/java/java/nio/charset/ |
CharsetDecoderICU.java | 45 // These instance variables are always assigned in the methods before being used. This class 129 @Override protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) { 130 if (!in.hasRemaining()) { 134 data[INPUT_OFFSET] = getArray(in); 153 setPosition(in); 183 private int getArray(ByteBuffer in) { 184 if (in.hasArray()) { 185 input = in.array(); 186 inEnd = in.arrayOffset() + in.limit() [all...] |
CharsetEncoder.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 26 * Transforms a sequence of 16-bit Java characters to a byte sequence in some encoding. 56 * <p>Errors can be handled in three ways. The default is to 229 * @param in 233 * of the last byte in the buffer, and the position will be zero. 251 public final ByteBuffer encode(CharBuffer in) throws CharacterCodingException { 252 int length = (int) (in.remaining() * averageBytesPerChar); 258 CoderResult result = encode(in, out, true); 314 * as many characters as possible in the input buffer have been encoded. I 539 ByteBuffer in = ByteBuffer.wrap(replacement); local [all...] |
CharsetEncoderICU.java | 28 // ICU has different default replacements to the RI in some cases. There are many 31 // the byte corresponding to '?' in ASCII as the replacement byte for charsets where that 60 // These instance variables are always assigned in the methods before being used. This class 157 @Override protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { 158 if (!in.hasRemaining()) { 162 data[INPUT_OFFSET] = getArray(in); 182 setPosition(in); 212 private int getArray(CharBuffer in) { 213 if (in.hasArray()) { 214 input = in.array() [all...] |
/libcore/luni/src/main/java/java/util/ |
PriorityQueue.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 101 * if any of the elements in the collection are not comparable. 103 * if any of the elements in the collection are null. 146 * in any specified ordering. 182 * if the element cannot be compared with the elements in the 238 * @return true if the object was in the priority queue, false if the object 239 * was not in the priority queue. 263 * if the element cannot be compared with the elements in the 301 private void readObject(ObjectInputStream in) throws IOException [all...] |
UUID.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 36 * most of the methods will be unsupported in those cases; see each method for 383 * Returns a string representation of this UUID in the following format, as 436 * @param in 439 * if {@code in} throws it. 441 * if {@code in} throws it. 443 private void readObject(ObjectInputStream in) throws IOException, 445 // read in non-transient fields 446 in.defaultReadObject() [all...] |
/libcore/luni/src/main/java/java/util/jar/ |
JarFile.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 254 * Return an enumeration containing the {@code JarEntrys} contained in this 271 * the name of the entry in the JAR file. 305 // the associated Verifier in the constructor itself. 390 InputStream in = super.getInputStream(ze); local 391 if (in == null) { 395 return in; 399 return in; 401 return new JarFileInputStream(in, ze.getSize(), entry) [all...] |
/libcore/luni/src/main/java/java/util/logging/ |
LogRecord.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 46 // The major byte used in serialization. 49 // The minor byte used in serialization. 104 * The time that the event occurred, in milliseconds since 1970. 143 * sequence property is set to a new unique value, allocated in increasing 247 * Gets the time when this event occurred, in milliseconds since 1970. 249 * @return the time when this event occurred, in milliseconds since 1970. 256 * Sets the time when this event occurred, in milliseconds since 1970. 259 * the time when this event occurred, in milliseconds since 1970 [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/ |
ExpatReader.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 216 * <p>Applications may register a new or different handler in the 275 InputStream in = input.getByteStream(); local 277 if (in != null) { 279 parse(in, encoding, input.getPublicId(), input.getSystemId()); 281 IoUtils.closeQuietly(in); 292 in = ExpatParser.openUrl(systemId); 294 parse(in, encoding, input.getPublicId(), systemId); 296 IoUtils.closeQuietly(in); [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OldFileWriterTest.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 99 InputStreamReader in = null; local 101 in = new InputStreamReader(fis); 105 b = in.read();
|