Home
last modified time | relevance | path

Searched defs:device (Results 1 – 25 of 56) sorted by relevance

123

/test/testfwk/developer_test/aw/python/distributed/distribute/
Ddistribute.py67 def get_current_driver(device, target_name, hdc_tools): argument
89 def pull_result(device, source_path, result_save_path): argument
96 def _check_thread(device, thread_name): argument
111 def _query_device_ip(device): argument
133 def _query_device_hdc_ip(device): argument
153 def _query_device_uuid(device): argument
178 def _query_device_major_uuid(device): argument
192 def _query_device_agent_uuid(device): argument
217 def exec_agent(self, device, target_name, result_path, options): argument
235 def exec_major(self, device, target_name, result_path, options): argument
[all …]
/test/testfwk/xdevice/plugins/ohos/src/ohos/testkit/
Dkit.py80 def __setup__(self, device, **kwargs): argument
90 def __teardown__(self, device): argument
99 def _run_command(self, command, device): argument
165 def __setup__(self, device, **kwargs): argument
191 def __teardown__(self, device): argument
224 def __setup__(self, device, **kwargs): argument
227 def _get_push_list(self, device): argument
241 def _push_file(self, device, push_list: list) -> list: argument
290 def __download_web_resource(self, device, file_path): argument
336 def __query_resource_url(self, device, query_url, file_path): argument
[all …]
Dkit_lite.py131 def execute_query(device, query, request): argument
200 def _reset(self, device): argument
218 def _send_file(self, device): argument
245 def __setup__(self, device, **kwargs): argument
257 def __teardown__(self, device): argument
287 def mount_on_board(self, device=None, remote_info=None, case_type="", request=None): argument
381 def __setup__(self, device, **kwargs): argument
447 def __teardown__(self, device): argument
499 def mkdir_on_board(device, dir_path): argument
571 def __setup__(self, device, **kwargs): argument
[all …]
/test/testfwk/xdevice/src/xdevice/_core/testkit/
Dkit.py47 def remount(device): argument
93 def junit_para_parse(device, junit_paras, prefix_char="-e"): argument
209 def get_install_args(device, app_name, original_args=None): argument
308 def disable_keyguard(device): argument
313 def unlock_screen(device): argument
318 def unlock_device(device): argument
325 def check_device_ohca(device): argument
/test/testfwk/developer_test/src/core/testkit/
Dkit_lite.py66 def __setup__(self, device, **kwargs): argument
79 def __teardown__(self, device): argument
99 def _reset(self, device): argument
119 def _send_file(self, device, source_file): argument
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/
Ddevice_lite.py150 def __set_serial__(self, device=None): argument
184 def _check_watchgt(device): argument
201 def _check_wifiiot_config(device): argument
218 def _check_ipcamera_local(device): argument
226 def _check_ipcamera_remote(device=None): argument
235 def __check_config__(self, device=None): argument
248 def set_connect_type(self, device): argument
271 def __init_device__(self, device): argument
403 def __init__(self, device): argument
453 def __init__(self, device): argument
[all …]
Ddmlib.py393 def __init__(self, device, host=None, port=None): argument
764 def push_file(device, local, remote, is_create=False, argument
771 def pull_file(device, remote, local, is_create=False, argument
778 def _install_remote_package(device, remote_file_path, command): argument
785 def install_package(device, package_file_path, command): argument
797 def uninstall_package(device, package_name): argument
806 def reboot(device, into=None): argument
817 def execute_shell_command(device, command, timeout=DEFAULT_TIMEOUT, argument
883 def set_device(device, sock): argument
1055 def _operator_file(command, device, local, remote, timeout): argument
[all …]
/test/testfwk/developer_test/src/core/command/
Ddistribute_utils.py53 def get_device_info(device, file_handle): argument
113 def check_zdn_network(device, device_ip=""): argument
125 def query_device_ip(device): argument
/test/testfwk/xdevice/plugins/ohos/src/ohos/
Dexception.py111 def __init__(self, error_msg, error_no="", device=None): argument
117 def print_info(device): argument
128 def develop_mode(device): argument
146 def memery_info(device): argument
155 def __init__(self, error_msg, error_no="", device=None): argument
160 def __init__(self, error_msg, error_no="", device=None): argument
165 def __init__(self, error_msg, error_no="", device=None): argument
170 def __init__(self, error_msg, error_no="", device=None): argument
/test/xts/hats/ai/nnrt/hdi/v1_0/nnrtStabilityTest/src/
Dhdi_stability_test.cpp50 void PrepareModelTest(OHOS::sptr<V1_0::INnrtDevice> device, V1_0::Model *iModel) in PrepareModelTest()
57 void RunModelTest(OHOS::sptr<V1_0::INnrtDevice> device, OHOS::sptr<V1_0::IPreparedModel> iPreparedM… in RunModelTest()
112 OHOS::sptr<V1_0::INnrtDevice> device = V1_0::INnrtDevice::Get(); variable
159 OHOS::sptr<V1_0::INnrtDevice> device = V1_0::INnrtDevice::Get(); variable
/test/xts/hats/ai/nnrt/hdi/v2_0/nnrtStabilityTest/src/
Dhdi_stability_test.cpp50 void PrepareModelTest(OHOS::sptr<V2_0::INnrtDevice> device, V2_0::Model *iModel) in PrepareModelTest()
57 void RunModelTest(OHOS::sptr<V2_0::INnrtDevice> device, OHOS::sptr<V2_0::IPreparedModel> iPreparedM… in RunModelTest()
112 OHOS::sptr<V2_0::INnrtDevice> device = V2_0::INnrtDevice::Get(); variable
160 OHOS::sptr<V2_0::INnrtDevice> device = V2_0::INnrtDevice::Get(); variable
/test/xts/acts/hdf/device_manager/device_manager_test/
Ddevice_manager_test.cpp85 std::shared_ptr<DeviceInfo> device = std::make_shared<DeviceInfo>(0); variable
102 std::shared_ptr<DeviceInfo> device = std::make_shared<DeviceInfo>(0); variable
221 std::shared_ptr<Device> device = extMgr.QueryDeviceByDeviceID(deviceId); variable
272 std::shared_ptr<Device> device = extMgr.QueryDeviceByDeviceID(deviceId); variable
299 std::shared_ptr<Device> device = extMgr.QueryDeviceByDeviceID(deviceId); variable
327 std::shared_ptr<Device> device = extMgr.QueryDeviceByDeviceID(deviceId); variable
380 std::shared_ptr<Device> device = extMgr.QueryDeviceByDeviceID(deviceId); variable
/test/testfwk/developer_test/aw/python/distributed/common/
Ddrivers.py62 def is_exist_target_in_device(device, path, target): argument
71 def receive_coverage_data(device, result_path, suite_file, file_name): argument
117 def __init__(self, device, hdc_tools): argument
/test/testfwk/xdevice/src/xdevice/_core/environment/
Dmanager_env.py81 def add_device(self, device, index=None): argument
236 def get_config_device_index(self, device): argument
280 def release_device(self, device): argument
285 def reset_device(self, device): argument
332 def matches(self, device, allocate=True): argument
/test/testfwk/xdevice/src/xdevice/_core/config/
Dresource_manager.py100 def process_resource_file(resource_dir, preparer_list, device): argument
154 def process_preparer_data(self, data_dic, resource_dir, device): argument
161 def process_cleaner_data(self, data_dic, resource_dir, device): argument
/test/xts/hats/hdf/display/composer/common/
Dhdi_test_device.cpp29 static HdiTestDevice device; in GetInstance() local
37 HdiTestDevice* device = static_cast<HdiTestDevice *>(data); in HotPlug() local
/test/xts/acts/ai/neural_network_runtime/v1_0/interface/src/
DCompileTest.cpp117 OHOS::sptr<V1_0::MockIDevice> device = V1_0::MockIDevice::GetInstance(); variable
237 OHOS::sptr<V1_0::MockIDevice> device = V1_0::MockIDevice::GetInstance(); variable
377 OHOS::sptr<V1_0::MockIDevice> device = V1_0::MockIDevice::GetInstance(); variable
532 OHOS::sptr<V1_0::MockIDevice> device = V1_0::MockIDevice::GetInstance(); variable
688 OHOS::sptr<V1_0::MockIDevice> device = V1_0::MockIDevice::GetInstance(); variable
711 OHOS::sptr<V1_0::MockIDevice> device = V1_0::MockIDevice::GetInstance(); variable
/test/xts/acts/ai/neural_network_runtime/v2_0/interface/src/
DCompileTest.cpp117 OHOS::sptr<V2_0::MockIDevice> device = V2_0::MockIDevice::GetInstance(); variable
237 OHOS::sptr<V2_0::MockIDevice> device = V2_0::MockIDevice::GetInstance(); variable
377 OHOS::sptr<V2_0::MockIDevice> device = V2_0::MockIDevice::GetInstance(); variable
532 OHOS::sptr<V2_0::MockIDevice> device = V2_0::MockIDevice::GetInstance(); variable
688 OHOS::sptr<V2_0::MockIDevice> device = V2_0::MockIDevice::GetInstance(); variable
711 OHOS::sptr<V2_0::MockIDevice> device = V2_0::MockIDevice::GetInstance(); variable
/test/xts/hats/hdf/external_device_manager/bus_extension_usb/src/
Dusb_subscriber_test.cpp75 int32_t OnDeviceAdd(std::shared_ptr<DeviceInfo> device) override in OnDeviceAdd()
80 int32_t OnDeviceRemove(std::shared_ptr<DeviceInfo> device) override in OnDeviceRemove()
/test/xts/acts/hdf/usb/usb_ndk/entry/src/main/cpp/
Dusbddk.cpp1299 ScsiPeripheral_Device *device = nullptr; in ScsiPeripheralOpenOne() local
1331 ScsiPeripheral_Device *device = nullptr; in ScsiPeripheralOpenThree() local
1349 ScsiPeripheral_Device *device = nullptr; in ScsiPeripheralOpenFour() local
1368 ScsiPeripheral_Device *device = nullptr; in ScsiPeripheralOpenFive() local
1388 ScsiPeripheral_Device *device = nullptr; in ScsiPeripheralOpenSix() local
1410 ScsiPeripheral_Device *device = nullptr; in ScsiPeripheralOpenSeven() local
1431 ScsiPeripheral_Device *device = nullptr; in ScsiPeripheralOpenEight() local
1453 ScsiPeripheral_Device *device = nullptr; in ScsiPeripheralOpenNine() local
1467 ScsiPeripheral_Device *device = nullptr; in ScsiPeripheralCloseOne() local
1504 ScsiPeripheral_Device *device = nullptr; in ScsiPeripheralCloseThree() local
[all …]
/test/testfwk/developer_test/src/core/config/
Dresource_manager.py163 def process_resource_file(self, resource_dir, preparer_list, device): argument
228 def process_preparer_data(self, data_dic, resource_dir, device): argument
242 def process_cleaner_data(self, data_dic, resource_dir, device): argument
/test/testfwk/xdevice/plugins/ohos/src/ohos/managers/
Dmanager_device.py172 def release_device(self, device): argument
186 def lock_device(self, device): argument
200 def reset_device(self, device): argument
293 def handle_device_event(self, device, event): argument
/test/xts/hats/hdf/external_device_manager/device_manager_test/
Ddevice_manager_test.cpp83 std::shared_ptr<DeviceInfo> device = std::make_shared<DeviceInfo>(0); variable
100 std::shared_ptr<DeviceInfo> device = std::make_shared<DeviceInfo>(0); variable
/test/xts/hats/ai/nnrt/hdi/v1_0/common/
Dhdi_nnrt_test_utils.cpp144 V1_0::IOTensor HDICommon::CreateIOTensor(OHOS::sptr<V1_0::INnrtDevice> &device) in CreateIOTensor()
159 V1_0::IOTensor HDICommon::CreateInputIOTensor(OHOS::sptr<V1_0::INnrtDevice> &device, size_t length,… in CreateInputIOTensor()
187 V1_0::IOTensor HDICommon::CreateOutputIOTensor(OHOS::sptr<V1_0::INnrtDevice> &device, size_t length) in CreateOutputIOTensor()
240 void HDICommon::ReleaseBufferOfTensors(OHOS::sptr<V1_0::INnrtDevice> &device, std::vector<V1_0::IOT… in ReleaseBufferOfTensors()
/test/xts/hats/ai/nnrt/hdi/v2_0/common/
Dhdi_nnrt_test_utils.cpp144 V2_0::IOTensor HDICommon::CreateIOTensor(OHOS::sptr<V2_0::INnrtDevice> &device) in CreateIOTensor()
159 V2_0::IOTensor HDICommon::CreateInputIOTensor(OHOS::sptr<V2_0::INnrtDevice> &device, size_t length,… in CreateInputIOTensor()
187 V2_0::IOTensor HDICommon::CreateOutputIOTensor(OHOS::sptr<V2_0::INnrtDevice> &device, size_t length) in CreateOutputIOTensor()
240 void HDICommon::ReleaseBufferOfTensors(OHOS::sptr<V2_0::INnrtDevice> &device, std::vector<V2_0::IOT… in ReleaseBufferOfTensors()

123