Home
last modified time | relevance | path

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

/packages/apps/Car/libs/connected-device-lib/tests/unit/src/com/android/car/connecteddevice/ble/
DBleDeviceMessageStreamTest.java62 private BleDeviceMessageStream mStream; field in BleDeviceMessageStreamTest
85 mStream = new BleDeviceMessageStream(mMockBlePeripheralManager, mMockBluetoothDevice, in setup()
101 mStream.setMessageReceivedListener(listener); in processPacket_notifiesWithEntireMessageForSinglePacketMessage()
114 mStream.setMessageReceivedListener(listener); in processPacket_notifiesWithEntireMessageForMultiPacketMessage()
128 mStream.setMessageReceivedListener(listener); in processPacket_receivingMultipleMessagesInParallelParsesSuccessfully()
134 mStream.processPacket(packets1.get(i)); in processPacket_receivingMultipleMessagesInParallelParsesSuccessfully()
138 mStream.processPacket(packets2.get(i)); in processPacket_receivingMultipleMessagesInParallelParsesSuccessfully()
147 mStream.setMessageReceivedListener(listener); in processPacket_receivingMultipleMessagesInParallelParsesSuccessfully()
148 mStream.processPacket(packets2.get(packets2.size() - 1)); in processPacket_receivingMultipleMessagesInParallelParsesSuccessfully()
158 mStream.setMessageReceivedListener(listener); in processPacket_doesNotNotifyOfNewMessageIfNotAllPacketsReceived()
[all …]
/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.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()
142 final Uri sampleUri = mStream == AudioManager.STREAM_MUSIC ? getMediaVolumeUri() : null; in init()
144 mVolumizer = new SeekBarVolumizer(getContext(), mStream, sampleUri, sbvc); in init()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DVolumeSeekBarPreference.java44 private int mStream; field in VolumeSeekBarPreference
89 mStream = stream; in setStream()
90 setMax(mAudioManager.getStreamMaxVolume(mStream)); in setStream()
93 setMin(mAudioManager.getStreamMinVolumeInt(mStream)); in setStream()
94 setProgress(mAudioManager.getStreamVolume(mStream)); in setStream()
136 mCallback.onStreamValueChanged(mStream, progress); in init()
147 final Uri sampleUri = mStream == AudioManager.STREAM_MUSIC ? getMediaVolumeUri() : null; in init()
149 mVolumizer = new SeekBarVolumizer(getContext(), mStream, sampleUri, sbvc); in init()
/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/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ble/
DSecureBleChannel.java84 private final BleDeviceMessageStream mStream; field in SecureBleChannel
110 mStream = stream; in SecureBleChannel()
115 mStream.setMessageReceivedListener(mStreamListener); in SecureBleChannel()
237 mStream.writeMessage(deviceMessage, OperationType.ENCRYPTION_HANDSHAKE); in sendUniqueIdToClient()
254 mStream.writeMessage(deviceMessage, OperationType.ENCRYPTION_HANDSHAKE); in sendHandshakeMessage()
265 mStream.writeMessage(deviceMessage, OperationType.ENCRYPTION_HANDSHAKE); in sendServerAuthToClient()
286 mStream.writeMessage(deviceMessage, OperationType.CLIENT_MESSAGE); in sendEncryptedMessage()
329 mStream.writeMessage(deviceMessage, OperationType.ENCRYPTION_HANDSHAKE); in notifyOutOfBandAccepted()
335 return mStream; in getStream()
/packages/services/Car/evs/sampleDriver/
DEvsV4lCamera.cpp142 if (mStream.get() != nullptr) { in startVideoStream()
196 mStream = stream; in startVideoStream()
203 mStream = nullptr; // No need to hold onto this if we failed to start in startVideoStream()
258 if (mStream != nullptr) { in stopVideoStream()
263 auto result = mStream->deliverFrame(nullBuff); in stopVideoStream()
269 mStream = nullptr; in stopVideoStream()
500 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.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