Skip to content

Commit

Permalink
One more path update
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Nov 18, 2024
1 parent 43372b9 commit 2483cd7
Show file tree
Hide file tree
Showing 24 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion examples/all-clusters-app/infineon/psoc6/src/AppTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ static void InitServer(intptr_t context)
// Init ZCL Data Model
static chip::CommonCaseDeviceServerInitParams initParams;
(void) initParams.InitializeStaticResourcesBeforeServerInit();
initParams.dataModelProvider = chip::app::CodegenDataModelProviderInstance();
initParams.dataModelProvider = app::CodegenDataModelProviderInstance();
chip::Server::GetInstance().Init(initParams);

// We only have network commissioning on endpoint 0.
Expand Down
2 changes: 1 addition & 1 deletion examples/all-clusters-app/linux/fuzzing-main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t * aData, size_t aSize)
// ChipLinuxAppMainLoop blocks, and we don't want that here.
static chip::CommonCaseDeviceServerInitParams initParams;
(void) initParams.InitializeStaticResourcesBeforeServerInit();
initParams.dataModelProvider = chip::app::CodegenDataModelProviderInstance();
initParams.dataModelProvider = app::CodegenDataModelProviderInstance();
VerifyOrDie(Server::GetInstance().Init(initParams) == CHIP_NO_ERROR);

ApplicationInit();
Expand Down
2 changes: 1 addition & 1 deletion examples/all-clusters-app/mbed/main/AppTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ int AppTask::Init()
// Init ZCL Data Model and start server
static chip::CommonCaseDeviceServerInitParams initParams;
(void) initParams.InitializeStaticResourcesBeforeServerInit();
initParams.dataModelProvider = chip::app::CodegenDataModelProviderInstance();
initParams.dataModelProvider = app::CodegenDataModelProviderInstance();
error = Server::GetInstance().Init(initParams);
if (error != CHIP_NO_ERROR)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ static void InitServer(intptr_t context)
// Init ZCL Data Model
static chip::CommonCaseDeviceServerInitParams initParams;
(void) initParams.InitializeStaticResourcesBeforeServerInit();
initParams.dataModelProvider = chip::app::CodegenDataModelProviderInstance();
initParams.dataModelProvider = app::CodegenDataModelProviderInstance();
chip::Server::GetInstance().Init(initParams);

// We only have network commissioning on endpoint 0.
Expand Down
2 changes: 1 addition & 1 deletion examples/all-clusters-minimal-app/linux/fuzzing-main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t * aData, size_t aSize)
// ChipLinuxAppMainLoop blocks, and we don't want that here.
static chip::CommonCaseDeviceServerInitParams initParams;
(void) initParams.InitializeStaticResourcesBeforeServerInit();
initParams.dataModelProvider = chip::app::CodegenDataModelProviderInstance();
initParams.dataModelProvider = app::CodegenDataModelProviderInstance();
VerifyOrDie(Server::GetInstance().Init(initParams) == CHIP_NO_ERROR);

ApplicationInit();
Expand Down
2 changes: 1 addition & 1 deletion examples/all-clusters-minimal-app/mbed/main/AppTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ int AppTask::Init()
// Init ZCL Data Model and start server
static chip::CommonCaseDeviceServerInitParams initParams;
(void) initParams.InitializeStaticResourcesBeforeServerInit();
initParams.dataModelProvider = chip::app::CodegenDataModelProviderInstance();
initParams.dataModelProvider = app::CodegenDataModelProviderInstance();
error = Server::GetInstance().Init(initParams);
if (error != CHIP_NO_ERROR)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ CHIP_ERROR AppTask::Init()
initParams.operationalKeystore = &sPSAOperationalKeystore;
#endif
(void) initParams.InitializeStaticResourcesBeforeServerInit();
initParams.dataModelProvider = chip::app::CodegenDataModelProviderInstance();
initParams.dataModelProvider = app::CodegenDataModelProviderInstance();
ReturnErrorOnFailure(chip::Server::GetInstance().Init(initParams));
AppFabricTableDelegate::Init();

Expand Down
2 changes: 1 addition & 1 deletion examples/chef/esp32/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ void InitServer(intptr_t)
// Start IM server
static chip::CommonCaseDeviceServerInitParams initParams;
(void) initParams.InitializeStaticResourcesBeforeServerInit();
initParams.dataModelProvider = chip::app::CodegenDataModelProviderInstance();
initParams.dataModelProvider = app::CodegenDataModelProviderInstance();
chip::Server::GetInstance().Init(initParams);

