-
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.
Remove unneeded/ambiguous CompressedFabricId usages (#18459)
* Remove unneeded/ambiguous CompressedFabricId usages Within the SDK, FabricIndex is the only unambiguous identifier. Many methods that emanated from FabricTableDelegate::OnFabricDeletedFromStorage(chip::CompressedFabricId, chip::FabricIndex) perpetuated use of the compressed fabric ID, because at the bottom, we have CASESessionManager::ReleaseSessionsForFabric(CompressedFabricId) - Replace CASESessionManager::ReleaseSessionsForFabric argument from CompressedFabricId to FabricIndex. - Rework FabricTableDelegate to remove need to pass any CompressedFabricId. - Replace all downstream usages of CompressedFabricId with FabricIndex and FabricTable reference. - Make FabricTableDelegate calls symmetrical in arguments - Make FabricTableDelegate an inner class of FabricTable to remove a friend relationship - Clarify when adding a FabricTableDelegate causes its deletion due to ownership changes - Add session resumption state clearing on fabric removal Fixes #18435 Issue #18436 * Restyled by clang-format * Fix clang CI * Apply review comments * Restyled by clang-format * Address review comments * Remove missed field * Please the gods of Tidy Co-authored-by: Restyled.io <[email protected]>
- Loading branch information
1 parent
51cbb53
commit 4de9692
Showing
13 changed files
with
196 additions
and
106 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
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
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.