HomeSort by relevance Sort by last modified time
    Searched refs:mInputStream (Results 1 - 25 of 132) sorted by null

1 2 3 4 5 6

  /frameworks/base/media/java/android/media/
ResampleInputStream.java 36 private InputStream mInputStream;
65 mInputStream = inputStream;
83 if (mInputStream == null) throw new IllegalStateException("not open");
103 int n = mInputStream.read(mBuf, mBufCount, mBuf.length - mBufCount);
122 int nsamples = (mIn - mOut + mInputStream.available()) / 2;
130 if (mInputStream != null) mInputStream.close();
132 mInputStream = null;
138 if (mInputStream != null) {
AmrInputStream.java 39 private InputStream mInputStream;
57 mInputStream = inputStream;
85 int n = mInputStream.read(mBuf, i, SAMPLES_PER_FRAME * 2 - i);
105 if (mInputStream != null) mInputStream.close();
107 mInputStream = null;
MediaHTTPConnection.java 54 private InputStream mInputStream = null;
138 mInputStream = null;
294 mInputStream =
300 mInputStream = null;
324 int n = mInputStream.read(data, 0, size);
  /frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
UsbAccessoryStreamTransport.java 34 private FileInputStream mInputStream;
40 mInputStream = new FileInputStream(fd.getFileDescriptor());
51 mInputStream = null;
57 if (mInputStream == null) {
60 return mInputStream.read(buffer, offset, count);
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
TraceFileWriter.java 30 private DataInputStream mInputStream;
44 mInputStream = is;
57 mInputStream.close();
85 byte[] buffer = readTraceData(mInputStream);
  /frameworks/base/media/java/android/media/midi/
MidiOutputPort.java 43 private final FileInputStream mInputStream;
59 int count = mInputStream.read(buffer);
88 IoUtils.closeQuietly(mInputStream);
98 mInputStream = new ParcelFileDescriptor.AutoCloseInputStream(pfd);
132 mInputStream.close();
  /cts/tests/tests/content/src/android/content/res/cts/
AssetFileDescriptorTest.java 44 private FileInputStream mInputStream;
118 mInputStream = mAssetFileDes.createInputStream();
127 mInputStream = mAssetFileDes.createInputStream();
128 assertNotNull(mInputStream);
134 readByte = mInputStream.read(dataFromFile,
139 assertEquals(FILE_END, mInputStream.read());
140 mInputStream.close();
141 mInputStream = null;
143 mInputStream = mAssetFileDes.createInputStream();
169 mInputStream = mAssetFileDes.createInputStream()
    [all...]
  /external/google-tv-pairing-protocol/java/src/com/google/polo/wire/json/
JsonWireAdapter.java 50 private final DataInputStream mInputStream;
64 mInputStream = new DataInputStream(input);
81 mInputStream.readFully(payloadLenBytes);
84 mInputStream.readFully(outerJsonBytes);
  /frameworks/base/core/java/android/webkit/
WebResourceResponse.java 37 private InputStream mInputStream;
201 mInputStream = data;
210 return mInputStream;
226 mInputStream = data;
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
TestConferenceEventPackageParser.java 69 private InputStream mInputStream;
77 mInputStream = inputStream;
93 parser.setInput(mInputStream, null);
110 mInputStream.close();
  /frameworks/opt/bitmap/src/com/android/bitmap/util/
InputStreamBuffer.java 62 private InputStream mInputStream;
99 mInputStream = inputStream;
199 } else if (mInputStream != null) {
206 final long burned = mInputStream.skip(burn);
224 mInputStream = null;
271 if (mInputStream == null) {
295 read = mInputStream.read(mBuffer, mFilled, mBuffer.length - mFilled);
303 mInputStream = null;
354 if (mInputStream != null) {
  /frameworks/opt/photoviewer/src/com/android/ex/photo/util/
InputStreamBuffer.java 62 private InputStream mInputStream;
99 mInputStream = inputStream;
199 } else if (mInputStream != null) {
206 final long burned = mInputStream.skip(burn);
224 mInputStream = null;
271 if (mInputStream == null) {
295 read = mInputStream.read(mBuffer, mFilled, mBuffer.length - mFilled);
303 mInputStream = null;
354 if (mInputStream != null) {
  /frameworks/ex/framesequence/jni/
Stream.h 78 mInputStream(inputStream),
87 const jobject mInputStream;
  /frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
VCardVerifier.java 83 private InputStream mInputStream;
100 mInputStream = null;
148 } else if (mInputStream != null) {
151 mInputStream = inputStream;
158 if (mInputStream != null) {
294 if (mInputStream != null) {
313 verifyWithInputStream(mInputStream);
317 if (mInputStream != null) {
319 mInputStream.close();
  /external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/
XmlWireAdapter.java 42 private final InputStream mInputStream;
58 mInputStream = input;
75 XmlMessageWrapper.fromInputStream(mInputStream);
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
InputStreamSource.java 43 private InputStream mInputStream;
71 while ((bytesRead = mInputStream.read(buffer)) > 0) {
  /packages/apps/TV/usbtuner/src/com/android/usbtuner/
FileDataSource.java 167 private BufferedInputStream mInputStream;
176 mInputStream = new BufferedInputStream(new FileInputStream(filepath));
179 mInputStream = null;
184 return mInputStream != null;
213 if (mInputStream == null) {
240 readSize = mInputStream.read(mPreBuffer, 0, mPreBuffer.length);
250 mInputStream.close();
254 mInputStream = null;
  /frameworks/base/core/java/android/os/
ShellCommand.java 55 private InputStream mInputStream;
73 mInputStream = null;
182 if (mInputStream == null) {
183 mInputStream = new BufferedInputStream(getRawInputStream());
185 return mInputStream;
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppSendFileInfo.java 68 public final FileInputStream mInputStream;
85 mInputStream = inputStream;
93 mInputStream = null;
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
BluetoothRfcommFacade.java 350 private InputStream mInputStream;
363 mInputStream = mSocket.getInputStream();
365 mReader = new BufferedReader(new InputStreamReader(mInputStream, "ASCII"));
387 mInputStream.available();
421 int bytesRead = mInputStream.read(buffer);
501 if (mInputStream != null) {
503 mInputStream.close();
508 mInputStream = null;
  /hardware/intel/common/utils/ituxd/src/com/intel/thermal/
ThermalService.java 117 FileReader mInputStream = null;
134 mInputStream = new FileReader(fname);
139 if (mInputStream == null) return;
141 mParser.setInput(mInputStream);
160 if (ThermalManager.sIsOverlays == false && mInputStream == null) return false;
164 if (mInputStream != null) {
165 mInputStream.close();
202 if (mInputStream != null) mInputStream.close();
223 if (mInputStream != null) mInputStream.close()
    [all...]
  /frameworks/base/rs/java/android/renderscript/
FileA3D.java 168 InputStream mInputStream;
172 mInputStream = stream;
  /device/google/accessory/demokit/app/src/com/google/android/DemoKit/
DemoKitActivity.java 51 FileInputStream mInputStream;
183 if (mInputStream != null && mOutputStream != null) {
223 mInputStream = new FileInputStream(fd);
265 ret = mInputStream.read(buffer);
  /frameworks/av/services/camera/libcameraservice/api2/
CameraDeviceClient.cpp 77 mInputStream(),
152 if (!mInputStream.configured) {
215 metadata.update(ANDROID_REQUEST_INPUT_STREAMS, &mInputStream.id, 1);
306 __FUNCTION__, mInputStream.configured ? 1 : 0, mStreamMap.size());
372 if (mInputStream.configured && mInputStream.id == streamId) {
410 mInputStream.configured = false;
662 if (mInputStream.configured) {
664 "configured (ID %zd)", mCameraId, mInputStream.id);
672 mInputStream.configured = true
    [all...]
  /frameworks/base/libs/usb/tests/AccessoryChat/src/com/android/accessorychat/
AccessoryChat.java 54 private FileInputStream mInputStream;
144 mInputStream = new FileInputStream(fd);
173 ret = mInputStream.read(buffer);

Completed in 873 milliseconds

1 2 3 4 5 6