/frameworks/av/cmds/stagefright/ |
H A D | audioloop.cpp | 59 sp<AMRWriter> writer = new AMRWriter("/sdcard/out.amr"); local 60 writer->addSource(encoder); 61 writer->start(); 63 writer->stop();
|
H A D | recordvideo.cpp | 283 sp<MPEG4Writer> writer = new MPEG4Writer(fileName); local 284 writer->addSource(encoder); 286 CHECK_EQ((status_t)OK, writer->start()); 287 while (!writer->reachedEOS()) { 289 err = writer->stop();
|
H A D | record.cpp | 231 sp<MPEG4Writer> writer = new MPEG4Writer("/sdcard/output.mp4"); 232 writer->addSource(encoder); 233 writer->setMaxFileDuration(kDurationUs); 234 CHECK_EQ((status_t)OK, writer->start()); 235 while (!writer->reachedEOS()) { 239 err = writer->stop();
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | FragmentActivity.java | 605 * @param writer The PrintWriter to which you should dump your state. This will be 609 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { argument 612 //ActivityCompatHoneycomb.dump(this, prefix, fd, writer, args); 614 writer.print(prefix); writer.print("Local FragmentActivity "); 615 writer.print(Integer.toHexString(System.identityHashCode(this))); 616 writer.println(" State:"); 618 writer.print(innerPrefix); writer.print("mCreated="); 619 writer [all...] |
/frameworks/av/media/libstagefright/tests/ |
H A D | DummyRecorder.cpp | 31 DummyRecorder *writer = static_cast<DummyRecorder *>(pthis); local 32 writer->readFromSource(); 79 ALOGV("A fake writer accessing the frames");
|
H A D | SurfaceMediaSource_test.cpp | 666 SimpleDummyRecorder writer(mSMS); 667 writer.start(); 673 ASSERT_EQ(NO_ERROR, writer.readFromSource()); 677 writer.stop(); 689 SimpleDummyRecorder writer(mSMS); 690 writer.start(); 698 // Forcing the writer to lag behind a few frames 700 ASSERT_EQ(NO_ERROR, writer.readFromSource()); 704 writer.stop(); 708 // A dummy writer (MULTITHREADE [all...] |
/frameworks/base/core/tests/coretests/src/android/net/http/ |
H A D | DefaultHttpClientTest.java | 88 StringWriter writer = new StringWriter(); 93 writer.write(buffer, 0, length); 96 return writer.toString();
|
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/testrunner/ |
H A D | UiAutomatorTestRunner.java | 107 PrintStream writer = new PrintStream(byteArrayOutputStream); 109 StringResultPrinter resultPrinter = new StringResultPrinter(writer); 131 writer.println(String.format("Test run aborted due to unexpected exception: %s", 133 t.printStackTrace(writer); 139 writer.close(); 301 public StringResultPrinter(PrintStream writer) { argument 302 super(writer);
|
/frameworks/base/core/java/android/app/ |
H A D | Service.java | 675 * @param writer The PrintWriter to which you should dump your state. This will be 679 protected void dump(FileDescriptor fd, PrintWriter writer, String[] args) { argument 680 writer.println("nothing to dump");
|
/frameworks/base/test-runner/src/junit/textui/ |
H A D | ResultPrinter.java | 20 public ResultPrinter(PrintStream writer) { argument 21 fWriter= writer;
|
H A D | TestRunner.java | 47 public TestRunner(PrintStream writer) { argument 48 this(new ResultPrinter(writer));
|
/frameworks/base/core/java/android/os/ |
H A D | PerformanceCollector.java | 24 * outputs the results using writer of type {@link PerformanceResultsWriter}. 291 public PerformanceCollector(PerformanceResultsWriter writer) { argument 292 setPerformanceResultsWriter(writer); 295 public void setPerformanceResultsWriter(PerformanceResultsWriter writer) { argument 296 mPerfWriter = writer;
|
/frameworks/base/test-runner/src/android/test/ |
H A D | AndroidTestRunner.java | 213 Test test, PerformanceResultsWriter writer) { 215 ((PerformanceCollectorTestCase) test).setPerformanceResultsWriter(writer); 235 public void setPerformanceResultsWriter(PerformanceResultsWriter writer) { argument 236 mPerfWriter = writer; 212 setPerformanceWriterIfPerformanceCollectorTestCase( Test test, PerformanceResultsWriter writer) argument
|
H A D | InstrumentationTestRunner.java | 548 PrintStream writer = new PrintStream(byteArrayOutputStream); 550 StringResultPrinter resultPrinter = new StringResultPrinter(writer); 561 writer.println(String.format("Test run aborted due to unexpected exception: %s", 563 t.printStackTrace(writer); 573 writer.close(); 655 public StringResultPrinter(PrintStream writer) { argument 656 super(writer);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 741 ALOGE("File writer is not avaialble"); 982 sp<MediaWriter> writer = new MPEG2TSWriter(mOutputFd); local 991 status_t err = setupAudioEncoder(writer); 1016 writer->addSource(encoder); 1020 writer->setMaxFileDuration(mMaxFileDurationUs); 1024 writer->setMaxFileSize(mMaxFileSizeBytes); 1027 mWriter = writer; 1442 status_t StagefrightRecorder::setupAudioEncoder(const sp<MediaWriter>& writer) { argument 1466 writer->addSource(audioEncoder); 1479 sp<MediaWriter> writer local [all...] |
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
H A D | RenameClassAdapter.java | 204 SignatureWriter writer = new SignatureWriter(); 205 reader.accept(new RenameSignatureAdapter(writer)); 206 sig = writer.toString(); 220 SignatureWriter writer = new SignatureWriter(); 221 reader.acceptType(new RenameSignatureAdapter(writer)); 222 sig = writer.toString();
|
/frameworks/base/keystore/java/android/security/ |
H A D | Credentials.java | 114 Writer writer = new OutputStreamWriter(bao, Charsets.US_ASCII); 115 PEMWriter pw = new PEMWriter(writer);
|
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/ |
H A D | BandwidthEnforcementTestService.java | 68 FileWriter writer = new FileWriter(outFile, true); 69 BufferedWriter out = new BufferedWriter(writer);
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | FileRotator.java | 188 public void combineActive(final Reader reader, final Writer writer, long currentTimeMillis) argument 208 writer.write(out); 373 private static void writeFile(File file, Writer writer) throws IOException { argument 377 writer.write(bos);
|
/frameworks/base/libs/androidfw/ |
H A D | BackupHelpers.cpp | 486 void send_tarfile_chunk(BackupDataWriter* writer, const char* buffer, size_t size) { argument 488 writer->WriteEntityData(&chunk_size_no, 4); 489 if (size != 0) writer->WriteEntityData(buffer, size); 493 const String8& rootpath, const String8& filepath, BackupDataWriter* writer) 668 send_tarfile_chunk(writer, paxHeader, 512); 672 send_tarfile_chunk(writer, paxData, 512 * paxblocks); 677 send_tarfile_chunk(writer, buf, 512); 707 send_tarfile_chunk(writer, buf, nRead); 1138 test_write_header_and_entity(BackupDataWriter& writer, const char* str) 1143 err = writer 492 write_tarfile(const String8& packageName, const String8& domain, const String8& rootpath, const String8& filepath, BackupDataWriter* writer) argument [all...] |
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
H A D | FsUtils.java | 303 BufferedWriter writer = new BufferedWriter( 306 writer.write(line + '\n'); 308 writer.flush(); 309 writer.close();
|
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | FileUtilsTest.java | 49 FileWriter writer = new FileWriter(mTestFile); 51 writer.write(TEST_DATA, 0, TEST_DATA.length()); 53 writer.close();
|
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/ |
H A D | AccessibilityNodeInfoDumper.java | 71 FileWriter writer = new FileWriter(dumpFile); 80 writer.write(stringWriter.toString()); 81 writer.close();
|
/frameworks/compile/libbcc/lib/ExecutionEngine/ |
H A D | Script.cpp | 416 MCCacheWriter writer; local 420 writer.addDependency(BCC_FILE_RESOURCE, pathLibBCC_SHA1, sha1LibBCC_SHA1); 421 writer.addDependency(BCC_FILE_RESOURCE, pathLibRS, sha1LibRS); 426 mSourceList[i]->introDependency(writer); 439 if (!writer.writeCacheFile(&objFile, &infoFile, this, libRS_threadable)) {
|
/frameworks/base/tests/CoreTests/android/core/ |
H A D | SSLSocketTest.java | 95 PrintWriter writer = new PrintWriter(output); 105 writer.println("GET https://" + host + path + " HTTP/1.1\r"); 106 writer.println("Host: " + host + "\r"); 107 writer.println("Connection: " + 110 writer.println("\r"); 111 writer.flush(); 170 writer.close();
|