/frameworks/base/services/core/java/com/android/server/updates/ |
ConfigUpdateInstallReceiver.java | 230 FileOutputStream out = null; local 245 out = new FileOutputStream(tmp); 246 out.write(content); 248 out.getFD().sync(); 257 IoUtils.closeQuietly(out);
|
/frameworks/base/telephony/java/com/android/ims/ |
ImsCallProfile.java | 267 public void writeToParcel(Parcel out, int flags) { 268 out.writeInt(mServiceType); 269 out.writeInt(mCallType); 270 out.writeParcelable(mCallExtras, 0); 271 out.writeParcelable(mMediaProfile, 0);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
Wap230WspContentTypeTest.java | 257 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 258 out.write(0x00); 259 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); 266 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 267 out.write(testType.getBytes("US-ASCII")); 268 out.write(WSP_STRING_TERMINATOR); 270 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); 281 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 282 out.write(testType.length() + 1); 283 out.write(testType.getBytes("US-ASCII")) 297 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 313 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 329 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 348 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 368 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 386 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 403 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 424 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 446 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 470 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 493 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 510 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 533 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 557 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 582 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 606 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 627 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 648 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 673 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 694 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 717 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 738 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 759 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 782 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 793 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 815 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 839 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 863 ByteArrayOutputStream out = new ByteArrayOutputStream(); local [all...] |
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicBlend.cpp | 94 extern "C" int rsdIntrinsicBlend_K(uchar4 *out, uchar4 const *in, int slot, 119 uchar4 *out = (uchar4 *)p->out; local 126 if (rsdIntrinsicBlend_K(out, in, p->slot, x1, x2) >= 0) 132 for (;x1 < x2; x1++, out++) { 133 *out = 0; 137 for (;x1 < x2; x1++, out++, in++) { 138 *out = *in; 149 rsdIntrinsicBlendSrcOver_K(out, in, len); 151 out += len << 3 [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
convolve_test.cc | 260 uint8_t* const out = output(); local 264 UUT_->h8_(in, kInputStride, out, kOutputStride, filter8, 16, filter8, 16, 271 ASSERT_EQ(out[y * kOutputStride + x], in[y * kInputStride + x]) 277 uint8_t* const out = output(); local 281 UUT_->v8_(in, kInputStride, out, kOutputStride, filter8, 16, filter8, 16, 288 ASSERT_EQ(out[y * kOutputStride + x], in[y * kInputStride + x]) 294 uint8_t* const out = output(); local 298 UUT_->hv8_(in, kInputStride, out, kOutputStride, filter8, 16, filter8, 16, 305 ASSERT_EQ(out[y * kOutputStride + x], in[y * kInputStride + x]) 343 uint8_t* const out = output() local 388 uint8_t* const out = output(); local 467 uint8_t* const out = output(); local 555 uint8_t* const out = output(); local [all...] |
/hardware/qcom/audio/legacy/alsa_sound/ |
AudioHardwareALSA.cpp | 735 AudioStreamOutALSA *out = 0; local 741 return out; 771 return out; 827 out = new AudioStreamOutALSA(this, &(*it)); 828 err = out->set(format, channels, sampleRate, devices); 834 return out; 903 out = new AudioStreamOutALSA(this, &(*it)); 904 err = out->set(format, channels, sampleRate, devices); 907 return out; 1006 AudioStreamOutALSA *out = 0; local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
SystemTest.java | 49 PrintStream orgOut = System.out; 50 PrintStream out = new PrintStream(new ByteArrayOutputStream()); local 51 System.setOut(out); 52 assertTrue("out not set", System.out == out);
|
/libcore/libart/src/main/java/java/lang/ |
ThreadGroup.java | 448 * Outputs to {@code System.out} a text representation of the 455 System.out.println(); 460 * Outputs to {@code System.out}a text representation of the 469 System.out.println(this.toString()); 475 System.out.println(thread); 487 System.out.print(" "); // 4 spaces for each level
|
/libcore/luni/src/main/java/java/lang/ |
ProcessManager.java | 88 // Work out what onExit wants to hear. 157 * Executes a native process. Fills in in, out, and err and returns the 161 String workingDirectory, FileDescriptor in, FileDescriptor out, 197 FileDescriptor out = new FileDescriptor(); local 209 pid = exec(command, environment, workingPath, in, out, err, redirectErrorStream); 218 ProcessImpl process = new ProcessImpl(pid, in, out, err); 247 ProcessImpl(int pid, FileDescriptor in, FileDescriptor out, FileDescriptor err) { 252 this.outputStream = new ProcessOutputStream(out);
|
/libcore/luni/src/main/java/java/util/concurrent/ |
CopyOnWriteArrayList.java | 752 private void writeObject(ObjectOutputStream out) throws IOException { 754 out.defaultWriteObject(); 755 out.writeInt(snapshot.length); 757 out.writeObject(o);
|
/libcore/luni/src/main/java/java/util/zip/ |
ZipInputStream.java | 49 * files out of a zip file, similar to the {@code unzip(1)} utility. 147 int inB, out; local 150 out = inf.getTotalOut(); 153 out = inRead; 162 readAndVerifyDataDescriptor(inB, out); 186 private void readAndVerifyDataDescriptor(int inB, int out) throws IOException { 200 if (currentEntry.compressedSize != inB || currentEntry.size != out) {
|
/libcore/luni/src/main/java/javax/security/auth/ |
Subject.java | 458 private void writeObject(ObjectOutputStream out) throws IOException { 459 out.defaultWriteObject(); 510 * out from writeObject method comments that priv. credential set is 703 private void writeObject(ObjectOutputStream out) throws IOException { 713 out.defaultWriteObject();
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldOutputStreamWriterTest.java | 125 Support_OutputStream out = new Support_OutputStream(); local 136 writer = new OutputStreamWriter(out, (Charset) null); 142 writer = new OutputStreamWriter(out, cs); 151 Support_OutputStream out = new Support_OutputStream(); local 163 writer = new OutputStreamWriter(out, (CharsetEncoder) null); 169 writer = new OutputStreamWriter(out, cs); 239 System.out.println(e); 341 Support_OutputStream out = new Support_OutputStream(500); local 344 writer = new OutputStreamWriter(out, "utf-8"); 399 out.setThrowsException(true) 434 Support_OutputStream out = new Support_OutputStream(500); local 486 Support_OutputStream out = new Support_OutputStream(500); local [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
StringTest.java | 45 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) { 46 chars = out.array(); 50 out.put('Y'); 67 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { 71 out.put((byte) 'y');
|
/libcore/luni/src/test/java/libcore/java/text/ |
OldNumberFormatTest.java | 211 String out = nf1.format(1234567890.0123456789); local 212 assertEquals("Wrong result for double : " + out, "1,234,567,890.012", 213 out.toString()); 215 out = nf1.format(-1234567890.0123456789); 216 assertEquals("Wrong result for double : " + out, "-1,234,567,890.012", 217 out.toString()); 221 out = nf2.format(-1234567890.0123456789); 223 // assertEquals("Wrong result for double : " + out, "1,234,567,890.012-", 224 // out.toString()); 225 assertEquals("Wrong result for double : " + out, "-1'234'567'890.012", out.toString()) 238 String out = nf1.format(Long.MAX_VALUE); local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
ObjectInputStreamTest.java | 872 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 881 out.write(begStream, 0, begStream.length); 882 out.write(cName.length); // second byte for C class name length 883 out.write(cName, 0, cName.length); // C class name 895 out.write(midStream, 0, midStream.length); 896 out.write(aName.length); // second byte for A class name length 897 out.write(aName, 0, aName.length); // A class name 928 out.write(endStream, 0, endStream.length); 929 out.flush(); 933 out.toByteArray())) 1006 ObjectOutputStream out = new ObjectOutputStream(new FileOutputStream( local 1276 ObjectOutputStream out = new ObjectOutputStream(pout); local 1409 ByteArrayOutputStream out = new ByteArrayOutputStream(); local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
DigestOutputStreamTest.java | 80 MyOutputStream out = new MyOutputStream(); local 82 MyDigestOutputStream dos = new MyDigestOutputStream(out, md); 83 assertSame(out, dos.myOutputStream()); 95 dos = new MyDigestOutputStream(out, null); 106 OutputStream out = new MyOutputStream(); local 109 DigestOutputStream dos = new DigestOutputStream(out, digest); 113 dos = new DigestOutputStream(out, null); 123 OutputStream out = new MyOutputStream(); local 125 DigestOutputStream dos = new DigestOutputStream(out, null); 605 public MyDigestOutputStream(OutputStream out, MessageDigest digest) [all...] |
/ndk/sources/android/support/src/stdio/ |
vfwprintf.c | 20 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 177 static void out(FILE *f, const wchar_t *s, size_t l) function 230 if (f) out(f, a, l); 328 out(f, a, p); 387 FakeFILE out[1]; local 388 fake_file_init_file(out, f); 395 ret = wprintf_core(out, fmt, &ap2, nl_arg, nl_type); 406 FakeFILE out[1]; local 407 fake_file_init_wbuffer(out, s, l); 409 ret = wprintf_core(out, fmt, &ap2, nl_arg, nl_type) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/ |
ios.cpp | 120 const ios_base::openmode ios_base::out; member in class:ios_base
|
/ndk/sources/host-tools/make-3.81/ |
misc.c | 78 register char *in, *out, *p; 86 out = in; 87 while (out > line && out[-1] == '\\') 88 --out; 105 if (in == out - 1) 111 *out++ = '\\'; 121 while (out > line && isblank ((unsigned char)out[-1])) 122 --out; 77 register char *in, *out, *p; local 390 register char *out = (char *) xmalloc (length + 1); local [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
fstream_test.cpp | 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 ); 232 ofstream of("test_file.txt", ios_base::out | ios_base::binary | ios_base::trunc); 299 CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(6) ); 307 CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(9) ); 311 ofstream o( "test_file.txt", ios_base::app | ios_base::out ) 338 ofstream o( "test_file.txt", ios_base::app | ios_base::out ); 339 CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(expected_pos) ); 355 ofstream o( "test_file.txt", ios_base::app | ios_base::out ); 357 CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(10) ) 643 result out(state_type&, function in class:std::codecvt [all...] |
/ndk/tests/device/test-stlport/unit/ |
fstream_test.cpp | 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 ); 232 ofstream of("test_file.txt", ios_base::out | ios_base::binary | ios_base::trunc); 299 CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(6) ); 307 CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(9) ); 311 ofstream o( "test_file.txt", ios_base::app | ios_base::out ) 338 ofstream o( "test_file.txt", ios_base::app | ios_base::out ); 339 CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(expected_pos) ); 355 ofstream o( "test_file.txt", ios_base::app | ios_base::out ); 357 CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(10) ) 643 result out(state_type&, function in class:std::codecvt [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapMessageListingElement.java | 238 char out[] = new char[text.length()]; local 243 out[o++] = c; 250 return new String(out,0,o);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppLauncherActivity.java | 29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 105 // EXTRA_TEXT, we will try send this TEXT out; Currently in 354 StringBuilder out = new StringBuilder(); local 358 out.append(text.substring(end, start)); 364 out.append(" "); 366 out.append(' '); 368 out.append("<br>"); 370 out.append("<"); 372 out.append(">"); 374 out.append("&") [all...] |
/packages/apps/Dialer/tests/src/com/android/dialer/ |
CallDetailActivityTest.java | 281 public void copyBetweenStreams(InputStream in, OutputStream out) throws IOException { 287 out.write(buffer, 0, bytesRead);
|