diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 731d047f288e6e..7abc55bf1aca31 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -292,8 +292,8 @@ jobs: git grep -I -n 'emberAfWriteAttribute' -- './*' \ ':(exclude).github/workflows/lint.yml' \ ':(exclude)examples/common/pigweed/rpc_services/Attributes.h' \ - ':(exclude)src/app/codegen-data-model-provider/CodegenDataModelProvider_Write.cpp' \ - ':(exclude)src/app/codegen-data-model-provider/tests/EmberReadWriteOverride.cpp' \ + ':(exclude)src/data-model-providers/codegen/CodegenDataModelProvider_Write.cpp' \ + ':(exclude)src/data-model-providers/codegen/tests/EmberReadWriteOverride.cpp' \ ':(exclude)src/app/dynamic_server/DynamicDispatcher.cpp' \ ':(exclude)src/app/util/attribute-table.cpp' \ ':(exclude)src/app/util/attribute-table.h' \ diff --git a/examples/air-purifier-app/ameba/main/chipinterface.cpp b/examples/air-purifier-app/ameba/main/chipinterface.cpp index 368fa8eee05a8a..04542a8224dbfe 100644 --- a/examples/air-purifier-app/ameba/main/chipinterface.cpp +++ b/examples/air-purifier-app/ameba/main/chipinterface.cpp @@ -30,7 +30,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/examples/air-purifier-app/cc32xx/main/AppTask.cpp b/examples/air-purifier-app/cc32xx/main/AppTask.cpp index a14ccbeff0a900..1d284218a54b9b 100644 --- a/examples/air-purifier-app/cc32xx/main/AppTask.cpp +++ b/examples/air-purifier-app/cc32xx/main/AppTask.cpp @@ -38,7 +38,7 @@ #include #include -#include +#include #include #include diff --git a/examples/all-clusters-app/ameba/main/chipinterface.cpp b/examples/all-clusters-app/ameba/main/chipinterface.cpp index 7ba25ed011cd41..17c89e74d652ef 100644 --- a/examples/all-clusters-app/ameba/main/chipinterface.cpp +++ b/examples/all-clusters-app/ameba/main/chipinterface.cpp @@ -31,7 +31,7 @@ #include #include -#include +#include #include #include #include diff --git a/examples/all-clusters-app/infineon/psoc6/src/AppTask.cpp b/examples/all-clusters-app/infineon/psoc6/src/AppTask.cpp index 3f56626cd97b59..5693a259fcf611 100644 --- a/examples/all-clusters-app/infineon/psoc6/src/AppTask.cpp +++ b/examples/all-clusters-app/infineon/psoc6/src/AppTask.cpp @@ -25,7 +25,7 @@ #include "LEDWidget.h" #include #include -#include +#include #include #include #include diff --git a/examples/all-clusters-app/linux/fuzzing-main.cpp b/examples/all-clusters-app/linux/fuzzing-main.cpp index 565e8198c26d25..57044f18d4a069 100644 --- a/examples/all-clusters-app/linux/fuzzing-main.cpp +++ b/examples/all-clusters-app/linux/fuzzing-main.cpp @@ -16,7 +16,7 @@ */ #include "AppMain.h" -#include +#include #include #include diff --git a/examples/all-clusters-app/nrfconnect/main/AppTask.cpp b/examples/all-clusters-app/nrfconnect/main/AppTask.cpp index 44a656279118a4..3ed21b8c55cd47 100644 --- a/examples/all-clusters-app/nrfconnect/main/AppTask.cpp +++ b/examples/all-clusters-app/nrfconnect/main/AppTask.cpp @@ -30,7 +30,7 @@ #include #include #include -#include +#include #include #include diff --git a/examples/all-clusters-app/nxp/mw320/main.cpp b/examples/all-clusters-app/nxp/mw320/main.cpp index fbf99510c3cbfa..c7f2c4e5770cfa 100644 --- a/examples/all-clusters-app/nxp/mw320/main.cpp +++ b/examples/all-clusters-app/nxp/mw320/main.cpp @@ -32,7 +32,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/examples/all-clusters-minimal-app/ameba/main/chipinterface.cpp b/examples/all-clusters-minimal-app/ameba/main/chipinterface.cpp index 7e2dc227f69b56..b8331f63ddb9d4 100644 --- a/examples/all-clusters-minimal-app/ameba/main/chipinterface.cpp +++ b/examples/all-clusters-minimal-app/ameba/main/chipinterface.cpp @@ -27,7 +27,7 @@ #include #include -#include +#include #include #include #include diff --git a/examples/all-clusters-minimal-app/infineon/psoc6/src/AppTask.cpp b/examples/all-clusters-minimal-app/infineon/psoc6/src/AppTask.cpp index 893f585717dc9f..9a9175d4b9a0c1 100644 --- a/examples/all-clusters-minimal-app/infineon/psoc6/src/AppTask.cpp +++ b/examples/all-clusters-minimal-app/infineon/psoc6/src/AppTask.cpp @@ -25,7 +25,7 @@ #include "LEDWidget.h" #include #include -#include +#include #include #include #include diff --git a/examples/all-clusters-minimal-app/linux/fuzzing-main.cpp b/examples/all-clusters-minimal-app/linux/fuzzing-main.cpp index df61dc538ad10c..c21ce6baf52455 100644 --- a/examples/all-clusters-minimal-app/linux/fuzzing-main.cpp +++ b/examples/all-clusters-minimal-app/linux/fuzzing-main.cpp @@ -16,7 +16,7 @@ */ #include "AppMain.h" -#include +#include #include using namespace chip; diff --git a/examples/all-clusters-minimal-app/mbed/main/AppTask.cpp b/examples/all-clusters-minimal-app/mbed/main/AppTask.cpp index 16e1a665da4518..405922e275dc1b 100644 --- a/examples/all-clusters-minimal-app/mbed/main/AppTask.cpp +++ b/examples/all-clusters-minimal-app/mbed/main/AppTask.cpp @@ -20,7 +20,7 @@ #include "LEDWidget.h" #include -#include +#include #include #include #include diff --git a/examples/all-clusters-minimal-app/nrfconnect/main/AppTask.cpp b/examples/all-clusters-minimal-app/nrfconnect/main/AppTask.cpp index 7cad0ac8a13a00..68fc7eb211b118 100644 --- a/examples/all-clusters-minimal-app/nrfconnect/main/AppTask.cpp +++ b/examples/all-clusters-minimal-app/nrfconnect/main/AppTask.cpp @@ -22,7 +22,7 @@ #include "LEDUtil.h" #include "binding-handler.h" -#include +#include #include #include diff --git a/examples/chef/ameba/main/chipinterface.cpp b/examples/chef/ameba/main/chipinterface.cpp index e54572c9be1fb0..13f5bd9ec9e0e2 100644 --- a/examples/chef/ameba/main/chipinterface.cpp +++ b/examples/chef/ameba/main/chipinterface.cpp @@ -28,7 +28,7 @@ #include #include -#include +#include #include #include #include diff --git a/examples/chef/esp32/main/main.cpp b/examples/chef/esp32/main/main.cpp index 29de25b804d59a..5983b3b46a56ce 100644 --- a/examples/chef/esp32/main/main.cpp +++ b/examples/chef/esp32/main/main.cpp @@ -30,7 +30,7 @@ #include #include -#include +#include #include #include diff --git a/examples/chef/nrfconnect/main.cpp b/examples/chef/nrfconnect/main.cpp index fa8cfc3820032b..87b1067dedbbf5 100644 --- a/examples/chef/nrfconnect/main.cpp +++ b/examples/chef/nrfconnect/main.cpp @@ -25,7 +25,7 @@ #include #include -#include +#include #include #include diff --git a/examples/chip-tool/commands/common/CHIPCommand.cpp b/examples/chip-tool/commands/common/CHIPCommand.cpp index b37bed15afb3d7..eb4a655af5feca 100644 --- a/examples/chip-tool/commands/common/CHIPCommand.cpp +++ b/examples/chip-tool/commands/common/CHIPCommand.cpp @@ -18,7 +18,7 @@ #include "CHIPCommand.h" -#include +#include #include #include #include diff --git a/examples/contact-sensor-app/nxp/k32w0/main/AppTask.cpp b/examples/contact-sensor-app/nxp/k32w0/main/AppTask.cpp index 9beea7e0487814..9f5b9c300e8879 100644 --- a/examples/contact-sensor-app/nxp/k32w0/main/AppTask.cpp +++ b/examples/contact-sensor-app/nxp/k32w0/main/AppTask.cpp @@ -18,7 +18,7 @@ */ #include "AppTask.h" #include "AppEvent.h" -#include +#include #include #include #include diff --git a/examples/fabric-admin/commands/common/CHIPCommand.cpp b/examples/fabric-admin/commands/common/CHIPCommand.cpp index bf8da172d3aa1f..b1a394240f2a55 100644 --- a/examples/fabric-admin/commands/common/CHIPCommand.cpp +++ b/examples/fabric-admin/commands/common/CHIPCommand.cpp @@ -20,7 +20,7 @@ #include "IcdManager.h" -#include +#include #include #include #include diff --git a/examples/light-switch-app/ameba/main/chipinterface.cpp b/examples/light-switch-app/ameba/main/chipinterface.cpp index e892030933d06e..fba8e93aa31301 100644 --- a/examples/light-switch-app/ameba/main/chipinterface.cpp +++ b/examples/light-switch-app/ameba/main/chipinterface.cpp @@ -29,7 +29,7 @@ #include #include -#include +#include #include #include #include diff --git a/examples/light-switch-app/cc13x4_26x4/src/AppTask.cpp b/examples/light-switch-app/cc13x4_26x4/src/AppTask.cpp index 31855e1621f7fe..8cbdcda23427f7 100644 --- a/examples/light-switch-app/cc13x4_26x4/src/AppTask.cpp +++ b/examples/light-switch-app/cc13x4_26x4/src/AppTask.cpp @@ -24,7 +24,7 @@ #include "FreeRTOS.h" -#include +#include #include #include #include diff --git a/examples/light-switch-app/genio/src/AppTask.cpp b/examples/light-switch-app/genio/src/AppTask.cpp index 2b3000e2ff9eb6..d68e86321d88b0 100644 --- a/examples/light-switch-app/genio/src/AppTask.cpp +++ b/examples/light-switch-app/genio/src/AppTask.cpp @@ -27,7 +27,7 @@ #include #include -#include +#include #include #include #include diff --git a/examples/light-switch-app/nrfconnect/main/AppTask.cpp b/examples/light-switch-app/nrfconnect/main/AppTask.cpp index 7f9ec93e05576a..b243efc490be46 100644 --- a/examples/light-switch-app/nrfconnect/main/AppTask.cpp +++ b/examples/light-switch-app/nrfconnect/main/AppTask.cpp @@ -27,7 +27,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/examples/light-switch-app/qpg/src/AppTask.cpp b/examples/light-switch-app/qpg/src/AppTask.cpp index 1b57f10240ceaa..2f1f91d6327d0c 100644 --- a/examples/light-switch-app/qpg/src/AppTask.cpp +++ b/examples/light-switch-app/qpg/src/AppTask.cpp @@ -35,7 +35,7 @@ using namespace ::chip; #include #include #include -#include +#include #include #include #include diff --git a/examples/lighting-app/ameba/main/chipinterface.cpp b/examples/lighting-app/ameba/main/chipinterface.cpp index a12853e94de73d..69c3036dc20a43 100644 --- a/examples/lighting-app/ameba/main/chipinterface.cpp +++ b/examples/lighting-app/ameba/main/chipinterface.cpp @@ -31,7 +31,7 @@ #include #include -#include +#include #include #include #include diff --git a/examples/lighting-app/cc13x4_26x4/src/AppTask.cpp b/examples/lighting-app/cc13x4_26x4/src/AppTask.cpp index 3e949dc7ba3b57..f0849e7fe5dd54 100644 --- a/examples/lighting-app/cc13x4_26x4/src/AppTask.cpp +++ b/examples/lighting-app/cc13x4_26x4/src/AppTask.cpp @@ -44,7 +44,7 @@ #include #include -#include +#include #include #include #include diff --git a/examples/lighting-app/genio/src/AppTask.cpp b/examples/lighting-app/genio/src/AppTask.cpp index c5fa913e85d948..08e3dc51556b69 100644 --- a/examples/lighting-app/genio/src/AppTask.cpp +++ b/examples/lighting-app/genio/src/AppTask.cpp @@ -29,7 +29,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/examples/lighting-app/infineon/psoc6/src/AppTask.cpp b/examples/lighting-app/infineon/psoc6/src/AppTask.cpp index 07c3024c0797ef..47d68bc3bead8a 100644 --- a/examples/lighting-app/infineon/psoc6/src/AppTask.cpp +++ b/examples/lighting-app/infineon/psoc6/src/AppTask.cpp @@ -40,7 +40,7 @@ #include #include #include -#include +#include #include /* OTA related includes */ diff --git a/examples/lighting-app/mbed/main/AppTask.cpp b/examples/lighting-app/mbed/main/AppTask.cpp index bcae9d972f40fe..004d5cba91267b 100644 --- a/examples/lighting-app/mbed/main/AppTask.cpp +++ b/examples/lighting-app/mbed/main/AppTask.cpp @@ -20,7 +20,7 @@ #include "LEDWidget.h" #include "LightingManager.h" -#include +#include #include #include #include diff --git a/examples/lighting-app/nrfconnect/main/AppTask.cpp b/examples/lighting-app/nrfconnect/main/AppTask.cpp index 1427b811edb183..5fef8125685955 100644 --- a/examples/lighting-app/nrfconnect/main/AppTask.cpp +++ b/examples/lighting-app/nrfconnect/main/AppTask.cpp @@ -29,7 +29,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/examples/lighting-app/nxp/k32w0/main/AppTask.cpp b/examples/lighting-app/nxp/k32w0/main/AppTask.cpp index 7c0f895845146b..1bfcc8e6e5ec62 100644 --- a/examples/lighting-app/nxp/k32w0/main/AppTask.cpp +++ b/examples/lighting-app/nxp/k32w0/main/AppTask.cpp @@ -22,7 +22,7 @@ #include #include -#include +#include #include #include #include diff --git a/examples/lighting-app/qpg/src/AppTask.cpp b/examples/lighting-app/qpg/src/AppTask.cpp index 27386a625be497..7553a5968310ff 100644 --- a/examples/lighting-app/qpg/src/AppTask.cpp +++ b/examples/lighting-app/qpg/src/AppTask.cpp @@ -35,7 +35,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/examples/lighting-app/stm32/src/STM32WB5/AppTask.cpp b/examples/lighting-app/stm32/src/STM32WB5/AppTask.cpp index be4a3c4984c307..650334300f0642 100644 --- a/examples/lighting-app/stm32/src/STM32WB5/AppTask.cpp +++ b/examples/lighting-app/stm32/src/STM32WB5/AppTask.cpp @@ -37,7 +37,7 @@ /*Matter includes*/ #include #include -#include +#include #include #include #include diff --git a/examples/lit-icd-app/nrfconnect/main/AppTask.cpp b/examples/lit-icd-app/nrfconnect/main/AppTask.cpp index 49947fe9da3ef9..e1d7461d84117f 100644 --- a/examples/lit-icd-app/nrfconnect/main/AppTask.cpp +++ b/examples/lit-icd-app/nrfconnect/main/AppTask.cpp @@ -29,7 +29,7 @@ #include #include #include -#include +#include #include #include diff --git a/examples/lock-app/cc13x4_26x4/src/AppTask.cpp b/examples/lock-app/cc13x4_26x4/src/AppTask.cpp index 4a6e9466a0dc2d..f1648d3b83d1ea 100644 --- a/examples/lock-app/cc13x4_26x4/src/AppTask.cpp +++ b/examples/lock-app/cc13x4_26x4/src/AppTask.cpp @@ -43,7 +43,7 @@ #include #include -#include +#include #include #include #include diff --git a/examples/lock-app/cc32xx/main/AppTask.cpp b/examples/lock-app/cc32xx/main/AppTask.cpp index b783a862875fcd..a9a915d3573876 100644 --- a/examples/lock-app/cc32xx/main/AppTask.cpp +++ b/examples/lock-app/cc32xx/main/AppTask.cpp @@ -38,7 +38,7 @@ #include #include -#include +#include #include #include diff --git a/examples/lock-app/genio/src/AppTask.cpp b/examples/lock-app/genio/src/AppTask.cpp index 6897792d2ed4b7..9157dee6cdc1ab 100644 --- a/examples/lock-app/genio/src/AppTask.cpp +++ b/examples/lock-app/genio/src/AppTask.cpp @@ -28,7 +28,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/examples/lock-app/infineon/psoc6/src/AppTask.cpp b/examples/lock-app/infineon/psoc6/src/AppTask.cpp index 6ce6f57315267b..2b75cfaa02e22b 100644 --- a/examples/lock-app/infineon/psoc6/src/AppTask.cpp +++ b/examples/lock-app/infineon/psoc6/src/AppTask.cpp @@ -26,7 +26,7 @@ #include #include -#include +#include #include #include #include diff --git a/examples/lock-app/mbed/main/AppTask.cpp b/examples/lock-app/mbed/main/AppTask.cpp index 5e29d76b546e3f..a86b011728e513 100644 --- a/examples/lock-app/mbed/main/AppTask.cpp +++ b/examples/lock-app/mbed/main/AppTask.cpp @@ -20,7 +20,7 @@ #include "BoltLockManager.h" #include -#include +#include #include #include #include diff --git a/examples/lock-app/nrfconnect/main/AppTask.cpp b/examples/lock-app/nrfconnect/main/AppTask.cpp index 3a9d375d80b86a..087022e759f50a 100644 --- a/examples/lock-app/nrfconnect/main/AppTask.cpp +++ b/examples/lock-app/nrfconnect/main/AppTask.cpp @@ -29,7 +29,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/examples/lock-app/nxp/k32w/k32w0/main/AppTask.cpp b/examples/lock-app/nxp/k32w/k32w0/main/AppTask.cpp index 6faccbffd0d593..48ba299998e04c 100644 --- a/examples/lock-app/nxp/k32w/k32w0/main/AppTask.cpp +++ b/examples/lock-app/nxp/k32w/k32w0/main/AppTask.cpp @@ -23,7 +23,7 @@ #include #include -#include +#include #include #include #include diff --git a/examples/lock-app/qpg/src/AppTask.cpp b/examples/lock-app/qpg/src/AppTask.cpp index cba2bfe569aa39..bf0158eb4d9819 100644 --- a/examples/lock-app/qpg/src/AppTask.cpp +++ b/examples/lock-app/qpg/src/AppTask.cpp @@ -35,7 +35,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/examples/log-source-app/linux/main.cpp b/examples/log-source-app/linux/main.cpp index a507d44741173b..8a35df147e0720 100644 --- a/examples/log-source-app/linux/main.cpp +++ b/examples/log-source-app/linux/main.cpp @@ -20,7 +20,7 @@ #include #include -#include +#include #include #include #include diff --git a/examples/ota-requestor-app/ameba/main/chipinterface.cpp b/examples/ota-requestor-app/ameba/main/chipinterface.cpp index 2a4dc911e6537c..760248c8df2c9e 100644 --- a/examples/ota-requestor-app/ameba/main/chipinterface.cpp +++ b/examples/ota-requestor-app/ameba/main/chipinterface.cpp @@ -24,7 +24,7 @@ #include #include -#include +#include #include #include diff --git a/examples/ota-requestor-app/genio/src/AppTask.cpp b/examples/ota-requestor-app/genio/src/AppTask.cpp index 5130c5cf9a7c61..f0ea03e927edc3 100644 --- a/examples/ota-requestor-app/genio/src/AppTask.cpp +++ b/examples/ota-requestor-app/genio/src/AppTask.cpp @@ -18,7 +18,7 @@ */ #include #include -#include +#include #include #include #include diff --git a/examples/ota-requestor-app/mbed/main/AppTask.cpp b/examples/ota-requestor-app/mbed/main/AppTask.cpp index 5b136311903079..b5ff50f0dee451 100644 --- a/examples/ota-requestor-app/mbed/main/AppTask.cpp +++ b/examples/ota-requestor-app/mbed/main/AppTask.cpp @@ -19,7 +19,7 @@ #include "AppTask.h" #include -#include +#include #include #include #include diff --git a/examples/platform/asr/init_Matter.cpp b/examples/platform/asr/init_Matter.cpp index 864823001ab53e..2f6ae396361fa1 100644 --- a/examples/platform/asr/init_Matter.cpp +++ b/examples/platform/asr/init_Matter.cpp @@ -18,7 +18,7 @@ #include "AppConfig.h" #include -#include +#include #include #include #include diff --git a/examples/platform/beken/common/BekenAppServer.cpp b/examples/platform/beken/common/BekenAppServer.cpp index 3216787463457a..8a1404bafcdc9e 100644 --- a/examples/platform/beken/common/BekenAppServer.cpp +++ b/examples/platform/beken/common/BekenAppServer.cpp @@ -19,7 +19,7 @@ #include "BekenAppServer.h" #include "CHIPDeviceManager.h" #include -#include +#include #include #include #include diff --git a/examples/platform/bouffalolab/common/plat/platform.cpp b/examples/platform/bouffalolab/common/plat/platform.cpp index 4a422a9cdbc0ee..4490f384de6910 100644 --- a/examples/platform/bouffalolab/common/plat/platform.cpp +++ b/examples/platform/bouffalolab/common/plat/platform.cpp @@ -17,7 +17,7 @@ */ #include #include -#include +#include #include #include #include diff --git a/examples/platform/esp32/common/Esp32AppServer.cpp b/examples/platform/esp32/common/Esp32AppServer.cpp index e88ee966db2568..930cfb1de28c0e 100644 --- a/examples/platform/esp32/common/Esp32AppServer.cpp +++ b/examples/platform/esp32/common/Esp32AppServer.cpp @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/examples/platform/infineon/cyw30739/matter_config.cpp b/examples/platform/infineon/cyw30739/matter_config.cpp index 0a244eabfbf37c..338f4a22aa7557 100644 --- a/examples/platform/infineon/cyw30739/matter_config.cpp +++ b/examples/platform/infineon/cyw30739/matter_config.cpp @@ -37,7 +37,7 @@ #include "wiced_hal_i2c.h" #endif #include -#include +#include #include #include #include diff --git a/examples/platform/linux/AppMain.cpp b/examples/platform/linux/AppMain.cpp index 2f69e4da048cd0..4a44c26479d312 100644 --- a/examples/platform/linux/AppMain.cpp +++ b/examples/platform/linux/AppMain.cpp @@ -21,7 +21,7 @@ #include #include -#include +#include #include #include #include diff --git a/examples/platform/linux/BUILD.gn b/examples/platform/linux/BUILD.gn index 478b9960cd8c77..a542021a76819d 100644 --- a/examples/platform/linux/BUILD.gn +++ b/examples/platform/linux/BUILD.gn @@ -94,7 +94,7 @@ source_set("app-main") { ":energy-reporting-test-event-trigger", ":smco-test-event-trigger", ":water-heater-management-test-event-trigger", - "${chip_root}/src/app/codegen-data-model-provider:instance-header", + "${chip_root}/src/data-model-providers/codegen:instance-header", "${chip_root}/src/lib", "${chip_root}/src/platform/logging:default", ] @@ -164,7 +164,7 @@ source_set("commissioner-main") { "${chip_root}/src/lib", ] deps = [ - "${chip_root}/src/app/codegen-data-model-provider:instance-header", + "${chip_root}/src/data-model-providers/codegen:instance-header", "${chip_root}/src/app/server", ] diff --git a/examples/platform/linux/CommissionerMain.cpp b/examples/platform/linux/CommissionerMain.cpp index aab4d6267c2e4c..33ecdc6c070b8e 100644 --- a/examples/platform/linux/CommissionerMain.cpp +++ b/examples/platform/linux/CommissionerMain.cpp @@ -21,7 +21,7 @@ #if CHIP_DEVICE_CONFIG_ENABLE_BOTH_COMMISSIONER_AND_COMMISSIONEE #include -#include +#include #include #include #include diff --git a/examples/platform/nxp/common/app_task/source/AppTaskBase.cpp b/examples/platform/nxp/common/app_task/source/AppTaskBase.cpp index 596e4b8bcad78a..54b4767279a026 100644 --- a/examples/platform/nxp/common/app_task/source/AppTaskBase.cpp +++ b/examples/platform/nxp/common/app_task/source/AppTaskBase.cpp @@ -26,7 +26,7 @@ #include #include -#include +#include #include #include diff --git a/examples/platform/nxp/se05x/linux/AppMain.cpp b/examples/platform/nxp/se05x/linux/AppMain.cpp index ffbdf5981fbab4..8e30664b3c59a6 100644 --- a/examples/platform/nxp/se05x/linux/AppMain.cpp +++ b/examples/platform/nxp/se05x/linux/AppMain.cpp @@ -20,7 +20,7 @@ #include #include -#include +#include #include #include #include diff --git a/examples/platform/openiotsdk/app/openiotsdk_platform.cpp b/examples/platform/openiotsdk/app/openiotsdk_platform.cpp index f7df494997e751..f81d4b997cb7aa 100644 --- a/examples/platform/openiotsdk/app/openiotsdk_platform.cpp +++ b/examples/platform/openiotsdk/app/openiotsdk_platform.cpp @@ -42,7 +42,7 @@ #include #ifdef USE_CHIP_DATA_MODEL -#include +#include #include #include #include diff --git a/examples/platform/silabs/MatterConfig.cpp b/examples/platform/silabs/MatterConfig.cpp index 043cd6feda032e..aba14c03e93284 100644 --- a/examples/platform/silabs/MatterConfig.cpp +++ b/examples/platform/silabs/MatterConfig.cpp @@ -56,7 +56,7 @@ static chip::DeviceLayer::Internal::Efr32PsaOperationalKeystore gOperationalKeys #include #include #include -#include +#include #ifdef SL_MATTER_TEST_EVENT_TRIGGER_ENABLED #include "SilabsTestEventTriggerDelegate.h" // nogncheck diff --git a/examples/platform/silabs/SiWx917/BUILD.gn b/examples/platform/silabs/SiWx917/BUILD.gn index 02769a993c3087..69379c11ff621e 100644 --- a/examples/platform/silabs/SiWx917/BUILD.gn +++ b/examples/platform/silabs/SiWx917/BUILD.gn @@ -189,7 +189,7 @@ source_set("siwx917-common") { public_deps += [ "${chip_root}/examples/providers:device_info_provider", - "${chip_root}/src/app/codegen-data-model-provider:instance-header", + "${chip_root}/src/data-model-providers/codegen:instance-header", "${chip_root}/src/lib", "${chip_root}/src/setup_payload", ] diff --git a/examples/platform/silabs/efr32/BUILD.gn b/examples/platform/silabs/efr32/BUILD.gn index 46cfae71ecef99..2c013a3021f5bc 100644 --- a/examples/platform/silabs/efr32/BUILD.gn +++ b/examples/platform/silabs/efr32/BUILD.gn @@ -215,7 +215,7 @@ source_set("efr32-common") { public_deps += [ "${chip_root}/examples/providers:device_info_provider", - "${chip_root}/src/app/codegen-data-model-provider:instance-header", + "${chip_root}/src/data-model-providers/codegen:instance-header", "${chip_root}/src/app/server", "${chip_root}/src/lib", "${chip_root}/src/setup_payload", diff --git a/examples/platform/telink/common/src/AppTaskCommon.cpp b/examples/platform/telink/common/src/AppTaskCommon.cpp index 7ee70c33f76bf1..894bde6819e02c 100644 --- a/examples/platform/telink/common/src/AppTaskCommon.cpp +++ b/examples/platform/telink/common/src/AppTaskCommon.cpp @@ -34,7 +34,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/examples/pump-app/cc13x4_26x4/main/AppTask.cpp b/examples/pump-app/cc13x4_26x4/main/AppTask.cpp index 87bfe05f83aedf..1ef5051ed89a2f 100644 --- a/examples/pump-app/cc13x4_26x4/main/AppTask.cpp +++ b/examples/pump-app/cc13x4_26x4/main/AppTask.cpp @@ -31,7 +31,7 @@ #include #include -#include +#include #include #include diff --git a/examples/pump-app/nrfconnect/main/AppTask.cpp b/examples/pump-app/nrfconnect/main/AppTask.cpp index 8961c2fafbd09f..ceab4b9bba6b9e 100644 --- a/examples/pump-app/nrfconnect/main/AppTask.cpp +++ b/examples/pump-app/nrfconnect/main/AppTask.cpp @@ -27,7 +27,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/examples/pump-controller-app/cc13x4_26x4/main/AppTask.cpp b/examples/pump-controller-app/cc13x4_26x4/main/AppTask.cpp index 1cb02ef522810f..0e9097e3cb48db 100644 --- a/examples/pump-controller-app/cc13x4_26x4/main/AppTask.cpp +++ b/examples/pump-controller-app/cc13x4_26x4/main/AppTask.cpp @@ -38,7 +38,7 @@ #endif #include #include -#include +#include #include #include #include diff --git a/examples/pump-controller-app/nrfconnect/main/AppTask.cpp b/examples/pump-controller-app/nrfconnect/main/AppTask.cpp index d8f47f0e1eff08..a640b31de06137 100644 --- a/examples/pump-controller-app/nrfconnect/main/AppTask.cpp +++ b/examples/pump-controller-app/nrfconnect/main/AppTask.cpp @@ -27,7 +27,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/examples/shell/cc13x4_26x4/main/AppTask.cpp b/examples/shell/cc13x4_26x4/main/AppTask.cpp index 93fd5e826ae596..846ce582f8e6b9 100644 --- a/examples/shell/cc13x4_26x4/main/AppTask.cpp +++ b/examples/shell/cc13x4_26x4/main/AppTask.cpp @@ -22,7 +22,7 @@ #include "FreeRTOS.h" -#include +#include #include #include #include diff --git a/examples/shell/shell_common/cmd_server.cpp b/examples/shell/shell_common/cmd_server.cpp index 9f633158be76c6..f9e025bf09a5ad 100644 --- a/examples/shell/shell_common/cmd_server.cpp +++ b/examples/shell/shell_common/cmd_server.cpp @@ -24,7 +24,7 @@ #include #include -#include +#include #include #include #include diff --git a/examples/thermostat/genio/src/AppTask.cpp b/examples/thermostat/genio/src/AppTask.cpp index 67daf5d1ffd2bf..75aee3f3350780 100644 --- a/examples/thermostat/genio/src/AppTask.cpp +++ b/examples/thermostat/genio/src/AppTask.cpp @@ -26,7 +26,7 @@ #include #include -#include +#include #include #include #include diff --git a/examples/thermostat/qpg/src/AppTask.cpp b/examples/thermostat/qpg/src/AppTask.cpp index 921fc220c6099b..2c993dce0650eb 100644 --- a/examples/thermostat/qpg/src/AppTask.cpp +++ b/examples/thermostat/qpg/src/AppTask.cpp @@ -27,7 +27,7 @@ #include #include -#include +#include #include #include #include diff --git a/examples/tv-casting-app/darwin/MatterTvCastingBridge/MatterTvCastingBridge/MCCommonCaseDeviceServerInitParamsProvider.h b/examples/tv-casting-app/darwin/MatterTvCastingBridge/MatterTvCastingBridge/MCCommonCaseDeviceServerInitParamsProvider.h index 511c7861c98161..0fec5c7b36e89b 100644 --- a/examples/tv-casting-app/darwin/MatterTvCastingBridge/MatterTvCastingBridge/MCCommonCaseDeviceServerInitParamsProvider.h +++ b/examples/tv-casting-app/darwin/MatterTvCastingBridge/MatterTvCastingBridge/MCCommonCaseDeviceServerInitParamsProvider.h @@ -17,7 +17,7 @@ #include "core/Types.h" -#include +#include #ifndef MCCommonCaseDeviceServerInitParamsProvider_h #define MCCommonCaseDeviceServerInitParamsProvider_h diff --git a/examples/tv-casting-app/linux/main.cpp b/examples/tv-casting-app/linux/main.cpp index d73431d1fb97ea..cf268af5ede2f5 100644 --- a/examples/tv-casting-app/linux/main.cpp +++ b/examples/tv-casting-app/linux/main.cpp @@ -33,7 +33,7 @@ #include "LinuxCommissionableDataProvider.h" #include "Options.h" -#include +#include #include #include #include diff --git a/examples/tv-casting-app/linux/simple-app.cpp b/examples/tv-casting-app/linux/simple-app.cpp index c41ebe0fc460a0..fb1e2e656382ae 100644 --- a/examples/tv-casting-app/linux/simple-app.cpp +++ b/examples/tv-casting-app/linux/simple-app.cpp @@ -26,7 +26,7 @@ #include #include -#include +#include #include #include #include diff --git a/examples/window-app/nrfconnect/main/AppTask.cpp b/examples/window-app/nrfconnect/main/AppTask.cpp index 06f21e0eaf8109..9c59f6a9f7a0a5 100644 --- a/examples/window-app/nrfconnect/main/AppTask.cpp +++ b/examples/window-app/nrfconnect/main/AppTask.cpp @@ -27,7 +27,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/BUILD.gn b/src/BUILD.gn index baf3c69720da9e..8eac76615c63c8 100644 --- a/src/BUILD.gn +++ b/src/BUILD.gn @@ -89,11 +89,11 @@ if (chip_build_tests) { # Avoid these items from "one single binary" test executions. Once tests # are split, we can re-visit this (and likely many others). # - # In particular: "app/codegen-data-model-provider/tests" contains + # In particular: "data-model-providers/codegen/tests" contains # symbols for ember mocks which are used by other tests. tests += [ - "${chip_root}/src/app/codegen-data-model-provider/tests", + "${chip_root}/src/data-model-providers/codegen/tests", "${chip_root}/src/setup_payload/tests", "${chip_root}/src/transport/raw/tests", ] diff --git a/src/app/chip_data_model.cmake b/src/app/chip_data_model.cmake index 5afb1735e46207..7c5ab0f82608b4 100644 --- a/src/app/chip_data_model.cmake +++ b/src/app/chip_data_model.cmake @@ -17,7 +17,7 @@ set(CHIP_APP_BASE_DIR ${CMAKE_CURRENT_LIST_DIR}) include("${CHIP_ROOT}/build/chip/chip_codegen.cmake") -include("${CHIP_ROOT}/src/app/codegen-data-model-provider/model.cmake") +include("${CHIP_ROOT}/src/data-model-providers/codegen/model.cmake") # Configure ${APP_TARGET} with source files associated with ${CLUSTER} cluster # diff --git a/src/app/chip_data_model.gni b/src/app/chip_data_model.gni index 7d8cfac7f7b0d9..260645493a5eea 100644 --- a/src/app/chip_data_model.gni +++ b/src/app/chip_data_model.gni @@ -15,7 +15,7 @@ import("//build_overrides/build.gni") import("//build_overrides/chip.gni") import("${chip_root}/build/chip/chip_codegen.gni") -import("${chip_root}/src/app/codegen-data-model-provider/model.gni") +import("${chip_root}/src/data-model-providers/codegen/model.gni") import("${chip_root}/src/app/common_flags.gni") import("${chip_root}/src/platform/python.gni") diff --git a/src/app/server/java/AndroidAppServerWrapper.cpp b/src/app/server/java/AndroidAppServerWrapper.cpp index 1c0264eb6af244..c4cec2cba6a9ce 100644 --- a/src/app/server/java/AndroidAppServerWrapper.cpp +++ b/src/app/server/java/AndroidAppServerWrapper.cpp @@ -18,7 +18,7 @@ #include "AndroidAppServerWrapper.h" -#include +#include #include #include #include diff --git a/src/app/server/java/BUILD.gn b/src/app/server/java/BUILD.gn index 98012409b1ee56..60b9eb5aa91ca1 100644 --- a/src/app/server/java/BUILD.gn +++ b/src/app/server/java/BUILD.gn @@ -36,7 +36,7 @@ static_library("jni") { ] deps = [ - "${chip_root}/src/app/codegen-data-model-provider:instance-header", + "${chip_root}/src/data-model-providers/codegen:instance-header", "${chip_root}/src/app/server", "${chip_root}/src/inet", "${chip_root}/src/lib", diff --git a/src/app/tests/BUILD.gn b/src/app/tests/BUILD.gn index 92ba164b7cddf1..b019a28fc20188 100644 --- a/src/app/tests/BUILD.gn +++ b/src/app/tests/BUILD.gn @@ -248,7 +248,7 @@ chip_test_suite("tests") { ":time-sync-data-provider-test-srcs", "${chip_root}/src/app", "${chip_root}/src/app:attribute-persistence", - "${chip_root}/src/app/codegen-data-model-provider:instance-header", + "${chip_root}/src/data-model-providers/codegen:instance-header", "${chip_root}/src/app/common:cluster-objects", "${chip_root}/src/app/data-model-provider/tests:encode-decode", "${chip_root}/src/app/icd/client:handler", diff --git a/src/app/tests/TestAclEvent.cpp b/src/app/tests/TestAclEvent.cpp index 4607d48d618ccc..c1956b9eafefad 100644 --- a/src/app/tests/TestAclEvent.cpp +++ b/src/app/tests/TestAclEvent.cpp @@ -24,7 +24,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/app/tests/TestAttributePathExpandIterator.cpp b/src/app/tests/TestAttributePathExpandIterator.cpp index fb8fa9b2c9621f..69939464cf5af4 100644 --- a/src/app/tests/TestAttributePathExpandIterator.cpp +++ b/src/app/tests/TestAttributePathExpandIterator.cpp @@ -20,7 +20,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/app/tests/TestCommissioningWindowManager.cpp b/src/app/tests/TestCommissioningWindowManager.cpp index e6a9069b533e55..222bb4a996abf2 100644 --- a/src/app/tests/TestCommissioningWindowManager.cpp +++ b/src/app/tests/TestCommissioningWindowManager.cpp @@ -17,7 +17,7 @@ #include #include -#include +#include #include #include #include diff --git a/src/app/tests/TestInteractionModelEngine.cpp b/src/app/tests/TestInteractionModelEngine.cpp index 2778d924abee78..958ddb245db4d1 100644 --- a/src/app/tests/TestInteractionModelEngine.cpp +++ b/src/app/tests/TestInteractionModelEngine.cpp @@ -18,7 +18,7 @@ #include #include -#include +#include #include #include #include diff --git a/src/app/tests/TestReadInteraction.cpp b/src/app/tests/TestReadInteraction.cpp index 564320b67f17ce..e023a61604d572 100644 --- a/src/app/tests/TestReadInteraction.cpp +++ b/src/app/tests/TestReadInteraction.cpp @@ -21,7 +21,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/app/tests/TestReportScheduler.cpp b/src/app/tests/TestReportScheduler.cpp index 49cd2ba07230a9..1aff0f9eb494e6 100644 --- a/src/app/tests/TestReportScheduler.cpp +++ b/src/app/tests/TestReportScheduler.cpp @@ -17,7 +17,7 @@ */ #include -#include +#include #include #include #include diff --git a/src/app/tests/TestReportingEngine.cpp b/src/app/tests/TestReportingEngine.cpp index dc33e30c042a53..226da8079a11fe 100644 --- a/src/app/tests/TestReportingEngine.cpp +++ b/src/app/tests/TestReportingEngine.cpp @@ -28,7 +28,7 @@ #include #include -#include +#include #include #include #include diff --git a/src/app/tests/test-interaction-model-api.cpp b/src/app/tests/test-interaction-model-api.cpp index 71e7d93036005a..b62059c8595d21 100644 --- a/src/app/tests/test-interaction-model-api.cpp +++ b/src/app/tests/test-interaction-model-api.cpp @@ -18,7 +18,7 @@ #include #include -#include +#include #include #include #include diff --git a/src/app/util/mock/BUILD.gn b/src/app/util/mock/BUILD.gn index 0b99d827403047..5147b447f2c72a 100644 --- a/src/app/util/mock/BUILD.gn +++ b/src/app/util/mock/BUILD.gn @@ -14,7 +14,7 @@ import("//build_overrides/chip.gni") -import("${chip_root}/src/app/codegen-data-model-provider/model.gni") +import("${chip_root}/src/data-model-providers/codegen/model.gni") config("mock_include") { include_dirs = [ "include" ] diff --git a/src/controller/java/AndroidDeviceControllerWrapper.cpp b/src/controller/java/AndroidDeviceControllerWrapper.cpp index 704d9bacd29570..a1ece8b07b7704 100644 --- a/src/controller/java/AndroidDeviceControllerWrapper.cpp +++ b/src/controller/java/AndroidDeviceControllerWrapper.cpp @@ -25,7 +25,7 @@ #include -#include +#include #include #include #include diff --git a/src/controller/java/BUILD.gn b/src/controller/java/BUILD.gn index d969612f375de1..dc237768b478d9 100644 --- a/src/controller/java/BUILD.gn +++ b/src/controller/java/BUILD.gn @@ -19,7 +19,7 @@ import("${chip_root}/build/chip/buildconfig_header.gni") import("${chip_root}/build/chip/java/config.gni") import("${chip_root}/build/chip/java/rules.gni") import("${chip_root}/build/chip/tests.gni") -import("${chip_root}/src/app/codegen-data-model-provider/model.gni") +import("${chip_root}/src/data-model-providers/codegen/model.gni") import("${chip_root}/src/app/common_flags.gni") import("${chip_root}/src/platform/device.gni") diff --git a/src/controller/python/ChipDeviceController-ScriptBinding.cpp b/src/controller/python/ChipDeviceController-ScriptBinding.cpp index 6430776a6e8b0d..de9cf5f6ae48ad 100644 --- a/src/controller/python/ChipDeviceController-ScriptBinding.cpp +++ b/src/controller/python/ChipDeviceController-ScriptBinding.cpp @@ -42,7 +42,7 @@ #include #include -#include +#include #include #include #include diff --git a/src/controller/python/chip/internal/CommissionerImpl.cpp b/src/controller/python/chip/internal/CommissionerImpl.cpp index b86dad3f916084..24208d6ebd98dc 100644 --- a/src/controller/python/chip/internal/CommissionerImpl.cpp +++ b/src/controller/python/chip/internal/CommissionerImpl.cpp @@ -16,7 +16,7 @@ */ #include -#include +#include #include #include #include diff --git a/src/controller/python/chip/server/ServerInit.cpp b/src/controller/python/chip/server/ServerInit.cpp index 9089237aa41c7e..f12f7a858fe194 100644 --- a/src/controller/python/chip/server/ServerInit.cpp +++ b/src/controller/python/chip/server/ServerInit.cpp @@ -18,7 +18,7 @@ #include #include -#include +#include #include #include diff --git a/src/controller/tests/TestEventChunking.cpp b/src/controller/tests/TestEventChunking.cpp index 8fa260da41c712..aab3b8d797b0ae 100644 --- a/src/controller/tests/TestEventChunking.cpp +++ b/src/controller/tests/TestEventChunking.cpp @@ -30,7 +30,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/controller/tests/TestReadChunking.cpp b/src/controller/tests/TestReadChunking.cpp index d05c1fe522c42d..3d2676e7f4c440 100644 --- a/src/controller/tests/TestReadChunking.cpp +++ b/src/controller/tests/TestReadChunking.cpp @@ -25,7 +25,7 @@ #include "app-common/zap-generated/ids/Attributes.h" #include "app-common/zap-generated/ids/Clusters.h" #include "app/ConcreteAttributePath.h" -#include "app/codegen-data-model-provider/Instance.h" +#include "data-model-providers/codegen/Instance.h" #include "protocols/interaction_model/Constants.h" #include #include diff --git a/src/controller/tests/TestServerCommandDispatch.cpp b/src/controller/tests/TestServerCommandDispatch.cpp index a09d2537f377bf..d8ccf01647d684 100644 --- a/src/controller/tests/TestServerCommandDispatch.cpp +++ b/src/controller/tests/TestServerCommandDispatch.cpp @@ -23,8 +23,8 @@ #include #include #include -#include -#include +#include +#include #include #include #include diff --git a/src/controller/tests/TestWriteChunking.cpp b/src/controller/tests/TestWriteChunking.cpp index 39c73c7e7b28aa..7b362edb9a7c08 100644 --- a/src/controller/tests/TestWriteChunking.cpp +++ b/src/controller/tests/TestWriteChunking.cpp @@ -30,7 +30,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/controller/tests/data_model/DataModelFixtures.cpp b/src/controller/tests/data_model/DataModelFixtures.cpp index c0054043fe4bbf..c87738801e39fb 100644 --- a/src/controller/tests/data_model/DataModelFixtures.cpp +++ b/src/controller/tests/data_model/DataModelFixtures.cpp @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/darwin/Framework/CHIP/MTRDeviceControllerFactory.mm b/src/darwin/Framework/CHIP/MTRDeviceControllerFactory.mm index e0c5f8283aa189..fcc060187badea 100644 --- a/src/darwin/Framework/CHIP/MTRDeviceControllerFactory.mm +++ b/src/darwin/Framework/CHIP/MTRDeviceControllerFactory.mm @@ -50,7 +50,7 @@ #import -#include +#include #include #include #include diff --git a/src/app/codegen-data-model-provider/BUILD.gn b/src/data-model-providers/codegen/BUILD.gn similarity index 100% rename from src/app/codegen-data-model-provider/BUILD.gn rename to src/data-model-providers/codegen/BUILD.gn diff --git a/src/app/codegen-data-model-provider/CodegenDataModelProvider.cpp b/src/data-model-providers/codegen/CodegenDataModelProvider.cpp similarity index 99% rename from src/app/codegen-data-model-provider/CodegenDataModelProvider.cpp rename to src/data-model-providers/codegen/CodegenDataModelProvider.cpp index a353cd1c5d4c55..95bac8fbbf82f3 100644 --- a/src/app/codegen-data-model-provider/CodegenDataModelProvider.cpp +++ b/src/data-model-providers/codegen/CodegenDataModelProvider.cpp @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#include +#include #include #include diff --git a/src/app/codegen-data-model-provider/CodegenDataModelProvider.h b/src/data-model-providers/codegen/CodegenDataModelProvider.h similarity index 100% rename from src/app/codegen-data-model-provider/CodegenDataModelProvider.h rename to src/data-model-providers/codegen/CodegenDataModelProvider.h diff --git a/src/app/codegen-data-model-provider/CodegenDataModelProvider_Read.cpp b/src/data-model-providers/codegen/CodegenDataModelProvider_Read.cpp similarity index 96% rename from src/app/codegen-data-model-provider/CodegenDataModelProvider_Read.cpp rename to src/data-model-providers/codegen/CodegenDataModelProvider_Read.cpp index 88989b52071810..4edf1f2994bc01 100644 --- a/src/app/codegen-data-model-provider/CodegenDataModelProvider_Read.cpp +++ b/src/data-model-providers/codegen/CodegenDataModelProvider_Read.cpp @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#include +#include #include #include @@ -28,8 +28,8 @@ #include #include #include -#include -#include +#include +#include #include #include #include diff --git a/src/app/codegen-data-model-provider/CodegenDataModelProvider_Write.cpp b/src/data-model-providers/codegen/CodegenDataModelProvider_Write.cpp similarity index 98% rename from src/app/codegen-data-model-provider/CodegenDataModelProvider_Write.cpp rename to src/data-model-providers/codegen/CodegenDataModelProvider_Write.cpp index 10e03ae4844487..d758c27d26e40c 100644 --- a/src/app/codegen-data-model-provider/CodegenDataModelProvider_Write.cpp +++ b/src/data-model-providers/codegen/CodegenDataModelProvider_Write.cpp @@ -14,15 +14,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#include +#include #include #include #include #include #include -#include -#include +#include +#include #include #include #include diff --git a/src/app/codegen-data-model-provider/EmberAttributeDataBuffer.cpp b/src/data-model-providers/codegen/EmberAttributeDataBuffer.cpp similarity index 99% rename from src/app/codegen-data-model-provider/EmberAttributeDataBuffer.cpp rename to src/data-model-providers/codegen/EmberAttributeDataBuffer.cpp index 1296e7190833fd..84ad9de070ff2d 100644 --- a/src/app/codegen-data-model-provider/EmberAttributeDataBuffer.cpp +++ b/src/data-model-providers/codegen/EmberAttributeDataBuffer.cpp @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#include +#include #include #include diff --git a/src/app/codegen-data-model-provider/EmberAttributeDataBuffer.h b/src/data-model-providers/codegen/EmberAttributeDataBuffer.h similarity index 100% rename from src/app/codegen-data-model-provider/EmberAttributeDataBuffer.h rename to src/data-model-providers/codegen/EmberAttributeDataBuffer.h diff --git a/src/app/codegen-data-model-provider/EmberMetadata.cpp b/src/data-model-providers/codegen/EmberMetadata.cpp similarity index 97% rename from src/app/codegen-data-model-provider/EmberMetadata.cpp rename to src/data-model-providers/codegen/EmberMetadata.cpp index 69f9e3e889369c..22e31a569fe702 100644 --- a/src/app/codegen-data-model-provider/EmberMetadata.cpp +++ b/src/data-model-providers/codegen/EmberMetadata.cpp @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#include +#include #include #include diff --git a/src/app/codegen-data-model-provider/EmberMetadata.h b/src/data-model-providers/codegen/EmberMetadata.h similarity index 100% rename from src/app/codegen-data-model-provider/EmberMetadata.h rename to src/data-model-providers/codegen/EmberMetadata.h diff --git a/src/app/codegen-data-model-provider/Instance.cpp b/src/data-model-providers/codegen/Instance.cpp similarity index 89% rename from src/app/codegen-data-model-provider/Instance.cpp rename to src/data-model-providers/codegen/Instance.cpp index 3321106dd90ade..bcf52f2b8821e2 100644 --- a/src/app/codegen-data-model-provider/Instance.cpp +++ b/src/data-model-providers/codegen/Instance.cpp @@ -15,8 +15,8 @@ * limitations under the License. */ #include "lib/core/CHIPPersistentStorageDelegate.h" -#include -#include +#include +#include namespace chip { namespace app { diff --git a/src/app/codegen-data-model-provider/Instance.h b/src/data-model-providers/codegen/Instance.h similarity index 100% rename from src/app/codegen-data-model-provider/Instance.h rename to src/data-model-providers/codegen/Instance.h diff --git a/src/app/codegen-data-model-provider/model.cmake b/src/data-model-providers/codegen/model.cmake similarity index 100% rename from src/app/codegen-data-model-provider/model.cmake rename to src/data-model-providers/codegen/model.cmake diff --git a/src/app/codegen-data-model-provider/model.gni b/src/data-model-providers/codegen/model.gni similarity index 64% rename from src/app/codegen-data-model-provider/model.gni rename to src/data-model-providers/codegen/model.gni index 12c2711fdadf7f..51305a5fe30b5a 100644 --- a/src/app/codegen-data-model-provider/model.gni +++ b/src/data-model-providers/codegen/model.gni @@ -25,20 +25,20 @@ import("//build_overrides/chip.gni") # be cleanly built as a stand-alone and instead have to be imported as part of # a different data model or compilation unit. codegen_data_model_SOURCES = [ - "${chip_root}/src/app/codegen-data-model-provider/CodegenDataModelProvider.cpp", - "${chip_root}/src/app/codegen-data-model-provider/CodegenDataModelProvider.h", - "${chip_root}/src/app/codegen-data-model-provider/CodegenDataModelProvider_Read.cpp", - "${chip_root}/src/app/codegen-data-model-provider/CodegenDataModelProvider_Write.cpp", - "${chip_root}/src/app/codegen-data-model-provider/EmberAttributeDataBuffer.cpp", - "${chip_root}/src/app/codegen-data-model-provider/EmberAttributeDataBuffer.h", - "${chip_root}/src/app/codegen-data-model-provider/EmberMetadata.cpp", - "${chip_root}/src/app/codegen-data-model-provider/EmberMetadata.h", - "${chip_root}/src/app/codegen-data-model-provider/Instance.cpp", + "${chip_root}/src/data-model-providers/codegen/CodegenDataModelProvider.cpp", + "${chip_root}/src/data-model-providers/codegen/CodegenDataModelProvider.h", + "${chip_root}/src/data-model-providers/codegen/CodegenDataModelProvider_Read.cpp", + "${chip_root}/src/data-model-providers/codegen/CodegenDataModelProvider_Write.cpp", + "${chip_root}/src/data-model-providers/codegen/EmberAttributeDataBuffer.cpp", + "${chip_root}/src/data-model-providers/codegen/EmberAttributeDataBuffer.h", + "${chip_root}/src/data-model-providers/codegen/EmberMetadata.cpp", + "${chip_root}/src/data-model-providers/codegen/EmberMetadata.h", + "${chip_root}/src/data-model-providers/codegen/Instance.cpp", ] codegen_data_model_PUBLIC_DEPS = [ "${chip_root}/src/app/common:attribute-type", "${chip_root}/src/app/data-model-provider", - "${chip_root}/src/app/codegen-data-model-provider:instance-header", + "${chip_root}/src/data-model-providers/codegen:instance-header", "${chip_root}/src/app/util/persistence", ] diff --git a/src/app/codegen-data-model-provider/tests/BUILD.gn b/src/data-model-providers/codegen/tests/BUILD.gn similarity index 96% rename from src/app/codegen-data-model-provider/tests/BUILD.gn rename to src/data-model-providers/codegen/tests/BUILD.gn index 5bcfb9d911ab55..af14185ddbd9b1 100644 --- a/src/app/codegen-data-model-provider/tests/BUILD.gn +++ b/src/data-model-providers/codegen/tests/BUILD.gn @@ -13,7 +13,7 @@ # limitations under the License. import("//build_overrides/chip.gni") import("${chip_root}/build/chip/chip_test_suite.gni") -import("${chip_root}/src/app/codegen-data-model-provider/model.gni") +import("${chip_root}/src/data-model-providers/codegen/model.gni") source_set("ember_extra_files") { sources = [ diff --git a/src/app/codegen-data-model-provider/tests/EmberInvokeOverride.cpp b/src/data-model-providers/codegen/tests/EmberInvokeOverride.cpp similarity index 100% rename from src/app/codegen-data-model-provider/tests/EmberInvokeOverride.cpp rename to src/data-model-providers/codegen/tests/EmberInvokeOverride.cpp diff --git a/src/app/codegen-data-model-provider/tests/EmberInvokeOverride.h b/src/data-model-providers/codegen/tests/EmberInvokeOverride.h similarity index 100% rename from src/app/codegen-data-model-provider/tests/EmberInvokeOverride.h rename to src/data-model-providers/codegen/tests/EmberInvokeOverride.h diff --git a/src/app/codegen-data-model-provider/tests/EmberReadWriteOverride.cpp b/src/data-model-providers/codegen/tests/EmberReadWriteOverride.cpp similarity index 100% rename from src/app/codegen-data-model-provider/tests/EmberReadWriteOverride.cpp rename to src/data-model-providers/codegen/tests/EmberReadWriteOverride.cpp diff --git a/src/app/codegen-data-model-provider/tests/EmberReadWriteOverride.h b/src/data-model-providers/codegen/tests/EmberReadWriteOverride.h similarity index 100% rename from src/app/codegen-data-model-provider/tests/EmberReadWriteOverride.h rename to src/data-model-providers/codegen/tests/EmberReadWriteOverride.h diff --git a/src/app/codegen-data-model-provider/tests/InteractionModelTemporaryOverrides.cpp b/src/data-model-providers/codegen/tests/InteractionModelTemporaryOverrides.cpp similarity index 100% rename from src/app/codegen-data-model-provider/tests/InteractionModelTemporaryOverrides.cpp rename to src/data-model-providers/codegen/tests/InteractionModelTemporaryOverrides.cpp diff --git a/src/app/codegen-data-model-provider/tests/TestCodegenModelViaMocks.cpp b/src/data-model-providers/codegen/tests/TestCodegenModelViaMocks.cpp similarity index 99% rename from src/app/codegen-data-model-provider/tests/TestCodegenModelViaMocks.cpp rename to src/data-model-providers/codegen/tests/TestCodegenModelViaMocks.cpp index 5f47f1abda0498..7712ef84504939 100644 --- a/src/app/codegen-data-model-provider/tests/TestCodegenModelViaMocks.cpp +++ b/src/data-model-providers/codegen/tests/TestCodegenModelViaMocks.cpp @@ -17,8 +17,8 @@ #include -#include -#include +#include +#include #include #include @@ -34,7 +34,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/app/codegen-data-model-provider/tests/TestEmberAttributeDataBuffer.cpp b/src/data-model-providers/codegen/tests/TestEmberAttributeDataBuffer.cpp similarity index 99% rename from src/app/codegen-data-model-provider/tests/TestEmberAttributeDataBuffer.cpp rename to src/data-model-providers/codegen/tests/TestEmberAttributeDataBuffer.cpp index 04e8b94dcce809..e33c5b6e74c5e5 100644 --- a/src/app/codegen-data-model-provider/tests/TestEmberAttributeDataBuffer.cpp +++ b/src/data-model-providers/codegen/tests/TestEmberAttributeDataBuffer.cpp @@ -18,7 +18,7 @@ #include -#include +#include #include #include