Searched refs:outStream (Results 1 - 11 of 11) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSmsHeader.java198 ByteArrayOutputStream outStream =
203 outStream.write(ELT_ID_CONCATENATED_8_BIT_REFERENCE);
204 outStream.write(3);
205 outStream.write(concatRef.refNumber);
207 outStream.write(ELT_ID_CONCATENATED_16_BIT_REFERENCE);
208 outStream.write(4);
209 outStream.write(concatRef.refNumber >>> 8);
210 outStream.write(concatRef.refNumber & 0x00FF);
212 outStream.write(concatRef.msgCount);
213 outStream
[all...]
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DBitwiseStreamsTest.java37 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
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
H A DBearerData.java445 private static void encodeMessageId(BearerData bData, BitwiseOutputStream outStream) argument
448 outStream.write(8, 3);
449 outStream.write(4, bData.messageType);
450 outStream.write(8, bData.messageId >> 8);
451 outStream.write(8, bData.messageId);
452 outStream.write(1, bData.hasUserDataHeader ? 1 : 0);
453 outStream.skip(3);
511 BitwiseOutputStream outStream = new BitwiseOutputStream(msg.length());
517 outStream.write(7, UserData.UNENCODABLE_7_BIT_CHAR);
522 outStream
695 encodeUserData(BearerData bData, BitwiseOutputStream outStream) argument
738 encodeReplyOption(BearerData bData, BitwiseOutputStream outStream) argument
786 encodeCallbackNumber(BearerData bData, BitwiseOutputStream outStream) argument
813 encodeMsgStatus(BearerData bData, BitwiseOutputStream outStream) argument
821 encodeMsgCount(BearerData bData, BitwiseOutputStream outStream) argument
828 encodeValidityPeriodRel(BearerData bData, BitwiseOutputStream outStream) argument
835 encodePrivacyIndicator(BearerData bData, BitwiseOutputStream outStream) argument
843 encodeLanguageIndicator(BearerData bData, BitwiseOutputStream outStream) argument
850 encodeDisplayMode(BearerData bData, BitwiseOutputStream outStream) argument
858 encodePriorityIndicator(BearerData bData, BitwiseOutputStream outStream) argument
866 encodeMsgDeliveryAlert(BearerData bData, BitwiseOutputStream outStream) argument
874 encodeScpResults(BearerData bData, BitwiseOutputStream outStream) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DCacheManager.java73 OutputStream outStream; field in class:CacheManager.CacheResult
203 return outStream;
317 cacheRet.outStream.close();
/frameworks/base/core/java/com/android/internal/app/
H A DIMediaContainerService.aidl30 in ParcelFileDescriptor outStream);
/frameworks/base/core/java/android/os/
H A DDebug.java516 PrintWriter outStream = null;
519 outStream = new FastPrintWriter(fos);
520 outStream.println("1");
523 if (outStream != null)
524 outStream.close();
544 PrintWriter outStream = null;
547 outStream = new FastPrintWriter(fos);
548 outStream.println("0");
553 if (outStream != null)
554 outStream
[all...]
/frameworks/base/core/java/android/gesture/
H A DGesture.java317 final DataOutputStream outStream = new DataOutputStream(byteStream);
320 serialize(outStream);
325 GestureUtils.closeStream(outStream);
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
H A DDefaultContainerService.java121 * @param outStream Remote file descriptor to be used for copying
126 ParcelFileDescriptor outStream) {
127 if (packageURI == null || outStream == null) {
132 = new ParcelFileDescriptor.AutoCloseOutputStream(outStream);
461 private void copyFile(Uri pPackageURI, OutputStream outStream, argument
508 copyToFile(container.getInputStream(), outStream);
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DAsmGenerator.java268 * @param outStream The file output stream were to write the JAR.
272 void createJar(FileOutputStream outStream, Map<String,byte[]> all) throws IOException { argument
273 JarOutputStream jar = new JarOutputStream(outStream);
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp1463 audio_stream_out_t *outStream = NULL; local
1496 &outStream);
1501 outStream,
1507 if (status == NO_ERROR && outStream != NULL) {
1508 AudioStreamOut *output = new AudioStreamOut(outHwDev, outStream, flags);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifInterface.java957 * @param outStream an OutputStream to wrap.
958 * @return an OutputStream that wraps the outStream parameter, and adds exif
961 public OutputStream getExifWriterStream(OutputStream outStream) { argument
962 if (outStream == null) {
965 ExifOutputStream eos = new ExifOutputStream(outStream, this);

Completed in 731 milliseconds