Home
last modified time | relevance | path

Searched refs:mStream (Results 1 – 16 of 16) 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/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/apps/Settings/src/com/android/settings/notification/
DVolumeSeekBarPreference.java44 private int mStream; field in VolumeSeekBarPreference
84 mStream = stream; in setStream()
85 setMax(mAudioManager.getStreamMaxVolume(mStream)); in setStream()
88 setMin(mAudioManager.getStreamMinVolumeInt(mStream)); in setStream()
89 setProgress(mAudioManager.getStreamVolume(mStream)); in setStream()
131 mCallback.onStreamValueChanged(mStream, progress); in init()
148 final Uri sampleUri = mStream == AudioManager.STREAM_MUSIC ? getMediaVolumeUri() : null; in init()
150 mVolumizer = new SeekBarVolumizer(getContext(), mStream, sampleUri, sbvc); in init()
/packages/services/Car/cpp/evs/manager/1.0/
DVirtualCamera.cpp81 mStream->deliverFrame(buffer); in deliverFrame()
98 mStream->deliverFrame(buffer); in deliverFrame()
140 mStream = stream; in startVideoStream()
147 mStream = nullptr; in startVideoStream()
195 auto result = mStream->deliverFrame(nullBuff); in stopVideoStream()
DVirtualCamera.h70 sp<IEvsCameraStream> mStream; variable
/packages/services/Car/cpp/evs/manager/1.1/emul/
DEvsEmulatedCamera.cpp240 if (mStream != nullptr) { in startVideoStream()
245 mStream = IEvsCameraStream_1_1::castFrom(stream).withDefault(nullptr); in startVideoStream()
246 if (mStream == nullptr) { in startVideoStream()
264 mStream = nullptr; in startVideoStream()
287 if (mStream != nullptr) { in stopVideoStream()
293 auto result = mStream->notify(event); in stopVideoStream()
299 mStream = nullptr; in stopVideoStream()
806 auto result = mStream->deliverFrame_1_1(frames); in forwardFrame()
DEvsEmulatedCamera.h123 sp<IEvsCameraStream_1_1> mStream = nullptr; // The callback used to deliver each frame variable
/packages/services/Car/cpp/evs/sampleDriver/
DEvsV4lCamera.cpp150 if (mStream.get() != nullptr) { in startVideoStream()
204 mStream = stream; in startVideoStream()
205 mStream_1_1 = IEvsCameraStream_1_1::castFrom(mStream).withDefault(nullptr); in startVideoStream()
213 mStream = nullptr; in startVideoStream()
250 mStream = nullptr; in stopVideoStream()
251 } else if (mStream != nullptr) { in stopVideoStream()
256 auto result = mStream->deliverFrame(nullBuff); in stopVideoStream()
262 mStream = nullptr; in stopVideoStream()
833 auto result = mStream->deliverFrame(bufDesc_1_0); in forwardFrame()
DEvsV4lCamera.h121 sp <IEvsCameraStream_1_0> mStream = nullptr; // The callback used to deliver each frame variable
/packages/modules/NeuralNetworks/common/
DGraphDump.cpp52 Dumper(std::ostream* outStream) : mStream(outStream) {} in Dumper()
66 if (mStream) { in operator <<()
67 *mStream << mStringStream.str() << std::endl; in operator <<()
88 std::ostream* mStream; member in android::nn::__anone91260c00111::Dumper
/packages/modules/NeuralNetworks/common/include/nnapi/
DResult.h52 return base::unexpected<E>(E{std::move(mStream).str(), std::move(args)...});
59 mStream << t;
65 std::ostringstream mStream; variable
/packages/services/Car/cpp/evs/manager/1.1/
DVirtualCamera.cpp165 mStream->deliverFrame(frame_1_0); in deliverFrame()
198 auto result = mStream->deliverFrame({}); in notify()
307 mStream = stream; in startVideoStream()
331 mStream = mStream_1_1 = nullptr; in startVideoStream()
492 auto result = mStream->deliverFrame({}); in stopVideoStream()
DVirtualCamera.h124 sp<IEvsCameraStream_1_0> mStream; variable