/test/xts/acts/distributeddatamgr/relationalStoretest/relationalStoreNdktestHvigor/entry/src/main/cpp/ |
H A D | napi_init.cpp | 46 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig();
in OH_Rdb_CreateConfig_0100() local 47 NAPI_ASSERT(env, config != nullptr, "OH_Rdb_CreateConfig is fail.");
in OH_Rdb_CreateConfig_0100() 48 errcode = OH_Rdb_DestroyConfig(config);
in OH_Rdb_CreateConfig_0100() 59 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig();
in OH_Rdb_CreateConfig_0200() local 60 NAPI_ASSERT(env, config != nullptr, "OH_Rdb_CreateConfig is fail.");
in OH_Rdb_CreateConfig_0200() 61 errcode = OH_Rdb_SetDatabaseDir(config, RDB_TEST_PATH);
in OH_Rdb_CreateConfig_0200() 63 errcode = OH_Rdb_SetStoreName(config, "rdb_store_test.db");
in OH_Rdb_CreateConfig_0200() 65 errcode = OH_Rdb_SetBundleName(config, "com.ohos.example.distributedndk");
in OH_Rdb_CreateConfig_0200() 67 errcode = OH_Rdb_SetModuleName(config, "module");
in OH_Rdb_CreateConfig_0200() 69 errcode = OH_Rdb_SetEncrypted(config, fals in OH_Rdb_CreateConfig_0200() 89 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetDbType_0100() local 120 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetDbType_0300() local 146 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_GetSupportedDbType_0100() local 180 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetDbType_SQLITE_0100() local 218 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetDbType_SQLITE_0200() local 273 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetDbType_SQLITE_0300() local 330 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetDbType_SQLITE_Id_0100() local 379 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetDbType_SQLITE_Id_0200() local 425 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetDatabaseDir_Param_0100() local 440 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetDatabaseDir_Param_0200() local 455 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetDatabaseDir_Param_0300() local 470 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetDatabaseDir_Param_0400() local 485 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetDatabaseDir_Param_0500() local 512 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetDatabaseDir_Param_0600() local 540 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetDatabaseDir_Param_0700() local 568 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetDatabaseDir_Param_0800() local 595 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetDatabaseDir_Param_0900() local 622 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetDatabaseDir_Param_1000() local 649 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetStoreName_Param_0100() local 664 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetStoreName_Param_0200() local 679 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetStoreName_Param_0300() local 694 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetStoreName_Param_0400() local 709 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetStoreName_Param_0500() local 736 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetStoreName_Param_0600() local 765 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetStoreName_Param_0700() local 792 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetStoreName_Param_0800() local 819 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetStoreName_Param_0900() local 846 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetStoreName_Param_1000() local 874 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetBundleName_0100() local 889 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetBundleName_0200() local 904 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetBundleName_0300() local 919 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetBundleName_0400() local 934 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetBundleName_0500() local 961 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetBundleName_0600() local 991 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetBundleName_0700() local 1018 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetBundleName_0800() local 1045 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetBundleName_0900() local 1072 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetBundleName_1000() local 1099 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetModuleName_0100() local 1114 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetModuleName_0200() local 1129 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetModuleName_0300() local 1144 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetModuleName_0400() local 1159 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetModuleName_0500() local 1186 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetModuleName_0600() local 1215 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetModuleName_0700() local 1242 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetModuleName_0800() local 1269 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetModuleName_0900() local 1296 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetModuleName_1000() local 1323 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetEncrypted_0100() local 1344 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetEncrypted_0200() local 1380 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetEncrypted_0300() local 1404 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetSecurityLevel_0100() local 1424 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetSecurityLevel_0200() local 1445 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetSecurityLevel_0300() local 1478 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetArea_0100() local 1492 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetArea_0200() local 1506 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetArea_0300() local 1520 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetArea_0400() local 1534 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetArea_0500() local 1548 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetArea_Param_0100() local 1568 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetArea_Param_0200() local 1594 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetArea_Param_0300() local 1617 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetDbType_Param_0100() local 1632 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetDbType_Param_0200() local 1649 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_SetDbType_Param_0300() local 1728 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_ExecuteByTrxId_Param_0100() local 1757 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_ExecuteByTrxId_Param_0200() local 1803 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_ExecuteByTrxId_Param_0300() local 1833 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_BeginTransWithTrxId_Param_0100() local 1860 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_BeginTransWithTrxId_Param_0200() local 1887 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_CommitByTrxId_Param_0100() local 1913 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_CommitByTrxId_Param_0200() local 1948 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_RollBackByTrxId_Param_0100() local 1973 OH_Rdb_ConfigV2 *config = OH_Rdb_CreateConfig(); OH_Rdb_RollBackByTrxId_Param_0200() local [all...] |
/test/testfwk/developer_test/src/core/driver/ |
H A D | openharmony.py | 88 def __init__(self, config): 91 self.config = config 110 self.config.device.execute_shell_command( 111 command, timeout=self.config.timeout, receiver=handler, retry=0) 118 self.config.device.execute_shell_command( 119 command, timeout=self.config.timeout, receiver=handler, retry=0) 169 if self.config.package_name: 173 " {}".format(self.config.package_name, 174 self.config [all...] |
H A D | drivers.py | 48 from core.config.resource_manager import ResourceManager 49 from core.config.config_manager import FuzzerConfigManager 324 def __init__(self, testsuit_path, config): 326 self.config = config 327 self.result_rootpath = self.config.report_path 328 self.device = self.config.device 330 self.device_testpath = self.config.test_hap_out_path 332 self.device_testpath = self.config.target_test_path 342 if "fuzztest" == self.config 543 config = None global() variable in CppTestDriver [all...] |
H A D | lite_driver.py | 45 from core.config.resource_manager import ResourceManager 46 from core.config.config_manager import UserConfigManager 75 config = None variable in LiteUnitTest 89 def __check_config__(self, config): 94 :param config: serial device 97 self.log.error("Lite driver check config:{}".format(config)) 112 self.lite_device = request.config.environment.devices[0] 197 self.config = request.config 320 config = None global() variable in CTestDriver [all...] |
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/ |
H A D | oh_kernel_driver.py | 39 self.config = None 50 def __check_config__(self, config): 57 self.config = request.config 58 self.config.device = request.config.environment.devices[0] 63 os.path.join(request.config.report_path, 66 request.config.report_path, 67 request.config.device.__get_serial__(), 70 repeat=request.config [all...] |
H A D | cpp_driver.py | 41 self.config = None 54 def __check_config__(self, config): 61 self.config = request.config 62 self.config.device = request.config.environment.devices[0] 66 os.path.join(request.config.report_path, 70 request.config.report_path, 71 request.config.device.__get_serial__(), 74 repeat=request.config [all...] |
H A D | oh_jsunit_driver.py | 87 self.config = None 102 def __check_config__(self, config): 109 request.config.report_path, "result", 111 self.config = request.config 112 self.config.device = request.config.environment.devices[0] 120 self.config.device.set_device_report_path(request.config.report_path) 122 self.ohca = check_device_ohca(self.config [all...] |
H A D | c_driver_lite.py | 45 config = None variable in CTestDriver 69 def __check_config__(self, config=None): 70 del config 71 self.config = None 76 self.config = request.config 77 self.config.device = request.config.environment.devices[0] 78 current_dir = request.config.resource_path if \ 79 request.config [all...] |
H A D | ltp_posix_driver.py | 38 self.config = None 47 def __check_config__(self, config): 54 request.config.report_path, "result", 56 self.config = request.config 57 self.config.device = request.config.environment.devices[0] 67 self.config.device.connector_command("shell stop_service hilogd", 69 self.config.device.connector_command("shell start_service hilogd", 73 self.config [all...] |
H A D | cpp_driver_lite.py | 65 config = None variable in CppTestDriver 81 def __check_config__(self, config=None): 87 request.config.report_path, 89 repeat=request.config.repeat, 92 self.config = request.config 94 self.config.device = request.config.environment.devices[0] 103 request.config.resource_path, 104 request.config [all...] |
H A D | jsunit_driver.py | 50 self.config = None 61 def __check_config__(self, config): 66 device = request.config.environment.devices[0] 71 self.config = request.config 72 self.config.device = request.config.environment.devices[0] 75 request.config.report_path, "result", 94 self.config.resource_path, 95 self.config [all...] |
H A D | oh_yara_driver.py | 81 self.config = None 89 def __check_config__(self, config): 96 request.config.report_path, "result", 98 self.config = request.config 99 self.config.device = request.config.environment.devices[0] 107 self.config.device.set_device_report_path(request.config.report_path) 118 result = self.config [all...] |
/test/testfwk/xdevice/src/xdevice/_core/executor/ |
H A D | source.py | 74 def find_test_descriptors(config): 75 if not config.testfile and not config.testlist and not config.task and \ 76 not config.testcase and not config.subsystems and \ 77 not config.parts: 81 testcases_dirs = _get_testcases_dirs(config) 82 test_sources = _get_test_sources(config, testcases_dirs) 87 config) [all...] |
H A D | request.py | 68 TASK_CONFIG_DIR = "config" 71 def __init__(self, root=None, drivers=None, config=None): 74 self.config = config or Config() 76 def init(self, config): 83 self.config.update(config.__dict__) 85 if getattr(config, ConfigConst.report_path, "") == "": 88 Variables.task_name = config.report_path 100 self.config [all...] |
H A D | scheduler.py | 90 if task.config.exectype == TestExecType.device_test: 92 elif task.config.exectype == TestExecType.host_test: 95 LOG.info("Exec type %s is bypassed" % task.config.exectype) 100 repeat = Variables.config.taskargs.get(ConfigConst.repeat) 104 config = Config() 105 config.update(args) 107 task.init(config) 112 root_descriptor = self._find_test_root_descriptor(task.config) 138 if task.config.scheduler == SchedulerType.synchronize: 143 test_type = getattr(task.config, "testtyp [all...] |
H A D | concurrent.py | 118 self.task.config.log_path, round_folder, 139 self.reset_device(driver_request.config) 159 def reset_device(config): 160 if getattr(config, "reboot_per_module", False): 161 for device in config.environment.devices: 176 execute_result, self.task.config.report_path, 194 if getattr(self.task.config, "history_report_path", ""): 247 driver_request.config, ConfigConst.check_device, False): 253 if (hasattr(driver_request.config, ConfigConst.module_config) and 254 getattr(driver_request.config, ConfigCons [all...] |
/test/xts/acts/distributeddatamgr/relationalStoretest/relationalStoreNdktest/entry/src/main/cpp/ |
H A D | rdb_test.cpp | 43 static OH_Rdb_Config config; in GetConfig() local 44 config.dataBaseDir = "/data/storage/el2/base/files/"; in GetConfig() 45 config.storeName = "RdbTest.db"; in GetConfig() 46 config.bundleName = "xxx"; in GetConfig() 47 config.moduleName = "xxx"; in GetConfig() 48 config.securityLevel = OH_Rdb_SecurityLevel::S1; in GetConfig() 49 config.isEncrypt = false; in GetConfig() 50 config.selfSize = sizeof(OH_Rdb_Config); in GetConfig() 51 return config; in GetConfig() 117 OH_Rdb_Config config in GetOrOpenOne() local 136 OH_Rdb_Config config = GetConfig(); GetOrOpenThree() local 145 static OH_Rdb_Config config; GetOrOpenFour() local 162 OH_Rdb_Config config = GetConfig(); CloseStoreOne() local 182 OH_Rdb_Config config = GetConfig(); CloseStoreThree() local 193 OH_Rdb_Config config = GetConfig(); DeleteStoreOne() local 213 static OH_Rdb_Config config; DeleteStoreThree() local 222 OH_Rdb_Config config = GetConfig(); InsertOne() local 236 OH_Rdb_Config config = GetConfig(); InsertTwo() local 250 OH_Rdb_Config config = GetConfig(); InsertThree() local 264 OH_Rdb_Config config = GetConfig(); InsertFour() local 278 OH_Rdb_Config config = GetConfig(); InsertFive() local 297 OH_Rdb_Config config = GetConfig(); UpdateOne() local 323 OH_Rdb_Config config = GetConfig(); UpdateTwo() local 340 OH_Rdb_Config config = GetConfig(); UpdateThree() local 366 OH_Rdb_Config config = GetConfig(); UpdateFour() local 392 OH_Rdb_Config config = GetConfig(); UpdateFive() local 418 OH_Rdb_Config config = GetConfig(); UpdateSix() local 457 OH_Rdb_Config config = GetConfig(); UpdateSeven() local 479 OH_Rdb_Config config = GetConfig(); DeleteOne() local 500 OH_Rdb_Config config = GetConfig(); DeleteTwo() local 521 OH_Rdb_Config config = GetConfig(); DeleteThree() local 542 OH_Rdb_Config config = GetConfig(); DeleteFour() local 559 OH_Rdb_Config config = GetConfig(); DeleteFive() local 582 OH_Rdb_Config config = GetConfig(); QueryOne() local 607 OH_Rdb_Config config = GetConfig(); QueryTwo() local 632 OH_Rdb_Config config = GetConfig(); QueryThree() local 657 OH_Rdb_Config config = GetConfig(); QueryFour() local 676 OH_Rdb_Config config = GetConfig(); ExecuteOne() local 689 OH_Rdb_Config config = GetConfig(); ExecuteTwo() local 702 OH_Rdb_Config config = GetConfig(); ExecuteThree() local 715 OH_Rdb_Config config = GetConfig(); ExecuteFour() local 729 OH_Rdb_Config config = GetConfig(); ExecuteQueryOne() local 743 OH_Rdb_Config config = GetConfig(); ExecuteQueryTwo() local 757 OH_Rdb_Config config = GetConfig(); ExecuteQueryThree() local 770 OH_Rdb_Config config = GetConfig(); ExecuteQueryFour() local 783 OH_Rdb_Config config = GetConfig(); BeginTransactionOne() local 796 OH_Rdb_Config config = GetConfig(); BeginTransactionTwo() local 809 OH_Rdb_Config config = GetConfig(); RollBackOne() local 827 OH_Rdb_Config config = GetConfig(); RollBackTwo() local 840 OH_Rdb_Config config = GetConfig(); CommitOne() local 853 OH_Rdb_Config config = GetConfig(); CommitTwo() local 866 OH_Rdb_Config config = GetConfig(); BackupOne() local 880 OH_Rdb_Config config = GetConfig(); BackupTwo() local 894 OH_Rdb_Config config = GetConfig(); BackupThree() local 908 OH_Rdb_Config config = GetConfig(); RestoreOne() local 923 OH_Rdb_Config config = GetConfig(); RestoreTwo() local 938 OH_Rdb_Config config = GetConfig(); RestoreThree() local 953 OH_Rdb_Config config = GetConfig(); GetVersionOne() local 967 OH_Rdb_Config config = GetConfig(); GetVersionTwo() local 981 OH_Rdb_Config config = GetConfig(); GetVersionThree() local 994 OH_Rdb_Config config = GetConfig(); SetVersionOne() local 1008 OH_Rdb_Config config = GetConfig(); SetVersionTwo() local 1022 OH_Rdb_Config config = GetConfig(); LockRowOne() local 1042 OH_Rdb_Config config = GetConfig(); UnLockRowOne() local 1058 OH_Rdb_Config config = GetConfig(); QueryLockRowOne() local [all...] |
/test/testfwk/xdevice/plugins/devicetest/driver/ |
H A D | device_test.py | 70 def start_smart_perf(config, kits): 71 if not hasattr(config, ConfigConst.kits_in_module): 73 if CKit.smartperf not in config.get(ConfigConst.kits_in_module): 76 sp_kits.target_name = config.get("bundle_name", "") 77 param_config = config.get(ConfigConst.kits_params).get(CKit.smartperf, "") 82 def handle_test_args(config, request): 92 # set self.config 93 driver_obj.config = request.config 94 driver_obj.config 151 config = None global() variable in DeviceTestDriver 318 config = None global() variable in DeviceTestSuiteDriver [all...] |
H A D | windows.py | 54 # test driver config 55 config = None variable in WindowsTestDriver 68 def __check_config__(self, config=None): 76 # set self.config 77 self.config = request.config 78 # get source, json config and kits 81 LOG.debug("Test config file path: %s" % source) 92 kits = get_kit_instances(json_config, request.config.resource_path, 93 request.config [all...] |
/test/testfwk/xdevice/src/xdevice/_core/testkit/ |
H A D | json_parser.py | 61 self.config = Config() 82 # set self.config 83 self.config = Config() 84 self.config.description = json_content.get("description", "") 85 self.config.kits = json_content.get("kits", []) 86 self.config.environment = json_content.get("environment", []) 87 self.config.driver = json_content.get("driver", {}) 88 self.config.module_subsystem = json_content.get("subsystem", "") 89 self.config.module_part = json_content.get("part", "") 90 self.config [all...] |
/test/xts/acts/communication_lite/wifiservice_hal/src/ |
H A D | wifiservice_func_test.c | 243 // check device config in WifiServiceFuncTestSuiteSetUp() 244 WifiDeviceConfig config[WIFI_MAX_CONFIG_SIZE] = {0}; in WifiServiceFuncTestSuiteSetUp() local 246 error = GetDeviceConfigs(config, &size); in WifiServiceFuncTestSuiteSetUp() 248 printf("[Setup]there is device config, clear now...\n"); in WifiServiceFuncTestSuiteSetUp() 251 if (&config[i] != NULL) { in WifiServiceFuncTestSuiteSetUp() 252 RemoveDevice(config[i].netId); in WifiServiceFuncTestSuiteSetUp() 365 WifiDeviceConfig config = {0}; variable 367 int ret = strncpy_s(config.ssid, WIFI_MAX_SSID_LEN, ssid, strlen(ssid)); 370 config.securityType = WIFI_SEC_TYPE_OPEN; 371 WifiErrorCode error = AddDeviceConfig(&config, 399 WifiDeviceConfig config = {0}; global() variable 459 HotspotConfig config = {0}; global() variable 502 HotspotConfig config = {0}; global() variable [all...] |
/test/xts/acts/graphic/graphicGlesExtension/ |
H A D | graphicGlesExtension.cpp | 52 EGLConfig config; in HWTEST_F() local 66 eglChooseConfig(display, attribs, &config, 1, &numConfigs); in HWTEST_F() 67 context = eglCreateContext(display, config, EGL_NO_CONTEXT, NULL); in HWTEST_F() 68 surfaceCache = eglCreatePbufferSurface(display, config, NULL); in HWTEST_F() 112 EGLConfig config; in HWTEST_F() local 126 eglChooseConfig(display, attribs, &config, 1, &numConfigs); in HWTEST_F() 127 context = eglCreateContext(display, config, EGL_NO_CONTEXT, NULL); in HWTEST_F() 128 surfaceCache = eglCreatePbufferSurface(display, config, NULL); in HWTEST_F() 172 EGLConfig config; in HWTEST_F() local 186 eglChooseConfig(display, attribs, &config, in HWTEST_F() 232 EGLConfig config; HWTEST_F() local 292 EGLConfig config; HWTEST_F() local [all...] |
/test/testfwk/xdevice/plugins/ohos/src/ohos/testkit/ |
H A D | kit_lite.py | 42 from ohos.config.config_manager import OHOSUserConfigManager 67 def __check_config__(self, config): 69 'timeout', config, is_list=False, default=0)) // 1000) 70 self.burn_file = get_config_value('burn_file', config, is_list=False) 71 burn_command = get_config_value('burn_command', config, is_list=False, 74 self.paths = get_config_value('paths', config) 152 def __check_config__(self, config): 153 self.remote = get_config_value('server', config, is_list=False) 154 self.paths = get_config_value('paths', config) 155 self.mount_list = get_config_value('mount', config, is_lis [all...] |
H A D | kit.py | 75 def __check_config__(self, config): 76 self.paths = get_config_value('paths', config) 77 self.teardown_command = get_config_value('teardown', config) 78 self.run_command = get_config_value('shell', config) 159 def __check_config__(self, config): 160 self.sts_version = get_config_value('sts-version', config) 161 self.throw_error = get_config_value('throw-error', config) 208 def __check_config__(self, config): 209 self.pre_push = get_config_value('pre-push', config) 210 self.push_list = get_config_value('push', config) [all...] |
/test/xts/hats/ai/nnrt/hdi/v1_0/nnrtFunctionTest/src/ |
H A D | hdi_model_prepare_test.cpp | 61 V1_0::ModelConfig config; in HWTEST_F() local 62 config.enableFloat16 = false; in HWTEST_F() 63 config.mode = V1_0::PERFORMANCE_NONE; in HWTEST_F() 64 config.priority = V1_0::PRIORITY_NONE; in HWTEST_F() 67 EXPECT_EQ(HDF_SUCCESS, device_->PrepareModel(*iModel, config, iPreparedModel)); in HWTEST_F() 91 V1_0::ModelConfig config; in HWTEST_F() local 92 config.enableFloat16 = false; in HWTEST_F() 93 config.mode = V1_0::PERFORMANCE_NONE; in HWTEST_F() 94 config.priority = V1_0::PRIORITY_NONE; in HWTEST_F() 99 EXPECT_EQ(HDF_ERR_INVALID_PARAM, device_->PrepareModelFromModelCache(modelCache, config, iPreparedMode in HWTEST_F() 123 V1_0::ModelConfig config; HWTEST_F() local 167 V1_0::ModelConfig config; HWTEST_F() local [all...] |