This repository was archived by the owner on Feb 25, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6k
android platform channels: moved to direct buffers for c <-> java interop #26331
Merged
fluttergithubbot
merged 19 commits into
flutter:master
from
gaaclarke:platform-channels-direct-buffer
May 27, 2021
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
3a5e448
moved to direct buffers
gaaclarke 985a4b8
Added a warning about caching the ByteBuffer from MessageCodecs.
gaaclarke 64ba011
fixed formatting
gaaclarke 8945151
Allowed MessageCodec's to specify if they want direct ByteBuffers.
gaaclarke 3814d7d
random fixes
gaaclarke 478451b
removed 2 parameter setMessageHandler from binarymessenger
gaaclarke 88cb204
Added DartMessenger unit tests
gaaclarke caa2956
got things working in integration tests
gaaclarke 258eed1
fixed logical error that reversed direct buffers
gaaclarke 3331e19
updated tests
gaaclarke 687a0b9
revert local changes to run_tests, updated docstrings
gaaclarke 836cecb
removed storing the copy preference in the c++ layer
gaaclarke e988da0
started calling setLimit(0) after we pass the direct ByteBuffer to
gaaclarke 31831d3
added new tests for DartMessenger
gaaclarke 6837d58
renamed messageWithDirectness
gaaclarke 58bc4b1
made the reply also set out the limit value
gaaclarke b95abdd
removed some old code
gaaclarke 81d632f
removed wantsDirectByteBufferForDecoding
gaaclarke 47b0cda
updated the docstrings
gaaclarke File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.