HomeSort by relevance Sort by last modified time
    Searched defs:out (Results 526 - 550 of 3019) sorted by null

<<21222324252627282930>>

  /frameworks/base/core/java/android/app/backup/
FullBackup.java 100 FileOutputStream out = null; local
111 out = new FileOutputStream(outFile);
128 if (out != null) {
130 out.write(buffer, 0, got);
135 out.close();
136 out = null;
142 if (out != null) out.close();
  /frameworks/base/core/java/android/os/
PersistableBundle.java 180 public void writeUnknownObject(Object v, String name, XmlSerializer out)
183 out.startTag(null, TAG_PERSISTABLEMAP);
184 out.attribute(null, "name", name);
185 ((PersistableBundle) v).saveToXml(out);
186 out.endTag(null, TAG_PERSISTABLEMAP);
193 public void saveToXml(XmlSerializer out) throws IOException, XmlPullParserException {
195 XmlUtils.writeMapXml(mMap, out, this);
  /frameworks/base/core/java/android/util/
JsonWriter.java 71 * public void writeJsonStream(OutputStream out, List<Message> messages) throws IOException {
72 * JsonWriter writer = new JsonWriter(new OutputStreamWriter(out, "UTF-8"));
123 private final Writer out; field in class:JsonWriter
144 * Creates a new instance that writes a JSON-encoded stream to {@code out}.
148 public JsonWriter(Writer out) {
149 if (out == null) {
150 throw new NullPointerException("out == null");
152 this.out = out;
241 out.write(openBracket)
    [all...]
  /frameworks/base/obex/javax/obex/
ClientSession.java 29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
418 ByteArrayOutputStream out = new ByteArrayOutputStream(); local
419 out.write((byte)opCode);
423 out.write(0x00);
424 out.write(0x03);
426 out.write((byte)((head.length + 3) >> 8));
427 out.write((byte)(head.length + 3));
428 out.write(head);
432 mOutput.write(out.toByteArray());
500 out.write((byte)HeaderSet.AUTH_RESPONSE)
    [all...]
  /frameworks/base/services/core/java/com/android/server/
EntropyMixer.java 160 PrintWriter out = null; local
162 out = new PrintWriter(new FileOutputStream(randomDevice));
163 out.println("Copyright (C) 2009 The Android Open Source Project");
164 out.println("All Your Randomness Are Belong To Us");
165 out.println(START_TIME);
166 out.println(START_NANOTIME);
167 out.println(SystemProperties.get("ro.serialno"));
168 out.println(SystemProperties.get("ro.bootmode"));
169 out.println(SystemProperties.get("ro.baseband"));
170 out.println(SystemProperties.get("ro.carrier"))
    [all...]
  /frameworks/base/test-runner/src/junit/runner/
TestCaseClassLoader.java 143 ByteArrayOutputStream out= new ByteArrayOutputStream(1000); local
147 out.write(b, 0, n);
149 out.close();
150 return out.toByteArray();
  /frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/
BandwidthEnforcementTestService.java 69 BufferedWriter out = new BufferedWriter(writer); local
71 out.append(tag + ":fail\n");
73 out.append(tag + ":pass\n");
75 out.close();
186 final ByteArrayOutputStream out = new ByteArrayOutputStream(); local
191 out.write(id);
192 out.write(new byte[] { 0x01, 0x00 });
193 out.write(new byte[] { 0x00, 0x01 });
194 out.write(new byte[] { 0x00, 0x00 });
195 out.write(new byte[] { 0x00, 0x00 })
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
CharsetDecoder2Test.java 61 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) {
159 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) {
173 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) {
188 CharBuffer out = CharBuffer.allocate(1); local
190 // but "out" doesn't have enough space for replace string.
192 CoderResult result = decoder.decode(in, out, false);
195 // allocate enough space for "out"
196 out = CharBuffer.allocate(10);
197 // replace string should be put into "out" firstly,
199 result = decoder.decode(in, out, true)
    [all...]
  /libcore/luni/src/test/java/libcore/java/nio/charset/
Charset_TestGenerator.java 116 System.out.print(code);
117 System.out.print(", ");
120 System.out.println();
136 // System.out.print(code);
137 // System.out.print(", ");
138 System.out.print((char) code);
141 System.out.println();
154 System.out.print(code);
155 System.out.print(", ");
158 System.out.print(" // ")
219 Dumper out = new Dumper1(); local
    [all...]
  /libcore/support/src/test/java/tests/support/
Support_TestWebData.java 116 ByteArrayOutputStream out = new ByteArrayOutputStream(); local
121 out.write(in.read());
124 out.flush();
125 test0Data = out.toByteArray();
126 out.close();
137 if (out != null) {
138 out.close();
  /packages/apps/Browser/src/com/android/browser/
BrowserBackupAgent.java 42 * out of the agent; the calling code handles it and the backup operation
87 * the backup service, parses that out, and rebuilds the bookmarks table in the
192 FileOutputStream out = new FileOutputStream(file); local
198 out.write(buf, 0, numRead);
202 if (out != null) {
203 out.close();
212 DataOutputStream out = new DataOutputStream( local
215 out.writeLong(fileSize);
216 out.writeLong(crc);
217 out.writeInt(BACKUP_AGENT_VERSION)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/util/
ContactPhotoUtils.java 54 * Generate a new, unique file to be used as an out-of-band communication
111 final ByteArrayOutputStream out = new ByteArrayOutputStream(size); local
113 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out);
114 out.flush();
115 out.close();
116 return out.toByteArray();
  /packages/apps/Gallery/src/com/android/camera/
PhotoAppWidgetProvider.java 53 Log.d(TAG, "sending out views=" + views
63 // Clean deleted photos out of our database
129 ByteArrayOutputStream out = new ByteArrayOutputStream(size); local
130 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out);
131 out.flush();
132 out.close();
137 out.toByteArray());
  /packages/apps/Launcher2/src/com/android/launcher2/
ItemInfo.java 189 ByteArrayOutputStream out = new ByteArrayOutputStream(size); local
191 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out);
192 out.flush();
193 out.close();
194 return out.toByteArray();
  /packages/apps/Launcher3/src/com/android/launcher3/
ItemInfo.java 182 ByteArrayOutputStream out = new ByteArrayOutputStream(size); local
184 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out);
185 out.flush();
186 out.close();
187 return out.toByteArray();
  /packages/apps/Music/tests/src/com/android/music/functional/
TestSongs.java 88 OutputStream out = new FileOutputStream(dst); local
90 // Transfer bytes from in to out
94 out.write(buf, 0, len);
97 out.close();
129 System.out.println("resolver = null");
159 System.out.println("resolver = null");
207 System.out.println("resolver = null");
  /packages/apps/Tag/canon/src/com/android/apps/tagcanon/
TagCanon.java 87 final ByteArrayOutputStream out = new ByteArrayOutputStream(size); local
90 photo.compress(Bitmap.CompressFormat.PNG, 100, out);
91 out.flush();
92 byte[] payload = out.toByteArray();
93 out.close();
  /packages/apps/UnifiedEmail/src/org/apache/commons/io/
IOUtils.java 113 PrintWriter out = new PrintWriter(buf); typedefs
114 out.println();
1159 OutputStreamWriter out = new OutputStreamWriter(output); local
1194 OutputStreamWriter out = new OutputStreamWriter(output, encoding); local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/discovery/
NdkDiscoveredPathInfo.java 138 PrintStream out = new PrintStream(infoFile); local
141 out.print("t,"); //$NON-NLS-1$
142 out.print(mLastUpdate);
143 out.println();
146 out.print("i,"); //$NON-NLS-1$
147 out.print(include.toPortableString());
148 out.println();
152 out.print("d,"); //$NON-NLS-1$
153 out.print(symbol.getKey());
154 out.print(","); //$NON-NLS-1
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
OldJarURLConnectionTest.java 213 JarOutputStream out = new JarOutputStream(new FileOutputStream(jarFile)); local
214 out.putNextEntry(new ZipEntry("test"));
215 out.closeEntry();
216 out.close();
294 JarOutputStream out = new JarOutputStream(new BufferedOutputStream( local
297 out.putNextEntry(jarEntry);
298 out.write(new byte[] { 'a', 'b', 'c' });
299 out.close();
  /frameworks/base/core/java/android/content/pm/
RegisteredServicesCache.java 593 XmlSerializer out = new FastXmlSerializer(); local
594 out.setOutput(fos, "utf-8");
595 out.startDocument(null, true);
596 out.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true);
597 out.startTag(null, "services");
601 out.startTag(null, "service");
602 out.attribute(null, "uid", Integer.toString(service.getValue()));
603 mSerializerAndParser.writeAsXml(service.getKey(), out); local
604 out.endTag(null, "service");
607 out.endTag(null, "services")
    [all...]
  /frameworks/base/services/core/java/com/android/server/job/
JobStore.java 267 * Runnable that writes {@link #mJobSet} out to xml.
294 XmlSerializer out = new FastXmlSerializer(); local
295 out.setOutput(baos, "utf-8");
296 out.startDocument(null, true);
297 out.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true);
299 out.startTag(null, "job-info");
300 out.attribute(null, "version", Integer.toString(JOBS_FILE_VERSION));
306 out.startTag(null, "job");
307 addIdentifierAttributesToJobTag(out, jobStatus);
308 writeConstraintsToXml(out, jobStatus)
310 writeBundleToXml(jobStatus.getExtras(), out); local
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
SmsUsageMonitor.java 504 XmlSerializer out = new FastXmlSerializer(); local
505 out.setOutput(outfile, "utf-8");
507 out.startDocument(null, true);
509 out.startTag(null, TAG_SMS_POLICY_BODY);
512 out.startTag(null, TAG_PACKAGE);
513 out.attribute(null, ATTR_PACKAGE_NAME, policy.getKey());
514 out.attribute(null, ATTR_PACKAGE_SMS_POLICY, policy.getValue().toString());
515 out.endTag(null, TAG_PACKAGE);
518 out.endTag(null, TAG_SMS_POLICY_BODY);
519 out.endDocument()
    [all...]
  /cts/suite/cts/deviceTests/filesystemperf/src/com/android/cts/filesystemperf/
FileUtil.java 144 FileOutputStream out = new FileOutputStream(file); local
148 out.write(data);
151 out.flush();
152 out.close();
  /cts/tests/tests/content/src/android/content/res/cts/
AssetFileDescriptorTest.java 166 // test writeToParcel(), test by assert source and out FileDescriptor content equals.
170 AssetFileDescriptor out = AssetFileDescriptor.CREATOR.createFromParcel(parcel); local
171 assertEquals(out.getStartOffset(), mAssetFileDes.getStartOffset());
172 assertEquals(out.getDeclaredLength(), mAssetFileDes.getDeclaredLength());
173 assertEquals(out.getParcelFileDescriptor().getStatSize(),

Completed in 68 milliseconds

<<21222324252627282930>>