/test/xts/hats/kernel/syscalls/mem/processvm/ |
H A D | ProcessvmApiTest.cpp | 73 struct iovec remote[1]; in HWTEST_F() local 83 remote[0].iov_base = remoteData; in HWTEST_F() 84 remote[0].iov_len = sizeof(remoteData); in HWTEST_F() 86 ssize_t nread = process_vm_readv(pid, local, 2, remote, 1, 0); in HWTEST_F() 103 struct iovec remote[1]; in HWTEST_F() local 113 remote[0].iov_base = remoteData; in HWTEST_F() 114 remote[0].iov_len = sizeof(remoteData); in HWTEST_F() 116 ssize_t len = process_vm_writev(pid, local, 2, remote, 1, 0); in HWTEST_F()
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/ |
H A D | dmlib.py | 431 def pull_file(self, remote, local, is_create=False): 437 mode = self.read_mode(remote) 438 self.device.log.debug("Remote file %s mode is %d" % (remote, mode)) 440 raise HdcError(ErrorMessage.Device.Code_0303003.format(remote)) 444 remote_file_split = os.path.split(remote)[-1] \ 445 if os.path.split(remote)[-1] else os.path.split(remote)[-2] 453 HdcHelper.execute_shell_command(self.device, "ls %s" % remote, 457 self.pull_file("%s/%s" % (remote, file_name), 460 self.device.log.info("skipping special file '%s'" % remote) [all...] |
H A D | device.py | 473 def push_file(self, local, remote, **kwargs): 480 remote = "\"{}\"".format(remote) 486 ret = self.execute_shell_command("test -d %s && echo 0" % remote, retry=0) 489 self.execute_shell_command("mkdir -p %s" % remote, retry=0) 492 self.connector_command("file send {} {}".format(local, remote), retry=0) 496 HdcHelper.push_file(self, local, remote, is_create=is_create, 498 if not self.is_file_exist(remote): 499 err_msg = ErrorMessage.Device.Code_0303004.format(local, remote) 504 def pull_file(self, remote, loca [all...] |
/test/xts/device_attest/interfaces/innerkits/native_cpp/src/ |
H A D | devattest_service_proxy.cpp | 35 sptr<IRemoteObject> remote = Remote(); in GetAttestStatus() local 36 if (remote == nullptr) { in GetAttestStatus() 37 HILOGE("[DevAttestServiceProxy] remote service null"); in GetAttestStatus() 40 int ret = remote->SendRequest(GET_AUTH_RESULT, data, reply, option); in GetAttestStatus()
|
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | uiondk.cpp | 228 struct iovec remote, local;
in ProcessVmReadV() local 229 remote.iov_base = src;
in ProcessVmReadV() 230 remote.iov_len = bufferSize;
in ProcessVmReadV() 235 int rev = process_vm_readv(getpid(), &local, PARAM_1, &remote, PARAM_1, PARAM_0);
in ProcessVmReadV() 251 struct iovec remote = {.iov_base = dst, .iov_len = sizeof(dst)};
in ProcessVmWriteV() local 253 ssize_t rev = process_vm_writev(getpid(), &local, PARAM_1, &remote, PARAM_1, PARAM_0);
in ProcessVmWriteV()
|
/test/xts/acts/ability/ability_runtime/actsserviceabilityclienttest/actsserviceabilityclienttest/entry/src/main/js/ServiceAbility1/ |
H A D | service.js | 120 function onConnectCallback(element, remote) { 125 console.debug('ACTS_SerivceAbilityServer_onConnectCallback ====> remote=' + 126 JSON.stringify(remote) + ' , ' + remote);
|
/test/xts/acts/ability/ability_runtime/actsserviceabilityclienttest/actsserviceabilityclienttest/entry/src/main/js/ServiceAbility2/ |
H A D | service.js | 80 function onConnectCallback(element, remote) { 85 console.debug('ACTS_SerivceAbilityServerSecond_onConnectCallback ====> remote=' + 86 JSON.stringify(remote) + ' , ' + remote);
|
/test/xts/hats/hdf/display/buffer/death/ |
H A D | death_test.cpp | 32 void BufferDiedRecipient::OnRemoteDied(const OHOS::wptr<OHOS::IRemoteObject>& remote) in OnRemoteDied() argument 34 if (remote == nullptr) { in OnRemoteDied()
|
H A D | death_test.h | 42 void OnRemoteDied(const OHOS::wptr<OHOS::IRemoteObject>& remote) override;
|
/test/xts/hats/hdf/display/composer/death/ |
H A D | hdi_death_test.cpp | 32 void ComposerDiedRecipient::OnRemoteDied(const wptr<IRemoteObject>& remote) in OnRemoteDied() argument 34 if (remote == nullptr) { in OnRemoteDied()
|
H A D | hdi_death_test.h | 49 void OnRemoteDied(const wptr<IRemoteObject>& remote) override;
|
/test/xts/device_attest/test/performancetest/src/ |
H A D | devattestclient_performance_test.cpp | 118 sptr<IRemoteObject> remote = Remote(); in TestIPCConsume() local 119 if (remote == nullptr) { in TestIPCConsume() 120 GTEST_LOG_(ERROR) << "remote service null "; in TestIPCConsume() 123 int ret = remote->SendRequest(GET_AUTH_RESULT, data, reply, option); in TestIPCConsume() 246 * @tc.desc: Calculating the time spent calling the IPC remote interface when SA exists.
|
/test/xts/hats/hdf/external_device_manager/driver_extension_controller/ |
H A D | driver_extension_controller_test.cpp | 44 int32_t OnConnectDone(const sptr<IRemoteObject> &remote, int resultCode) override 46 cout << "ConCb OnConnectDone, "<< remote.GetRefPtr() << ", " << resultCode << endl;
|
/test/testfwk/arkxtest/uitest/connection/ |
H A D | ipc_transactor.cpp | 66 void OnRemoteDied(const wptr<IRemoteObject> &remote) override 205 caller->SetBackCallerHandler([&remoteCallerObject, &condition](const sptr<IRemoteObject> &remote) { in PublishCallerAndWaitForBackcaller() 206 remoteCallerObject = remote; in PublishCallerAndWaitForBackcaller() 327 LOG_E("Failed to register remote caller DeathRecipient"); in InitAndConnectPeer()
|
/test/xts/hats/hdf/manager/managerServiceTest/ |
H A D | service_manager_hdi_test.cpp | 1175 sptr<IRemoteObject> remote = servmgr->GetService("hdf_device_manager"); in HWTEST_F() local 1176 ASSERT_NE(remote, nullptr); in HWTEST_F() 1183 int ret = remote->SendRequest(INVALID_CODE, data, reply, option); in HWTEST_F() 1197 sptr<IRemoteObject> remote = saManager->GetSystemAbility(DEVICE_SERVICE_MANAGER_SA_ID); in HWTEST_F() local 1198 ASSERT_NE(remote, nullptr); in HWTEST_F() 1205 int ret = remote->SendRequest(INVALID_CODE, data, reply, option); in HWTEST_F()
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/testkit/ |
H A D | kit_lite.py | 142 self.remote = None 153 self.remote = get_config_value('server', config, is_list=False) 171 device: DeviceLite, device lite on local or remote 175 is_remote: str, server is remote or not 187 is_remote = remote_info.get("remote", "false") 309 err_msg = ErrorMessage.Config.Code_0302022.format(self.remote) 312 is_remote = remote_info.get("remote", "false") 323 # remote copy
|
H A D | kit.py | 131 remote = files[0].strip() 133 device.pull_file(remote, local) 142 LOG.debug("Trying to push the file local {} to remote{}".format(src, dst)) 251 LOG.debug("Trying to push the file local {} to remote {}".format(src, dst))
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/ |
H A D | cpp_driver_lite.py | 405 err_msg = ErrorMessage.Config.Code_0302022.format(self.remote) 408 LOG.info("Trying to pull remote server: {}:{} report files to local " 415 if remote_nfs["remote"] == "true": 460 err_msg = ErrorMessage.Config.Code_0302022.format(self.remote) 473 if remote_nfs["remote"] == "true": 520 err_msg = ErrorMessage.Config.Code_0302022.format(self.remote) 523 LOG.info("Delete xml directory {} from remote server: {}" 526 if remote_nfs["remote"] == "true":
|
/test/xts/acts/communication/dsoftbus/rpc/entry/src/ohosTest/js/test/ |
H A D | RpcClientJsunit.test.js | 117 remote = rpc.RemoteObject;
118 constructor(remote) {
119 this.remote = remote;
120 console.info("test remote");
123 console.info("server remote");
124 return this.remote;
3824 * @tc.name : test Call the writeremoteobject interface to serialize the remote object
3848 * @tc.name : test Call the writeremoteobject interface to serialize the remote object and pass in the empty object
3871 * @tc.name : test Call the writeremoteobject interface to serialize the remote objec [all...] |