Skip to content

Commit e519c77

Browse files
restyled-commitstehampson
authored andcommitted
Restyled by clang-format
1 parent 440814d commit e519c77

5 files changed

+11
-9
lines changed

src/app/CommandHandler.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ CHIP_ERROR CommandHandler::AllocateBuffer()
9999
return CHIP_NO_ERROR;
100100
}
101101

102-
Status CommandHandler::OnInvokeCommandRequest(CommandHandlerExchangeInterface & commandResponder, System::PacketBufferHandle && payload,
103-
bool isTimedInvoke)
102+
Status CommandHandler::OnInvokeCommandRequest(CommandHandlerExchangeInterface & commandResponder,
103+
System::PacketBufferHandle && payload, bool isTimedInvoke)
104104
{
105105
VerifyOrDieWithMsg(mState == State::Idle, DataManagement, "state should be Idle");
106106

src/app/CommandHandler.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ class CommandHandler
180180
struct TestOnlyOverrides
181181
{
182182
public:
183-
CommandPathRegistry * commandPathRegistry = nullptr;
183+
CommandPathRegistry * commandPathRegistry = nullptr;
184184
CommandHandlerExchangeInterface * commandResponder = nullptr;
185185
};
186186

src/app/CommandHandlerExchangeInterface.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -64,20 +64,20 @@ class CommandHandlerExchangeInterface
6464
* WARNING: This method should only be called when the caller is certain the
6565
* session has not been evicted.
6666
*/
67-
virtual Access::SubjectDescriptor GetSubjectDescriptor() const = 0;
67+
virtual Access::SubjectDescriptor GetSubjectDescriptor() const = 0;
6868

6969
/**
7070
* Gets accessing fabic index of the exchange.
7171
*
7272
* WARNING: This method should only be called when the caller is certain the
7373
* session has not been evicted.
7474
*/
75-
virtual FabricIndex GetAccessingFabricIndex() const = 0;
75+
virtual FabricIndex GetAccessingFabricIndex() const = 0;
7676
/**
7777
* If the incoming session is a group session, returns its group ID. Otherwise,
7878
* returns a null optional.
7979
*/
80-
virtual Optional<GroupId> GetGroupId() const = 0;
80+
virtual Optional<GroupId> GetGroupId() const = 0;
8181

8282
/**
8383
* @brief Called to indicates slow command is being processed.

src/app/CommandResponseSender.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ void CommandResponseSender::OnDone(CommandHandler & apCommandObj)
126126
}
127127

128128
void CommandResponseSender::DispatchCommand(CommandHandler & apCommandObj, const ConcreteCommandPath & aCommandPath,
129-
TLV::TLVReader & apPayload)
129+
TLV::TLVReader & apPayload)
130130
{
131131
VerifyOrReturn(mpCommandHandlerCallback);
132132
mpCommandHandlerCallback->DispatchCommand(apCommandObj, aCommandPath, apPayload);

src/app/CommandResponseSender.h

+4-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ namespace app {
3434
* InvokeCommandRequest. The CommandHandler is provided a reference to this
3535
* CommandHandlerExchangeInterface implementation to enable sending InvokeResponseMessage(s).
3636
*/
37-
class CommandResponseSender : public Messaging::ExchangeDelegate, public CommandHandler::Callback, public CommandHandlerExchangeInterface
37+
class CommandResponseSender : public Messaging::ExchangeDelegate,
38+
public CommandHandler::Callback,
39+
public CommandHandlerExchangeInterface
3840
{
3941
public:
4042
class Callback
@@ -185,7 +187,7 @@ class CommandResponseSender : public Messaging::ExchangeDelegate, public Command
185187
Messaging::ExchangeHolder mExchangeCtx;
186188
State mState = State::ReadyForInvokeResponses;
187189

188-
bool mReportResponseDropped = false;
190+
bool mReportResponseDropped = false;
189191
};
190192

191193
} // namespace app

0 commit comments

Comments
 (0)