Home
last modified time | relevance | path

Searched refs:inStream (Results 1 – 24 of 24) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
DBearerData.java953 private static boolean decodeMessageId(BearerData bData, BitwiseInputStream inStream) in decodeMessageId() argument
957 int paramBits = inStream.read(8) * 8; in decodeMessageId()
961 bData.messageType = inStream.read(4); in decodeMessageId()
962 bData.messageId = inStream.read(8) << 8; in decodeMessageId()
963 bData.messageId |= inStream.read(8); in decodeMessageId()
964 bData.hasUserDataHeader = (inStream.read(1) == 1); in decodeMessageId()
965 inStream.skip(3); in decodeMessageId()
972 inStream.skip(paramBits); in decodeMessageId()
977 BearerData bData, BitwiseInputStream inStream, int subparamId) in decodeReserved() argument
981 int subparamLen = inStream.read(8); // SUBPARAM_LEN in decodeReserved()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsHeader.java121 ByteArrayInputStream inStream = new ByteArrayInputStream(data); in fromByteArray() local
123 while (inStream.available() > 0) { in fromByteArray()
132 int id = inStream.read(); in fromByteArray()
133 int length = inStream.read(); in fromByteArray()
139 concatRef.refNumber = inStream.read(); in fromByteArray()
140 concatRef.msgCount = inStream.read(); in fromByteArray()
141 concatRef.seqNumber = inStream.read(); in fromByteArray()
150 concatRef.refNumber = (inStream.read() << 8) | inStream.read(); in fromByteArray()
151 concatRef.msgCount = inStream.read(); in fromByteArray()
152 concatRef.seqNumber = inStream.read(); in fromByteArray()
[all …]
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DBitwiseStreamsTest.java41 BitwiseInputStream inStream = new BitwiseInputStream(outBuf); in testOne() local
43 inStream.skip(offset); in testOne()
44 for (int i = 0; i < inBufDup.length; i++) inBufDup[i] = (byte)inStream.read(8); in testOne()
55 BitwiseInputStream inStream = new BitwiseInputStream(outStream.toByteArray()); in testTwo() local
56 inStream.skip(offset); in testTwo()
58 for (int i = 0; i < inBufDup.length; i++) inBufDup[i] = (byte)inStream.read(8); in testTwo()
69 BitwiseInputStream inStream = new BitwiseInputStream(outStream.toByteArray()); in testThree() local
70 inStream.skip(offset); in testThree()
72 for (int i = 0; i < inBufDup.length; i++) inBufDup[i] = (byte)inStream.read(8); in testThree()
86 BitwiseInputStream inStream = new BitwiseInputStream(outStream.toByteArray()); in testFour() local
[all …]
/frameworks/base/core/tests/coretests/src/android/os/storage/
DStorageManagerBaseTest.java282 DataInputStream inStream = null; in openFileOnMountedObb() local
284 inStream = new DataInputStream(new FileInputStream(inFile)); in openFileOnMountedObb()
293 return inStream; in openFileOnMountedObb()
467 DataInputStream inStream = null; in doValidateIntContents() local
470 inStream = new DataInputStream(new FileInputStream(inFile)); in doValidateIntContents()
473 if (inStream.readInt() != i) { in doValidateIntContents()
477 if (inStream != null) { in doValidateIntContents()
478 inStream.close(); in doValidateIntContents()
533 DataInputStream inStream = null; in doValidateZeroLongFile() local
536 inStream = new DataInputStream(new FileInputStream(inFile)); in doValidateZeroLongFile()
[all …]
/frameworks/base/obex/javax/obex/
DClientOperation.java680 public synchronized boolean continueOperation(boolean sendEmpty, boolean inStream) in continueOperation() argument
687 if ((inStream) && (!mOperationDone)) { in continueOperation()
702 } else if ((!inStream) && (!mOperationDone)) { in continueOperation()
717 if ((!inStream) && (!mOperationDone)) { in continueOperation()
724 } else if ((inStream) && (!mOperationDone)) { in continueOperation()
742 public void streamClosed(boolean inStream) throws IOException { in streamClosed() argument
744 if ((!inStream) && (!mOperationDone)) { in streamClosed()
773 } else if ((inStream) && (mOperationDone)) { in streamClosed()
778 if ((inStream) && (!mOperationDone)) { in streamClosed()
798 } else if ((!inStream) && (!mOperationDone)) { in streamClosed()
DBaseStream.java67 boolean continueOperation(boolean sendEmpty, boolean inStream) throws IOException; in continueOperation() argument
75 void streamClosed(boolean inStream) throws IOException; in streamClosed() argument
DServerOperation.java331 public synchronized boolean continueOperation(boolean sendEmpty, boolean inStream) in continueOperation() argument
844 public void streamClosed(boolean inStream) throws IOException { in streamClosed() argument
/frameworks/base/core/java/android/webkit/
DCacheManager.java66 InputStream inStream; field in CacheManager.CacheResult
185 return inStream; in getInputStream()
207 this.inStream = stream; in setInputStream()
/frameworks/base/core/java/android/gesture/
DGesture.java288 final DataInputStream inStream = new DataInputStream(
292 gesture = deserialize(inStream);
296 GestureUtils.closeStream(inStream);
/frameworks/base/docs/html-intl/intl/zh-tw/training/articles/
Ddirect-boot.jd99 FileInputStream inStream = directBootContext.openFileInput(appDataFilename);
100 // Use inStream to read content...
/frameworks/base/docs/html-intl/intl/ja/training/articles/
Ddirect-boot.jd99 FileInputStream inStream = directBootContext.openFileInput(appDataFilename);
100 // Use inStream to read content...
/frameworks/base/docs/html-intl/intl/ko/training/articles/
Ddirect-boot.jd99 FileInputStream inStream = directBootContext.openFileInput(appDataFilename);
100 // Use inStream to read content...
/frameworks/base/docs/html-intl/intl/zh-cn/training/articles/
Ddirect-boot.jd99 FileInputStream inStream = directBootContext.openFileInput(appDataFilename);
100 // Use inStream to read content...
/frameworks/base/docs/html-intl/intl/ru/training/articles/
Ddirect-boot.jd99 FileInputStream inStream = directBootContext.openFileInput(appDataFilename);
100 // Use inStream to read content...
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
DMediaPlayerPerformance.java308 InputStream inStream = p.getInputStream(); in writeProcmemInfo() local
309 InputStreamReader inReader = new InputStreamReader(inStream); in writeProcmemInfo()
/frameworks/data-binding/integration-tests/App With Spaces/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/base/docs/html-intl/intl/in/training/articles/
Ddirect-boot.jd99 FileInputStream inStream = directBootContext.openFileInput(appDataFilename);
100 // Use inStream to read content...
/frameworks/base/docs/html-intl/intl/es/training/articles/
Ddirect-boot.jd99 FileInputStream inStream = directBootContext.openFileInput(appDataFilename);
100 // Use inStream to read content...
/frameworks/base/docs/html/training/articles/
Ddirect-boot.jd101 FileInputStream inStream = directBootContext.openFileInput(appDataFilename);
102 // Use inStream to read content...
/frameworks/base/docs/html-intl/intl/pt-br/training/articles/
Ddirect-boot.jd99 FileInputStream inStream = directBootContext.openFileInput(appDataFilename);
100 // Use inStream to read content...
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp2122 audio_stream_in_t *inStream = NULL; in openInput_l() local
2124 &inStream, flags, address.string(), source); in openInput_l()
2127 inStream, in openInput_l()
2144 inStream = NULL; in openInput_l()
2146 &inStream, flags, address.string(), source); in openInput_l()
2150 if (status == NO_ERROR && inStream != NULL) { in openInput_l()
2201 AudioStreamIn *inputStream = new AudioStreamIn(inHwDev, inStream, flags); in openInput_l()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_DngCreator.cpp384 JniInputStream(JNIEnv* env, jobject inStream);
405 JniInputStream::JniInputStream(JNIEnv* env, jobject inStream) : mInStream(inStream), mEnv(env) { in JniInputStream() argument
2229 jobject inStream, jint width, jint height, jlong offset) { in DngCreator_nativeWriteInputStream() argument
2283 sp<JniInputStream> in = new JniInputStream(env, inStream); in DngCreator_nativeWriteInputStream()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifInterface.java735 public void readExif(InputStream inStream) throws IOException { in readExif() argument
736 if (inStream == null) { in readExif()
741 d = new ExifReader(this).read(inStream); in readExif()
/frameworks/base/docs/html-intl/intl/vi/training/articles/
Ddirect-boot.jd99 FileInputStream inStream = directBootContext.openFileInput(appDataFilename);
100 // Use inStream to read content...