|
24 | 24 |
|
25 | 25 | #include <jni.h>
|
26 | 26 |
|
| 27 | +#include <app/icd/client/CheckInHandler.h> |
| 28 | +#include <app/icd/client/DefaultCheckInDelegate.h> |
27 | 29 | #include <app/icd/client/DefaultICDClientStorage.h>
|
28 | 30 | #include <controller/CHIPDeviceController.h>
|
29 | 31 | #include <credentials/GroupDataProviderImpl.h>
|
@@ -170,19 +172,21 @@ class AndroidDeviceControllerWrapper : public chip::Controller::DevicePairingDel
|
170 | 172 | * @param[in] skipCommissioningComplete whether to skip the CASE commissioningComplete command during commissioning
|
171 | 173 | * @param[out] errInfoOnFailure a pointer to a CHIP_ERROR that will be populated if this method returns nullptr
|
172 | 174 | */
|
173 |
| - static AndroidDeviceControllerWrapper * AllocateNew( |
174 |
| - JavaVM * vm, jobject deviceControllerObj, chip::NodeId nodeId, chip::FabricId fabricId, const chip::CATValues & cats, |
175 |
| - chip::System::Layer * systemLayer, chip::Inet::EndPointManager<chip::Inet::TCPEndPoint> * tcpEndPointManager, |
176 |
| - chip::Inet::EndPointManager<chip::Inet::UDPEndPoint> * udpEndPointManager, |
| 175 | + static AndroidDeviceControllerWrapper * |
| 176 | + AllocateNew(JavaVM * vm, jobject deviceControllerObj, chip::NodeId nodeId, chip::FabricId fabricId, |
| 177 | + const chip::CATValues & cats, chip::System::Layer * systemLayer, |
| 178 | + chip::Inet::EndPointManager<chip::Inet::TCPEndPoint> * tcpEndPointManager, |
| 179 | + chip::Inet::EndPointManager<chip::Inet::UDPEndPoint> * udpEndPointManager, |
177 | 180 | #ifdef JAVA_MATTER_CONTROLLER_TEST
|
178 |
| - ExampleOperationalCredentialsIssuerPtr opCredsIssuer, |
| 181 | + ExampleOperationalCredentialsIssuerPtr opCredsIssuer, |
179 | 182 | #else
|
180 |
| - AndroidOperationalCredentialsIssuerPtr opCredsIssuer, |
| 183 | + AndroidOperationalCredentialsIssuerPtr opCredsIssuer, |
181 | 184 | #endif
|
182 |
| - jobject keypairDelegate, jbyteArray rootCertificate, jbyteArray intermediateCertificate, |
183 |
| - jbyteArray nodeOperationalCertificate, jbyteArray ipkEpochKey, uint16_t listenPort, uint16_t controllerVendorId, |
184 |
| - uint16_t failsafeTimerSeconds, bool attemptNetworkScanWiFi, bool attemptNetworkScanThread, bool skipCommissioningComplete, |
185 |
| - bool skipAttestationCertificateValidation, jstring countryCode, CHIP_ERROR * errInfoOnFailure); |
| 185 | + jobject keypairDelegate, jbyteArray rootCertificate, jbyteArray intermediateCertificate, |
| 186 | + jbyteArray nodeOperationalCertificate, jbyteArray ipkEpochKey, uint16_t listenPort, uint16_t controllerVendorId, |
| 187 | + uint16_t failsafeTimerSeconds, bool attemptNetworkScanWiFi, bool attemptNetworkScanThread, |
| 188 | + bool skipCommissioningComplete, bool skipAttestationCertificateValidation, jstring countryCode, |
| 189 | + bool enableServerInteractions, CHIP_ERROR * errInfoOnFailure); |
186 | 190 |
|
187 | 191 | void Shutdown();
|
188 | 192 |
|
@@ -221,6 +225,8 @@ class AndroidDeviceControllerWrapper : public chip::Controller::DevicePairingDel
|
221 | 225 | chip::Crypto::RawKeySessionKeystore mSessionKeystore;
|
222 | 226 |
|
223 | 227 | chip::app::DefaultICDClientStorage mICDClientStorage;
|
| 228 | + chip::app::DefaultCheckInDelegate mCheckInDelegate; |
| 229 | + chip::app::CheckInHandler mCheckInHandler; |
224 | 230 |
|
225 | 231 | JavaVM * mJavaVM = nullptr;
|
226 | 232 | chip::JniGlobalReference mJavaObjectRef;
|
|
0 commit comments