| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
refactor: extract service initialization and core logic into separate classes This commit refactors the service layer by extracting initialization and core logic from CompanionDeviceAuthService into two new classes: - BaseServiceInitializer: Table-driven initialization with dependency injection support - BaseServiceCore: Core service functionality including subscription and device management Key improvements: - Enhanced testability through dependency injection - Improved lambda capture safety using weak_from_this for async callbacks - Better separation of concerns and maintainability - Cleaned up low-value comments and unused dependencies Signed-off-by: Tianshi Liu <tianshi.liu@huawei.com> Change-Id: If7ea0dd5b34e4d2e1a283eeb7efcbe8d6edb5c3f | 5 个月前 | |
refactor: extract service initialization and core logic into separate classes This commit refactors the service layer by extracting initialization and core logic from CompanionDeviceAuthService into two new classes: - BaseServiceInitializer: Table-driven initialization with dependency injection support - BaseServiceCore: Core service functionality including subscription and device management Key improvements: - Enhanced testability through dependency injection - Improved lambda capture safety using weak_from_this for async callbacks - Better separation of concerns and maintainability - Cleaned up low-value comments and unused dependencies Signed-off-by: Tianshi Liu <tianshi.liu@huawei.com> Change-Id: If7ea0dd5b34e4d2e1a283eeb7efcbe8d6edb5c3f | 5 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 5 个月前 | ||
| 5 个月前 |