/cts/tests/filesystem/src/android/filesystem/cts/ |
FileUtil.java | 146 FileOutputStream out = new FileOutputStream(file); local 150 out.write(data); 153 out.flush(); 154 out.close();
|
/cts/tests/jdwp/runner/host-side/src/com/android/compatibility/testtype/ |
DalvikTest.java | 160 + "not be actually carried out.") 389 PrintWriter out = null; local 393 out = new PrintWriter(excludeFile); 413 out.println(exclude); 416 out.println(exclude); 421 out.println(exclude); 424 out.println(exclude); 429 out.println(exclude); 431 out.flush(); 433 if (out != null) [all...] |
/cts/tests/tests/net/src/android/net/cts/ |
TrafficStatsTest.java | 131 OutputStream out = socket.getOutputStream(); local 137 out.write(buf); 138 out.flush(); 146 out.close();
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
DebugEventSocketProxy.java | 25 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 51 protected PrintWriter out; field in class:DebugEventSocketProxy 80 out = new PrintWriter(new BufferedWriter(osw)); 84 out.println("ANTLR "+ DebugEventListener.PROTOCOL_VERSION); 85 out.println("grammar \""+ grammarFileName); 86 out.flush(); 97 out.close(); 116 out.println(event); 117 out.flush();
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/utils/ |
Util.java | 167 OutputStream out = new FileOutputStream(dest); local 171 out.write(buf, 0, len); 174 out.close(); 196 OutputStream out = new FileOutputStream(dest); local 200 out.write(buf, 0, len); 203 out.close();
|
/external/emma/core/java12/com/vladium/emma/data/ |
DataFactory.java | 133 public static void writeMetaData (final IMetaData data, final OutputStream out) 136 ObjectOutputStream oout = new ObjectOutputStream (out); 146 OutputStream out = null; local 149 out = connection.getOutputStream (); 151 writeMetaData (data, out); 152 out.flush (); 156 if (out != null) try { out.close (); } catch (Exception ignore) {} 177 public static void writeCoverageData (final ICoverageData data, final OutputStream out) 182 ObjectOutputStream oout = new ObjectOutputStream (out); [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
ByteSourceTest.java | 75 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 76 ByteStreams.copy(in, out); 78 out.close(); 81 assertArrayEquals(bytes, out.toByteArray()); 96 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 98 assertEquals(bytes.length, source.copyTo(out)); 101 assertArrayEquals(bytes, out.toByteArray()); 239 TestOutputStream out = new TestOutputStream(ByteStreams.nullOutputStream()); local 240 assertFalse(out.closed()); 241 source.copyTo(out); 273 OutputStream out = new TestOutputStream(ByteStreams.nullOutputStream(), WRITE_THROWS); local 345 runFailureTest(newNormalByteSource(), out); local [all...] |
/external/v8/build/android/rezip/ |
RezipApk.java | 76 public CountingOutputStream(OutputStream out) { 77 this.mOut = out; 177 * @param out jar output stream to write the alignment file to. 183 JarOutputStream out) throws IOException { 235 out.putNextEntry(alignEntry); 236 out.write(zeroBuffer); 237 out.closeEntry(); 238 out.flush(); 290 * @param out The output APK stream. 298 JarFile in, JarOutputStream out, CountingOutputStream countOut [all...] |
/frameworks/base/core/java/android/provider/ |
DocumentsProvider.java | 735 final Bundle out = new Bundle(); local 747 out.putBoolean( [all...] |
/frameworks/base/obex/javax/obex/ |
ObexHelper.java | 31 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 356 * <code>false</code> if it should not be nulled out 370 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 380 out.write((byte)HeaderSet.CONNECTION_ID); 381 out.write(headImpl.mConnectionID); 387 out.write((byte)HeaderSet.COUNT); 389 out.write(value); 398 out.write((byte)HeaderSet.NAME); 403 out.write(lengthArray); 404 out.write(value) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
ZipFileTest.java | 98 OutputStream out = new FileOutputStream(file); local 102 out.write(buf, 0, result); 105 out.close();
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
MmsHttpClient.java | 173 final OutputStream out = local 175 out.write(pdu); 176 out.flush(); 177 out.close();
|
/packages/apps/Settings/src/com/android/settings/ |
IccLockSettings.java | 287 public void onSaveInstanceState(Bundle out) { 294 out.putInt(DIALOG_STATE, mDialogState); 295 out.putString(DIALOG_PIN, mPinDialog.getEditText().getText().toString()); 296 out.putString(DIALOG_ERROR, mError); 297 out.putBoolean(ENABLE_TO_STATE, mToState); 302 out.putString(OLD_PINCODE, mOldPin); 306 out.putString(OLD_PINCODE, mOldPin); 307 out.putString(NEW_PINCODE, mNewPin); 316 super.onSaveInstanceState(out);
|
/packages/services/Mms/src/com/android/mms/service/ |
MmsHttpClient.java | 182 final OutputStream out = local 184 out.write(pdu); 185 out.flush(); 186 out.close();
|
/packages/services/Telephony/src/com/android/phone/settings/fdn/ |
FdnSetting.java | 542 protected void onSaveInstanceState(Bundle out) { 543 super.onSaveInstanceState(out); 544 out.putBoolean(SKIP_OLD_PIN_KEY, mIsPuk2Locked); 545 out.putInt(PIN_CHANGE_STATE_KEY, mPinChangeState); 546 out.putString(OLD_PIN_KEY, mOldPin); 547 out.putString(NEW_PIN_KEY, mNewPin); 548 out.putString(DIALOG_MESSAGE_KEY, mButtonChangePin2.getDialogMessage().toString()); 549 out.putString(DIALOG_PIN_ENTRY_KEY, mButtonChangePin2.getText());
|
/art/runtime/ |
utf_test.cc | 190 std::vector<uint8_t> out = prefix_out; local 191 out.insert(out.end(), test_out.begin(), test_out.end()); 192 out.insert(out.end(), suffix_out.begin(), suffix_out.end()); 193 AssertConversion(in, out);
|
/art/test/070-nio-buffer/src/ |
Main.java | 30 System.out.println("Direct byte buffer has array: " + buf.hasArray()); 61 System.err.println("ERROR: out-of-bounds put succeeded\n"); 63 System.out.println("Got expected buffer overflow exception"); 69 System.err.println("ERROR: out-of-bounds put succeeded\n"); 71 System.out.println("Got expected out-of-bounds exception"); 77 System.err.println("ERROR: out-of-bounds put succeeded\n"); 79 System.out.println("Got expected buffer overflow exception"); 167 System.out.println(new String(outBuf));
|
/bionic/libc/bionic/ |
ifaddrs.cpp | 24 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 109 // ...and work out the netmask from the prefix length. 161 ifaddrs** out = reinterpret_cast<ifaddrs**>(context); local 167 ifaddrs_storage* new_addr = new ifaddrs_storage(out); 197 const ifaddrs_storage* addr = reinterpret_cast<const ifaddrs_storage*>(*out); 205 ifaddrs_storage* new_addr = new ifaddrs_storage(out); 236 int getifaddrs(ifaddrs** out) { 237 // We construct the result directly into `out`, so terminate the list. 238 *out = nullptr; 242 bool okay = nc.SendRequest(RTM_GETLINK) && nc.ReadResponses(__getifaddrs_callback, out) & [all...] |
/bionic/tests/ |
wchar_test.cpp | 93 char out[MB_LEN_MAX]; local 99 EXPECT_EQ(static_cast<size_t>(-1), wcrtomb(out, 0x00a2, &ps)); 111 EXPECT_EQ(1U, wcrtomb(out, L'\0', &ps)); 243 wchar_t out[8]; local 245 out[0] = 'x'; 246 ASSERT_EQ(0, mbtowc(out, "hello", 0)); 247 ASSERT_EQ('x', out[0]); 249 ASSERT_EQ(0, mbtowc(out, "hello", 0)); 250 ASSERT_EQ(0, mbtowc(out, "", 0)); 251 ASSERT_EQ(1, mbtowc(out, "hello", 1)) 262 wchar_t out[8]; local 308 wchar_t out; local 342 wchar_t out[4]; local 385 wchar_t out; local [all...] |
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
DeviceInfoStore.java | 46 FileOutputStream out = new FileOutputStream(mJsonFile); local 47 mJsonWriter = new JsonWriter(new OutputStreamWriter(out, StandardCharsets.UTF_8));
|
/cts/common/host-side/util/src/com/android/compatibility/common/util/ |
HostInfoStore.java | 46 FileOutputStream out = new FileOutputStream(mJsonFile); local 47 mJsonWriter = new JsonWriter(new OutputStreamWriter(out, StandardCharsets.UTF_8));
|
/cts/tests/backup/src/android/backup/cts/ |
BackupQuotaTest.java | 145 StringBuilder out = new StringBuilder(); local 147 out.append(str); 149 return out.toString();
|
/cts/tests/openglperf2/test/ |
MatrixTest.cpp | 232 float out[4]; local 240 Matrix::multiplyVector(out, m, in); 241 checkValues(out, expected, 4);
|
/cts/tests/tests/content/src/android/content/cts/util/ |
XmlUtils.java | 178 * @param out Where to write the XML data. 185 public static final void writeMapXml(Map val, OutputStream out) 188 serializer.setOutput(out, StandardCharsets.UTF_8.name()); 200 * @param out Where to write the XML data. 207 public static final void writeListXml(List val, OutputStream out) 211 serializer.setOutput(out, StandardCharsets.UTF_8.name()); 225 * @param out XmlSerializer to write the map into. 232 public static final void writeMapXml(Map val, String name, XmlSerializer out) 234 writeMapXml(val, name, out, null); 244 * @param out XmlSerializer to write the map into 299 writeValueXml(e.getValue(), (String)e.getKey(), out, callback); local 334 writeValueXml(val.get(i), null, out); local [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
MemoryFileTest.java | 68 OutputStream out = mMemoryFile.getOutputStream(); local 69 assertNotNull(out); 70 out.write(bs);
|