/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
FusedPrintersProvider.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 213 // Some of the found printers may have be a printer that is in the 557 final FileInputStream in; local 559 in = mStatePersistFile.openRead(); 570 parser.setInput(in, null); 583 IoUtils.closeQuietly(in);
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
PackageManagerBackupAgent.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 79 // version & signature info of each app in a restore set 110 // in backup. This set changes as apps are installed & removed. 247 * String incremental -- the incremental release name of the OS stored in 285 // metadata again. In either case, take it out of mExisting so that 308 // marshal the version code in a canonical form 325 // At this point, the only entries in 'existing' are apps that were 326 // mentioned in the saved state file, but appear to no longer be present 354 // set of app signatures associated with each backed-up app in this restor 523 DataInputStream in = new DataInputStream(inbuffer); local [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
TaskPersister.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 54 /** The maximum number of entries to keep in the queue before draining it automatically. */ 235 // See if it is in the write queue 328 final XmlPullParser in = Xml.newPullParser(); local 329 in.setInput(reader); 332 while (((event = in.next()) != XmlPullParser.END_DOCUMENT) && 334 final String name = in.getName(); 339 TaskRecord.restoreFromXml(in, mStackSupervisor); 361 XmlUtils.skipCurrentTag(in); [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
AutomaticBrightnessController.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 56 // Light sensor event rate in milliseconds. 59 // Period of time in which to consider light samples in milliseconds. 62 // Stability requirements in milliseconds for accepting a new brightness level. This is used 65 // brightness changes occur in response to an observed change in light level that exceeds the 76 // The intercept used for the weighting calculation. This is used in order to keep all possible 82 // non-zero, which in turn ensures that the total weight is non-zero 452 final float in = value; local [all...] |
/frameworks/base/services/core/java/com/android/server/net/ |
NetworkStatsCollection.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 100 * Return first atomic bucket in this collection, which is more conservative 132 * Combine all {@link NetworkStatsHistory} in this collection which match 141 * Combine all {@link NetworkStatsHistory} in this collection which match 160 * Summarize all {@link NetworkStatsHistory} in this collection which match 224 * Record all {@link NetworkStatsHistory} contained in the given collection 255 public void read(InputStream in) throws IOException { 256 read(new DataInputStream(in)); 259 public void read(DataInputStream in) throws IOException 330 DataInputStream in = null; local 369 DataInputStream in = null; local [all...] |
/frameworks/native/opengl/libagl/ |
primitives.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 601 // in a few cases we won't render the triangle (if culled). 866 // original list of vertices (polygon to clip, in fact this 868 vertex_t* in[3] = { v0, v1, v2 }; local 877 vertex_t** ivl = in; 879 // 3 input vertices, 0 in the output list, first plane 882 // User clip-planes first, the clipping is always done in eye-coordinate [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/x86/ |
vp9_loopfilter_intrin_sse2.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. 1539 unsigned char *in = src[idx8x8]; local [all...] |
/hardware/libhardware/modules/usbaudio/ |
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 93 size_t conversion_buffer_size; /* in bytes */ 110 /* We may need to read more data from the device in order to data reduce to 16bit, 4chan */ 114 size_t conversion_buffer_size; /* in bytes */ 123 * num_in_samples size of input buffer in SAMPLES 130 * This conversion is safe to do in-place (in_buff == out_buff). 137 * Move from front to back so that the conversion can be done in-place 140 /* we need 2 bytes in the output for every 3 bytes in the input * 625 const struct stream_in * in = ((const struct stream_in*)stream); local 670 struct stream_in *in = (struct stream_in *)stream; local 695 struct stream_in *in = (struct stream_in *)stream; local 745 struct stream_in *in = (struct stream_in *)stream; local 789 struct stream_in * in = (struct stream_in *)stream; local 903 struct stream_in *in = (struct stream_in *)calloc(1, sizeof(struct stream_in)); local 990 struct stream_in *in = (struct stream_in *)stream; local [all...] |
/hardware/qcom/audio/hal/ |
audio_hw.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 181 struct stream_in *in; member in union:stream_ptr
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
BigDecimalTest.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 115 * BigDecimal does not support a + sign in the exponent when converting 731 assertTrue("123E-104 is not positive in signum()", sign.signum() == 1); 733 assertTrue("-1234.3959 is not negative in signum()", 736 assertTrue("000D is not zero in signum()", sign.signum() == 0); 884 char[] in = { '1', '5', '6', '7', '8', '7', '.', '0', '0' }; local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
CharsetTest.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 175 // This test uses REPLACE mode, so we get the U+FFFD replacement character in the result. 177 // Accepts a big-endian BOM and includes U+FEFF in the decoded output. 187 // Accepts a little-endian BOM and includes U+FEFF in the decoded output. 190 // This test uses REPLACE mode, so we get the U+FFFD replacement character in the result. 224 // This test uses REPLACE mode, so we get the U+FFFD replacement character in the result. 239 // This test uses REPLACE mode, so we get the U+FFFD replacement character in the result. 250 // This test uses REPLACE mode, so we get the U+FFFD replacement character in the result. 265 // This test uses REPLACE mode, so we get the U+FFFD replacement character in the result 287 ByteBuffer in = ByteBuffer.wrap(toByteArray(byteInts)); local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
MessageFormatTest.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 56 ObjectInputStream in = new ObjectInputStream( local 58 MessageFormat read = (MessageFormat) in.readObject(); [all...] |
/libcore/luni/src/main/java/java/math/ |
BigInteger.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 30 * This implementation is efficient for operations traditionally used in 35 * This API includes operations for bitwise operations in two's complement 53 /** The magnitude of this in the little-endian representation. */ 57 * The length of this in measured in ints. Can be less than 77 /** All the {@code BigInteger} numbers in the range [0,10] are cached. */ 120 * Constructs a random non-negative {@code BigInteger} instance in the range 123 * @param numBits maximum length of the new {@code BigInteger} in bits [all...] |
/libcore/luni/src/main/java/java/net/ |
URI.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 102 * characters must first be <i>encoded</i> before they can be embedded in a URI. 110 * <tr><td>Scheme </td><td>{@code 0-9}, {@code a-z}, {@code A-Z}, {@code +-.} </td><td>First character must be in {@code a-z}, {@code A-Z}</td><td> </td><td>{@code http}</td></tr> 160 * <li>Unreserved characters in <a href="http://www.ietf.org/rfc/rfc2396.txt">RFC 2396</a>. 263 // check for IPv6 addresses that hasn't been enclosed in square brackets 419 throw new URISyntaxException(uri, "Illegal character in scheme", 0); 499 // fill in the userInfo, host and port fields 511 throw new URISyntaxException(uri, "Illegal character in userInfo", index + i); 541 throw new URISyntaxException(host, "Illegal character in host name", 0) [all...] |
URLClassLoader.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 52 * URLs contained in the URL search list. 72 BufferedReader in = null; local 79 in = new BufferedReader(new InputStreamReader(is, StandardCharsets.UTF_8)); 82 if (in.readLine() == null) return null; 83 if (in.readLine() == null) return null; 86 String line = in.readLine(); 92 line = in.readLine(); 117 IoUtils.closeQuietly(in); [all...] |
/libcore/luni/src/main/java/java/security/ |
Provider.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 39 * {@code Provider} is the abstract superclass for all security providers in the 768 * These attributes should be placed in each Provider object: 780 * Returns the property with the specified key in the provider properties. 802 * {@code Service} represents a service in the Java Security infrastructure. [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/ |
ExpatParser.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 44 private static final int BUFFER_SIZE = 8096; // in bytes 73 /** Timeout for HTTP connections (in ms) */ 292 * Downloading external entities by default would result in several 354 InputStream in = inputSource.getByteStream(); local 355 if (in != null) { 359 entityParser.parseFragment(in); 363 IoUtils.closeQuietly(in); 376 in = openUrl(systemId) [all...] |
/libcore/luni/src/test/java/libcore/xml/ |
ExpatSaxParserTest.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 360 Reader in = new StringReader(s); local 366 reader.parse(new InputSource(in)); 459 Reader in = new StringReader( local 467 reader.parse(new InputSource(in)); 496 Reader in = new StringReader( local 504 reader.parse(new InputSource(in)); 566 Reader in = new StringReader("<?xml version=\"1.0\"?>\n" local 579 reader.parse(new InputSource(in)); 612 Reader in = new StringReader("<?xml version=\\"1.0\\"?>\\n" local [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapbMessageMms.java | 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 90 /* TODO: If errata 4176 is adopted in the current form (it is not in either 1.1 or 1.2), 143 // Include "=_" as these cannot occur in quoted printable text 325 if(lineLength + partLength >= 998) // max line length in RFC2822 340 * characters be present in headers. Non-7-bit characters in an address 342 * characters in the local part of an address, the message MUST be 343 * rejected. Non-7-bit characters elsewhere in a header MUST be encode 712 int in, out, stopCnt = input.length-2; \/\/ Leave room for peaking the next two bytes local [all...] |
/packages/apps/Email/src/com/android/email/mail/store/ |
Pop3Store.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 54 // when code is checked in or released. 373 * has been queried so that uids are available in the local cache. 387 * In extreme cases we'll do a UIDL command per message instead of a bulk 425 * <p>NOTE: In variance with RFC 1939, we allow multiple whitespace between the 534 * Fetch the items contained in the FetchProfile into the given set of 535 * Messages in as efficient a manner as possible. 603 InputStream in = mTransport.getInputStream(); local 605 in = new LoggingInputStream(in) [all...] |
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
EmailSyncParser.java | 97 final InputStream in, final Mailbox mailbox, final Account account) 99 super(context, resolver, in, mailbox, account); 120 public EmailSyncParser(final Context context, final InputStream in, final Mailbox mailbox, 122 this(context, context.getContentResolver(), in, mailbox, account); 140 case Tags.BASE_ATTACHMENTS: // BASE_ATTACHMENTS is used in EAS 12.0 and up 183 // html and/or plain text data and store it in the message 187 // In this case, we will load the body separately by tagging the message 285 * Set up the meetingInfo field in the message with various pieces of information gleaned 360 // Default to 1 (success) in case we don't get this tag 432 ByteArrayInputStream in = new ByteArrayInputStream(mimeData.getBytes()) local [all...] |
/packages/apps/KeyChain/src/com/android/keychain/ |
KeyChainActivity.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 // get do file I/O in the remote keystore process and while they 334 InputStream in = new ByteArrayInputStream(bytes); local 338 cert = (X509Certificate)cf.generateCertificate(in);
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadThread.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 109 * fields are tracked in {@link #mInfoDelta}. If a field exists in 438 InputStream in = null; local 442 in = conn.getInputStream(); 490 transferData(in, out, outFd); 505 IoUtils.closeQuietly(in); 521 private void transferData(InputStream in, OutputStream out, FileDescriptor outFd) 529 len = in.read(buffer) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/x86_64-linux/include/c++/4.6/bits/ |
ios_base.h | 13 // This library is distributed in the hope that it will be useful, 19 // permissions described in the GCC Runtime Library Exception, version 50 // as permitted (but not required) in the standard, in order to provide 51 // better type safety in iostream calls. A side effect is that 259 /// Insert/extract @c bool in alphabetic rather than numeric format. 262 /// Converts integer input or generates integer output in decimal base. 265 /// Generate floating-point output in fixed-point notation. 268 /// Converts integer input or generates integer output in hexadecimal base. 271 /// Adds fill characters at a designated internal point in certai 377 static const openmode in = _S_in; member in class:ios_base [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/bits/ |
ios_base.h | 11 // This library is distributed in the hope that it will be useful, 17 // permissions described in the GCC Runtime Library Exception, version 48 // as permitted (but not required) in the standard, in order to provide 49 // better type safety in iostream calls. A side effect is that 257 /// Insert/extract @c bool in alphabetic rather than numeric format. 260 /// Converts integer input or generates integer output in decimal base. 263 /// Generate floating-point output in fixed-point notation. 266 /// Converts integer input or generates integer output in hexadecimal base. 269 /// Adds fill characters at a designated internal point in certai 375 static const openmode in = _S_in; member in class:ios_base [all...] |