/frameworks/av/services/audioflinger/ |
AudioResamplerDyn.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 123 // copy in the input data into the head (impulse+halfNumCoefs) of the buffer. 127 const TI* const in, const size_t inputIndex) 131 head[i] = in[inputIndex*CHANNELS + i]; 135 // advance the impulse pointer, and load in data into the head (impulse+halfNumCoefs) 139 const TI* const in, const size_t inputIndex) 148 readAgain<CHANNELS>(impulse, halfNumCoefs, in, inputIndex); 356 // determine the number of polyphases in the filterbank. 395 mPhaseFraction %= phaseWrapLimit; // should not do anything, but just in case 556 const TI* const in = reinterpret_cast<const TI*>(mBuffer.raw); local [all...] |
test-resample.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 60 fprintf(stderr," -O # frames output per call to resample() in CSV format\n"); 61 fprintf(stderr," -P # frames provided per call to resample() in CSV format\n"); 65 // Convert a list of integers in CSV format to a Vector of those values. 66 // Returns the number of elements in the list, or -1 on error. 232 int16_t* in = (int16_t*)input_vaddr; local 238 in[i*channels + j] = yi / (1 + j); 263 const size_t mFrameSize; // size of each frame in bytes 267 size_t mNextPidx; // index of next entry in mPvalues to us [all...] |
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
RgbPlayerActivity.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 185 FileInputStream in = new FileInputStream(filename); local 187 in.read(mImageBytes);
|
/frameworks/base/services/core/java/com/android/server/fingerprint/ |
FingerprintsUserState.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 117 // Not the most efficient algorithm in the world, but there shouldn't be more than 10 206 FileInputStream in; local 211 in = new FileInputStream(mFile); 218 parser.setInput(in, null); 225 IoUtils.closeQuietly(in);
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
AbstractClassAdapter.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 String in = type.getInternalName(); local 74 return "L" + renameInternalType(in) + ";"; 98 String in = type.getInternalName(); local 99 String newIn = renameInternalType(in); 100 if (!newIn.equals(in)) {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/ |
MIMEContainer.java | 36 * @param in A reader to read MIME data from; Note that the charset should be ISO-8859-1 to 39 * @param boundary A boundary string for the MIME section that this container is in. 43 public MIMEContainer(LineNumberReader in, String boundary) throws IOException { 44 Map<String,List<String>> headers = parseHeader(in); 48 throw new IOException("Missing " + Type + " @ " + in.getLineNumber()); 84 String line = in.readLine(); 87 in.getLineNumber()); 97 MIMEContainer container = new MIMEContainer(in, subBoundary); 130 mText = recode(getBody(in, boundary, quoted, eof), charset); 196 private static Map<String,List<String>> parseHeader(LineNumberReader in) throws IOException [all...] |
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicBlend.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 93 extern "C" int rsdIntrinsicBlend_K(uchar4 *out, uchar4 const *in, int slot, 119 uchar4 *in = (uchar4 *)info->inPtr[0]; local 127 if (rsdIntrinsicBlend_K(out, in, info->slot, x1, x2) >= 0) 138 for (;x1 < x2; x1++, out++, in++) { 139 *out = *in; 150 rsdIntrinsicBlendSrcOver_K(out, in, len); 153 in += len << 3; 157 for (;x1 < x2; x1++, out++, in++) [all...] |
/frameworks/support/v4/java/android/support/v4/content/ |
FileProvider.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 * a content URI, in order to send the content URI 60 * In comparison, to control access to a <code>file:///</code> {@link Uri} you have to modify the 62 * <em>any</em> app, and remain in effect until you change them. This level of access is 80 * don't need to define a subclass in code. Instead, you can include a FileProvider in your app 81 * by specifying it entirely in XML. To specify the FileProvider component itself, add a 109 * the FileProvider class and use the fully-qualified class name in the <code>android:name</code> 112 * A FileProvider can only generate a content URI for files in directories that you specif 560 final XmlResourceParser in = info.loadXmlMetaData( local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
convolve_test.cc | 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. 215 /* Set up guard blocks for an inner block centered in the outer block */ 259 uint8_t* const in = input(); local 264 UUT_->h8_(in, kInputStride, out, kOutputStride, filter8, 16, filter8, 16, 271 ASSERT_EQ(out[y * kOutputStride + x], in[y * kInputStride + x]) 276 uint8_t* const in = input() local 293 uint8_t* const in = input(); local 342 uint8_t* const in = input(); local 387 uint8_t* const in = input(); local 466 uint8_t* const in = input(); local 554 uint8_t* const in = input(); local [all...] |
/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 109 InputStream in = ParseBenchmark.class.getResourceAsStream(path); local 110 if (in == null) { 114 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/prefs/ |
PreferencesTest.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 51 private InputStream in; field in class:PreferencesTest 60 in = new ByteArrayInputStream(PREFS.getBytes(StandardCharsets.US_ASCII)); 61 stream = new MockInputStream(in); 149 in = PreferencesTest.class 151 Preferences.importPreferences(in); 160 in = PreferencesTest.class.getResourceAsStream( 163 Preferences.importPreferences(in); 184 InputStream in = new ByteArrayInputStream(source) local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
InflaterInputStreamTest.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 40 MyInflaterInputStream(InputStream in) { 41 super(in); 44 MyInflaterInputStream(InputStream in, Inflater infl) { 45 super(in, infl); 48 MyInflaterInputStream(InputStream in, Inflater infl, int size) { 49 super(in, infl, size); 61 //FIXME This test doesn't pass in Harmony classlib or Sun 5.0_7 RI 90 inflatIP.read(byteArray, 0, 5);// only suppose to read in 5 byte 231 InputStream in = new InflaterInputStream(new ByteArrayInputStream(deflated)); local 249 InputStream in = new InflaterInputStream(new ByteArrayInputStream(deflated)); local 258 InputStream in = new InflaterInputStream(new ByteArrayInputStream(deflated)); local [all...] |
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/main/java/java/lang/ |
ProcessManager.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 * descriptors (associated with stdin/stdout/stderr in this case) can be 85 // Wait for children in our process group. 138 // This wait will return because of the notifyAll call in exec. 149 * without doing anything special and land back in 157 * Executes a native process. Fills in in, out, and err and returns the 161 String workingDirectory, FileDescriptor in, FileDescriptor out, 196 FileDescriptor in = new FileDescriptor() local [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
CopyOnWriteArrayList.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 49 * underlying list. In particular, {@link Iterator#remove}, {@link 73 * Maintainers should be careful to read this field only once in 298 * Adds the elements of {@code collection} that are not already present in 367 * Removes or retains the elements in {@code collection}. Returns the number 378 * array and copy in the surviving elements one by one. 465 * more difficult than in the full list, because each read needs to examine 480 * of the sub list's fields in an immutable object, 664 * Throws if {@code index} doesn't identify an element in the array [all...] |
/libcore/luni/src/main/java/javax/security/auth/ |
Subject.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 159 * the specific context in which the {@code action} is invoked. 229 * the specific context in which the {@code action} is invoked. 449 private void readObject(ObjectInputStream in) throws IOException, 452 in.defaultReadObject(); 519 * this issue in other way 679 private void readObject(ObjectInputStream in) throws IOException, 681 in.defaultReadObject();
|
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
BerInputStream.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 private final InputStream in; field in class:BerInputStream 42 * The position in the buffer. 88 this.in = null; 106 public BerInputStream(InputStream in) throws IOException { 107 this(in, BUF_INCREASE_SIZE); 115 public BerInputStream(InputStream in, int initialSize) throws IOException { 116 this.in = in; [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
StringTest.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 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) { 47 int inLength = in.remaining(); 49 in.put((byte) 'X'); 67 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { 68 int inLength = in.remaining(); 70 in.put('x'); 262 fail("Expected " + a + " to equal " + b + " in " + locale); 286 fail("Expected " + a + " to equal " + b + " in " + locale) [all...] |
/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 660 fail("Should return a proxy class that implements the interfaces named in a proxy class descriptor"); 949 ObjectInputStream in = new ObjectInputStream(bin); local 950 in.readObject(); 1011 ObjectInputStream in = new ObjectInputStream(new FileInputStream(file)); local 1277 ObjectInputStream in = new ObjectIutputStreamWithReadDesc2(pin, A.class); local 1416 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); 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...] |