/cts/hostsidetests/media/bitstreams/app/src/android/media/cts/bitstreams/app/ |
MediaBitstreamsDeviceSideTest.java | 85 void run(OutputStream out) throws Exception; 90 public void run(OutputStream out) throws Exception { 101 formats.setOutput(out, UTF_8); 146 public void run(OutputStream out) throws Exception { 148 PrintStream ps = new PrintStream(out); 204 public void run(OutputStream out) throws Exception { 210 PrintStream ps = new PrintStream(out, true) 320 OutputStream out = new ByteArrayOutputStream(0); local 331 out = new FileOutputStream(tmpf); 332 callback.run(out); [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
DexFile.java | 166 * @param out {@code null-ok;} where to write to 170 public void writeTo(OutputStream out, Writer humanOut, boolean verbose) 175 if (out != null) { 176 out.write(result.getArray()); 534 // Write out all the sections. 538 ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput(barr); local 541 out.enableAnnotations(dumpWidth, verbose); 547 int zeroCount = one.getFileOffset() - out.getCursor(); 552 out.writeZeroes(one.getFileOffset() - out.getCursor()) [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
DexFile.java | 215 * @param out {@code null-ok;} where to write to 219 public void writeTo(OutputStream out, Writer humanOut, boolean verbose) 224 if (out != null) { 225 out.write(result.getArray()); 636 // Write out all the sections. 640 ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput(barr); local 643 out.enableAnnotations(dumpWidth, verbose); 652 final int zeroCount = one.getFileOffset() - out.getCursor(); 657 out.writeZeroes(zeroCount); 658 one.writeTo(out); [all...] |
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
DiskLruCache.java | 858 private FaultHidingOutputStream(OutputStream out) { 859 super(out); 864 out.write(oneByte); 872 out.write(buffer, offset, length); 880 out.close(); 888 out.flush(); [all...] |
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
DiskLruCache.java | 858 private FaultHidingOutputStream(OutputStream out) { 859 super(out); 864 out.write(oneByte); 872 out.write(buffer, offset, length); 880 out.close(); 888 out.flush(); [all...] |
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
DiskLruCache.java | 858 private FaultHidingOutputStream(OutputStream out) { 859 super(out); 864 out.write(oneByte); 872 out.write(buffer, offset, length); 880 out.close(); 888 out.flush(); [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
RemoteDebugEventSocketListener.java | 25 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 47 PrintWriter out; field in class:RemoteDebugEventSocketListener 197 out = new PrintWriter(new BufferedWriter(osw)); 211 out.close(); out = null; 224 if ( out!=null ) { 225 out.close(); 248 out.println("ack"); 249 out.flush(); 253 //System.out.println("event: "+line) [all...] |
/external/testng/src/main/java/org/testng/internal/ |
Utils.java | 258 System.out.println("vvvvv"); 260 System.out.println(entry.getKey() + " => " + entry.getValue()); 262 System.out.println("^^^^^"); 373 * Logs the the message to System.out if level is greater than 381 * @param msg the message to log to System.out. 387 System.out.println("[" + cls + "] " + msg); 390 System.out.println(msg); 752 try (InputStream in = new FileInputStream(from); OutputStream out = new FileOutputStream(to)) { 756 out.write(buf, 0, len); 775 BufferedWriter out = new BufferedWriter(new FileWriter(result)) local [all...] |
/frameworks/base/core/java/android/app/ |
NotificationChannel.java | 619 // There are backups out there with uncanonical uris (because we fixed this after 638 public void writeXml(XmlSerializer out) throws IOException { 639 writeXml(out, false, null); 645 public void writeXmlForBackup(XmlSerializer out, Context context) throws IOException { 646 writeXml(out, true, context); 665 private void writeXml(XmlSerializer out, boolean forBackup, @Nullable Context context) 669 out.startTag(null, TAG_CHANNEL); 670 out.attribute(null, ATT_ID, getId()); 672 out.attribute(null, ATT_NAME, getName().toString()); 675 out.attribute(null, ATT_DESC, getDescription()) [all...] |
/frameworks/base/core/java/android/app/backup/ |
FullBackup.java | 149 FileOutputStream out = null; local 162 out = new FileOutputStream(outFile); 179 if (out != null) { 181 out.write(buffer, 0, got); 186 out.close(); 187 out = null; 193 if (out != null) out.close(); 236 * Parse out the semantic domains into the correct physical location.
|
/frameworks/base/core/java/android/provider/ |
DocumentsProvider.java | 959 final Bundle out = new Bundle(); local [all...] |
/frameworks/base/services/backup/java/com/android/server/backup/internal/ |
PerformBackupTask.java | 322 // because it's cheap and this way we guarantee that we don't get out of 433 // and not yet launched out of that state, so just as it won't 779 BackupDataOutput out = new BackupDataOutput(fd); local [all...] |
/frameworks/base/services/core/java/com/android/server/ |
DropBoxManagerService.java | 377 StringBuilder out = new StringBuilder(); local 394 out.append("Unknown argument: ").append(args[i]).append("\n"); 400 out.append("Drop box contents: ").append(mAllFiles.contents.size()).append(" entries\n"); 401 out.append("Max entries: ").append(mMaxFiles).append("\n"); 404 out.append("Searching for:"); 405 for (String a : searchArgs) out.append(" ").append(a); 406 out.append("\n"); 411 out.append("\n"); 423 if (doPrint) out.append("========================================\n"); 424 out.append(date).append(" ").append(entry.tag == null ? "(no tag)" : entry.tag) [all...] |
/libcore/luni/src/test/java/libcore/xml/ |
XsltXPathConformanceTestSuite.java | 128 System.out.println("Usage: XsltXPathConformanceTestSuite <catalog-xml>"); 129 System.out.println(); 130 System.out.println(" catalog-xml: an XML file describing an OASIS test suite"); 131 System.out.println(" such as: " + defaultCatalogFile); 198 * <output-file role="principal" compare="XML">attribset01.out</output-file> 351 System.out.println("Purpose: " + purpose); 354 System.out.println("Spec: " + spec); 603 StringWriter out = new StringWriter(); local 607 out.write(buffer, 0, count); 610 return out.toString() [all...] |
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/ |
ImapFolder.java | 255 * Figure out what command we are going to run: 404 // TODO: Figure out what kinds of exceptions might actually be thrown 407 // time to figure out what exceptions might be thrown. 439 OutputStream out = tempBody.getOutputStream(); local 445 out.write(buffer, 0, n); 450 out.write(warning.getBytes()); 452 out.close(); 516 * This is a body. We need to add as much information as we can find out about 559 * If there are body params we might be able to get some more information out 601 * information about the attachment out [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
Utilities.java | 303 // This is an out-param, for getting the hsv values for an rgb 398 ByteArrayOutputStream out = new ByteArrayOutputStream(size); local 400 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out); 401 out.flush(); 402 out.close(); 403 return out.toByteArray(); 450 System.out.println(b.toString());
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
VoicemailProviderTest.java | 124 OutputStream out = mResolver.openOutputStream(uri); local 126 out.write(outBuffer); 127 out.flush(); 128 out.close();
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadThread.java | 430 // Enforce the cleartext traffic opt-out for the UID. This cannot be enforced earlier 550 OutputStream out = null; local 565 out = new DrmOutputStream(drmClient, outPfd, mInfoDelta.mMimeType); 567 out = new ParcelFileDescriptor.AutoCloseOutputStream(outPfd); 589 transferData(in, out, outFd); 592 if (out instanceof DrmOutputStream) { 593 ((DrmOutputStream) out).finish(); 607 if (out != null) out.flush(); 611 IoUtils.closeQuietly(out); [all...] |
/art/test/993-breakpoints/src/art/ |
Test993.java | 123 System.out.println("\t\t\tBreakpoint: " + e + " @ line=" + Breakpoint.locationToLine(e, loc)); 146 System.out.println("\t\tInvoking \"" + msg + "\""); 161 System.out.println("\t\tReflective invoking: " + m + " args: [this: " + this_arg + "]"); 176 System.out.println("\t\tNative invoking: " + m + " args: [this: " + this_arg + "]"); 193 System.out.println("\t\tConstructing: " + msg); 194 System.out.println("\t\t\tCreated: " + s.get()); 206 System.out.println("\t\tReflective constructor: " + m); 207 System.out.println("\t\t\tCreated: " + m.newInstance()); 221 System.out.println("\t\tNative constructor: " + m + ", type: " + type); 222 System.out.println("\t\t\tCreated: " + constructNative(m, type)) 233 List<List<T>> out = new ArrayList<>(); local 239 List<List<T>> out = new ArrayList<>(); local 252 List<List<T>> out = new ArrayList<List<T>>(); local [all...] |
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/suite/ |
ModuleRepoSuite.java | 331 PrintWriter out = null; local 334 out = new PrintWriter(filterFile); 338 out.println(filterTest); 341 out.flush(); 345 StreamUtil.close(out);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
ForEachTest.java | 67 Allocation out = Allocation.createTyped(mRS, t); local 68 fe_all.forEach_test_i8(in, out); 77 out.destroy(); 83 out = Allocation.createTyped(mRS, t); 84 fe_all.forEach_test_i8_2(in, out); 93 out.destroy(); 99 out = Allocation.createTyped(mRS, t); 100 fe_all.forEach_test_i8_3(in, out); 109 out.destroy(); 115 out = Allocation.createTyped(mRS, t) [all...] |
KernelTest.java | 67 Allocation out = Allocation.createTyped(mRS, t); local 68 kernel_all.forEach_test_i8(in, out); 77 out.destroy(); 83 out = Allocation.createTyped(mRS, t); 84 kernel_all.forEach_test_i8_2(in, out); 93 out.destroy(); 99 out = Allocation.createTyped(mRS, t); 100 kernel_all.forEach_test_i8_3(in, out); 109 out.destroy(); 115 out = Allocation.createTyped(mRS, t) [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
TestAbs.java | 49 public byte out; field in class:TestAbs.ArgumentsCharUchar 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_8, 1), INPUTSIZE); local 56 script.forEach_testAbsCharUchar(inV, out); 57 verifyResultsAbsCharUchar(inV, out, false); 58 out.destroy(); 63 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_8, 1), INPUTSIZE); local 64 scriptRelaxed.forEach_testAbsCharUchar(inV, out); 65 verifyResultsAbsCharUchar(inV, out, true); 66 out.destroy(); 73 private void verifyResultsAbsCharUchar(Allocation inV, Allocation out, boolean relaxed) 126 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_8, 2), INPUTSIZE); local 134 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_8, 2), INPUTSIZE); local 197 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_8, 3), INPUTSIZE); local 205 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_8, 3), INPUTSIZE); local 268 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_8, 4), INPUTSIZE); local 276 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_8, 4), INPUTSIZE); local 338 public short out; field in class:TestAbs.ArgumentsShortUshort 344 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_16, 1), INPUTSIZE); local 352 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_16, 1), INPUTSIZE); local 415 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_16, 2), INPUTSIZE); local 423 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_16, 2), INPUTSIZE); local 486 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_16, 3), INPUTSIZE); local 494 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_16, 3), INPUTSIZE); local 557 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_16, 4), INPUTSIZE); local 565 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_16, 4), INPUTSIZE); local 627 public int out; field in class:TestAbs.ArgumentsIntUint 633 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_32, 1), INPUTSIZE); local 641 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_32, 1), INPUTSIZE); local 704 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_32, 2), INPUTSIZE); local 712 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_32, 2), INPUTSIZE); local 775 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_32, 3), INPUTSIZE); local 783 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_32, 3), INPUTSIZE); local 846 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_32, 4), INPUTSIZE); local 854 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_32, 4), INPUTSIZE); local [all...] |
TestAcos.java | 49 public Target.Floaty out; field in class:TestAcos.ArgumentsFloatFloat 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); local 56 script.forEach_testAcosFloatFloat(inV, out); 57 verifyResultsAcosFloatFloat(inV, out, false); 58 out.destroy(); 63 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); local 64 scriptRelaxed.forEach_testAcosFloatFloat(inV, out); 65 verifyResultsAcosFloatFloat(inV, out, true); 66 out.destroy(); 73 private void verifyResultsAcosFloatFloat(Allocation inV, Allocation out, boolean relaxed) 127 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); local 135 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); local 199 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); local 207 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); local 271 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 4), INPUTSIZE); local 279 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 4), INPUTSIZE); local 343 public Target.Floaty out; field in class:TestAcos.ArgumentsHalfHalf 349 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_16, 1), INPUTSIZE); local 357 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_16, 1), INPUTSIZE); local 425 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_16, 2), INPUTSIZE); local 433 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_16, 2), INPUTSIZE); local 501 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_16, 3), INPUTSIZE); local 509 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_16, 3), INPUTSIZE); local 577 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_16, 4), INPUTSIZE); local 585 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_16, 4), INPUTSIZE); local [all...] |
TestAcosh.java | 49 public Target.Floaty out; field in class:TestAcosh.ArgumentsFloatFloat 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); local 56 script.forEach_testAcoshFloatFloat(inV, out); 57 verifyResultsAcoshFloatFloat(inV, out, false); 58 out.destroy(); 63 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); local 64 scriptRelaxed.forEach_testAcoshFloatFloat(inV, out); 65 verifyResultsAcoshFloatFloat(inV, out, true); 66 out.destroy(); 73 private void verifyResultsAcoshFloatFloat(Allocation inV, Allocation out, boolean relaxed) 127 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); local 135 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); local 199 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); local 207 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); local 271 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 4), INPUTSIZE); local 279 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 4), INPUTSIZE); local 343 public Target.Floaty out; field in class:TestAcosh.ArgumentsHalfHalf 349 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_16, 1), INPUTSIZE); local 357 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_16, 1), INPUTSIZE); local 425 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_16, 2), INPUTSIZE); local 433 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_16, 2), INPUTSIZE); local 501 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_16, 3), INPUTSIZE); local 509 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_16, 3), INPUTSIZE); local 577 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_16, 4), INPUTSIZE); local 585 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_16, 4), INPUTSIZE); local [all...] |