-
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.
Move GetVendorId and GetProductId to DeviceInstanceInfoProvider (#19514)
* Move GetVendorId and GetProductId to DeviceInstanceInfoProvider GetVendorId and GetProductId are part of ConfigurationManager, while it can be useful to put those data into the factory data. * Moved GetVendorId and GetProductId to DeviceInstanceInfoProvider * Added DeviceInstanceInfoProviderImpl for the platforms that has different methods implementation than LegacyDeviceInstanceInfoProvider. * Fixed missing include for CHIP_ENABLE_ROTATING_DEVICE_ID definition * Addressed review comments * Moved LegacyDeviceInstanceInfoProvider to be GenericDeviceInstanceInfoProvider that is always compiled and provides default implementations of methods. * For Darwin, Linux, Tizen, Webos and Android removed duplicated DeviceInstanceInfoProvider code and added inheriting from Generic class to allow overriding only desired methods. * Added unit tests vendor/product id/name getters * Removed redundant ifdefs for Darwin
- Loading branch information
1 parent
663ecf4
commit 09f3e4a
Showing
48 changed files
with
848 additions
and
345 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
Oops, something went wrong.