// Device Attestation & Onboarding codes
Expand Down
2 changes: 1 addition & 1 deletion examples/chef/nrfconnect/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ int main()
initParams.operationalKeystore = &sPSAOperationalKeystore;
#endif
(void) initParams.InitializeStaticResourcesBeforeServerInit();
initParams.dataModelProvider = chip::app::CodegenDataModelProviderInstance();
initParams.dataModelProvider = app::CodegenDataModelProviderInstance();
err = chip::Server::GetInstance().Init(initParams);
if (err != CHIP_NO_ERROR)
{
Expand Down
2 changes: 1 addition & 1 deletion examples/lighting-app/mbed/main/AppTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ int AppTask::Init()
// Init ZCL Data Model and start server
static chip::CommonCaseDeviceServerInitParams initParams;
(void) initParams.InitializeStaticResourcesBeforeServerInit();
initParams.dataModelProvider = chip::app::CodegenDataModelProviderInstance();
initParams.dataModelProvider = app::CodegenDataModelProviderInstance();

error = Server::GetInstance().Init(initParams);
if (error != CHIP_NO_ERROR)
Expand Down
2 changes: 1 addition & 1 deletion examples/lock-app/cc32xx/main/AppTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ int AppTask::Init()
PLAT_LOG("Initialize Server");
static chip::CommonCaseDeviceServerInitParams initParams;
(void) initParams.InitializeStaticResourcesBeforeServerInit();
initParams.dataModelProvider = chip::app::CodegenDataModelProviderInstance();
initParams.dataModelProvider = app::CodegenDataModelProviderInstance();
chip::Server::GetInstance().Init(initParams);

// Initialize device attestation config
Expand Down
2 changes: 1 addition & 1 deletion examples/lock-app/genio/src/AppTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ CHIP_ERROR AppTask::Init()
// Init ZCL Data Model and start server
static chip::CommonCaseDeviceServerInitParams initParams;
(void) initParams.InitializeStaticResourcesBeforeServerInit();
initParams.dataModelProvider = chip::app::CodegenDataModelProviderInstance();
initParams.dataModelProvider = app::CodegenDataModelProviderInstance();
chip::Server::GetInstance().Init(initParams);

// Initialize device attestation config
Expand Down
2 changes: 1 addition & 1 deletion examples/lock-app/mbed/main/AppTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ int AppTask::Init()
// Init ZCL Data Model and start server
static chip::CommonCaseDeviceServerInitParams initParams;
(void) initParams.InitializeStaticResourcesBeforeServerInit();
initParams.dataModelProvider = chip::app::CodegenDataModelProviderInstance();
initParams.dataModelProvider = app::CodegenDataModelProviderInstance();

error = Server::GetInstance().Init(initParams);
if (error != CHIP_NO_ERROR)
Expand Down
2 changes: 1 addition & 1 deletion examples/ota-requestor-app/mbed/main/AppTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ int AppTask::Init()
// Init ZCL Data Model and start server
static chip::CommonCaseDeviceServerInitParams initParams;
(void) initParams.InitializeStaticResourcesBeforeServerInit();
initParams.dataModelProvider = chip::app::CodegenDataModelProviderInstance();
initParams.dataModelProvider = app::CodegenDataModelProviderInstance();

error = Server::GetInstance().Init(initParams);
if (error != CHIP_NO_ERROR)
Expand Down
2 changes: 1 addition & 1 deletion examples/platform/asr/init_Matter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ CHIP_ERROR MatterInitializer::Init_Matter_Server(void)
chip::DeviceLayer::PlatformMgr().LockChipStack();
static chip::CommonCaseDeviceServerInitParams initParams;
(void) initParams.InitializeStaticResourcesBeforeServerInit();
initParams.dataModelProvider = chip::app::CodegenDataModelProviderInstance();
initParams.dataModelProvider = app::CodegenDataModelProviderInstance();

chip::DeviceLayer::SetDeviceInfoProvider(&gExampleDeviceInfoProvider);
chip::Server::GetInstance().Init(initParams);
Expand Down
2 changes: 1 addition & 1 deletion examples/platform/beken/common/BekenAppServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ void BekenAppServer::Init(AppDelegate * sAppDelegate)
// Init ZCL Data Model and CHIP App Server
static chip::CommonCaseDeviceServerInitParams initParams;
(void) initParams.InitializeStaticResourcesBeforeServerInit();
initParams.dataModelProvider = chip::app::CodegenDataModelProviderInstance();
initParams.dataModelProvider = app::CodegenDataModelProviderInstance();
if (sAppDelegate != nullptr)
{
initParams.appDelegate = sAppDelegate;
Expand Down
2 changes: 1 addition & 1 deletion examples/platform/esp32/common/Esp32AppServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ void Esp32AppServer::Init(AppDelegate * sAppDelegate)
initParams.testEventTriggerDelegate = &sTestEventTriggerDelegate;
#endif // CONFIG_TEST_EVENT_TRIGGER_ENABLED && CONFIG_ENABLE_OTA_REQUESTOR
(void) initParams.InitializeStaticResourcesBeforeServerInit();
initParams.dataModelProvider = chip::app::CodegenDataModelProviderInstance();
initParams.dataModelProvider = app::CodegenDataModelProviderInstance();
if (sAppDelegate != nullptr)
{
initParams.appDelegate = sAppDelegate;
Expand Down
2 changes: 1 addition & 1 deletion examples/platform/linux/AppMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ void ChipLinuxAppMainLoop(AppMainLoopImplementation * impl)

static chip::CommonCaseDeviceServerInitParams initParams;
VerifyOrDie(initParams.InitializeStaticResourcesBeforeServerInit() == CHIP_NO_ERROR);
initParams.dataModelProvider = chip::app::CodegenDataModelProviderInstance();
initParams.dataModelProvider = app::CodegenDataModelProviderInstance();

#if defined(ENABLE_CHIP_SHELL)
Engine::Root().Init();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ void chip::NXP::App::AppTaskBase::InitServer(intptr_t arg)
initParams.operationalKeystore = chip::NXP::App::OperationalKeystore::GetInstance();
#endif
(void) initParams.InitializeStaticResourcesBeforeServerInit();
initParams.dataModelProvider = chip::app::CodegenDataModelProviderInstance();
initParams.dataModelProvider = app::CodegenDataModelProviderInstance();

#if CONFIG_NET_L2_OPENTHREAD
// Init ZCL Data Model and start server
Expand Down
2 changes: 1 addition & 1 deletion examples/platform/nxp/se05x/linux/AppMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ void ChipLinuxAppMainLoop(AppMainLoopImplementation * impl)
static chip::CommonCaseDeviceServerInitParams initParams;

VerifyOrDie(initParams.InitializeStaticResourcesBeforeServerInit() == CHIP_NO_ERROR);
initParams.dataModelProvider = chip::app::CodegenDataModelProviderInstance();
initParams.dataModelProvider = app::CodegenDataModelProviderInstance();

#if defined(ENABLE_CHIP_SHELL)
Engine::Root().Init();
Expand Down
2 changes: 1 addition & 1 deletion examples/platform/silabs/MatterConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ CHIP_ERROR SilabsMatterConfig::InitMatter(const char * appName)

// Initialize the remaining (not overridden) providers to the SDK example defaults
(void) initParams.InitializeStaticResourcesBeforeServerInit();
initParams.dataModelProvider = chip::app::CodegenDataModelProviderInstance();
initParams.dataModelProvider = app::CodegenDataModelProviderInstance();

#if CHIP_ENABLE_OPENTHREAD
// Set up OpenThread configuration when OpenThread is included
Expand Down
2 changes: 1 addition & 1 deletion examples/shell/cc13x4_26x4/main/AppTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ CHIP_ERROR AppTask::Init()
// Init ZCL Data Model and start server
static chip::CommonCaseDeviceServerInitParams initParams;
(void) initParams.InitializeStaticResourcesBeforeServerInit();
initParams.dataModelProvider = chip::app::CodegenDataModelProviderInstance();
initParams.dataModelProvider = app::CodegenDataModelProviderInstance();
chip::Server::GetInstance().Init(initParams);

ret = PlatformMgr().StartEventLoopTask();
Expand Down
2 changes: 1 addition & 1 deletion examples/tv-casting-app/linux/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ int main(int argc, char * argv[])
// Enter commissioning mode, open commissioning window
static chip::CommonCaseDeviceServerInitParams initParams;
VerifyOrDie(CHIP_NO_ERROR == initParams.InitializeStaticResourcesBeforeServerInit());
initParams.dataModelProvider = chip::app::CodegenDataModelProviderInstance();
initParams.dataModelProvider = app::CodegenDataModelProviderInstance();
VerifyOrDie(CHIP_NO_ERROR == chip::Server::GetInstance().Init(initParams));

if (argc > 1)
Expand Down
2 changes: 1 addition & 1 deletion src/app/server/java/AndroidAppServerWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ CHIP_ERROR ChipAndroidAppInit(AppDelegate * appDelegate)
// Init ZCL Data Model and CHIP App Server
static chip::CommonCaseDeviceServerInitParams initParams;
(void) initParams.InitializeStaticResourcesBeforeServerInit();
initParams.dataModelProvider = chip::app::CodegenDataModelProviderInstance();
initParams.dataModelProvider = app::CodegenDataModelProviderInstance();
if (appDelegate != nullptr)
{
initParams.appDelegate = appDelegate;
Expand Down

0 comments on commit 2483cd7

Please sign in to comment.