/packages/experimental/procstatlog/ |
H A D | procstatreport.py | 27 """Interpret output from procstatlog and write an HTML report file.""" 201 "id_js": json.write("total_cpu"), 203 "filename_js": json.write(files_url + "/total_cpu.csv"), 204 "options_js": json.write({ 243 "id_js": json.write("cpu_speed"), 245 "filename_js": json.write(files_url + "/cpu_speed.csv"), 246 "options_js": json.write({ 275 "id_js": json.write("context_switches"), 277 "filename_js": json.write(files_url + "/context_switches.csv"), 278 "options_js": json.write({ [all...] |
/packages/apps/Browser/src/com/android/browser/homepages/ |
H A D | RequestHandler.java | 98 stream.write(htmlEncode(cursor.getString(0)));
100 stream.write(htmlEncode(cursor.getString(1)));
102 stream.write("data:image/png;base64,".getBytes());
104 stream.write(Base64.encode(thumb, Base64.DEFAULT));
108 t.write(mOutput);
130 mOutput.write(buf, 0, read);
136 mOutput.write(str.getBytes());
140 mOutput.write(str.getBytes(), offset, count);
|
H A D | Template.java | 52 void write(OutputStream stream, EntityData params) throws IOException;
method in interface:Template.Entity 74 public void write(OutputStream stream, EntityData params) throws IOException {
method in class:Template.StringEntity 75 stream.write(mValue);
89 public void write(OutputStream stream, EntityData params) throws IOException {
method in class:Template.SimpleEntity 106 public void write(OutputStream stream, EntityData params) throws IOException {
method in class:Template.ListEntity 110 mSubTemplate.write(stream, iter);
160 stream.write((byte[]) mData.get(key));
226 public void write(OutputStream stream) throws IOException {
method in class:Template 227 write(stream, new HashMapEntityData(mData));
230 public void write(OutputStrea method in class:Template [all...] |
H A D | HomeProvider.java | 76 final ParcelFileDescriptor write = pipes[1];
77 AssetFileDescriptor afd = new AssetFileDescriptor(write, 0, -1);
|
/packages/apps/Email/emailcommon/src/org/apache/commons/io/output/ |
H A D | DemuxOutputStream.java | 82 * @param ch the byte to write to stream
86 public void write( int ch )
method in class:DemuxOutputStream 92 output.write( ch );
|
H A D | ByteArrayOutputStream.java | 135 * @param b the bytes to write
137 * @param len The number of bytes to write
140 public void write(byte[] b, int off, int len) {
method in class:ByteArrayOutputStream 169 * @param b the byte to write
172 public synchronized void write(int b) {
method in class:ByteArrayOutputStream 193 public synchronized int write(InputStream in) throws IOException {
method in class:ByteArrayOutputStream 245 * @param out the output stream to write to
254 out.write(buf, 0, c);
|
/packages/providers/DownloadProvider/tests/src/tests/http/ |
H A D | MockResponse.java | 110 bytesOut.write(Integer.toHexString(chunkSize).getBytes(ASCII)); 111 bytesOut.write("\r\n".getBytes(ASCII)); 112 bytesOut.write(body, pos, chunkSize); 113 bytesOut.write("\r\n".getBytes(ASCII)); 116 bytesOut.write("0\r\n".getBytes(ASCII));
|
H A D | MockWebServer.java | 285 out.write(response.getBody()); 289 out.write((response.getStatus() + "\r\n").getBytes(ASCII)); 291 out.write((header + "\r\n").getBytes(ASCII)); 293 out.write(("\r\n").getBytes(ASCII)); 294 out.write(response.getBody()); 309 out.write(buffer, 0, count); 345 @Override public void write(byte[] buffer, int offset, int len) { method in class:MockWebServer.TruncatingOutputStream 347 super.write(buffer, offset, Math.min(len, bodyLimit - count)); 349 @Override public void write(int oneByte) { method in class:MockWebServer.TruncatingOutputStream 352 super.write(oneByt [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/ |
H A D | MimeMultipart.java | 89 writer.write(mPreamble + "\r\n"); 94 writer.write("--" + mBoundary + "\r\n"); 97 writer.write("\r\n"); 100 writer.write("--" + mBoundary + "--\r\n");
|
H A D | TextBody.java | 39 out.write(Base64.encode(bytes, Base64.CRLF));
|
H A D | Rfc822Output.java | 179 * @param messageId the message to write out 180 * @param out the output stream to write the message to 250 writer.write("\r\n"); 264 writer.write("\r\n"); 299 // Set up input stream and write it out via base64 321 out.write('\r'); 322 out.write('\n'); 419 writer.write("\r\n"); // a truly empty message 432 writer.write("\r\n"); 439 writer.write("\ [all...] |
/packages/apps/Email/emailcommon/src/org/apache/commons/io/ |
H A D | CopyUtils.java | 110 * Methods renamed to IOUtils.write() or IOUtils.copy().
133 * @param output the <code>OutputStream</code> to write to
138 output.write(input);
150 * @param output the <code>Writer</code> to write to
164 * @param output the <code>Writer</code> to write to
188 * @param output the <code>OutputStream</code> to write to
200 output.write(buffer, 0, n);
213 * @param output the <code>Writer</code> to write to
225 output.write(buffer, 0, n);
240 * @param output the <code>Writer</code> to write t [all...] |
/packages/apps/Email/emailcommon/src/org/apache/james/mime4j/message/ |
H A D | Multipart.java | 174 writer.write(getPreamble() + "\r\n");
177 writer.write(boundary + "\r\n");
181 writer.write(getEpilogue() + "\r\n");
182 writer.write(boundary + "--" + "\r\n");
|
/packages/apps/Camera/tests/src/com/android/camera/stress/ |
H A D | CameraStartUp.java | 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"); 111 fail("Camera write output to file");
|
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
H A D | RecognizerLogger.java | 123 mWriter.write(Build.FINGERPRINT); 132 mWriter.write(msg); 225 if (rtn > 0) baos.write(b, offset, rtn); 231 if (rtn > 0) baos.write(b, 0, rtn); 237 if (rtn > 0) baos.write(rtn); 252 hdr.write(out); 253 out.write(pcm);
|
/packages/inputmethods/LatinIME/tools/makedict/src/com/android/inputmethod/latin/ |
H A D | XmlDictInputOutput.java | 196 * @param destination a destination stream to write to. 197 * @param dict the dictionary to write. 206 destination.write("<wordlist format=\"2\">\n"); 208 destination.write(" <" + WORD_TAG + " " + WORD_ATTR + "=\"" + word.mWord + "\" " 211 destination.write("\n"); 213 destination.write(" <" + BIGRAM_TAG + " " + FREQUENCY_ATTR + "=\"" 216 destination.write(" "); 218 destination.write("</" + WORD_TAG + ">\n"); 220 destination.write("</wordlist>\n");
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | BoxBlurFilter.java | 83 for (int x = 0, write = y; x < width; ++x, write += height) { 85 out[write] = 0xFF000000
|
/packages/apps/Calculator/src/com/android/calculator2/ |
H A D | HistoryEntry.java | 43 void write(DataOutput out) throws IOException { method in class:HistoryEntry
|
H A D | History.java | 66 void write(DataOutput out) throws IOException { method in class:History 69 entry.write(out);
|
H A D | Persist.java | 75 history.write(out);
|
/packages/apps/Gallery2/tests/src/com/android/gallery3d/common/ |
H A D | BlobCacheTest.java | 452 f.write(b); 460 f.write(0xFF); 466 f.write(0xFF); 474 f.write(0x00); 482 f.write(0x00); 490 f.write(0x20); 498 f.write(0x20); 522 f.write(0x01); 530 f.write(0x00); 538 f.write( [all...] |
/packages/apps/Mms/src/com/android/mms/drm/ |
H A D | DrmUtils.java | 60 os.write(data);
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
H A D | ProgressCallbackEntity.java | 64 outstream.write(mContent, pos, len);
|
/packages/providers/DownloadProvider/tests/permission/src/com/android/providers/downloads/permission/tests/ |
H A D | DownloadProviderPermissionsTest.java | 56 strm.write("Oops!".getBytes()); 59 fail("Was able to create and write to " + filePath); 68 * Test that an untrusted app cannot write to the download provider 80 fail("write to provider did not throw SecurityException as expected.");
|
/packages/apps/Browser/tests/src/com/android/browser/ |
H A D | PopularUrlsTest.java | 369 public void write() throws IOException { method in class:PopularUrlsTest.RunStatus 376 output.write(iteration + newLine); 377 output.write(page + newLine); 378 output.write(url + newLine); 432 * @throws IOException unable to read from input or write to writer. 467 mStatus.write(); 490 writer.write(page + "|" + (stopTime - startTime) + newLine);
|