Lines Matching refs:instance

66     Instance                     &instance = AsCoreType(aInstance);  in otThreadSetExtendedPanId()  local
69 VerifyOrExit(instance.Get<Mle::MleRouter>().IsDisabled(), error = kErrorInvalidState); in otThreadSetExtendedPanId()
71 instance.Get<MeshCoP::ExtendedPanIdManager>().SetExtPanId(extPanId); in otThreadSetExtendedPanId()
73 instance.Get<MeshCoP::ActiveDatasetManager>().Clear(); in otThreadSetExtendedPanId()
74 instance.Get<MeshCoP::PendingDatasetManager>().Clear(); in otThreadSetExtendedPanId()
120 Instance &instance = AsCoreType(aInstance); in otThreadSetNetworkKey() local
122 VerifyOrExit(instance.Get<Mle::MleRouter>().IsDisabled(), error = kErrorInvalidState); in otThreadSetNetworkKey()
124 instance.Get<KeyManager>().SetNetworkKey(AsCoreType(aKey)); in otThreadSetNetworkKey()
126 instance.Get<MeshCoP::ActiveDatasetManager>().Clear(); in otThreadSetNetworkKey()
127 instance.Get<MeshCoP::PendingDatasetManager>().Clear(); in otThreadSetNetworkKey()
137 Instance &instance = AsCoreType(aInstance); in otThreadSetNetworkKeyRef() local
141 VerifyOrExit(instance.Get<Mle::MleRouter>().IsDisabled(), error = kErrorInvalidState); in otThreadSetNetworkKeyRef()
143 instance.Get<KeyManager>().SetNetworkKeyRef((aKeyRef)); in otThreadSetNetworkKeyRef()
144 instance.Get<MeshCoP::ActiveDatasetManager>().Clear(); in otThreadSetNetworkKeyRef()
145 instance.Get<MeshCoP::PendingDatasetManager>().Clear(); in otThreadSetNetworkKeyRef()
269 Instance &instance = AsCoreType(aInstance); in otThreadGetFixedDuaInterfaceIdentifier() local
272 if (instance.Get<DuaManager>().IsFixedDuaInterfaceIdentifierSet()) in otThreadGetFixedDuaInterfaceIdentifier()
274 iid = &instance.Get<DuaManager>().GetFixedDuaInterfaceIdentifier(); in otThreadGetFixedDuaInterfaceIdentifier()