-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert persistent storage to sync calls and binary data to align wit…
…h KVS style storage (#6286) * Move async delete to sync delete ... it was mostly sync except darwin and kvs replacement will be sync * Remove all async usages for persistent storage, move to base64 encoding for what previously was assumed to be null terminated strings * Remove the storage delegate callback as all methods are sync now * Restyle fixes * Remove unused constant definition * Compilation fixes for darwin * Restyle fixes * Undo unintentional line deletion * Fix persistent storage buffer size handling * Fix typo * Fix android compilation errors * Add back the dispatch into the work queue to make locking work on darwin * Update comment stating that storage delegate does not care about data content * Move android persistent storage to KVS - easier than trying to fix java string conversions * Restyle fixes * Remplace async dispatch with sync dispatch in a Sync delegate method * Fix off by one in python storage delegate implementation * Remove reference to SendKeyValue callback handler from utils file * Remove reference to java PersistentStorage * Remove debug logs from android KVS, make sure JNIEnv getting is thread safe * Add back KVS operation messages as progress (rather than erro like they were during debugging) * Remove the AsyncDeleteKeyValue method * Fix android compilation errors * Remove duplicate declaration for CHIP_CONTROLLER_QUEUE - fixes darwin build
- Loading branch information
Showing
22 changed files
with
196 additions
and
583 deletions.
There are no files selected for viewing
This file contains 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 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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 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 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 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 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
Oops, something went wrong.