/hardware/qcom/audio/legacy/alsa_sound/ |
AudioHardwareALSA.cpp | 7 ** you may not use this file except in compliance with the License. 12 ** Unless required by applicable law or agreed to in writing, software 274 // So adjust the volume to get the correct volume index in driver 393 ALOGV("Enabling Incall Music setting in the setparameter\n"); 400 ALOGV("Disabling Incall Music setting in the setparameter\n"); 414 ALOGV("Enabling ANC setting in the setparameter\n"); 417 ALOGV("Disabling ANC setting in the setparameter\n"); 803 ALOGD("Routing to proxy for normal voip call in openOutputStream"); 807 ALOGD("enabling VOIP in openoutputstream, musbPlaybackState: %d", musbPlaybackState); 810 ALOGD("Starting recording in openoutputstream, musbRecordingState: %d", musbRecordingState) 1105 AudioStreamInALSA *in = 0; local [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
ParseBenchmark.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 105 InputStream in = ParseBenchmark.class.getResourceAsStream(path); local 106 if (in == null) { 110 Reader reader = new InputStreamReader(in, "UTF-8");
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
SystemTest.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 38 InputStream orgIn = System.in; 39 InputStream in = new ByteArrayInputStream(new byte[0]); local 40 System.setIn(in); 41 assertTrue("in not set", System.in == in); 119 // Tested in destructive test: Test_System_Exit ??? 185 * Tests that there are no extra path separator in boot class path [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
ZipInputStreamTest.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 // the file hyts_zipFile.zip used in setup needs to included as a resource 42 private byte[] dataBytes = "Some data in my file".getBytes(); 162 InputStream in = new FilterInputStream(Support_Resources.getStream("hyts_ZipFile.zip")) { local 174 zis = new ZipInputStream(in); 220 assertNotNull("No entry in the archive.", entry);
|
/libcore/luni/src/test/java/libcore/java/text/ |
DecimalFormatSymbolsTest.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 31 // returns "en_US.UTF-8". bionic before L returned NULL and in L returns "C.UTF-8", both 54 ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes)); local 55 DecimalFormatSymbols deserializedDfs = (DecimalFormatSymbols) in.readObject(); 56 assertEquals(-1, in.read()); 103 ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes)); local 104 DecimalFormatSymbols deserializedDfs = (DecimalFormatSymbols) in.readObject(); 105 assertEquals(-1, in.read());
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
ObjectInputStreamTest.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 657 fail("Should return a proxy class that implements the interfaces named in a proxy class descriptor"); 946 ObjectInputStream in = new ObjectInputStream(bin); local 947 in.readObject(); 1008 ObjectInputStream in = new ObjectInputStream(new FileInputStream(file)); local 1274 ObjectInputStream in = new ObjectIutputStreamWithReadDesc2(pin, A.class); local 1413 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); local [all...] |
/libcore/ojluni/src/main/java/java/io/ |
ObjectInputStream.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 57 * arguments and parameters in a remote communication system. 59 * <p>ObjectInputStream ensures that the types of all objects in the graph 60 * created from the stream match the classes present in the Java Virtual 67 * stream. Java's safe casting should be used to get the desired type. In 89 * <p>For example to read from a stream as written by the example in 137 * end of data in the same way that they would indicate the end of the stream: 144 * behave in the same manner--if the stream is already positioned at the end o 2283 private final InputStream in; field in class:ObjectInputStream.PeekInputStream 2398 private final PeekInputStream in; field in class:ObjectInputStream.BlockDataInputStream [all...] |
/libcore/ojluni/src/main/java/java/util/ |
Properties.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 42 * or loaded from a stream. Each key and its corresponding value in 47 * the property key is not found in the original property list. 65 * in a simple line-oriented format specified below. 70 * the input/output stream is encoded in ISO 8859-1 character encoding. 71 * Characters that cannot be directly represented in this encoding can be written using 72 * Unicode escapes as defined in section 3.3 of 74 * only a single 'u' character is allowed in an escap [all...] |
/libcore/ojluni/src/main/java/java/util/jar/ |
Manifest.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 91 * Returns a Map of the entries contained in this Manifest. Each entry 97 * @return a Map of the entries contained in this Manifest 130 * Clears the main Attributes as well as the entries in this Manifest. 139 * Attributes.Name.MANIFEST_VERSION must be set in 187 * names and attributes read will be merged in with the current 256 // capacity of 0, which tickles a bug in HashMap. 326 FastInputStream(InputStream in) { [all...] |
/libcore/ojluni/src/main/java/java/util/logging/ |
LogRecord.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 51 * the values to be filled in. 57 * <li> Because objects in the parameters array may not be serializable, 58 * during serialization all objects in the parameters array are 77 * MIN_SEQUENTIAL_THREAD_ID, in which case we try harder to keep 120 * @serial Event time in milliseconds since 1970 164 * These sequence values are allocated in increasing order within a VM. 269 * Sequence numbers are normally assigned in the LogRecor [all...] |
/libcore/ojluni/src/main/java/sun/security/x509/ |
X509CRLEntryImpl.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 43 * <p>Abstract class for a revoked certificate in a CRL. 44 * This class is for each entry in the <code>revokedCertificates</code>, 239 * method in X509CRLEntry. It is better performance-wise since it returns 254 * getRevocationReason method in X509CRLEntry. 290 * @return value of this revoked certificate in a printable form. 344 * Gets a Set of the extension(s) marked CRITICAL in this 345 * X509CRLEntry. In the returned set, each extension i 460 DerInputStream in = derVal.toDerInputStream(); local [all...] |
/libcore/ojluni/src/main/native/ |
Net.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 29 #include <netinet/in.h> 278 * it shouldn't fail. As such, we just fill in generic Linux-compatible values. 313 * it shouldn't fail. As such, we just fill in generic Linux-compatible values. 587 struct in_addr in; local 591 in.s_addr = htonl(interf); 594 (void*)&(in.s_addr), arglen); 603 struct in_addr in; local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/ |
ios.cpp | 119 const ios_base::openmode ios_base::in; member in class:ios_base
|
/ndk/sources/host-tools/make-3.81/ |
misc.c | 11 GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY 78 register char *in, *out, *p; 82 in = strchr (line, '\n'); 83 if (in == 0) 86 out = in; 90 while (*in != '\0') 93 the end just before IN, and BACKSLASH gets nonzero 97 for (p = in - 1; p >= line && *p == '\\'; --p) 105 if (in == out - 1) 114 ++in; 77 register char *in, *out, *p; local [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
fstream_test.cpp | 20 //size in Go 152 ifstream in("/tmp"); 153 if (in.good()) { 155 getline(in, s); 156 CPPUNIT_ASSERT( in.fail() ); 175 basic_fstream<char,char_traits<char> > f( "test_file.txt", ios_base::in | ios_base::out | ios_base::trunc ); 210 basic_fstream<char,char_traits<char> > f( "test_file.txt", ios_base::in | ios_base::out | ios_base::trunc ); 244 ifstream is("test_file.txt", ios_base::in | ios_base::binary); 263 ifstream is("test_file.txt", ios_base::in | ios_base::binary); 279 ifstream is("test_file.txt", ios_base::in | ios_base::binary) 653 result in (state_type&, function in class:std::codecvt [all...] |
/ndk/tests/device/test-stlport/unit/ |
fstream_test.cpp | 20 //size in Go 152 ifstream in("/tmp"); 153 if (in.good()) { 155 getline(in, s); 156 CPPUNIT_ASSERT( in.fail() ); 175 basic_fstream<char,char_traits<char> > f( "test_file.txt", ios_base::in | ios_base::out | ios_base::trunc ); 210 basic_fstream<char,char_traits<char> > f( "test_file.txt", ios_base::in | ios_base::out | ios_base::trunc ); 244 ifstream is("test_file.txt", ios_base::in | ios_base::binary); 263 ifstream is("test_file.txt", ios_base::in | ios_base::binary); 279 ifstream is("test_file.txt", ios_base::in | ios_base::binary) 653 result in (state_type&, function in class:std::codecvt [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppLauncherActivity.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 61 * via BT from other APPs. and also make "Bluetooth" available in sharing method 69 // Regex that matches characters that have special meaning in HTML. '<', '>', '&' and 81 //Check if Bluetooth is available in the beginning instead of at the end 83 Intent in = new Intent(this, BluetoothOppBtErrorActivity.class) local 200 Intent in = new Intent(this, BluetoothOppBtEnableActivity.class); local [all...] |
BluetoothOppUtility.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 137 * Organize Array list for transfers in one batch 162 if (V) Log.d(TAG, "Uri in this batch: " + path.toString()); 181 Intent in = new Intent(context, BluetoothOppBtErrorActivity.class); local 182 in.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK) 228 Intent in = new Intent(context, BluetoothOppBtErrorActivity.class); local [all...] |
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/ |
ImapResponseParser.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 41 * Literal larger than this will be stored in temp file. 64 * We store all {@link ImapResponse} in it. {@link #destroyResponses()} must be called from 71 * in the same way EOF does. 83 public ImapResponseParser(InputStream in, DiscourseLogger discourseLogger) { 84 this(in, discourseLogger, LITERAL_KEEP_IN_MEMORY_THRESHOLD); 90 /* package for test */ ImapResponseParser(InputStream in, DiscourseLogger discourseLogger, 93 in = new LoggingInputStream(in); 446 FixedLengthInputStream in = new FixedLengthInputStream(mIn, size); local [all...] |
/packages/apps/Email/provider_src/com/android/email/mail/transport/ |
MailTransport.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 75 * and {@link #setHost(String)} were invoked), but not opened or connected in any way. 196 * service but is not in the public API. 223 // we should be reporting the bad name in the certificate. Unfortunately this is buried 224 // in the verifier code and is not available in the verifier API, and extracting the 234 * @return the read timeout value in milliseconds 308 * delimiter char(s) are not included in the result. 312 InputStream in = getInputStream() local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ImageFilterRS.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 45 float scaleFactor, int quality, Allocation in) {} 46 protected void bindScriptValues(Allocation in) {} 70 public void apply(Allocation in, Allocation out) { 75 in.getType().getX(), in.getType().getY()); 86 getEnvironment().getQuality(), in); local 90 bindScriptValues(in); 91 run(in, out) [all...] |
/packages/apps/Settings/src/com/android/settings/ |
UserCredentialsSettings.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 196 * The credentials are stored in a {@link CredentialAdapter} attached to the main 197 * {@link ListView} in the fragment. 207 // Do not show work profile keys in user credentials 231 * Helper class to display {@link Credential}s in a list. 291 Credential(Parcel in) { 292 this(in.readString()); 294 long typeBits = in.readLong(); 318 public Credential createFromParcel(Parcel in) { [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
ProcStatsEntry.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 90 public ProcStatsEntry(Parcel in) { 91 mPackage = in.readString(); 92 mUid = in.readInt(); 93 mName = in.readString(); 94 in.readStringList(mPackages); 95 mBgDuration = in.readLong(); 96 mAvgBgMem = in.readLong(); 97 mMaxBgMem = in.readLong() [all...] |
/packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/cache/ |
DvrStorageManager.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 90 private void readFormatInt(DataInputStream in, MediaFormat format, String key) 92 int val = in.readInt(); 98 private void readFormatLong(DataInputStream in, MediaFormat format, String key) 100 long val = in.readLong(); 106 private void readFormatFloat(DataInputStream in, MediaFormat format, String key) 108 float val = in.readFloat(); 114 private String readString(DataInputStream in) throws IOException { 115 int len = in.readInt() [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
DrawableLoader.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 180 private Drawable decodeBitmap(InputStream in, BitmapWorkerOptions options) 185 bufferedStream = new CachedInputStream(in); 279 InputStream in = connection.getInputStream(); local 280 return decodeBitmap(in, options); 315 * caching Bitmap in Resources. So that caller can maintain a different caching 328 Log.e(TAG, "Couldn't get resource " + r.resourceName + " in resources of "
|