Home
last modified time | relevance | path

Searched refs:mAudioStream (Results 1 – 6 of 6) sorted by relevance

/cts/apps/CtsVerifier/jni/megaaudio/common/
DOboeStream.cpp55 if (mAudioStream == nullptr) { in teardownStream_l()
59 result = mAudioStream->stop(); in teardownStream_l()
61 result = mAudioStream->close(); in teardownStream_l()
63 mAudioStream = nullptr; in teardownStream_l()
75 if (mAudioStream != nullptr) { in startStream()
76 result = mAudioStream->requestStart(); in startStream()
96 if (mAudioStream == nullptr) { in stopStream()
99 oboe::Result result = mAudioStream->stop(); in stopStream()
111 if (mAudioStream == nullptr) { in getTimeStamp()
115 ResultWithValue<oboe::FrameTimestamp> result = mAudioStream->getTimestamp(CLOCK_MONOTONIC); in getTimeStamp()
[all …]
DOboeStream.h56 std::shared_ptr<oboe::AudioStream> mAudioStream; variable
/cts/hostsidetests/voiceinteraction/app/src/com/android/cts/voiceinteraction/
DEventPayloadParcelable.java40 public final ParcelFileDescriptor mAudioStream; field in EventPayloadParcelable
47 this.mAudioStream = (flg & 0x4) == 0 ? null : in.readTypedObject( in EventPayloadParcelable()
54 this.mAudioStream = null; in EventPayloadParcelable()
58 this.mAudioStream = eventPayload.getAudioStream(); in EventPayloadParcelable()
70 + "audioStream = " + mAudioStream + " }"; in toString()
77 if (mAudioStream != null) flg |= 0x4; in writeToParcel()
83 if (mAudioStream != null) { in writeToParcel()
84 out.writeTypedObject(mAudioStream, flags); in writeToParcel()
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DEventPayloadParcelable.java27 public final ParcelFileDescriptor mAudioStream; field in EventPayloadParcelable
34 this.mAudioStream = (flg & 0x4) == 0 ? null : (ParcelFileDescriptor) in.readTypedObject( in EventPayloadParcelable()
41 this.mAudioStream = null; in EventPayloadParcelable()
45 this.mAudioStream = eventPayload.getAudioStream(); in EventPayloadParcelable()
57 "audioStream = " + mAudioStream + in toString()
65 if (mAudioStream != null) flg |= 0x4; in writeToParcel()
71 if (mAudioStream != null) { in writeToParcel()
72 out.writeTypedObject(mAudioStream, flags); in writeToParcel()
/cts/apps/CtsVerifier/jni/megaaudio/player/
DOboePlayer.cpp79 if (mAudioStream != nullptr) { in setupStream()
121 result = builder.openStream(mAudioStream); in setupStream()
132 int32_t desiredSize = mAudioStream->getFramesPerBurst() * kBufferSizeInBursts; in setupStream()
133 mAudioStream->setBufferSizeInFrames(desiredSize); in setupStream()
163 return (int)(mAudioStream->getLastErrorCallbackResult()); in getLastErrorCallbackResult()
/cts/apps/CtsVerifier/jni/megaaudio/recorder/
DOboeRecorder.cpp45 if (mAudioStream != nullptr) { in setupStream()
76 result = builder.openStream(mAudioStream); in setupStream()
83 mBufferSizeInFrames = mAudioStream->getFramesPerBurst(); in setupStream()