Home
last modified time | relevance | path

Searched refs:settings (Results 1 – 25 of 36) sorted by relevance

12

/openthread-3.4.0/tools/harness-automation/autothreadharness/
Dharness_case.py46 from autothreadharness import settings
98 channel = settings.THREAD_CHANNEL
146 child_timeout = settings.THREAD_CHILD_TIMEOUT
150 sed_polling_interval = settings.THREAD_SED_POLLING_INTERVAL
154 auto_dut = settings.AUTO_DUT
157 timeout = hasattr(settings, 'TIMEOUT') and settings.TIMEOUT or DEFAULT_TIMEOUT
173 self.result_dir = '%s\\%s' % (settings.OUTPUT_PATH, self.__class__.__name__)
179 harness_info.read('%s\\info.ini' % settings.HARNESS_HOME)
199 if not settings.PDU_CONTROLLER_TYPE:
200 if settings.AUTO_DUT:
[all …]
Dharness_controller.py36 from autothreadharness import settings
81 harness_info.read('%s\\info.ini' % settings.HARNESS_HOME)
92 (settings.HARNESS_HOME, settings.HARNESS_HOME),
99 settings.HARNESS_HOME + '\\Python27\\python.exe',
100 settings.HARNESS_HOME + '\\Thread_Harness\\Run.py',
102 cwd=settings.HARNESS_HOME,
117 [settings.HARNESS_HOME + '\\MiniWeb\\miniweb.exe'],
120 cwd=settings.HARNESS_HOME + '\\MiniWeb',
Drunner.py43 from autothreadharness import settings
161 names = [device for device, _type in settings.GOLDEN_DEVICES if _type == 'OpenThread']
199 if not os.path.exists(settings.OUTPUT_PATH):
200 os.mkdir(settings.OUTPUT_PATH)
227 harness_info.read('%s\\info.ini' % settings.HARNESS_HOME)
317 settings.PDU_CONTROLLER_TYPE = 'MANUAL_PDU_CONTROLLER'
318 settings.PDU_CONTROLLER_OPEN_PARAMS = {}
319 settings.PDU_CONTROLLER_REBOOT_PARAMS = {}
375 default=settings.OUTPUT_PATH + '\\result.json',
Dopen_thread_controller.py38 from . import settings
97 portnum = settings.SER2NET_PORTBASE + int(self.port.split('NET')[1])
99 address = (settings.SER2NET_HOSTNAME, portnum)
/openthread-3.4.0/third_party/mbedtls/repo/scripts/
Dconfig.py64 self.settings = {}
72 return name in self.settings and self.settings[name].active
84 return name in self.settings
91 return self.settings[name].value
101 if name in self.settings:
102 return self.settings[name].value
111 self.settings[name].value = value
120 if name in self.settings:
122 self.settings[name].value = value
123 self.settings[name].active = True
[all …]
/openthread-3.4.0/tests/fuzz/
Dip6_send.cpp67 otMessageSettings settings; in LLVMFuzzerTestOneInput() local
82 settings.mLinkSecurityEnabled = (data[0] & 0x1) != 0; in LLVMFuzzerTestOneInput()
83 settings.mPriority = OT_MESSAGE_PRIORITY_NORMAL; in LLVMFuzzerTestOneInput()
85 message = otIp6NewMessage(instance, &settings); in LLVMFuzzerTestOneInput()
/openthread-3.4.0/src/posix/platform/
DCMakeLists.txt73 option(OT_POSIX_SECURE_SETTINGS "enable secure settings" OFF)
125 settings.cpp
181 add_executable(ot-posix-test-settings
182 settings.cpp
184 target_compile_definitions(ot-posix-test-settings
187 target_include_directories(ot-posix-test-settings
194 add_test(NAME ot-posix-test-settings COMMAND ot-posix-test-settings)
DMakefile.am67 settings.cpp \
Dnetif.cpp1017 otMessageSettings settings; in processTransmit() local
1019settings.mLinkSecurityEnabled = (otThreadGetDeviceRole(aInstance) != OT_DEVICE_ROLE_DISABLED); in processTransmit()
1020 settings.mPriority = OT_MESSAGE_PRIORITY_LOW; in processTransmit()
1023 … message = isIp4 ? otIp4NewMessage(aInstance, &settings) : otIp6NewMessage(aInstance, &settings); in processTransmit()
1025 message = otIp6NewMessage(aInstance, &settings); in processTransmit()
/openthread-3.4.0/tests/unit/
Dtest_platform.cpp45 std::map<uint32_t, std::vector<std::vector<uint8_t>>> settings; variable
236 auto setting = settings.find(aKey); in otPlatSettingsGet()
238 if (setting == settings.end()) in otPlatSettingsGet()
275 settings[aKey].clear(); in otPlatSettingsSet()
276 settings[aKey].push_back(setting); in otPlatSettingsSet()
284 settings[aKey].push_back(setting); in otPlatSettingsAdd()
291 auto setting = settings.find(aKey); in otPlatSettingsDelete()
292 if (setting == settings.end()) in otPlatSettingsDelete()
305 OT_TOOL_WEAK void otPlatSettingsWipe(otInstance *) { settings.clear(); } in otPlatSettingsWipe()
/openthread-3.4.0/tools/harness-automation/doc/
Dquickstart.rst18 #. Update settings.
22 cp autothreadharness/settings_sample.py autothreadharness/settings.py
/openthread-3.4.0/src/core/diags/
DREADME.md119 Show the currently used power settings table.
136 Show the currently used power settings for the given channel.
219 ### diag rawpowersetting \<settings\>
230 Enable the platform layer to use the value set by the command `diag rawpowersetting \<settings\>`.
239 Disable the platform layer to use the value set by the command `diag rawpowersetting \<settings\>`.
/openthread-3.4.0/examples/platforms/utils/
DMakefile.am63 settings.h \
/openthread-3.4.0/src/core/net/
Dicmp6.cpp102 Message::Settings settings(Message::kWithLinkSecurity, Message::kPriorityNet); in SendError() local
111 VerifyOrExit((message = Get<Ip6>().NewMessage(0, settings)) != nullptr, error = kErrorNoBufs); in SendError()
Dip6.cpp97 Message::Settings settings = aSettings; in NewMessageFromData() local
106 settings.mPriority = DscpToPriority(header->GetDscp()); in NewMessageFromData()
108 message = Get<MessagePool>().Allocate(Message::kTypeIp6, /* aReserveHeader */ 0, settings); in NewMessageFromData()
/openthread-3.4.0/src/core/meshcop/
Djoiner_router.cpp175 Message::Settings settings(Message::kNoLinkSecurity, Message::kPriorityNet); in HandleTmf() local
187 VerifyOrExit((message = mSocket.NewMessage(0, settings)) != nullptr, error = kErrorNoBufs); in HandleTmf()
/openthread-3.4.0/include/
DMakefile.am117 openthread/platform/settings.h \
/openthread-3.4.0/include/openthread/
DBUILD.gn101 "platform/settings.h",
/openthread-3.4.0/src/core/common/
Dmessage.cpp766 Settings settings(IsLinkSecurityEnabled() ? kWithLinkSecurity : kNoLinkSecurity, GetPriority()); in Clone() local
770 messageCopy = GetMessagePool()->Allocate(GetType(), GetReserved(), settings); in Clone()
/openthread-3.4.0/etc/gn/
Dopenthread.gni198 # Enable volatile-only storage of settings
/openthread-3.4.0/src/core/
DMakefile.am204 common/settings.cpp \
481 common/settings.hpp \
DBUILD.gn438 "common/settings.cpp",
439 "common/settings.hpp",
DCMakeLists.txt114 common/settings.cpp
/openthread-3.4.0/tests/toranj/
DREADME_CLI.md179 Alternatively, `cli.Node._VERBOSE` settings can be changed to enable verbose logging for all nodes.…
/openthread-3.4.0/etc/cmake/
Doptions.cmake141 ot_option(OT_SETTINGS_RAM OPENTHREAD_SETTINGS_RAM "volatile-only storage of settings")

12