Home
last modified time | relevance | path

Searched refs:mStream (Results 1 – 11 of 11) sorted by relevance

/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/
DMockObd2UnderlyingTransport.java28 private final IntegerArrayStream mStream; field in MockObd2UnderlyingTransport.MockInputStream
31 mStream = new IntegerArrayStream(data); in MockInputStream()
36 if (mStream.hasAtLeast(1)) return mStream.consume(); in read()
42 private final IntegerArrayStream mStream; field in MockObd2UnderlyingTransport.MockOutputStream
45 mStream = new IntegerArrayStream(data); in MockOutputStream()
50 if (mStream.hasAtLeast(1)) { in write()
51 int expected = mStream.consume(); in write()
/packages/apps/Settings/src/com/android/settings/notification/
DVolumeSeekBarPreference.java43 private int mStream; field in VolumeSeekBarPreference
84 mStream = stream; in setStream()
85 setMax(mAudioManager.getStreamMaxVolume(mStream)); in setStream()
86 setProgress(mAudioManager.getStreamVolume(mStream)); in setStream()
110 if (mStream == 0) { in onBindViewHolder()
132 mCallback.onStreamValueChanged(mStream, progress); in init()
143 final Uri sampleUri = mStream == AudioManager.STREAM_MUSIC ? getMediaVolumeUri() : null; in init()
145 mVolumizer = new SeekBarVolumizer(getContext(), mStream, sampleUri, sbvc); in init()
150 mCallback.onStreamValueChanged(mStream, mSeekBar.getProgress()); in init()
163 mCallback.onStreamValueChanged(mStream, progress); in onProgressChanged()
/packages/apps/Gallery2/jni_jpegstream/src/
Dstream_wrapper.cpp23 mStream(NULL), in StreamWrapper()
46 mStream = env->NewGlobalRef(stream); in init()
47 if (mStream == NULL || env->ExceptionCheck()) { in init()
72 if (mStream != NULL) { in cleanup()
73 mEnv->DeleteGlobalRef(mStream); in cleanup()
74 mStream = NULL; in cleanup()
Dinputstream_wrapper.cpp33 bytesRead = static_cast<int32_t>(mEnv->CallIntMethod(mStream, sReadID, in read()
50 bytesSkipped = static_cast<int64_t>(mEnv->CallLongMethod(mStream, sSkipID, in skip()
Dstream_wrapper.h38 jobject mStream; variable
Doutputstream_wrapper.cpp36 mEnv->CallVoidMethod(mStream, sWriteID, mByteArray, offset, length); in write()
/packages/services/Car/evs/sampleDriver/
DEvsV4lCamera.cpp146 if (mStream.get() != nullptr) { in startVideoStream()
207 mStream = stream; in startVideoStream()
214 mStream = nullptr; // No need to hold onto this if we failed to start in startVideoStream()
269 if (mStream != nullptr) { in stopVideoStream()
274 auto result = mStream->deliverFrame(nullBuff); in stopVideoStream()
280 mStream = nullptr; in stopVideoStream()
511 auto result = mStream->deliverFrame(buff); in forwardFrame()
DEvsV4lCamera.h68 sp <IEvsCameraStream> mStream = nullptr; // The callback used to deliver each frame variable
/packages/services/Car/evs/manager/
DVirtualCamera.cpp76 mStream->deliverFrame(buffer); in deliverFrame()
93 mStream->deliverFrame(buffer); in deliverFrame()
135 mStream = stream; in startVideoStream()
142 mStream = nullptr; in startVideoStream()
190 auto result = mStream->deliverFrame(nullBuff); in stopVideoStream()
DVirtualCamera.h70 sp<IEvsCameraStream> mStream; variable
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/
DVolumeTestFragment.java98 private final int mStream; field in VolumeTestFragment.AudioFocusListener
100 mStream = stream; in AudioFocusListener()
105 mHandler.sendMessage(mHandler.obtainMessage(MSG_FOCUS_CHANGED, mStream, 0)); in onAudioFocusChange()