Home
last modified time | relevance | path

Searched refs:outStream (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsHeader.java198 ByteArrayOutputStream outStream = in toByteArray() local
203 outStream.write(ELT_ID_CONCATENATED_8_BIT_REFERENCE); in toByteArray()
204 outStream.write(3); in toByteArray()
205 outStream.write(concatRef.refNumber); in toByteArray()
207 outStream.write(ELT_ID_CONCATENATED_16_BIT_REFERENCE); in toByteArray()
208 outStream.write(4); in toByteArray()
209 outStream.write(concatRef.refNumber >>> 8); in toByteArray()
210 outStream.write(concatRef.refNumber & 0x00FF); in toByteArray()
212 outStream.write(concatRef.msgCount); in toByteArray()
213 outStream.write(concatRef.seqNumber); in toByteArray()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DBitwiseStreamsTest.java37 BitwiseOutputStream outStream = new BitwiseOutputStream(30); in testOne() local
38 outStream.skip(offset); in testOne()
39 for (int i = 0; i < inBuf.length; i++) outStream.write(8, inBuf[i]); in testOne()
40 byte[] outBuf = outStream.toByteArray(); in testOne()
52 BitwiseOutputStream outStream = new BitwiseOutputStream(30); in testTwo() local
53 outStream.skip(offset); in testTwo()
54 for (int i = 0; i < inBuf.length; i++) outStream.write(8, inBuf[i]); in testTwo()
55 BitwiseInputStream inStream = new BitwiseInputStream(outStream.toByteArray()); in testTwo()
66 BitwiseOutputStream outStream = new BitwiseOutputStream(30); in testThree() local
67 outStream.skip(offset); in testThree()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
DBearerData.java442 private static void encodeMessageId(BearerData bData, BitwiseOutputStream outStream) in encodeMessageId() argument
445 outStream.write(8, 3); in encodeMessageId()
446 outStream.write(4, bData.messageType); in encodeMessageId()
447 outStream.write(8, bData.messageId >> 8); in encodeMessageId()
448 outStream.write(8, bData.messageId); in encodeMessageId()
449 outStream.write(1, bData.hasUserDataHeader ? 1 : 0); in encodeMessageId()
450 outStream.skip(3); in encodeMessageId()
508 BitwiseOutputStream outStream = new BitwiseOutputStream(msg.length()); in encode7bitAscii() local
514 outStream.write(7, UserData.UNENCODABLE_7_BIT_CHAR); in encode7bitAscii()
519 outStream.write(7, charCode); in encode7bitAscii()
[all …]
/frameworks/base/core/java/android/os/
DDebug.java363 PrintWriter outStream = null; in startNativeTracing() local
366 outStream = new PrintWriter(new OutputStreamWriter(fos)); in startNativeTracing()
367 outStream.println("1"); in startNativeTracing()
370 if (outStream != null) in startNativeTracing()
371 outStream.close(); in startNativeTracing()
391 PrintWriter outStream = null; in stopNativeTracing() local
394 outStream = new PrintWriter(new OutputStreamWriter(fos)); in stopNativeTracing()
395 outStream.println("0"); in stopNativeTracing()
400 if (outStream != null) in stopNativeTracing()
401 outStream.close(); in stopNativeTracing()
/frameworks/base/core/java/android/webkit/
DCacheManager.java81 OutputStream outStream; field in CacheManager.CacheResult
211 return outStream; in getOutputStream()
403 cacheRet.outStream.close(); in saveCacheFile()
/frameworks/base/core/java/android/gesture/
DGesture.java317 final DataOutputStream outStream = new DataOutputStream(byteStream); in writeToParcel() local
320 serialize(outStream); in writeToParcel()
325 GestureUtils.closeStream(outStream); in writeToParcel()
/frameworks/base/core/java/com/android/internal/app/
DIMediaContainerService.aidl30 in ParcelFileDescriptor outStream); in copyResource() argument
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
DDefaultContainerService.java124 ParcelFileDescriptor outStream) {
125 if (packageURI == null || outStream == null) {
130 = new ParcelFileDescriptor.AutoCloseOutputStream(outStream);
450 private void copyFile(Uri pPackageURI, OutputStream outStream, in copyFile() argument
497 copyToFile(container.getInputStream(), outStream); in copyFile() local
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DAsmGenerator.java236 void createJar(FileOutputStream outStream, Map<String,byte[]> all) throws IOException {
237 JarOutputStream jar = new JarOutputStream(outStream);
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp6958 audio_stream_out_t *outStream = NULL; in openOutput() local
6989 &outStream); in openOutput()
6993 outStream, in openOutput()
6999 if (status == NO_ERROR && outStream != NULL) { in openOutput()
7000 AudioStreamOut *output = new AudioStreamOut(outHwDev, outStream); in openOutput()