/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | IndentingPrintWriterTest.java | 37 private ByteArrayOutputStream mStream; field in IndentingPrintWriterTest 42 mStream = new ByteArrayOutputStream(); in setUp() 43 mWriter = new PrintWriter(mStream); in setUp() 66 assertEquals("Hello\n World\n And\n Goodbye\nWorld\n", mStream.toString()); in testMultipleIndents() 78 assertEquals("Hello\n World\n", mStream.toString()); in testAdjustIndentAfterNewline() 91 assertEquals("dog cat \ncow meow ", mStream.toString()); in testWrapping() 106 assertEquals(" dog \n meow \n a b \n cow ", mStream.toString()); in testWrappingIndented() 118 + " nsectetu\n r \n adipisci\n ng elit.\n", mStream.toString()); in testWrappingEmbeddedNewlines() 130 + " ectetur \n adipisci\n ng elit.\n", mStream.toString()); in testWrappingSingleGiant() 143 + " ectetur \n adipisci\n ng elit.\n", mStream.toString()); in testWrappingPrefixedGiant() [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/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/services/Car/cpp/evs/manager/aidl/wrappers/src/ |
D | AidlCameraStream.cpp | 74 if (!mStream) { in deliverFrame() 81 if (auto status = mStream->deliverFrame(std::move(hidlBuffer)); !status.isOk()) { in deliverFrame() 90 if (!mStream) { in notify() 97 if (auto status = mStream->deliverFrame({}); !status.isOk()) { in notify() 114 IHidlCameraStream(stream), mStream(stream) {} in ImplV1() 125 if (auto status = mStream->deliverFrame_1_1(hidlBuffers); !status.isOk()) { in deliverFrame() 134 if (!mStream) { in notify() 144 if (auto status = mStream->notify(hidlEvent); !status.isOk()) { in notify()
|
/packages/services/Car/cpp/evs/manager/aidl/wrappers/include/ |
D | AidlCameraStream.h | 60 mStream(stream) {} in IHidlCameraStream() 62 mStream = nullptr; in ~IHidlCameraStream() 67 ::android::sp<hidlevs::V1_0::IEvsCameraStream> mStream; 77 virtual ~ImplV0() { mStream = nullptr; } in ~ImplV0() 86 virtual ~ImplV1() { mStream = nullptr; } in ~ImplV1() 89 ::android::sp<hidlevs::V1_1::IEvsCameraStream> mStream;
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | VolumeSeekBarPreference.java | 51 private int mStream; field in VolumeSeekBarPreference 101 mStream = stream; in setStream() 102 setMax(mAudioManager.getStreamMaxVolume(mStream)); in setStream() 105 setMin(mAudioManager.getStreamMinVolumeInt(mStream)); in setStream() 106 setProgress(mAudioManager.getStreamVolume(mStream)); in setStream() 158 mCallback.onStreamValueChanged(mStream, progress); in init() 186 final Uri sampleUri = mStream == AudioManager.STREAM_MUSIC ? getMediaVolumeUri() : null; in init() 188 mVolumizer = mSeekBarVolumizerFactory.create(mStream, sampleUri, sbvc); in init()
|
/packages/services/Car/cpp/evs/manager/1.0/ |
D | VirtualCamera.cpp | 77 mStream->deliverFrame(buffer); in deliverFrame() 94 mStream->deliverFrame(buffer); in deliverFrame() 133 mStream = stream; in startVideoStream() 140 mStream = nullptr; in startVideoStream() 186 auto result = mStream->deliverFrame(nullBuff); in stopVideoStream()
|
D | VirtualCamera.h | 67 sp<IEvsCameraStream> mStream; variable
|
/packages/services/Car/cpp/evs/manager/aidl/src/ |
D | VirtualCamera.cpp | 425 mStream = receiver; in startVideoStream() 452 mStream = nullptr; in startVideoStream() 520 if (mStreamState != RUNNING || !mStream) { in startVideoStream() 553 if (!mStream->deliverFrame(frames).isOk()) { in startVideoStream() 559 if (status != EvsResult::OK && mStream) { in startVideoStream() 566 if (!mStream->notify(std::move(event)).isOk()) { in startVideoStream() 649 if (mStream && !mStream->notify(event).isOk()) { in stopVideoStream() 794 if (mStream) { in deliverFrame() 799 if (!mStream->notify(event).isOk()) { in deliverFrame() 863 if (mStream && !mStream->notify(event).isOk()) { in notify()
|
/packages/services/Car/cpp/evs/manager/1.1/emul/ |
D | EvsEmulatedCamera.cpp | 219 if (mStream != nullptr) { in startVideoStream() 224 mStream = IEvsCameraStream_1_1::castFrom(stream).withDefault(nullptr); in startVideoStream() 225 if (mStream == nullptr) { in startVideoStream() 242 mStream = nullptr; in startVideoStream() 263 if (mStream != nullptr) { in stopVideoStream() 269 auto result = mStream->notify(event); in stopVideoStream() 275 mStream = nullptr; in stopVideoStream() 743 auto result = mStream->deliverFrame_1_1(frames); in forwardFrame()
|
D | EvsEmulatedCamera.h | 117 sp<IEvsCameraStream_1_1> mStream = nullptr; // The callback used to deliver each frame variable
|
/packages/modules/NeuralNetworks/common/ |
D | GraphDump.cpp | 52 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::__anon81ce46590111::Dumper
|
/packages/modules/NeuralNetworks/common/types/include/nnapi/ |
D | Result.h | 52 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/sampleDriver/hidl/ |
D | EvsV4lCamera.cpp | 147 if (mStream.get() != nullptr) { in startVideoStream() 207 mStream = stream; in startVideoStream() 208 mStream_1_1 = IEvsCameraStream_1_1::castFrom(mStream).withDefault(nullptr); in startVideoStream() 215 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() 797 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/modules/Virtualization/vmlauncher_app/java/com/android/virtualization/vmlauncher/ |
D | MainActivity.java | 460 private final ParcelFileDescriptor mStream; field in MainActivity.CursorHandler 464 mStream = stream; in CursorHandler() 477 mStream.getFileDescriptor(), in run() 498 private final InputStream mStream; field in MainActivity.Reader 502 mStream = stream; in Reader() 508 BufferedReader reader = new BufferedReader(new InputStreamReader(mStream)); in run()
|
/packages/services/Car/cpp/evs/sampleDriver/aidl/src/ |
D | EvsV4lCamera.cpp | 147 if (mStream) { in startVideoStream() 209 mStream = client; in startVideoStream() 216 mStream = nullptr; in startVideoStream() 230 if (mStream) { in stopVideoStream() 235 auto result = mStream->notify(event); in stopVideoStream() 241 mStream = nullptr; in stopVideoStream() 773 if (mStream) { in forwardFrame() 776 flag = mStream->deliverFrame(frames).isOk(); in forwardFrame()
|
/packages/modules/Virtualization/demo/java/com/android/microdroid/demo/ |
D | MainActivity.java | 124 private final InputStream mStream; field in MainActivity.Reader 129 mStream = stream; in Reader() 135 BufferedReader reader = new BufferedReader(new InputStreamReader(mStream)); in run()
|
/packages/services/Car/cpp/evs/manager/1.1/ |
D | VirtualCamera.cpp | 193 mStream->deliverFrame(frame_1_0); in deliverFrame() 224 auto result = mStream->deliverFrame({}); in notify() 332 mStream = stream; in startVideoStream() 367 mStream = mStream_1_1 = nullptr; in startVideoStream() 526 auto result = mStream->deliverFrame({}); in stopVideoStream()
|
D | VirtualCamera.h | 109 sp<hardware::automotive::evs::V1_0::IEvsCameraStream> mStream; variable
|
/packages/services/Car/cpp/evs/manager/aidl/include/ |
D | VirtualCamera.h | 104 std::shared_ptr<aidlevs::IEvsCameraStream> mStream; variable
|
/packages/services/Car/cpp/evs/sampleDriver/aidl/include/ |
D | EvsV4lCamera.h | 103 std::shared_ptr<aidlevs::IEvsCameraStream> mStream; variable
|