/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 106 * Return first atomic bucket in this collection, which is more conservative 159 * Combine all {@link NetworkStatsHistory} in this collection which match 170 * Combine all {@link NetworkStatsHistory} in this collection which match 181 * Combine all {@link NetworkStatsHistory} in this collection which match 210 * Summarize all {@link NetworkStatsHistory} in this collection which match 219 * Summarize all {@link NetworkStatsHistory} in this collection which match 287 * Record all {@link NetworkStatsHistory} contained in the given collection 320 public void read(InputStream in) throws IOException 395 DataInputStream in = null; local 434 DataInputStream in = null; local [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
EphemeralApplicationRegistry.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 193 // Remove the in-memory state 324 // Prune in-memory state 529 FileInputStream in; local 531 in = new AtomicFile(metadataFile).openRead(); 543 parser.setInput(in, StandardCharsets.UTF_8.name()); 550 IoUtils.closeQuietly(in);
|
PackageManagerShellCommand.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 1190 InputStream in = null; local [all...] |
/frameworks/native/cmds/atrace/ |
atrace.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 74 // Whether the file must be writable in order to enable the tracing 366 // uses file existance rather than writability in the /sys/ file checks. 407 // Set the size of the kernel's trace buffer in kilobytes. 457 // clock will result in the kernel using a per-CPU local clock. 479 // Poke all the binder-enabled processes in the system to get them to re-read 609 // Make sure that every function listed in funcs is in the list we just 761 // the enables to allow the same enable to exist in multiple categories 856 uint8_t *in, *out; 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/bsp/intel/peripheral/audio/generic/ |
audio_hal.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 103 alsa_device_profile * profile; /* Points to the alsa_device_profile in the audio_device */ 116 size_t conversion_buffer_size; /* in bytes */ 128 alsa_device_profile * profile; /* Points to the alsa_device_profile in the audio_device */ 138 /* We may need to read more data from the device in order to data reduce to 16bit, 4chan */ 142 size_t conversion_buffer_size; /* in bytes */ 232 ALOGW("No usb-card found in /dev/snd"); 325 void lock_input_stream(struct stream_in *in) 327 pthread_mutex_lock(&in->pre_lock) 754 const struct stream_in * in = ((const struct stream_in*)stream); local 760 const struct stream_in *in = (const struct stream_in*)stream; local 780 struct stream_in *in = (struct stream_in *)stream; local 804 struct stream_in *in = (struct stream_in *)stream; local 846 struct stream_in *in = (struct stream_in *)stream; local 890 struct stream_in * in = (struct stream_in *)stream; local 976 struct stream_in *in = (struct stream_in *)calloc(1, sizeof(struct stream_in)); local 1078 struct stream_in *in = (struct stream_in *)stream; local [all...] |
/hardware/intel/common/libmix/mix_audio/src/ |
mixaudio.c | 4 The source code contained or described herein and all documents related to the source code ("Material") are owned by Intel Corporation or its suppliers or licensors. Title to the Material remains with Intel Corporation or its suppliers and licensors. The Material contains trade secrets and proprietary and confidential information of Intel or its suppliers and licensors. The Material is protected by worldwide copyright and trade secret laws and treaty provisions. No part of the Material may be used, copied, reproduced, modified, published, uploaded, posted, transmitted, distributed, or disclosed in any way without Intel?s prior express written permission. 6 No license under any patent, copyright, trade secret or other intellectual property right is granted to or conferred upon you by disclosure or delivery of the Materials, either expressly, by implication, inducement, estoppel or otherwise. Any license under such intellectual property rights must be express and approved by Intel in writing. 27 * <listitem>mix_audio_stop_drain() is called after the last buffer is passed for decoding in with mix_audio_decode(). </listitem> 31 * Since mix_audio_decode() is a blocking call during playback, the following methods are called in a seperate thread to control progress: 176 g_message("MixAudio running in stub mode!"); 260 // value as describe in GLogLevelFlags structure. Not that lsb in GLogLevelFlags is not "ERROR" and 261 // here we shifted the log_level to ignore the first 2 values in GLogLevelFlags, making ERROR align to 297 We are not going to check the thread lock anymore in this method. 299 object and in that case, this method won't be called 1482 struct iovec *in = (struct iovec*)g_alloca(sizeof(struct iovec) * iovincnt); local 1602 struct iovec *in = (struct iovec*)g_alloca(sizeof(struct iovec) * iovincnt); local [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_hal.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 87 alsa_device_profile * profile; /* Points to the alsa_device_profile in the audio_device */ 95 audio_channel_mask_t hal_channel_mask; /* USB devices deal in channel counts, not masks 106 size_t conversion_buffer_size; /* in bytes */ 118 alsa_device_profile * profile; /* Points to the alsa_device_profile in the audio_device */ 126 audio_channel_mask_t hal_channel_mask; /* USB devices deal in channel counts, not masks 134 /* We may need to read more data from the device in order to data reduce to 16bit, 4chan */ 138 size_t conversion_buffer_size; /* in bytes */ 206 * associated key/value pair is not found in the provided string 712 const struct stream_in * in = ((const struct stream_in*)stream); local 718 const struct stream_in *in = (const struct stream_in*)stream; local 738 struct stream_in *in = (struct stream_in *)stream; local 771 struct stream_in *in = (struct stream_in *)stream; local 813 struct stream_in *in = (struct stream_in *)stream; local 857 struct stream_in * in = (struct stream_in *)stream; local 942 struct stream_in *in = (struct stream_in *)calloc(1, sizeof(struct stream_in)); local 1080 struct stream_in *in = (struct stream_in *)stream; local [all...] |
/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 174 // This test uses REPLACE mode, so we get the U+FFFD replacement character in the result. 176 // Accepts a big-endian BOM and includes U+FEFF in the decoded output. 186 // Accepts a little-endian BOM and includes U+FEFF in the decoded output. 189 // This test uses REPLACE mode, so we get the U+FFFD replacement character in the result. 223 // This test uses REPLACE mode, so we get the U+FFFD replacement character in the result. 238 // This test uses REPLACE mode, so we get the U+FFFD replacement character in the result. 249 // This test uses REPLACE mode, so we get the U+FFFD replacement character in the result. 264 // This test uses REPLACE mode, so we get the U+FFFD replacement character in the result 286 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/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 361 Reader in = new StringReader(s); local 367 reader.parse(new InputSource(in)); 460 Reader in = new StringReader( local 468 reader.parse(new InputSource(in)); 497 Reader in = new StringReader( local 505 reader.parse(new InputSource(in)); 567 Reader in = new StringReader("<?xml version=\"1.0\"?>\n" local 580 reader.parse(new InputSource(in)); 613 Reader in = new StringReader("<?xml version=\\"1.0\\"?>\\n" local [all...] |
/libcore/ojluni/src/main/java/java/text/ |
MessageFormat.java | 10 * by Oracle in the LICENSE file that accompanied this code. 12 * This code is distributed in the hope that it will be useful, but WITHOUT 15 * version 2 for more details (a copy is included in the LICENSE file that 55 * messages in a language-neutral way. Use this to construct messages 65 * classes in that you create a <code>MessageFormat</code> object with one 132 * In particular, it isn't always obvious to localizers whether single 134 * the rules, and tell them (for example, by using comments in resource 136 * Note that localizers may need to use single quotes in translated 148 * shown in the table are illegal. A <i>SubformatPattern</i> must 225 * In real internationalized programs, the message format pattern and othe [all...] |
/libcore/ojluni/src/main/java/sun/security/x509/ |
AlgorithmId.java | 10 * by Oracle in the LICENSE file that accompanied this code. 12 * This code is distributed in the hope that it will be useful, but WITHOUT 15 * version 2 for more details (a copy is included in the LICENSE file that 40 * algorithm type, and may also be used in other cases. Equivalence is 48 * <P>The OID constants defined in this class correspond to some widely 74 * Parameters for this algorithm. These are stored in unparsed 127 // This code can go away once we have EC in the SUN provider. 180 // are used in an AlgorithmIdentifier the parameters (which are 359 * In that case, you may "narrow" the type of the ID. 371 DerInputStream in = val.toDerInputStream() local [all...] |
X500Name.java | 10 * by Oracle in the LICENSE file that accompanied this code. 12 * This code is distributed in the hope that it will be useful, but WITHOUT 15 * version 2 for more details (a copy is included in the LICENSE file that 50 * and descriptive. Entities can be identified by attributes, and in 84 * functionality specified in the X.500 series of specifications. The 87 * <li>attribute values encoded in different types (e.g., 91 * <li>attribute values in types other than PrintableString are case 95 * <li>attribute values in PrintableString are not case sensitive 98 * <li>attribute values in PrintableString are compared after 108 * In addition, implementations of this specification MAY use thes 317 DerInputStream in = new DerInputStream(name); local [all...] |
/libcore/ojluni/src/main/native/ |
PlainDatagramSocketImpl.c | 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 27 #include <netinet/in.h> 234 * that the system chose for us and store it in the Socket object. 410 /* arg to NET_Sendto () null in this case */ 520 JNU_ThrowNullPointerException(env, "Null address in peek()"); 714 * success - fill in received address... 716 * REMIND: Fill in an int on the packet, and create inetadd 717 * object in Java, as a performance improvement. Als 1113 struct in_addr in; local [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapUtils.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 45 * in stead of a bit to indicate the message type. Then 4 354 throw new IllegalArgumentException("Message type not found in handle string."); 407 /* if 'continuation' byte is in place 200, 412 /* first byte in utf-8 character found, 431 * @param in the string with encoding 434 static public String stripEncoding(String in){ 436 if(in.contains("=?") && in.contains("?=")) 496 int in, out, stopCnt = input.length-2; \/\/ Leave room for peaking the next two bytes local [all...] |
/packages/apps/Email/provider_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/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 80 // get do file I/O in the remote keystore process and while they 382 InputStream in = new ByteArrayInputStream(bytes); local 386 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 128 * fields are tracked in {@link #mInfoDelta}. If a field exists in 546 InputStream in = null; local 550 in = conn.getInputStream(); 598 transferData(in, out, outFd); 613 IoUtils.closeQuietly(in); 629 private void transferData(InputStream in, OutputStream out, FileDescriptor outFd) 642 len = in.read(buffer) [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...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-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...] |