Searched defs:stream (Results 176 - 200 of 205) sorted by relevance

123456789

/frameworks/native/libs/gui/
H A DSurface.cpp114 void Surface::setSidebandStream(const sp<NativeHandle>& stream) { argument
115 mGraphicBufferProducer->setSidebandStream(stream);
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp1640 EGLBoolean eglDestroyStreamKHR(EGLDisplay dpy, EGLStreamKHR stream) argument
1651 dp->disp.dpy, stream);
1656 EGLBoolean eglStreamAttribKHR(EGLDisplay dpy, EGLStreamKHR stream, argument
1668 dp->disp.dpy, stream, attribute, value);
1673 EGLBoolean eglQueryStreamKHR(EGLDisplay dpy, EGLStreamKHR stream, argument
1685 dp->disp.dpy, stream, attribute, value);
1690 EGLBoolean eglQueryStreamu64KHR(EGLDisplay dpy, EGLStreamKHR stream, argument
1702 dp->disp.dpy, stream, attribute, value);
1707 EGLBoolean eglQueryStreamTimeKHR(EGLDisplay dpy, EGLStreamKHR stream, argument
1719 dp->disp.dpy, stream, attribut
1724 eglCreateStreamProducerSurfaceKHR(EGLDisplay dpy, EGLConfig config, EGLStreamKHR stream, const EGLint *attrib_list) argument
1745 eglStreamConsumerGLTextureExternalKHR(EGLDisplay dpy, EGLStreamKHR stream) argument
1762 eglStreamConsumerAcquireKHR(EGLDisplay dpy, EGLStreamKHR stream) argument
1779 eglStreamConsumerReleaseKHR(EGLDisplay dpy, EGLStreamKHR stream) argument
1796 eglGetStreamFileDescriptorKHR( EGLDisplay dpy, EGLStreamKHR stream) argument
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DComposerHal.cpp671 const native_handle_t* stream)
675 mWriter.setLayerSidebandStream(stream);
670 setLayerSidebandStream(Display display, Layer layer, const native_handle_t* stream) argument
H A DHWC2.cpp909 Error Layer::setSidebandStream(const native_handle_t* stream) argument
917 mId, stream);
/frameworks/rs/
H A DrsAllocation.cpp428 void Allocation::packVec3Allocation(Context *rsc, OStream *stream) const {
436 stream->addByteArray(dst, getPackedSize());
442 void Allocation::serialize(Context *rsc, OStream *stream) const {
444 stream->addU32((uint32_t)getClassId());
445 stream->addString(getName());
449 mHal.state.type->serialize(rsc, stream);
455 stream->addU32(packedSize);
458 stream->addByteArray(rsc->mHal.funcs.allocation.lock1D(rsc, this), dataSize);
462 packVec3Allocation(rsc, stream);
466 Allocation *Allocation::createFromStream(Context *rsc, IStream *stream) { argument
[all...]
/frameworks/support/media-compat/java/android/support/v4/media/session/
H A DMediaControllerCompat.java787 int type, int stream, int control, int max, int current) {
789 new PlaybackInfo(type, stream, control, max, current));
1052 * Move to a new location in the media stream.
1169 // TODO update audio stream with AudioAttributes support version
1175 PlaybackInfo(int type, int stream, int control, int max, int current) { argument
1177 mAudioStream = stream;
1197 * Get the stream this is currently controlling volume on. When the volume
1201 * @return The stream this session is playing on.
786 onAudioInfoChanged( int type, int stream, int control, int max, int current) argument
H A DMediaSessionCompat.java499 * Set the stream this session is playing on. This will affect the system's
502 * will begin sending volume changes to the appropriate stream.
506 * @param stream The {@link AudioManager} stream this session is playing on.
508 public void setPlaybackToLocal(int stream) { argument
509 mImpl.setPlaybackToLocal(stream);
515 * current stream volume for this session. If {@link #setPlaybackToLocal}
516 * was previously called that stream will stop receiving volume changes for
1770 void setPlaybackToLocal(int stream); argument
1933 public void setPlaybackToLocal(int stream) { argument
3218 setPlaybackToLocal(int stream) argument
[all...]
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dgson-1.7.2.jar ... google/gson/internal/ com/google/gson/reflect/ com/google/gson/stream/ com/google/gson/annotations/Expose.class Expose.java ...
H A Dpicasso-2.5.2.jar ... .graphics.Bitmap bitmap java.io.InputStream stream com.squareup.picasso.Request request com. ...
/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dgson-1.7.2.jar ... google/gson/internal/ com/google/gson/reflect/ com/google/gson/stream/ com/google/gson/annotations/Expose.class Expose.java ...
H A Dpicasso-2.5.2.jar ... .graphics.Bitmap bitmap java.io.InputStream stream com.squareup.picasso.Request request com. ...
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmp4lib_int.h87 BitstreamEncVideo *stream; /* library bitstream buffer (input buffer) */ member in struct:tagVol
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_DngCreator.cpp553 virtual status_t writeToStream(Output& stream, uint32_t count);
578 status_t InputStripSource::writeToStream(Output& stream, uint32_t count) { argument
601 "Error encountered while skip bytes in input stream.");
645 ALOGV("%s: Using stream per-row write for strip.", __FUNCTION__);
647 if (stream.write(rowBytes, 0, mBytesPerSample * mSamplesPerPixel * mWidth) != OK ||
655 ALOGV("%s: Using stream per-pixel write for strip.", __FUNCTION__);
687 virtual status_t writeToStream(Output& stream, uint32_t count);
712 status_t DirectStripSource::writeToStream(Output& stream, uint32_t count) { argument
727 if (stream.write(mPixelBytes, mOffset, fullSize) != OK || mEnv->ExceptionCheck()) {
737 if (stream
[all...]
H A Dandroid_media_AudioSystem.cpp298 android_media_AudioSystem_isStreamActive(JNIEnv *env, jobject thiz, jint stream, jint inPastMs) argument
301 AudioSystem::isStreamActive((audio_stream_type_t) stream, &state, inPastMs);
306 android_media_AudioSystem_isStreamActiveRemotely(JNIEnv *env, jobject thiz, jint stream, argument
310 AudioSystem::isStreamActiveRemotely((audio_stream_type_t) stream, &state, inPastMs);
497 android_media_AudioSystem_initStreamVolume(JNIEnv *env, jobject thiz, jint stream, jint indexMin, jint indexMax) argument
499 return (jint) check_AudioSystem_Command(AudioSystem::initStreamVolume(static_cast <audio_stream_type_t>(stream),
507 jint stream,
512 AudioSystem::setStreamVolumeIndex(static_cast <audio_stream_type_t>(stream),
520 jint stream,
524 if (AudioSystem::getStreamVolumeIndex(static_cast <audio_stream_type_t>(stream),
505 android_media_AudioSystem_setStreamVolumeIndex(JNIEnv *env, jobject thiz, jint stream, jint index, jint device) argument
518 android_media_AudioSystem_getStreamVolumeIndex(JNIEnv *env, jobject thiz, jint stream, jint device) argument
582 android_media_AudioSystem_getDevicesForStream(JNIEnv *env, jobject thiz, jint stream) argument
600 android_media_AudioSystem_getOutputLatency(JNIEnv *env, jobject clazz, jint stream) argument
[all...]
/frameworks/base/media/java/android/media/
H A DAudioSystem.java42 /** Used to identify the default audio stream volume */
137 * Checks whether the specified stream type is active.
139 * return true if any track playing on this stream is active.
141 public static native boolean isStreamActive(int stream, int inPastMs); argument
144 * Checks whether the specified stream type is active on a remotely connected device. The notion
147 * return true if any track playing on this stream is active on a remote device.
149 public static native boolean isStreamActiveRemotely(int stream, int inPastMs); argument
718 public static native int initStreamVolume(int stream, int indexMin, int indexMax); argument
719 public static native int setStreamVolumeIndex(int stream, int index, int device); argument
720 public static native int getStreamVolumeIndex(int stream, in argument
725 getDevicesForStream(int stream) argument
735 getOutputLatency(int stream) argument
812 streamToString(int stream) argument
[all...]
H A DMediaRouter.java611 * <p>A device that supports live audio routing will allow the media audio stream
616 * played on the media stream will be routed to the selected destination.</p>
1821 * @return the stream over which the playback associated with this route is performed
1841 Log.e(TAG, "Error getting local stream volume", e);
1859 Log.e(TAG, "Error setting local stream volume", e);
1878 Log.e(TAG, "Error setting local stream volume", e);
1895 Log.e(TAG, "Error getting local stream volume", e);
2274 * Defines over what stream type the media is presented.
2275 * @param stream
2277 public void setPlaybackStream(int stream) { argument
[all...]
H A DAudioManager.java133 * @hide Broadcast intent when the volume for a particular stream type changes.
134 * Includes the stream, the new volume and previous volumes.
147 * @hide Broadcast intent when the devices for a particular stream type changes.
148 * Includes the stream, the new devices and previous devices.
163 * @hide Broadcast intent when a stream mute state changes.
164 * Includes the stream that changed and the new mute state
208 * @hide The stream type for the volume changed intent.
214 * The stream type alias for the volume changed intent.
215 * For instance the intent may indicate a change of the {@link #STREAM_NOTIFICATION} stream
224 * @hide The volume associated with the stream fo
716 preDispatchKeyEvent(KeyEvent event, int stream) argument
[all...]
/frameworks/native/libs/hwc2on1adapter/
H A DHWC2On1Adapter.cpp1990 Error HWC2On1Adapter::Layer::setSidebandStream(const native_handle_t* stream) { argument
1991 mSidebandStream = stream;
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp673 ALOGE("createTrack() invalid stream type %d", streamType);
1039 status_t AudioFlinger::checkStreamType(audio_stream_type_t stream) const
1041 if (uint32_t(stream) >= AUDIO_STREAM_CNT) {
1042 ALOGW("checkStreamType() invalid stream %d", stream);
1046 if (uint32_t(stream) >= AUDIO_STREAM_PUBLIC_CNT && caller != getpid_cached) {
1047 ALOGW("checkStreamType() pid %d cannot use internal stream type %d", caller, stream);
1054 status_t AudioFlinger::setStreamVolume(audio_stream_type_t stream, float value, argument
1062 status_t status = checkStreamType(stream);
1090 setStreamMute(audio_stream_type_t stream, bool muted) argument
1118 streamVolume(audio_stream_type_t stream, audio_io_handle_t output) const argument
2473 invalidateStream(audio_stream_type_t stream) argument
[all...]
H A DThreads.cpp1693 for (audio_stream_type_t stream = AUDIO_STREAM_MIN; stream < AUDIO_STREAM_CNT;
1694 stream = (audio_stream_type_t) (stream + 1)) {
1695 mStreamTypes[stream].volume = mAudioFlinger->streamVolume_l(stream);
1696 mStreamTypes[stream].mute = mAudioFlinger->streamMute_l(stream);
1808 dprintf(fd, " Hal stream dump:\n");
1809 (void)output->stream
2105 setStreamVolume(audio_stream_type_t stream, float value) argument
2112 setStreamMute(audio_stream_type_t stream, bool muted) argument
2553 sp<StreamHalInterface> AudioFlinger::PlaybackThread::stream() const function in class:android::AudioFlinger::PlaybackThread
7331 sp<StreamHalInterface> AudioFlinger::RecordThread::stream() const function in class:android::AudioFlinger::RecordThread
7542 MmapThread( const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id, AudioHwDevice *hwDev, sp<StreamHalInterface> stream, audio_devices_t outDevice, audio_devices_t inDevice, bool systemReady) argument
7639 audio_stream_type_t stream = streamType(); local
8265 setStreamVolume(audio_stream_type_t stream, float value) argument
8283 setStreamMute(audio_stream_type_t stream, bool muted) argument
[all...]
/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.cpp435 // request to reuse existing output stream if one is already opened to reach the RX device
446 patch.sources[1].ext.mix.usecase.stream = AUDIO_STREAM_PATCH;
482 // request to reuse existing output stream if one is already opened to reach the TX
489 patch.sources[1].ext.mix.usecase.stream = AUDIO_STREAM_PATCH;
540 for (int stream = 0; stream < AUDIO_STREAM_FOR_POLICY_CNT; stream++) {
541 handleIncallSonification((audio_stream_type_t)stream, false, true);
616 for (int stream = 0; stream < AUDIO_STREAM_FOR_POLICY_CN
748 getOutput(audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument
764 getOutputForAttr(const audio_attributes_t *attr, audio_io_handle_t *output, audio_session_t session, audio_stream_type_t *stream, uid_t uid, const audio_config_t *config, audio_output_flags_t flags, audio_port_handle_t selectedDeviceId, audio_port_handle_t *portId) argument
850 getOutputForDevice( audio_devices_t device, audio_session_t session, audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument
1165 startOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument
1225 startSource(const sp<AudioOutputDescriptor>& outputDesc, audio_stream_type_t stream, audio_devices_t device, const char *address, uint32_t *delayMs) argument
1328 stopOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument
1368 stopSource(const sp<AudioOutputDescriptor>& outputDesc, audio_stream_type_t stream, bool forceDeviceUpdate) argument
2079 initStreamVolume(audio_stream_type_t stream, int indexMin, int indexMax) argument
2095 setStreamVolumeIndex(audio_stream_type_t stream, int index, audio_devices_t device) argument
2173 getStreamVolumeIndex(audio_stream_type_t stream, int *index, audio_devices_t device) argument
2282 isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const argument
2294 isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs) const argument
3247 audio_stream_type_t stream = streamTypefromAttributesInt(&sourceDesc->mAttributes); local
3380 audio_stream_type_t stream = streamTypefromAttributesInt(&sourceDesc->mAttributes); local
4669 getStrategyForStream(audio_stream_type_t stream) argument
4673 getDevicesForStream(audio_stream_type_t stream) argument
4725 handleNotificationRoutingForStream(audio_stream_type_t stream) argument
5213 computeVolume(audio_stream_type_t stream, int index, audio_devices_t device) argument
5287 checkAndSetVolume(audio_stream_type_t stream, int index, const sp<AudioOutputDescriptor>& outputDesc, audio_devices_t device, int delayMs, bool force) argument
5372 setStreamMute(audio_stream_type_t stream, bool on, const sp<AudioOutputDescriptor>& outputDesc, int delayMs, audio_devices_t device) argument
5410 handleIncallSonification(audio_stream_type_t stream, bool starting, bool stateChange) argument
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.cpp405 ALOGE("%s: Unknown stream rotation %d", __FUNCTION__, rotation);
421 ALOGE("%s: Unknown stream configuration mode %d", __FUNCTION__, operationMode);
589 lines.appendFormat(" No input stream.\n");
777 // With no surface list passed in, stream and surface will have 1-to-1
778 // mapping. So the surface index is 0 for each stream in the surfaceMap.
899 ALOGE("%s: Frame %d: Buffer %zu: Invalid output stream id %d",
903 bDst.stream = mOutputStreams.valueAt(idx)->asHalStream();
908 ALOGE("%s: Frame %d: Buffer %zu: No in-flight buffer for stream %d",
933 ALOGE("%s: Frame %d: Invalid input stream id %d", __FUNCTION__,
937 inputBuffer.stream
1762 sp<Camera3StreamInterface> stream; local
1790 sp<Camera3StreamInterface> stream; local
1814 sp<Camera3StreamInterface> stream; local
1879 sp<Camera3OutputStreamInterface> stream = mOutputStreams[idx]; local
1959 sp<Camera3OutputStreamInterface> stream = local
2340 Camera3Stream *stream = Camera3Stream::cast(outputBuffers[i].stream); local
2660 Camera3Stream *stream = local
2732 Camera3Stream *stream = local
4040 isStreamPending( sp<Camera3StreamInterface>& stream) argument
4544 prepare(int maxCount, sp<Camera3StreamInterface>& stream) argument
[all...]
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
H A DAppWidgetServiceImpl.java2686 FileInputStream stream = file.openRead();
2687 version = readProfileStateFromFileLocked(stream, profileId, loadedWidgets);
2688 IoUtils.closeQuietly(stream);
2868 FileOutputStream stream;
2870 stream = file.startWrite();
2871 if (writeProfileStateToFileLocked(stream, profileId)) {
2872 file.finishWrite(stream);
2874 file.failWrite(stream);
2911 private boolean writeProfileStateToFileLocked(FileOutputStream stream, int userId) { argument
2916 out.setOutput(stream, StandardCharset
2974 readProfileStateFromFileLocked(FileInputStream stream, int userId, List<LoadedWidgetState> outLoadedWidgets) argument
[all...]
/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationManagerService.java407 private void readPolicyXml(InputStream stream, boolean forRestore) argument
410 parser.setInput(stream, StandardCharsets.UTF_8.name());
448 final FileOutputStream stream;
450 stream = mPolicyFile.startWrite();
457 writePolicyXml(stream, false /*forBackup*/);
458 mPolicyFile.finishWrite(stream);
461 mPolicyFile.failWrite(stream);
467 private void writePolicyXml(OutputStream stream, boolean forBackup) throws IOException { argument
469 out.setOutput(stream, StandardCharsets.UTF_8.name());
/frameworks/base/core/java/android/widget/
H A DTextView.java7117 // or movement method. To do this, we will just send a repeated stream
11548 protected void encodeProperties(@NonNull ViewHierarchyEncoder stream) { argument
11549 super.encodeProperties(stream);
11552 stream.addProperty("text:ellipsize", ellipsize == null ? null : ellipsize.name());
11553 stream.addProperty("text:textSize", getTextSize());
11554 stream.addProperty("text:scaledTextSize", getScaledTextSize());
11555 stream.addProperty("text:typefaceStyle", getTypefaceStyle());
11556 stream.addProperty("text:selectionStart", getSelectionStart());
11557 stream.addProperty("text:selectionEnd", getSelectionEnd());
11558 stream
[all...]

Completed in 2006 milliseconds

123456789