Searched refs:stream (Results 176 - 200 of 530) sorted by relevance

1234567891011>>

/frameworks/native/cmds/installd/
H A Dotapreopt_chroot.cpp50 std::istringstream stream(descriptor_string);
51 stream >> fd;
52 if (!stream.fail()) {
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A DvoAMRWBEnc.c1606 FrameStream *stream; local
1658 st->stream = (FrameStream *)mem_malloc(pMemOP, sizeof(FrameStream), 32, VO_INDEX_ENC_AMRWB);
1659 if(st->stream == NULL)
1662 st->stream->frame_ptr = (unsigned char *)mem_malloc(pMemOP, Frame_Maxsize, 32, VO_INDEX_ENC_AMRWB);
1663 if(st->stream->frame_ptr == NULL)
1666 stream = st->stream;
1667 voAWB_InitFrameBuffer(stream);
1703 FrameStream *stream; local
1711 stream
1740 FrameStream *stream = (FrameStream *)gData->stream; local
1795 FrameStream *stream = (FrameStream *)(gData->stream); local
[all...]
/frameworks/av/media/libaaudio/src/binding/
H A DAAudioBinderClient.cpp126 * @param request info needed to create the stream
127 * @param configuration contains information about the created stream
128 * @return handle to the stream or a negative error
132 aaudio_handle_t stream; local
137 stream = service->openStream(request, configurationOutput);
139 if (stream == AAUDIO_ERROR_NO_SERVICE) {
146 return stream;
H A DIAAudioService.cpp69 aaudio_handle_t stream; variable
70 err = reply.readInt32(&stream);
74 } else if (stream < 0) {
75 ALOGE("BpAAudioService::client OPEN_STREAM passed stream %d", stream);
76 return stream;
81 closeStream(stream); variable
84 return stream;
/frameworks/base/core/java/android/app/backup/
H A DBackupHelperDispatcher.java109 BackupDataInputStream stream = new BackupDataInputStream(input);
118 stream.dataSize = input.getDataSize();
119 stream.key = rawKey.substring(pos+1);
120 helper.restoreEntity(stream);
/frameworks/base/core/java/android/os/
H A DHidlSupport.java27 import java.util.stream.IntStream;
84 return rgtList.stream()
128 return Arrays.hashCode(Arrays.stream((Object[])o)
134 return Arrays.hashCode(((List<Object>)o).stream()
/frameworks/base/libs/hwui/
H A DGpuMemoryTracker.h50 static void dump(std::ostream& stream);
/frameworks/base/packages/ExtServices/src/android/ext/services/storage/
H A DCacheQuotaServiceImpl.java30 import java.util.stream.Collectors;
59 .stream()
80 .stream()
101 return processed.stream()
/frameworks/base/packages/MtpDocumentsProvider/perf_tests/src/com/android/mtp/
H A DAppFusePerfTest.java56 try (final ParcelFileDescriptor.AutoCloseInputStream stream =
59 stream.read(bytes);
68 try (final ParcelFileDescriptor.AutoCloseOutputStream stream =
71 stream.write(bytes);
/frameworks/rs/
H A DrsElement.cpp107 void Element::serialize(Context *rsc, OStream *stream) const {
109 stream->addU32((uint32_t)getClassId());
110 stream->addString(getName());
112 mComponent.serialize(stream);
115 stream->addU32(mFieldCount);
117 stream->addString(mFields[ct].name);
118 stream->addU32(mFields[ct].arraySize);
119 mFields[ct].e->serialize(rsc, stream);
123 Element *Element::createFromStream(Context *rsc, IStream *stream) { argument
125 RsA3DClassID classID = (RsA3DClassID)stream
[all...]
/frameworks/av/media/libaudiohal/2.0/
H A DStreamHalLocal.cpp28 StreamHalLocal::StreamHalLocal(audio_stream_t *stream, sp<DeviceHalLocal> device) argument
30 mStream(stream) {
114 StreamOutHalLocal::StreamOutHalLocal(audio_stream_out_t *stream, sp<DeviceHalLocal> device) argument
115 : StreamHalLocal(&stream->common, device), mStream(stream) {
268 StreamInHalLocal::StreamInHalLocal(audio_stream_in_t *stream, sp<DeviceHalLocal> device) argument
269 : StreamHalLocal(&stream->common, device), mStream(stream) {
/frameworks/base/core/java/android/webkit/
H A DCacheManager.java179 * Gets the input stream to the content of this cache entry, to allow
183 * @return an input stream to the content of this cache entry
190 * Gets an output stream to the content of this cache entry, to allow
194 * @return an output stream to the content of this cache entry
203 * Sets an input stream to the content of this cache entry.
205 * @param stream an input stream to the content of this cache entry
207 public void setInputStream(InputStream stream) { argument
208 this.inStream = stream;
282 * The input stream o
[all...]
/frameworks/opt/net/ims/src/java/com/android/ims/internal/
H A DVideoPauseTracker.java26 import java.util.stream.Collectors;
32 * Requests to pause the video stream using the {@link VideoProfile#STATE_PAUSED} bit can come
36 * can potentially pause or resume the video stream.
189 return sources.stream()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dmp4dec_lib.h76 PV_STATUS FillFrameBufferNew(BitstreamDecVideo *stream);
77 PV_STATUS FillFrameBuffer(BitstreamDecVideo *stream, int short_header);
82 PV_STATUS PV_DecodePredictedIntraDC(int compnum, BitstreamDecVideo *stream,
118 PV_STATUS RecoverPacketError(BitstreamDecVideo *stream, int marker_length, int32 *nextVop);
119 PV_STATUS RecoverGOBError(BitstreamDecVideo *stream, int marker_length, int32 *vopPos);
273 PV_STATUS DecodeGOVHeader(BitstreamDecVideo *stream, uint32 *time_base);
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyClientImpl.cpp126 status_t AudioPolicyService::AudioPolicyClient::setStreamVolume(audio_stream_type_t stream, argument
130 return mAudioPolicyService->setStreamVolume(stream, volume, output,
134 status_t AudioPolicyService::AudioPolicyClient::invalidateStream(audio_stream_type_t stream) argument
141 return af->invalidateStream(stream);
159 audio_stream_type_t stream)
161 return mAudioPolicyService->startTone(tone, stream);
158 startTone(audio_policy_tone_t tone, audio_stream_type_t stream) argument
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DSimplePlayer.java65 int stopButtonId, ImageView stopButton, TextView sessionText, String fileName, int stream, int session)
67 set(context, playPausebuttonId, playPausebutton, stopButtonId, stopButton, sessionText, stream, session);
72 int stopButtonId, ImageView stopButton, TextView sessionText, int fileResId, int stream, int session) {
73 set(context, playPausebuttonId, playPausebutton, stopButtonId, stopButton, sessionText, stream, session);
79 int stopButtonId, ImageView stopButton, TextView sessionText, int stream, int session) {
92 mStreamType = stream;
64 SimplePlayer(Context context, int playPausebuttonId, ImageView playPausebutton, int stopButtonId, ImageView stopButton, TextView sessionText, String fileName, int stream, int session) argument
71 SimplePlayer(Context context, int playPausebuttonId, ImageView playPausebutton, int stopButtonId, ImageView stopButton, TextView sessionText, int fileResId, int stream, int session) argument
78 set(Context context, int playPausebuttonId, ImageView playPausebutton, int stopButtonId, ImageView stopButton, TextView sessionText, int stream, int session) argument
/frameworks/av/media/libaaudio/tests/
H A Dtest_various.cpp31 AAudioStream *stream,
36 (void) stream;
62 // Request stream properties.
76 // Put stream into desired state.
429 // Request stream properties.
484 AAudioStream *stream,
489 (void) stream;
509 // Request stream properties.
567 // Callback function that tries to call back into the stream.
569 AAudioStream *stream,
30 NoopDataCallbackProc( AAudioStream *stream, void *userData, void *audioData, int32_t numFrames ) argument
483 CallbackOnceProc( AAudioStream *stream, void *userData, void *audioData, int32_t numFrames ) argument
568 DangerousDataCallbackProc( AAudioStream *stream, void *userData, void *audioData, int32_t numFrames) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DGIFMovie.cpp24 GIFMovie(SkStream* stream);
41 SkStream* stream = (SkStream*) fileType->UserData; local
42 return (int) stream->read(out, size);
45 GIFMovie::GIFMovie(SkStream* stream) argument
48 fGIF = DGifOpen( stream, Decode );
50 fGIF = DGifOpen( stream, Decode, nullptr );
435 Movie* Movie::DecodeStream(SkStreamRewindable* stream) { argument
437 if (stream->read(buf, GIF_STAMP_LEN) == GIF_STAMP_LEN) {
442 stream->rewind();
443 return new GIFMovie(stream);
[all...]
H A DImageDecoder.cpp80 static jobject native_create(JNIEnv* env, std::unique_ptr<SkStream> stream, jobject source) { argument
81 if (!stream.get()) {
82 return throw_exception(env, ImageDecoder::kSourceMalformedData, "Failed to create a stream",
87 auto codec = SkCodec::MakeFromStream(std::move(stream), &result, decoder->mPeeker.get());
149 std::unique_ptr<SkStream> stream(CreateJavaInputStreamAdaptor(env, is, storage, false));
151 if (!stream.get()) {
152 return throw_exception(env, ImageDecoder::kSourceMalformedData, "Failed to create a stream",
157 SkFrontBufferedStream::Make(std::move(stream),
165 std::unique_ptr<SkStream> stream(new AssetStreamAdaptor(asset));
166 return native_create(env, std::move(stream), sourc
171 std::unique_ptr<SkStream> stream = CreateByteBufferStreamAdaptor(env, jbyteBuffer, local
[all...]
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
H A DUsbDescriptorParser.java25 * Class for parsing a binary stream of USB Descriptors.
73 * descriptors stream being parsed.
111 private UsbDescriptor allocDescriptor(ByteStream stream) argument
113 stream.resetReadCount();
115 int length = stream.getUnsignedByte();
116 byte type = stream.getByte();
180 descriptor = UsbACInterface.allocDescriptor(this, stream, length, type);
217 ByteStream stream = new ByteStream(descriptors);
218 while (stream.available() > 0) {
221 descriptor = allocDescriptor(stream);
[all...]
/frameworks/native/opengl/include/EGL/
H A Deglext.h348 typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSTREAMKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream);
349 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMATTRIBKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value);
350 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint *value);
351 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMU64KHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR *value);
354 EGLAPI EGLBoolean EGLAPIENTRY eglDestroyStreamKHR (EGLDisplay dpy, EGLStreamKHR stream);
355 EGLAPI EGLBoolean EGLAPIENTRY eglStreamAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value);
356 EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint *value);
357 EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamu64KHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR *value);
366 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSETSTREAMATTRIBKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLAttrib value);
367 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMATTRIBKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenu
[all...]
/frameworks/base/media/tests/MtpTests/src/android/mtp/
H A DMtpStorageManagerTest.java42 import java.util.stream.Stream;
152 Stream<MtpStorageManager.MtpObject> stream = manager.getObjects(0xFFFFFFFF, 0,
154 Assert.assertEquals(stream.findFirst().get().getName(), newFile.getName());
170 Stream<MtpStorageManager.MtpObject> stream = manager.getObjects(0xFFFFFFFF, 0,
172 Assert.assertEquals(stream.findFirst().get().getId(), 1);
188 Stream<MtpStorageManager.MtpObject> stream = manager.getObjects(0xFFFFFFFF, 0,
190 Assert.assertFalse(stream.findFirst().get().isDir());
198 Stream<MtpStorageManager.MtpObject> stream = manager.getObjects(0xFFFFFFFF, 0,
200 Assert.assertEquals(stream.findFirst().get().getFormat(), MtpConstants.FORMAT_ASSOCIATION);
208 Stream<MtpStorageManager.MtpObject> stream
[all...]
/frameworks/base/media/java/android/media/
H A DAudioSystem.java44 /** Used to identify the default audio stream volume */
150 * Checks whether the specified stream type is active.
152 * return true if any track playing on this stream is active.
154 public static native boolean isStreamActive(int stream, int inPastMs); argument
157 * Checks whether the specified stream type is active on a remotely connected device. The notion
160 * return true if any track playing on this stream is active on a remote device.
162 public static native boolean isStreamActiveRemotely(int stream, int inPastMs); argument
787 public static native int initStreamVolume(int stream, int indexMin, int indexMax); argument
788 public static native int setStreamVolumeIndex(int stream, int index, int device); argument
789 public static native int getStreamVolumeIndex(int stream, in argument
794 getDevicesForStream(int stream) argument
804 getOutputLatency(int stream) argument
830 getStreamVolumeDB(int stream, int index, int device) argument
898 streamToString(int stream) argument
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3OutputStream.cpp80 ALOGE("%s: Bad format for size-only stream: %d", __FUNCTION__,
243 ALOGV("%s: Dropping a frame for stream %d.", __FUNCTION__, mId);
245 ALOGW("%s: A frame is dropped for stream %d due to buffer error.", __FUNCTION__, mId);
336 ALOGE("%s: Unable to configure stream transform to %x: %s (%d)",
377 ALOGE("%s: Unable to connect to native window for stream %d",
386 ALOGE("%s: Unable to configure usage %" PRIu64 " for stream %d",
394 ALOGE("%s: Unable to configure stream scaling: %s (%d)",
409 ALOGE("%s: Unable to configure stream buffer dimensions"
410 " %d x %d (maxSize %zu) for stream %d",
418 ALOGE("%s: Unable to configure stream buffe
718 sp<Camera3OutputStream> stream = mParent.promote(); local
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DAmbientBrightnessStatsTracker.java115 public synchronized void writeStats(OutputStream stream) throws IOException { argument
116 mAmbientBrightnessStats.writeToXML(stream);
119 public synchronized void readStats(InputStream stream) throws IOException { argument
120 mAmbientBrightnessStats.readFromXML(stream);
167 public void writeToXML(OutputStream stream) throws IOException { argument
169 out.setOutput(stream, StandardCharsets.UTF_8.name());
203 stream.flush();
206 public void readFromXML(InputStream stream) throws IOException { argument
210 parser.setInput(stream, StandardCharsets.UTF_8.name());

Completed in 2186 milliseconds

1234567891011>>