/packages/apps/Car/libs/connected-device-lib/tests/unit/src/com/android/car/connecteddevice/ble/ |
D | BleDeviceMessageStreamTest.java | 63 private BleDeviceMessageStream mStream; field in BleDeviceMessageStreamTest 86 mStream = new BleDeviceMessageStream(mMockBlePeripheralManager, mMockBluetoothDevice, in setup() 102 mStream.setMessageReceivedListener(listener); in processPacket_notifiesWithEntireMessageForSinglePacketMessage() 115 mStream.setMessageReceivedListener(listener); in processPacket_notifiesWithEntireMessageForMultiPacketMessage() 129 mStream.setMessageReceivedListener(listener); in processPacket_receivingMultipleMessagesInParallelParsesSuccessfully() 135 mStream.processPacket(packets1.get(i)); in processPacket_receivingMultipleMessagesInParallelParsesSuccessfully() 139 mStream.processPacket(packets2.get(i)); in processPacket_receivingMultipleMessagesInParallelParsesSuccessfully() 148 mStream.setMessageReceivedListener(listener); in processPacket_receivingMultipleMessagesInParallelParsesSuccessfully() 149 mStream.processPacket(packets2.get(packets2.size() - 1)); in processPacket_receivingMultipleMessagesInParallelParsesSuccessfully() 158 mStream.setMessageReceivedListener(createMessageReceivedListener(semaphore)); in processPacket_doesNotNotifyOfNewMessageIfNotAllPacketsReceived() [all …]
|
/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/ |
D | MockObd2UnderlyingTransport.java | 28 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | VolumeSeekBarPreference.java | 44 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/Settings/src/com/android/settings/notification/ |
D | VolumeSeekBarPreference.java | 44 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/apps/Gallery2/jni_jpegstream/src/ |
D | stream_wrapper.cpp | 23 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()
|
D | inputstream_wrapper.cpp | 33 bytesRead = static_cast<int32_t>(mEnv->CallIntMethod(mStream, sReadID, in read() 50 bytesSkipped = static_cast<int64_t>(mEnv->CallLongMethod(mStream, sSkipID, in skip()
|
D | stream_wrapper.h | 38 jobject mStream; variable
|
D | outputstream_wrapper.cpp | 36 mEnv->CallVoidMethod(mStream, sWriteID, mByteArray, offset, length); in write()
|
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ble/ |
D | SecureBleChannel.java | 76 private final BleDeviceMessageStream mStream; field in SecureBleChannel 86 mStream = stream; in SecureBleChannel() 88 mStream.setMessageReceivedListener(this::onMessageReceived); in SecureBleChannel() 107 mStream.writeMessage(deviceMessage, OperationType.ENCRYPTION_HANDSHAKE); in sendHandshakeMessage() 127 mStream.writeMessage(deviceMessage, OperationType.CLIENT_MESSAGE); in sendClientMessage() 143 return mStream; in getStream()
|
/packages/services/Car/evs/manager/1.0/ |
D | VirtualCamera.cpp | 81 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()
|
D | VirtualCamera.h | 70 sp<IEvsCameraStream> mStream; variable
|
/packages/services/Car/evs/sampleDriver/ |
D | EvsV4lCamera.cpp | 146 if (mStream.get() != nullptr) { in startVideoStream() 200 mStream = stream; in startVideoStream() 201 mStream_1_1 = IEvsCameraStream_1_1::castFrom(mStream).withDefault(nullptr); in startVideoStream() 209 mStream = nullptr; in startVideoStream() 246 mStream = nullptr; in stopVideoStream() 247 } else if (mStream != nullptr) { in stopVideoStream() 252 auto result = mStream->deliverFrame(nullBuff); in stopVideoStream() 258 mStream = nullptr; in stopVideoStream() 805 auto result = mStream->deliverFrame(bufDesc_1_0); in forwardFrame()
|
D | EvsV4lCamera.h | 117 sp <IEvsCameraStream_1_0> mStream = nullptr; // The callback used to deliver each frame variable
|
/packages/services/Car/surround_view/service-impl/ |
D | SurroundView2dSession.cpp | 235 mStream->notify(SvEvent::STREAM_STOPPED); in processFrames() 240 mStream = nullptr; in processFrames() 289 mStream = stream; in startStream() 298 mStream->notify(SvEvent::STREAM_STARTED); in startStream() 362 if (mStream != nullptr) { in set2dConfig() 364 mStream->notify(SvEvent::CONFIG_UPDATED); in set2dConfig() 441 mStream->notify(SvEvent::FRAME_DROPPED); in handleFrames() 549 mStream->receiveFrames(mFramesRecord.frames); in handleFrames()
|
D | SurroundView3dSession.cpp | 245 mStream->notify(SvEvent::STREAM_STOPPED); in processFrames() 250 mStream = nullptr; in processFrames() 308 mStream = stream; in startStream() 325 mStream->notify(SvEvent::STREAM_STARTED); in startStream() 404 if (mStream != nullptr) { in set3dConfig() 406 mStream->notify(SvEvent::CONFIG_UPDATED); in set3dConfig() 561 mStream->notify(SvEvent::FRAME_DROPPED); in handleFrames() 705 mStream->receiveFrames(mFramesRecord.frames); in handleFrames()
|
D | SurroundView2dSession.h | 134 sp<ISurroundViewStream> mStream GUARDED_BY(mAccessLock);
|
D | SurroundView3dSession.h | 139 sp<ISurroundViewStream> mStream GUARDED_BY(mAccessLock);
|
/packages/services/Car/evs/manager/1.1/ |
D | VirtualCamera.cpp | 154 mStream->deliverFrame(frame_1_0); in deliverFrame() 190 auto result = mStream->deliverFrame({}); in notify() 299 mStream = stream; in startVideoStream() 323 mStream = mStream_1_1 = nullptr; in startVideoStream() 470 auto result = mStream->deliverFrame({}); in stopVideoStream()
|
D | VirtualCamera.h | 121 sp<IEvsCameraStream_1_0> mStream; variable
|