/packages/apps/OMA-DM/DMService/src/com/android/omadm/service/ |
DMClientService.java | 588 OutputStream out = new FileOutputStream(to); local 592 out.write(buf, 0, len); 594 out.close();
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadThread.java | 439 OutputStream out = null; local 454 out = new DrmOutputStream(drmClient, outPfd, mInfoDelta.mMimeType); 456 out = new ParcelFileDescriptor.AutoCloseOutputStream(outPfd); 490 transferData(in, out, outFd); 493 if (out instanceof DrmOutputStream) { 494 ((DrmOutputStream) out).finish(); 508 if (out != null) out.flush(); 512 IoUtils.closeQuietly(out); 521 private void transferData(InputStream in, OutputStream out, FileDescriptor outFd [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
TestStep.java | 40 public Target.Floaty out; field in class:TestStep.ArgumentsFloatFloatFloat 47 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); local 49 script.forEach_testStepFloatFloatFloat(inEdge, out); 50 verifyResultsStepFloatFloatFloat(inEdge, inV, out, false); 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); local 57 scriptRelaxed.forEach_testStepFloatFloatFloat(inEdge, out); 58 verifyResultsStepFloatFloatFloat(inEdge, inV, out, true); 64 private void verifyResultsStepFloatFloatFloat(Allocation inEdge, Allocation inV, Allocation out, boolean relaxed) { 70 out.copyTo(arrayOut); 77 // Figure out what the outputs should have been 116 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); local 124 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); local 185 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); local 193 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); local 254 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 4), INPUTSIZE); local 262 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 4), INPUTSIZE); local 323 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); local 331 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); local 392 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); local 400 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); local 461 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 4), INPUTSIZE); local 469 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 4), INPUTSIZE); local 530 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); local 538 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); local 599 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); local 607 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); local 668 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 4), INPUTSIZE); local 676 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 4), INPUTSIZE); local [all...] |
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
ImageCache.java | 255 OutputStream out = null; local 261 out = editor.newOutputStream(DISK_CACHE_INDEX); 263 mCacheParams.compressFormat, mCacheParams.compressQuality, out); 265 out.close(); 276 if (out != null) { 277 out.close(); 359 * @param options - BitmapFactory.Options with out* options populated 515 * @param targetOptions - Options that have the out* value populated
|
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
ImageCache.java | 255 OutputStream out = null; local 261 out = editor.newOutputStream(DISK_CACHE_INDEX); 263 mCacheParams.compressFormat, mCacheParams.compressQuality, out); 265 out.close(); 276 if (out != null) { 277 out.close(); 359 * @param options - BitmapFactory.Options with out* options populated 515 * @param targetOptions - Options that have the out* value populated
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
ImageCache.java | 255 OutputStream out = null; local 261 out = editor.newOutputStream(DISK_CACHE_INDEX); 263 mCacheParams.compressFormat, mCacheParams.compressQuality, out); 265 out.close(); 276 if (out != null) { 277 out.close(); 359 * @param options - BitmapFactory.Options with out* options populated 515 * @param targetOptions - Options that have the out* value populated
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KeyStore2Test.java | 135 ByteArrayOutputStream out = null; local 152 out = new ByteArrayOutputStream(); 153 keyTest.store(out, pssWord); 154 out.close(); 156 return out.toByteArray();
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ |
ant-javamail.jar | |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
Utils.java | 398 OutputStream out = null; local 400 out = new BufferedOutputStream(new FileOutputStream(outputFile)); 401 imageLoader.save(out, SWT.IMAGE_GIF); 406 if (out != null) { 408 out.close();
|
/external/jmdns/src/javax/jmdns/impl/ |
DNSRecord.java | 89 abstract DNSOutgoing addAnswer(JmDNSImpl dns, DNSIncoming in, InetAddress addr, int port, DNSOutgoing out) throws IOException; 171 abstract void write(MessageOutputStream out); 184 void write(MessageOutputStream out) { 197 out.writeBytes(buffer, 0, length); 226 void write(MessageOutputStream out) { 242 out.writeBytes(buffer, 0, length); 384 DNSOutgoing addAnswer(JmDNSImpl dns, DNSIncoming in, InetAddress addr, int port, DNSOutgoing out) throws IOException { 385 return out; 444 void write(MessageOutputStream out) { 445 out.writeName(_alias) [all...] |
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
MockWebServer.java | 268 serverSocket.close(); // should cause acceptConnections() to break out 307 OutputStream out = new BufferedOutputStream(socket.getOutputStream()); 309 while (processOneRequest(socket, in, out)) { 317 out.close(); 342 private boolean processOneRequest(Socket socket, InputStream in, OutputStream out) 355 writeResponse(out, response); 375 out.close(); 487 private void writeResponse(OutputStream out, MockResponse response) throws IOException { 488 out.write((response.getStatus() + "\r\n").getBytes(ASCII)); 490 out.write((header + "\r\n").getBytes(ASCII)) [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/ |
UnknownFieldSet.java | 28 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 150 final ByteString.CodedBuilder out = local 152 writeTo(out.getCodedOutput()); 153 return out.build();
|
/external/smack/src/org/jivesoftware/smack/util/ |
StringUtils.java | 536 StringBuilder out = new StringBuilder((int)(len*1.3)); local 543 out.append(input, last, i - last); 546 out.append(LT_ENCODE); 550 out.append(input, last, i - last); 553 out.append(GT_ENCODE); 558 out.append(input, last, i - last); 568 out.append(AMP_ENCODE); 573 out.append(input, last, i - last); 576 out.append(QUOTE_ENCODE); 580 out.append(input, last, i - last) [all...] |
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
RecurrenceProcessorTest.java | 38 String[] out = new String[dates.length]; local 42 out[i] = time.format2445(); 45 return out; 48 private static void printLists(String[] expected, String[] out) { 49 Log.i(TAG, " expected out"); 51 for (i = 0; i < expected.length && i < out.length; i++) { 53 + " " + out[i]); 58 for (; i < out.length; i++) { 59 Log.i(TAG, " [" + i + "] " + out[i]); 109 long[] out = rp.expand(dtstart, recur, rangeStart.toMillis(false /* use isDst */) local 2458 TreeSet<Long> out = new TreeSet<Long>(); local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
OutputStreamWriterTest.java | 40 private ByteArrayOutputStream out; field in class:OutputStreamWriterTest 63 out = new ByteArrayOutputStream(); 64 writer = new OutputStreamWriter(out, "utf-8"); 103 String result = out.toString("utf-8"); 161 assertEquals("hi", out.toString("utf-8")); 164 assertEquals("hi" + source, out.toString("utf-8")); 182 String str = new String(out.toByteArray(), "utf-8"); 187 str = new String(out.toByteArray(), "utf-8"); 192 str = new String(out.toByteArray(), "utf-8"); 197 str = new String(out.toByteArray(), "utf-8") 643 OutputStreamWriter out = new OutputStreamWriter( local [all...] |
PipedInputStreamTest.java | 38 e.printStackTrace(System.out); 39 System.out.println("Could not write bytes"); 332 PipedOutputStream out; field in class:PipedInputStreamTest.Worker 335 this.out = pos; 340 out.write(20); 341 out.close(); 350 PipedOutputStream out = new PipedOutputStream(); local 351 in.connect(out); 352 Thread worker = new Worker(out); 362 out.close() [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
ControlTest.java | 392 Writer out = new FileWriter(copy); local 395 out.write(c); 398 out.close();
|
/libcore/luni/src/test/java/dalvik/system/ |
DexClassLoaderTest.java | 140 FileOutputStream out = new FileOutputStream(destination); local 141 Streams.copy(in, out); 143 out.close();
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
AttachmentUtilities.java | 385 private static long copyFile(InputStream in, OutputStream out) throws IOException { 386 long size = IOUtils.copy(in, out); 388 out.flush(); 389 out.close();
|
/packages/apps/Email/src/com/android/email/ |
LegacyConversions.java | 334 FileOutputStream out = null; local 338 out = new FileOutputStream(saveAs); 339 copySize = IOUtils.copyLarge(in, out); 344 if (out != null) { 345 out.close();
|
/packages/apps/Email/tests/src/com/android/emailcommon/internet/ |
MimeMessageTest.java | 415 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 416 message.writeTo(out); 417 out.close(); 424 byte[] actual = out.toByteArray(); 434 * The lines up to Content-Type were copied directly out of RFC 2822
|
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
Parser.java | 226 final FileOutputStream out = context.openFileOutput(file, local 228 out.write(captureArray.toString().getBytes()); 229 out.close(); 347 // Otherwise, we've prematurely hit end of document, so exception out
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
Attachment.java | 268 final OutputStream out = resolver.openOutputStream(uri, "rwt"); local 269 size = IOUtils.copy(in, out); 272 out.close();
|
/bootable/recovery/ |
fuse_sideload.c | 119 struct fuse_init_out out; local 121 out.major = FUSE_KERNEL_VERSION; 122 out.minor = FUSE_KERNEL_MINOR_VERSION; 123 out.max_readahead = req->max_readahead; 124 out.flags = 0; 125 out.max_background = 32; 126 out.congestion_threshold = 32; 127 out.max_write = 4096; 128 fuse_reply(fd, hdr->unique, &out, sizeof(out)); 149 struct fuse_attr_out out; local 169 struct fuse_entry_out out; local 198 struct fuse_open_out out; local [all...] |
verifier.cpp | 328 Certificate* out = NULL; local 342 out = (Certificate*)realloc(out, *numKeys * sizeof(Certificate)); 343 Certificate* cert = out + (*numKeys - 1); 454 return out; 458 free(out);
|