Searched defs:stream (Results 1 - 25 of 173) sorted by last modified time

1234567

/frameworks/wilhelm/src/desktop/
H A DSDL.c24 static void SDLCALL SDL_callback(void *context, Uint8 *stream, int len) argument
36 IOutputMixExt_FillBuffer(OutputMixExt, stream, (SLuint32) len);
38 memset(stream, 0, (size_t) len);
/frameworks/support/v4/api21/android/support/v4/media/session/
H A DMediaSessionCompatApi21.java68 public static void setPlaybackToLocal(Object sessionObj, int stream) { argument
71 bob.setLegacyStreamType(stream);
/frameworks/support/v4/java/android/support/v4/media/session/
H A DMediaControllerCompat.java688 * Move to a new location in the media stream.
764 // TODO update audio stream with AudioAttributes support version
770 PlaybackInfo(int type, int stream, int control, int max, int current) { argument
772 mAudioStream = stream;
792 * Get the stream this is currently controlling volume on. When the volume
796 * @return The stream this session is playing on.
H A DMediaSessionCompat.java287 * Set the stream this session is playing on. This will affect the system's
290 * will begin sending volume changes to the appropriate stream.
294 * @param stream The {@link AudioManager} stream this session is playing on.
296 public void setPlaybackToLocal(int stream) { argument
297 mImpl.setPlaybackToLocal(stream);
303 * current stream volume for this session. If {@link #setPlaybackToLocal}
304 * was previously called that stream will stop receiving volume changes for
1117 void setPlaybackToLocal(int stream); argument
1316 public void setPlaybackToLocal(int stream) { argument
2197 setPlaybackToLocal(int stream) argument
[all...]
/frameworks/support/v4/java/android/support/v4/util/
H A DAtomicFile.java116 * Call when you have successfully finished writing to the stream
119 * will return the new file stream.
134 * Call when you have failed for some reason at writing to the stream
136 * write stream, and roll back to the previous state of the file.
176 FileInputStream stream = openRead();
179 int avail = stream.available();
182 int amt = stream.read(data, pos, data.length-pos);
191 avail = stream.available();
199 stream.close();
203 static boolean sync(FileOutputStream stream) { argument
[all...]
/frameworks/support/v7/mediarouter/jellybean/android/support/v7/media/
H A DMediaRouterJellybean.java211 public static void setPlaybackStream(Object routeObj, int stream) { argument
212 ((android.media.MediaRouter.UserRouteInfo)routeObj).setPlaybackStream(stream);
/frameworks/rs/api/
H A DGenerateDocumentation.cpp67 // If prefix starts input, copy it to stream and remove it from input.
68 static void skipPrefix(ostringstream* stream, string* input, const string& prefix) { argument
74 *stream << prefix;
98 ostringstream stream; local
99 skipPrefix(&stream, &s, "const ");
100 skipPrefix(&stream, &s, "volatile ");
111 stream << anchor;
114 stream << "*";
116 return stream.str();
120 ostringstream stream; local
246 writeSummaryTableEntry(ostream* stream, Definition* definition, DeprecatedSelector deprecatedSelector) argument
311 ostringstream stream; local
[all...]
H A DGenerateStubsWhiteList.cpp98 istringstream stream(type);
99 list<string> tokens{istream_iterator<string>{stream}, istream_iterator<string>{}};
108 istringstream stream(substitute);
129 list<string> newTokens{istream_iterator<string>{stream}, istream_iterator<string>{}};
293 // Write to the stream the mangled representation of each parameter.
294 static bool writeParameters(ostringstream* stream, const std::vector<ParameterDefinition*>& params, argument
297 *stream << "v";
317 *stream << compressedMangling;
331 ostringstream stream; local
332 stream << "_
[all...]
H A DSpecification.cpp79 stringstream stream(input);
81 while (getline(stream, entry, ',')) {
962 ostringstream stream; local
963 stream << "<a href='" << d->getUrl() << "'>" << name << "</a>";
964 return stream.str();
H A DUtilities.cpp130 stringstream stream; local
131 stream << "0x" << std::hex << hash << "l";
132 return stream.str();
153 // Add the value to the stream, prefixed with a ", " if needed.
154 static void addCommaSeparated(const string& value, ostringstream* stream, bool* needComma) { argument
159 *stream << ", ";
161 *stream << value;
167 ostringstream stream; local
173 addCommaSeparated(userAttribute.substr(1), &stream, &needComma);
175 addCommaSeparated(userAttribute, &stream,
[all...]
/frameworks/rs/
H A DrsAllocation.cpp427 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...]
H A DrsAnimation.cpp24 void Animation::serialize(Context *rsc, OStream *stream) const {
27 Animation *Animation::createFromStream(Context *rsc, IStream *stream) { argument
H A DrsComponent.cpp259 void Component::serialize(OStream *stream) const {
260 stream->addU8((uint8_t)mType);
261 stream->addU8((uint8_t)mKind);
262 stream->addU8((uint8_t)(mNormalized ? 1 : 0));
263 stream->addU32(mVectorSize);
266 void Component::loadFromStream(IStream *stream) { argument
267 mType = (RsDataType)stream->loadU8();
268 mKind = (RsDataKind)stream->loadU8();
269 uint8_t temp = stream->loadU8();
271 mVectorSize = stream
[all...]
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...]
H A DrsMesh.cpp81 void Mesh::serialize(Context *rsc, OStream *stream) const {
83 stream->addU32((uint32_t)getClassId());
84 stream->addString(getName());
87 stream->addU32(mHal.state.vertexBuffersCount);
89 mHal.state.vertexBuffers[vCount]->serialize(rsc, stream);
92 stream->addU32(mHal.state.primitivesCount);
95 stream->addU8((uint8_t)mHal.state.primitives[pCount]);
98 stream->addU32(1);
99 mHal.state.indexBuffers[pCount]->serialize(rsc, stream);
101 stream
106 createFromStream(Context *rsc, IStream *stream) argument
[all...]
H A DrsProgramFragment.cpp80 void ProgramFragment::serialize(Context *rsc, OStream *stream) const {
83 ProgramFragment *ProgramFragment::createFromStream(Context *rsc, IStream *stream) { argument
H A DrsProgramRaster.cpp56 void ProgramRaster::serialize(Context *rsc, OStream *stream) const {
59 ProgramRaster *ProgramRaster::createFromStream(Context *rsc, IStream *stream) { argument
H A DrsProgramStore.cpp66 void ProgramStore::serialize(Context *rsc, OStream *stream) const {
69 ProgramStore *ProgramStore::createFromStream(Context *rsc, IStream *stream) { argument
H A DrsProgramVertex.cpp151 void ProgramVertex::serialize(Context *rsc, OStream *stream) const {
154 ProgramVertex *ProgramVertex::createFromStream(Context *rsc, IStream *stream) { argument
H A DrsSampler.cpp71 void Sampler::serialize(Context *rsc, OStream *stream) const {
74 Sampler *Sampler::createFromStream(Context *rsc, IStream *stream) { argument
H A DrsScriptC.h54 virtual void serialize(Context *rsc, OStream *stream) const { }
56 static Type *createFromStream(Context *rsc, IStream *stream) { return nullptr; } argument
H A DrsType.cpp164 void Type::serialize(Context *rsc, OStream *stream) const {
166 stream->addU32((uint32_t)getClassId());
167 stream->addString(getName());
169 mElement->serialize(rsc, stream);
171 stream->addU32(mHal.state.dimX);
172 stream->addU32(mHal.state.dimY);
173 stream->addU32(mHal.state.dimZ);
175 stream->addU8((uint8_t)(mHal.state.lodCount ? 1 : 0));
176 stream->addU8((uint8_t)(mHal.state.faces ? 1 : 0));
179 Type *Type::createFromStream(Context *rsc, IStream *stream) { argument
[all...]
/frameworks/support/documents-archive/src/android/support/provider/
H A DIoUtils.java42 static void closeQuietly(@Nullable InputStream stream) { argument
43 if (stream != null) {
45 stream.close();
/frameworks/opt/net/voip/src/java/android/net/rtp/
H A DAudioGroup.java83 * encoded and sent back to each stream.
147 synchronized void add(AudioStream stream) { argument
148 if (!mStreams.containsKey(stream)) {
150 AudioCodec codec = stream.getCodec();
153 long id = nativeAdd(stream.getMode(), stream.getSocket(),
154 stream.getRemoteAddress().getHostAddress(),
155 stream.getRemotePort(), codecSpec, stream.getDtmfType(),
157 mStreams.put(stream, i
168 remove(AudioStream stream) argument
[all...]
/frameworks/opt/net/voip/src/jni/rtp/
H A DAudioGroup.cpp70 // jitter buffer. For a stream at 8000Hz it takes 32 kilobytes. These numbers
73 // Originally a stream does not send packets when it is receive-only or there is
78 // silence packet on the stream for every second. It should be good enough to
79 // keep the stream alive with relatively low resources.
164 ALOGD("stream[%d] is dead", mSocket);
223 ALOGD("stream[%d] is configured as %s %dkHz %dms mode %d", mSocket,
274 ALOGV("stream[%d] skips %d packets", mSocket, skipped);
339 ALOGV("stream[%d] no data", mSocket);
344 // Special case for device stream.
355 ALOGV("stream[
675 add(AudioStream *stream) argument
699 remove(AudioStream *stream) argument
948 AudioStream *stream = NULL; local
1032 remove(JNIEnv *env, jobject thiz, jlong stream) argument
[all...]

Completed in 1213 milliseconds

1234567