Searched defs:stream (Results 1 - 25 of 53) sorted by relevance

123

/packages/apps/Dialer/java/com/android/incallui/ringtone/
H A DToneGeneratorFactory.java27 * @param stream the stream through which to play tones.
31 public ToneGenerator newInCallToneGenerator(int stream, int volume) { argument
32 return new ToneGenerator(stream, volume);
H A DInCallTonePlayer.java92 * call related and using that stream will route it through bluetooth devices
109 toneGenerator = toneGeneratorFactory.newInCallToneGenerator(info.stream, info.volume);
147 public final int stream; field in class:InCallTonePlayer.ToneGeneratorInfo
149 public ToneGeneratorInfo(int toneGeneratorType, int volume, int toneLengthMillis, int stream) { argument
153 this.stream = stream;
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
H A DRequestGetFolderListing.java59 protected void readResponse(InputStream stream) { argument
60 mResponse = new FolderListing(stream);
H A DRequestGetMessage.java62 protected void readResponse(InputStream stream) { argument
69 while ((len = stream.read(buf)) != -1) {
76 // Convert the input stream using UTF-8 since the attributes in the payload are all encoded
H A DRequestGetMessagesListing.java114 protected void readResponse(InputStream stream) { argument
115 mResponse = new MessagesListing(stream);
/packages/apps/Camera2/src/com/android/camera/async/
H A DRefCountedBufferQueueController.java27 public RefCountedBufferQueueController(BufferQueueController<T> stream) { argument
28 mBuffer = new RefCountBase<BufferQueueController>(stream, 1);
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/
H A DImapTempFileLiteral.java45 /* package */ ImapTempFileLiteral(FixedLengthInputStream stream) throws IOException { argument
46 mSize = stream.getLength();
54 IOUtils.copy(stream, out);
81 // Return 0 byte stream as a dummy...
/packages/apps/Email/provider_src/com/android/email/service/
H A DImapTempFileLiteral.java48 /* package */ ImapTempFileLiteral(FixedLengthInputStream stream) throws IOException { argument
49 mSize = stream.getLength();
57 IOUtils.copy(stream, out);
84 // Return 0 byte stream as a dummy...
/packages/apps/Gallery2/jni_jpegstream/src/
H A Dstream_wrapper.cpp40 bool StreamWrapper::init(JNIEnv *env, jobject stream) { argument
46 mStream = env->NewGlobalRef(stream);
/packages/apps/SecureElement/src/com/android/se/security/gpac/
H A DNFC_AR_DO.java103 public void build(ByteArrayOutputStream stream) throws DO_Exception { argument
106 stream.write(getTag());
107 stream.write(0x01);
108 stream.write(mNfcAllowed ? 0x01 : 0x00);
H A DAR_DO.java123 public void build(ByteArrayOutputStream stream) throws DO_Exception { argument
126 stream.write(getTag());
137 BerTlv.encodeLength(temp.size(), stream);
139 stream.write(temp.toByteArray());
H A DREF_AR_DO.java125 public void build(ByteArrayOutputStream stream) throws DO_Exception { argument
131 stream.write(getTag());
137 BerTlv.encodeLength(data.length, stream);
139 stream.write(data);
H A DAID_REF_DO.java145 public void build(ByteArrayOutputStream stream) throws DO_Exception { argument
151 stream.write(getTag());
152 stream.write(0x00);
162 stream.write(getTag());
163 stream.write(mAid.length);
165 stream.write(mAid);
H A DAPDU_AR_DO.java162 public void build(ByteArrayOutputStream stream) throws DO_Exception { argument
171 stream.write(getTag());
175 stream.write(0x01);
176 stream.write(this.mApduAllowed ? 0x01 : 0x00);
195 BerTlv.encodeLength(temp.size(), stream);
197 stream.write(temp.toByteArray());
H A DHash_REF_DO.java134 public void build(ByteArrayOutputStream stream) throws DO_Exception { argument
141 stream.write(getTag());
144 stream.write(mHash.length);
145 stream.write(mHash);
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
H A DHexDump.java48 * @param stream the OutputStream to which the data is to be
53 * the data to stream
56 * @throws IllegalArgumentException if the output stream is null
60 OutputStream stream, int index)
69 if (stream == null) {
98 stream.write(buffer.toString().getBytes());
99 stream.flush();
59 dump(byte[] data, long offset, OutputStream stream, int index) argument
/packages/services/Car/service/src/com/android/car/
H A DSlidingWindow.java21 import java.util.stream.Stream;
53 public Stream<T> stream() { method in class:SlidingWindow
54 return mElements.stream();
62 return (int)stream().filter(predicate).count();
/packages/apps/Dialer/java/com/android/dialer/about/
H A DLicenses.java77 InputStream stream =
79 return getTextFromInputStream(stream, offset, length);
82 private static String getTextFromInputStream(InputStream stream, long offset, int length) { argument
87 stream.skip(offset);
92 && (bytes = stream.read(buffer, 0, Math.min(bytesRemaining, buffer.length))) != -1) {
96 stream.close();
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/
H A DImapTempFileLiteral.java41 /* package */ ImapTempFileLiteral(FixedLengthInputStream stream) throws IOException { argument
42 size = stream.getLength();
50 IOUtils.copy(stream, out);
77 // Return 0 byte stream as a dummy...
/packages/apps/TV/src/com/android/tv/license/
H A DLicenses.java90 InputStream stream =
92 return getTextFromInputStream(stream, offset, length);
95 private static String getTextFromInputStream(InputStream stream, long offset, int length) { argument
100 stream.skip(offset);
105 && (bytes = stream.read(buffer, 0, Math.min(bytesRemaining, buffer.length)))
110 stream.close();
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/
H A DQuotedPrintableInputStream.java31 * Performs Quoted-Printable decoding on an underlying stream.
40 private InputStream stream; field in class:QuotedPrintableInputStream
45 public QuotedPrintableInputStream(InputStream stream) { argument
46 this.stream = stream;
50 * Closes the underlying stream.
55 stream.close();
72 * Pulls bytes out of the underlying stream and places them in the
74 * underlying stream directly) to detect and filter out "transport
78 * @throws IOException Underlying stream thre
[all...]
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/
H A DWallpaperManagerCompat.java29 public abstract void setStream(InputStream stream, Rect visibleCropHint, boolean allowBackup, argument
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
H A DBluetoothPbapRequestPullPhoneBook.java95 protected void readResponse(InputStream stream) throws IOException { argument
98 mResponse = new BluetoothPbapVcardList(mAccount, stream, mFormat);
/packages/apps/Camera2/src/com/android/camera/data/
H A DFilmstripItemUtils.java60 * @param is An input stream with the data of the bitmap.
80 * @param stream The input stream of the image.
90 public static Bitmap loadImageThumbnailFromStream(InputStream stream, int imageWidth, argument
130 Bitmap b = BitmapFactory.decodeStream(stream, null, opts);
/packages/apps/Camera2/src/com/android/camera/one/v2/core/
H A DRequestTemplate.java92 * Attaches the given stream to all derived RequestBuilders.
94 public RequestTemplate addStream(CaptureStream stream) { argument
95 mCaptureStreams.add(stream);
108 for (CaptureStream stream : mCaptureStreams) {
109 builder.addStream(stream);

Completed in 1371 milliseconds

123