HomeSort by relevance Sort by last modified time
    Searched refs:outStream (Results 1 - 24 of 24) sorted by null

  /frameworks/base/telephony/java/com/android/internal/telephony/
SmsHeader.java 197 ByteArrayOutputStream outStream = new ByteArrayOutputStream(SmsMessage.MAX_USER_DATA_BYTES);
201 outStream.write(ELT_ID_CONCATENATED_8_BIT_REFERENCE);
202 outStream.write(3);
203 outStream.write(concatRef.refNumber);
205 outStream.write(ELT_ID_CONCATENATED_16_BIT_REFERENCE);
206 outStream.write(4);
207 outStream.write(concatRef.refNumber >>> 8);
208 outStream.write(concatRef.refNumber & 0x00FF);
210 outStream.write(concatRef.msgCount);
211 outStream.write(concatRef.seqNumber)
    [all...]
  /frameworks/base/core/tests/coretests/src/com/android/internal/util/
BitwiseStreamsTest.java 37 BitwiseOutputStream outStream = new BitwiseOutputStream(30);
38 outStream.skip(offset);
39 for (int i = 0; i < inBuf.length; i++) outStream.write(8, inBuf[i]);
40 byte[] outBuf = outStream.toByteArray();
52 BitwiseOutputStream outStream = new BitwiseOutputStream(30);
53 outStream.skip(offset);
54 for (int i = 0; i < inBuf.length; i++) outStream.write(8, inBuf[i]);
55 BitwiseInputStream inStream = new BitwiseInputStream(outStream.toByteArray());
66 BitwiseOutputStream outStream = new BitwiseOutputStream(30);
67 outStream.skip(offset)
    [all...]
  /cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/
TestPlanTest.java 145 ByteArrayOutputStream outStream = new ByteArrayOutputStream();
146 mPlan.serialize(outStream);
147 assertTrue(outStream.toString().contains(EMPTY_DATA));
157 ByteArrayOutputStream outStream = new ByteArrayOutputStream();
158 mPlan.serialize(outStream);
160 parsedPlan.parse(getStringAsStream(outStream.toString()));
174 ByteArrayOutputStream outStream = new ByteArrayOutputStream();
175 mPlan.serialize(outStream);
177 parsedPlan.parse(getStringAsStream(outStream.toString()));
  /cts/tests/tests/gesture/src/android/gesture/cts/
GestureStoreTest.java 142 ByteArrayOutputStream outStream = null;
147 outStream = new ByteArrayOutputStream();
148 mGestureStore.save(outStream);
151 inStream = new ByteArrayInputStream(outStream.toByteArray());
164 if (outStream != null) {
165 outStream.close();
  /frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
BearerData.java 384 private static void encodeMessageId(BearerData bData, BitwiseOutputStream outStream)
387 outStream.write(8, 3);
388 outStream.write(4, bData.messageType);
389 outStream.write(8, bData.messageId >> 8);
390 outStream.write(8, bData.messageId);
391 outStream.write(1, bData.hasUserDataHeader ? 1 : 0);
392 outStream.skip(3);
450 BitwiseOutputStream outStream = new BitwiseOutputStream(msg.length());
456 outStream.write(7, UserData.UNENCODABLE_7_BIT_CHAR);
461 outStream.write(7, charCode)
    [all...]
  /frameworks/base/core/java/com/android/internal/app/
IMediaContainerService.aidl 29 in ParcelFileDescriptor outStream);
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppLauncherActivity.java 207 FileOutputStream outStream = null;
218 outStream = context.openFileOutput(fileName, Context.MODE_PRIVATE);
219 if (outStream != null) {
220 outStream.write(byteBuff, 0, byteBuff.length);
236 if (outStream != null) {
237 outStream.close();
  /frameworks/base/core/java/android/os/
Debug.java 363 PrintWriter outStream = null;
366 outStream = new PrintWriter(new OutputStreamWriter(fos));
367 outStream.println("1");
370 if (outStream != null)
371 outStream.close();
391 PrintWriter outStream = null;
394 outStream = new PrintWriter(new OutputStreamWriter(fos));
395 outStream.println("0");
400 if (outStream != null)
401 outStream.close()
    [all...]
  /development/tools/mkstubs/src/com/android/mkstubs/
StubGenerator.java 84 * @param outStream The file output stream were to write the JAR.
88 void createJar(FileOutputStream outStream, Map<String,byte[]> all) throws IOException {
89 JarOutputStream jar = new JarOutputStream(outStream);
  /frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
DefaultContainerService.java 93 * @param outStream Remote file descriptor to be used for copying
97 public int copyResource(final Uri packageURI, ParcelFileDescriptor outStream) {
98 if (packageURI == null || outStream == null) {
103 = new ParcelFileDescriptor.AutoCloseOutputStream(outStream);
350 private void copyFile(Uri pPackageURI, OutputStream outStream) throws FileNotFoundException,
358 copyToFile(srcPackageFile, outStream);
383 copyToFile(dlStream, outStream);
  /libcore/luni/src/test/java/libcore/java/util/zip/
OldAndroidZipFileTest.java 42 FileOutputStream outStream = new FileOutputStream(file);
43 createCompressedZip(outStream);
  /frameworks/base/core/java/android/webkit/
CacheManager.java 114 OutputStream outStream;
167 return outStream;
508 ret.outStream = new FileOutputStream(ret.outFile);
514 ret.outStream = new FileOutputStream(ret.outFile);
545 cacheRet.outStream.close();
593 cacheRet.outStream.close();
    [all...]
WebViewWorker.java 162 cache.outStream.write(data.mChunk.mArray, 0,
  /frameworks/base/core/java/android/gesture/
Gesture.java 317 final DataOutputStream outStream = new DataOutputStream(byteStream);
320 serialize(outStream);
325 GestureUtils.closeStream(outStream);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DexWrapper.java 142 * @param outStream the stdout console
148 boolean verbose, PrintStream outStream, PrintStream errStream) throws CoreException {
169 mConsoleOut.set(null /* obj: static field */, outStream);
BuildHelper.java 126 * @param outStream
131 public BuildHelper(IProject project, AndroidPrintStream outStream,
134 mOutStream = outStream;
    [all...]
  /external/android-mock/tests/com/google/android/testing/mocking/
UsesMocksProcessorTest.java 202 private JavaFileObject getMockFileObject(OutputStream outStream) throws IOException {
204 EasyMock.expect(mockFileObject.openOutputStream()).andReturn(outStream).anyTimes();
  /frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
AsmGenerator.java 232 * @param outStream The file output stream were to write the JAR.
236 void createJar(FileOutputStream outStream, Map<String,byte[]> all) throws IOException {
237 JarOutputStream jar = new JarOutputStream(outStream);
  /prebuilt/common/commons-compress/
commons-compress-1.0.jar 
  /cts/tests/tests/hardware/src/android/hardware/cts/
CameraTest.java 233 FileOutputStream outStream = new FileOutputStream(rawoutput);
234 outStream.write(rawData);
235 outStream.close();
    [all...]
  /frameworks/base/services/audioflinger/
AudioFlinger.cpp     [all...]
  /prebuilt/common/tradefed/
tradefed-prebuilt.jar 
  /prebuilt/common/ant/
ant.jar 
  /prebuilt/common/jfreechart/
jcommon-1.0.12.jar 

Completed in 1444 milliseconds