/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/stubhal/ |
GenericSoundModelTest.java | 166 DataOutputStream out = new DataOutputStream(socket.getOutputStream()); local 167 out.writeBytes("trig " + model.uuid.toString() + "\r\n"); 168 out.flush(); 242 DataOutputStream out = new DataOutputStream(socket.getOutputStream()); local 243 out.writeBytes("trig " + modelInfo.model.uuid + "\r\n"); 244 out.flush();
|
/frameworks/base/tools/preload2/src/com/android/preload/classdataretrieval/hprof/ |
Hprof.java | 134 System.out.println(e); 151 System.out.println("GetHprof.onEndFailure"); 167 System.out.println("GetHprof.onSuccess"); 183 System.out.println("GetHprof.onSuccess"); 187 BufferedOutputStream out = local 189 out.write(arg0); 190 out.close(); 212 System.out.println("Dump file is " + hprofLocalFile);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/ |
OMAConstructed.java | 141 public void marshal(OutputStream out, int level) throws IOException { 142 OMAConstants.indent(level, out); 143 OMAConstants.serializeString(getName(), out); local 145 out.write(String.format("(%s)", getContext()).getBytes(StandardCharsets.UTF_8)); 147 out.write(new byte[] { '+', '\n' }); 150 child.marshal(out, level + 1); 152 OMAConstants.indent(level, out); 153 out.write(".\n".getBytes(StandardCharsets.UTF_8));
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
HurlStack.java | 219 DataOutputStream out = new DataOutputStream(connection.getOutputStream()); local 220 out.write(postBody); 221 out.close(); 264 DataOutputStream out = new DataOutputStream(connection.getOutputStream()); local 265 out.write(body); 266 out.close();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
ProcessManagerTest.java | 39 OutputStream out = process.getOutputStream(); local 41 out.write(greeting.getBytes()); 42 out.write('\n'); 43 out.close();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
GZIPInputStreamTest.java | 138 // System.out.println(orgBuf[i] + " " + outBuf[i]); 147 // line below fails on RI also, comment out. 161 GZIPOutputStream out = new GZIPOutputStream(bout); local 162 out.write(test); 163 out.close(); 271 FileOutputStream out = new FileOutputStream(f); local 272 GZIPOutputStream gout = new GZIPOutputStream(out); 279 out.write(1); 280 out.close();
|
/libcore/json/src/main/java/org/json/ |
JSONStringer.java | 64 final StringBuilder out = new StringBuilder(); field in class:JSONStringer 175 if (stack.isEmpty() && out.length() > 0) { 180 out.append(openBracket); 198 out.append(closeBracket); 246 out.append(value); 249 out.append(JSONObject.numberToString((Number) value)); 268 out.append(value); 284 out.append(JSONObject.numberToString(value)); 298 out.append(value); 303 out.append("\"") [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
InterruptedStreamTest.java | 66 PipedOutputStream out = new PipedOutputStream(); local 67 PipedInputStream in = new PipedInputStream(out); 72 PipedOutputStream out = new PipedOutputStream(); local 73 new PipedInputStream(out); 74 testInterruptOutputStream(out); 153 private void testInterruptOutputStream(final OutputStream out) throws Exception { 158 out.write(new byte[BUFFER_SIZE]);
|
/libcore/luni/src/test/java/libcore/java/net/ |
OldUnixSocketTest.java | 51 OutputStream out = worker.getOutputStream(); local 52 out.write(new byte[42]);
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
OldCharset_AbstractTest.java | 79 System.out.format("\ntest_dumpEncodableChars() for name %s => %s (class = %s)\n", 81 Charset_TestGenerator.Dumper out = new Charset_TestGenerator.Dumper1(16); local 86 out.consume(code); 93 out.consume(code); 97 System.out.println(); 98 System.out.println("Encodable Chars dumped for Test Class " + getClass().getName()); 106 System.out.format("\ntest_dumpEncoded() for name %s => %s (class = %s)\n", 108 Charset_TestGenerator.Dumper out = new Charset_TestGenerator.Dumper1(); local 115 out.consume(outputBB.get() & 0xff); 117 System.out.println() [all...] |
/libcore/luni/src/test/java/libcore/java/util/zip/ |
GZIPInputStreamTest.java | 198 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 202 out.write(buffer, 0, count); 205 byte[] outArray = out.toByteArray();
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
CipherInputStreamTest.java | 166 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 170 out.write(buffer, 0, count); 172 return out.toByteArray();
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
ContentInfo.java | 177 public void encode(DerOutputStream out) throws IOException { 196 out.write(DerValue.tag_Sequence, seq); 212 String out = ""; local 214 out += "Content Info Sequence\n\tContent type: " + contentType + "\n"; 215 out += "\tContent: " + content; 216 return out;
|
PKCS8Key.java | 261 public final void encode(DerOutputStream out) throws IOException 263 encode(out, this.algid, this.key); 293 DerOutputStream out; local 295 out = new DerOutputStream (); 296 encode (out); 297 encodedKey = out.toByteArray(); 397 static void encode(DerOutputStream out, AlgorithmId algid, byte[] key) 403 out.write(DerValue.tag_Sequence, tmp);
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
X509Key.java | 298 public final void encode(DerOutputStream out) throws IOException 300 encode(out, this.algid, getKey()); 319 DerOutputStream out = new DerOutputStream(); local 320 encode(out); 321 encoded = out.toByteArray(); 470 static void encode(DerOutputStream out, AlgorithmId algid, BitArray key) 475 out.write(DerValue.tag_Sequence, tmp);
|
/packages/apps/Camera2/tests/src/com/android/camera/stress/ |
CameraLatency.java | 127 BufferedWriter out = new BufferedWriter(fstream); local 128 out.write("Camera Latency : \n"); 129 out.write("Number of loop: " + TOTAL_NUMBER_OF_IMAGECAPTURE + "\n"); 130 out.write("Avg AutoFocus = " + mAvgAutoFocusTime + "\n"); 131 out.write("Avg mShutterLag = " + mAvgShutterLag + "\n"); 132 out.write("Avg mShutterToPictureDisplayedTime = " 134 out.write("Avg mPictureDisplayedToJpegCallbackTime = " 136 out.write("Avg mJpegCallbackFinishTime = " + 138 out.write("Avg FirstPreviewTime = " + 140 out.close() [all...] |
/packages/apps/LegacyCamera/tests/src/com/android/camera/stress/ |
CameraStartUp.java | 98 BufferedWriter out = new BufferedWriter(fstream); local 100 out.write("First " + Type + " Startup: " + totalStartupTime + "\n"); 103 out.write(Type + "startup time: " + "\n"); 104 out.write("Number of loop: " + (TOTAL_NUMBER_OF_STARTUP -1) + "\n"); 105 out.write(individualStartupTime + "\n\n"); 106 out.write(Type + " average startup time: " + averageStartupTime + " ms\n\n"); 108 out.close();
|
/packages/apps/SpeechRecorder/src/com/android/speechrecorder/ |
SpeechRecorderActivity.java | 214 OutputStream out = new FileOutputStream(mUtterance.toString()); local 220 hdr.write(out); 221 out.write(pcm); 223 out.close();
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/form/ |
FormPage.java | 145 public void writeToParcel(Parcel out, int flags) { 146 out.writeString(mPageTitle); 147 out.writeString(mFormType.name()); 148 out.writeStringList(mFormChoices); 149 out.writeParcelable(mFormIntent, 0); 150 out.writeParcelable(mFormData, 0); 151 out.writeString(mError); 152 out.writeString(mErrorIconUri); 153 out.writeByte((byte) (mCompleted ? 1 : 0));
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
MimeUtility.java | 235 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 236 IOUtils.copy(in, out); 259 String result = out.toString(charset); 260 out.close(); 347 OutputStream out = tempBody.getOutputStream(); local 349 IOUtils.copy(in, out); 353 //out.write(warning.getBytes()); 355 out.close(); 361 * Recursively scan a Part (usually a Message) and sort out which of its children will be
|
/packages/services/Telephony/src/com/android/phone/common/mail/internet/ |
MimeUtility.java | 234 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 235 IOUtils.copy(in, out); 258 String result = out.toString(charset); 259 out.close(); 346 OutputStream out = tempBody.getOutputStream(); local 348 IOUtils.copy(in, out); 352 //out.write(warning.getBytes()); 354 out.close(); 360 * Recursively scan a Part (usually a Message) and sort out which of its children will be
|
/prebuilts/tools/common/m2/repository/org/sonatype/gshell/gshell-io/2.4/ |
gshell-io-2.4.jar | |
/frameworks/base/core/java/android/widget/ |
RemoteViews.java | 411 public void writeToParcel(Parcel out, int flags) { 412 out.writeInt(TAG); 413 out.writeInt(this.viewId); 414 out.writeInt(this.emptyViewId); [all...] |
/frameworks/base/services/core/java/com/android/server/job/ |
JobStore.java | 252 * Runnable that writes {@link #mJobSet} out to xml. 281 XmlSerializer out = new FastXmlSerializer(); local 282 out.setOutput(baos, StandardCharsets.UTF_8.name()); 283 out.startDocument(null, true); 284 out.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true); 286 out.startTag(null, "job-info"); 287 out.attribute(null, "version", Integer.toString(JOBS_FILE_VERSION)); 293 out.startTag(null, "job"); 294 addAttributesToJobTag(out, jobStatus); 295 writeConstraintsToXml(out, jobStatus) 297 writeBundleToXml(jobStatus.getExtras(), out); local [all...] |
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/ |
CreatePrivateDataTest.java | 209 OutputStream out = socket.getOutputStream(); local 214 out.write(buf); 215 out.flush(); 217 out.close();
|