Lines Matching refs:aEnabled
536 Status OtDaemonServer::initialize(const bool aEnabled, in initialize() argument
545 …otbrLogInfo("OT daemon is initialized by system server (enabled=%s, tunFd=%d)", (aEnabled ? "true"… in initialize()
557 …[aEnabled, aConfiguration, aINsdPublisher, aMeshcopTxts, aCallback, aCountryCode, aTrelEnabled, th… in initialize()
558 …initializeInternal(aEnabled, aConfiguration, mINsdPublisher, mMeshcopTxts, aCountryCode, aTrelEnab… in initialize()
565 void OtDaemonServer::initializeInternal(const bool aEnabled, in initializeInternal() argument
594 mBorderAgent.SetEnabled(aEnabled && aConfiguration.borderRouterEnabled); in initializeInternal()
597 if (aEnabled) in initializeInternal()
653 Status OtDaemonServer::setThreadEnabled(const bool aEnabled, const std::shared_ptr<IOtStatusReceive… in setThreadEnabled() argument
655 …mTaskRunner.Post([aEnabled, aReceiver, this]() { setThreadEnabledInternal(aEnabled, aReceiver); }); in setThreadEnabled()
660 void OtDaemonServer::setThreadEnabledInternal(const bool aEnabled, const std::shared_ptr<IOtStatusR… in setThreadEnabledInternal() argument
669 if ((mState.threadEnabled == OT_STATE_ENABLED) == aEnabled) in setThreadEnabledInternal()
675 if (aEnabled) in setThreadEnabledInternal()