Home
last modified time | relevance | path

Searched refs:sinkId (Results 1 - 25 of 39) sorted by relevance

12

/foundation/distributedhardware/distributed_input/interfaces/inner_kits/src/
H A Ddistributed_input_kit.cpp22 const std::string &sinkId, sptr<IPrepareDInputCallback> callback) in PrepareRemoteInput()
24 DHLOGI("PrepareRemoteInput entrance by sinkId"); in PrepareRemoteInput()
25 return DistributedInputClient::GetInstance().PrepareRemoteInput(sinkId, callback); in PrepareRemoteInput()
29 const std::string &sinkId, sptr<IUnprepareDInputCallback> callback) in UnprepareRemoteInput()
31 DHLOGI("UnprepareRemoteInput entrance by sinkId"); in UnprepareRemoteInput()
32 return DistributedInputClient::GetInstance().UnprepareRemoteInput(sinkId, callback); in UnprepareRemoteInput()
36 const std::string &sinkId, const uint32_t &inputTypes, sptr<IStartDInputCallback> callback) in StartRemoteInput()
38 DHLOGI("StartRemoteInput entrance by sinkId and inputTypes"); in StartRemoteInput()
39 return DistributedInputClient::GetInstance().StartRemoteInput(sinkId, inputTypes, callback); in StartRemoteInput()
43 const std::string &sinkId, cons in StopRemoteInput()
21 PrepareRemoteInput( const std::string &sinkId, sptr<IPrepareDInputCallback> callback) PrepareRemoteInput() argument
28 UnprepareRemoteInput( const std::string &sinkId, sptr<IUnprepareDInputCallback> callback) UnprepareRemoteInput() argument
35 StartRemoteInput( const std::string &sinkId, const uint32_t &inputTypes, sptr<IStartDInputCallback> callback) StartRemoteInput() argument
42 StopRemoteInput( const std::string &sinkId, const uint32_t &inputTypes, sptr<IStopDInputCallback> callback) StopRemoteInput() argument
49 StartRemoteInput(const std::string &srcId, const std::string &sinkId, const uint32_t &inputTypes, sptr<IStartDInputCallback> callback) StartRemoteInput() argument
56 StopRemoteInput(const std::string &srcId, const std::string &sinkId, const uint32_t &inputTypes, sptr<IStopDInputCallback> callback) StopRemoteInput() argument
63 IsNeedFilterOut(const std::string &sinkId, const BusinessEvent &event) IsNeedFilterOut() argument
83 PrepareRemoteInput(const std::string &srcId, const std::string &sinkId, sptr<IPrepareDInputCallback> callback) PrepareRemoteInput() argument
90 UnprepareRemoteInput(const std::string &srcId, const std::string &sinkId, sptr<IUnprepareDInputCallback> callback) UnprepareRemoteInput() argument
97 StartRemoteInput(const std::string &sinkId, const std::vector<std::string> &dhIds, sptr<IStartStopDInputsCallback> callback) StartRemoteInput() argument
104 StopRemoteInput(const std::string &sinkId, const std::vector<std::string> &dhIds, sptr<IStartStopDInputsCallback> callback) StopRemoteInput() argument
111 StartRemoteInput(const std::string &srcId, const std::string &sinkId, const std::vector<std::string> &dhIds, sptr<IStartStopDInputsCallback> callback) StartRemoteInput() argument
118 StopRemoteInput(const std::string &srcId, const std::string &sinkId, const std::vector<std::string> &dhIds, sptr<IStartStopDInputsCallback> callback) StopRemoteInput() argument
[all...]
/foundation/distributedhardware/distributed_input/interfaces/inner_kits/include/
H A Ddistributed_input_kit.h41 static int32_t PrepareRemoteInput(const std::string &sinkId, sptr<IPrepareDInputCallback> callback);
42 static int32_t UnprepareRemoteInput(const std::string &sinkId, sptr<IUnprepareDInputCallback> callback);
44 static int32_t PrepareRemoteInput(const std::string &srcId, const std::string &sinkId,
46 static int32_t UnprepareRemoteInput(const std::string &srcId, const std::string &sinkId,
50 const std::string &sinkId, const uint32_t &inputTypes, sptr<IStartDInputCallback> callback);
52 const std::string &sinkId, const uint32_t &inputTypes, sptr<IStopDInputCallback> callback);
54 static int32_t StartRemoteInput(const std::string &sinkId, const std::vector<std::string> &dhIds,
56 static int32_t StopRemoteInput(const std::string &sinkId, const std::vector<std::string> &dhIds,
59 static int32_t StartRemoteInput(const std::string &srcId, const std::string &sinkId, const uint32_t &inputTypes,
61 static int32_t StopRemoteInput(const std::string &srcId, const std::string &sinkId, cons
[all...]
/foundation/distributedhardware/distributed_input/services/source/sourcemanager/test/sourcemanagerunittest/
H A Ddistributed_input_sourcemanager_test.cpp150 const std::string &sinkId, std::vector<std::string> &devData) in OnStart()
153 (void)sinkId; in OnStart()
159 const std::string &sinkId, std::vector<std::string> &devData) in OnStop()
162 (void)sinkId; in OnStop()
550 std::string sinkId = "umkyu1b165e1be98151891erbe8r91ev"; in HWTEST_F() local
552 int32_t ret = sourceManager_->StartRemoteInput(srcId, sinkId, INPUTTYPE, callback); in HWTEST_F()
559 std::string sinkId = ""; in HWTEST_F() local
561 int32_t ret = sourceManager_->StartRemoteInput(srcId, sinkId, INPUTTYPE, callback); in HWTEST_F()
564 sinkId = "umkyu1b165e1be98151891erbe8r91ev"; in HWTEST_F()
565 DistributedInputSourceManager::DInputClientStartTypeInfo info(srcId, sinkId, INPUTTYP in HWTEST_F()
149 OnStart(const std::string &srcId, const std::string &sinkId, std::vector<std::string> &devData) OnStart() argument
158 OnStop(const std::string &srcId, const std::string &sinkId, std::vector<std::string> &devData) OnStop() argument
581 std::string sinkId = "devId_4810input4809_test"; HWTEST_F() local
595 std::string sinkId = "umkyu1b165e1be98151891erbe8r91ev"; HWTEST_F() local
606 std::string sinkId = ""; HWTEST_F() local
629 std::string sinkId = "devId_4810input4809_test"; HWTEST_F() local
637 std::string sinkId = "umkyu1b165e1be98151891erbe8r91ev"; HWTEST_F() local
656 std::string sinkId = "umkyu1b165e1be98151891erbe8r91ev"; HWTEST_F() local
666 std::string sinkId = "umkyu1b165e1be98151891erbe8r91ev"; HWTEST_F() local
685 std::string sinkId = "umkyu1b165e1be98151891erbe8r91ev"; HWTEST_F() local
701 std::string sinkId = ""; HWTEST_F() local
727 std::string sinkId = "umkyu1b165e1be98151891erbe8r91ev"; HWTEST_F() local
739 std::string sinkId = ""; HWTEST_F() local
769 std::string sinkId = "umkyu1b165e1be98151891erbe8r91ev"; HWTEST_F() local
790 std::string sinkId = ""; HWTEST_F() local
809 std::string sinkId = "umkyu1b165e1be98151891erbe8r91ev"; HWTEST_F() local
827 std::string sinkId = "umkyu1b165e1be98151891erbe8r91ev"; HWTEST_F() local
849 std::string sinkId = ""; HWTEST_F() local
866 std::string sinkId = "umkyu1b165e1be98151891erbe8r91ev"; HWTEST_F() local
885 std::string sinkId = "umkyu1b165e1be98151891erbe8r91ev"; HWTEST_F() local
908 std::string sinkId = ""; HWTEST_F() local
934 std::string sinkId = "umkyu1b165e1be98151891erbe8r91ev"; HWTEST_F() local
953 std::string sinkId = "umkyu1b165e1be98151891erbe8r91ev"; HWTEST_F() local
976 std::string sinkId = ""; HWTEST_F() local
1002 std::string sinkId = "umkyu1b165e1be98151891erbe8r91ev"; HWTEST_F() local
1084 std::string sinkId = "umkyu1b165e1be98151891erbe8r91ev"; HWTEST_F() local
1100 std::string sinkId = "umkyu1b165e1be98151891erbe8r91ev"; HWTEST_F() local
1113 std::string sinkId = "umkyu1b165e1be98151891erbe8r91ev"; HWTEST_F() local
1123 std::string sinkId = "umkyu1b165e1be98151891erbe8r91ev"; HWTEST_F() local
1149 std::string sinkId = "umkyu1b165e1be98151891erbe8r91ev"; HWTEST_F() local
1161 std::string sinkId = "umkyu1b165e1be98151891erbe8r91ev"; HWTEST_F() local
1187 std::string sinkId = "umkyu1b165e1be98151891erbe8r91ev"; HWTEST_F() local
1279 std::string sinkId = "umkyu1b165e1be98151891erbe8r91ev"; HWTEST_F() local
1306 std::string sinkId = "umkyu1b165e1be98151891erbe8r91ev"; HWTEST_F() local
1402 std::string sinkId = "umkyu1b165e1be98151891erbe8r91ev"; HWTEST_F() local
1428 std::string sinkId = "umkyu1b165e1be98151891erbe8r91ev"; HWTEST_F() local
1455 std::string sinkId = "umkyu1b165e1be98151891erbe8r91ev"; HWTEST_F() local
1485 std::string sinkId = "umkyu1b165e1be98151891erbe8r91ev"; HWTEST_F() local
1501 std::string sinkId = "umkyu1b165e1be98151891erbe8r91ev"; HWTEST_F() local
1531 std::string sinkId = "umkyu1b165e1be98151891erbe8r91ev"; HWTEST_F() local
1547 std::string sinkId = "umkyu1b165e1be98151891erbe8r91ev"; HWTEST_F() local
1574 std::string sinkId = "umkyu1b165e1be98151891erbe8r91ev"; HWTEST_F() local
1781 std::string sinkId = "asd4a65sd46as4da6s4d6asdasdafwebrb"; HWTEST_F() local
1794 std::string sinkId = "asd4a65sd46as4da6s4d6asdasdafwebrb"; HWTEST_F() local
1807 std::string sinkId = "asd4a65sd46as4da6s4d6asdasdafwebrb"; HWTEST_F() local
1821 std::string sinkId = "asd4a65sd46as4da6s4d6asdasdafwebrb"; HWTEST_F() local
1835 std::string sinkId = "asd4a65sd46as4da6s4d6asdasdafwebrb"; HWTEST_F() local
1849 std::string sinkId = "asd4a65sd46as4da6s4d6asdasdafwebrb"; HWTEST_F() local
2006 std::string sinkId = "asd4a65sd46as4da6s4d6asdasdafwebrb"; HWTEST_F() local
2021 std::string sinkId = "asd4a65sd46as4da6s4d6asdasdafwebrb"; HWTEST_F() local
2036 std::string sinkId = "asd4a65sd46as4da6s4d6asdasdafwebrb"; HWTEST_F() local
2052 std::string sinkId = "asd4a65sd46as4da6s4d6asdasdafwebrb"; HWTEST_F() local
2068 std::string sinkId = "asd4a65sd46as4da6s4d6asdasdafwebrb"; HWTEST_F() local
2084 std::string sinkId = "asd4a65sd46as4da6s4d6asdasdafwebrb"; HWTEST_F() local
[all...]
/foundation/distributedhardware/distributed_input/common/include/
H A Dinput_check_param.cpp62 bool DInputCheckParam::CheckParam(const std::string &srcId, const std::string &sinkId, const uint32_t &inputTypes, in CheckParam() argument
69 if (sinkId.empty() || sinkId.size() > DEV_ID_LENGTH_MAX) { in CheckParam()
70 DHLOGE("CheckParam sinkId is empty or sinkId size too long."); in CheckParam()
86 bool DInputCheckParam::CheckParam(const std::string &srcId, const std::string &sinkId, in CheckParam() argument
93 if (sinkId.empty() || sinkId.size() > DEV_ID_LENGTH_MAX) { in CheckParam()
94 DHLOGE("CheckParam sinkId is empty or sinkId siz in CheckParam()
104 CheckParam(const std::string &sinkId, const std::vector<std::string> &dhIds, sptr<IRemoteBroker> callback) CheckParam() argument
128 CheckParam(const std::string &srcId, const std::string &sinkId, const std::vector<std::string> &dhIds, sptr<IRemoteBroker> callback) CheckParam() argument
[all...]
H A Dinput_check_param.h31 bool CheckParam(const std::string &srcId, const std::string &sinkId, const uint32_t &inputTypes,
33 bool CheckParam(const std::string &srcId, const std::string &sinkId, sptr<IRemoteBroker> callback);
34 bool CheckParam(const std::string &sinkId, const std::vector<std::string> &dhIds,
36 bool CheckParam(const std::string &srcId, const std::string &sinkId, const std::vector<std::string> &dhIds,
/foundation/distributedhardware/distributed_input/services/source/sourcemanager/src/
H A Ddistributed_input_source_manager.cpp629 int32_t DistributedInputSourceManager::StartRemoteInput(const std::string &srcId, const std::string &sinkId, in StartRemoteInput() argument
633 HisyseventUtil::GetInstance().SysEventWriteBehavior(DINPUT_START_USE, sinkId, "Dinput start use call."); in StartRemoteInput()
634 if (!DInputCheckParam::GetInstance().CheckParam(srcId, sinkId, inputTypes, callback)) { in StartRemoteInput()
635 HisyseventUtil::GetInstance().SysEventWriteFault(DINPUT_OPT_FAIL, sinkId, in StartRemoteInput()
641 DHLOGI("StartRemoteInput called, srcId: %{public}s, sinkId: %{public}s, inputTypes: %{public}d", in StartRemoteInput()
642 GetAnonyString(srcId).c_str(), GetAnonyString(sinkId).c_str(), inputTypes); in StartRemoteInput()
645 HisyseventUtil::GetInstance().SysEventWriteFault(DINPUT_OPT_FAIL, sinkId, in StartRemoteInput()
651 return RelayStartRemoteInputByType(srcId, sinkId, inputTypes, callback); in StartRemoteInput()
654 DInputClientStartInfo info {sinkId, inputTypes, callback}; in StartRemoteInput()
656 DeviceMap_[sinkId] in StartRemoteInput()
674 StopRemoteInput(const std::string &srcId, const std::string &sinkId, const uint32_t &inputTypes, sptr<IStopDInputCallback> callback) StopRemoteInput() argument
717 RelayStartRemoteInputByType(const std::string &srcId, const std::string &sinkId, const uint32_t &inputTypes, sptr<IStartDInputCallback> callback) RelayStartRemoteInputByType() argument
739 RelayStopRemoteInputByType( const std::string &srcId, const std::string &sinkId, const uint32_t &inputTypes, sptr<IStopDInputCallback> callback) RelayStopRemoteInputByType() argument
761 PrepareRemoteInput(const std::string &srcId, const std::string &sinkId, sptr<IPrepareDInputCallback> callback) PrepareRemoteInput() argument
797 UnprepareRemoteInput(const std::string &srcId, const std::string &sinkId, sptr<IUnprepareDInputCallback> callback) UnprepareRemoteInput() argument
847 StartRemoteInput(const std::string &sinkId, const std::vector<std::string> &dhIds, sptr<IStartStopDInputsCallback> callback) StartRemoteInput() argument
889 StopRemoteInput(const std::string &sinkId, const std::vector<std::string> &dhIds, sptr<IStartStopDInputsCallback> callback) StopRemoteInput() argument
929 StartRemoteInput(const std::string &srcId, const std::string &sinkId, const std::vector<std::string> &dhIds, sptr<IStartStopDInputsCallback> callback) StartRemoteInput() argument
973 StopRemoteInput(const std::string &srcId, const std::string &sinkId, const std::vector<std::string> &dhIds, sptr<IStartStopDInputsCallback> callback) StopRemoteInput() argument
1081 RelayPrepareRemoteInput(const std::string &srcId, const std::string &sinkId, sptr<IPrepareDInputCallback> callback) RelayPrepareRemoteInput() argument
1101 RelayUnprepareRemoteInput(const std::string &srcId, const std::string &sinkId, sptr<IUnprepareDInputCallback> callback) RelayUnprepareRemoteInput() argument
1116 RelayStartRemoteInputByDhid(const std::string &srcId, const std::string &sinkId, const std::vector<std::string> &dhIds, sptr<IStartStopDInputsCallback> callback) RelayStartRemoteInputByDhid() argument
1137 RelayStopRemoteInputByDhid(const std::string &srcId, const std::string &sinkId, const std::vector<std::string> &dhIds, sptr<IStartStopDInputsCallback> callback) RelayStopRemoteInputByDhid() argument
1217 RunRelayPrepareCallback(const std::string &srcId, const std::string &sinkId, const int32_t status) RunRelayPrepareCallback() argument
1240 RunRelayUnprepareCallback(const std::string &srcId, const std::string &sinkId, const int32_t status) RunRelayUnprepareCallback() argument
1316 RunStartDhidCallback(const std::string &sinkId, const std::string &dhIds, const int32_t &status) RunStartDhidCallback() argument
1338 RunStopDhidCallback(const std::string &sinkId, const std::string &dhIds, const int32_t &status) RunStopDhidCallback() argument
1359 RunRelayStartDhidCallback(const std::string &srcId, const std::string &sinkId, const int32_t status, const std::string &dhids) RunRelayStartDhidCallback() argument
1386 RunRelayStopDhidCallback(const std::string &srcId, const std::string &sinkId, const int32_t status, const std::string &dhids) RunRelayStopDhidCallback() argument
1411 RunRelayStartTypeCallback(const std::string &srcId, const std::string &sinkId, const int32_t status, uint32_t inputTypes) RunRelayStartTypeCallback() argument
1433 RunRelayStopTypeCallback(const std::string &srcId, const std::string &sinkId, const int32_t status, uint32_t inputTypes) RunRelayStopTypeCallback() argument
1454 RunKeyStateCallback(const std::string &sinkId, const std::string &dhId, const uint32_t type, const uint32_t code, const uint32_t value) RunKeyStateCallback() argument
[all...]
H A Ddinput_source_listener.cpp379 const std::string &srcId, const std::string &sinkId) in OnReceiveRelayPrepareResult()
381 DHLOGI("status:%{public}d, srcId: %{public}s, sinkId: %{public}s.", status, GetAnonyString(srcId).c_str(), in OnReceiveRelayPrepareResult()
382 GetAnonyString(sinkId).c_str()); in OnReceiveRelayPrepareResult()
395 tmpJson[INPUT_SOURCEMANAGER_KEY_SINK_DEVID] = sinkId; in OnReceiveRelayPrepareResult()
404 const std::string &srcId, const std::string &sinkId) in OnReceiveRelayUnprepareResult()
406 DHLOGI("status:%{public}d, srcId: %{public}s, sinkId: %{public}s.", status, GetAnonyString(srcId).c_str(), in OnReceiveRelayUnprepareResult()
407 GetAnonyString(sinkId).c_str()); in OnReceiveRelayUnprepareResult()
420 tmpJson[INPUT_SOURCEMANAGER_KEY_SINK_DEVID] = sinkId; in OnReceiveRelayUnprepareResult()
429 const std::string &srcId, const std::string &sinkId, const std::string &dhids) in OnReceiveRelayStartDhidResult()
431 DHLOGI("status:%{public}d, srcId: %{public}s, sinkId in OnReceiveRelayStartDhidResult()
378 OnReceiveRelayPrepareResult(int32_t status, const std::string &srcId, const std::string &sinkId) OnReceiveRelayPrepareResult() argument
403 OnReceiveRelayUnprepareResult(int32_t status, const std::string &srcId, const std::string &sinkId) OnReceiveRelayUnprepareResult() argument
428 OnReceiveRelayStartDhidResult(int32_t status, const std::string &srcId, const std::string &sinkId, const std::string &dhids) OnReceiveRelayStartDhidResult() argument
454 OnReceiveRelayStopDhidResult(int32_t status, const std::string &srcId, const std::string &sinkId, const std::string &dhids) OnReceiveRelayStopDhidResult() argument
480 OnReceiveRelayStartTypeResult(int32_t status, const std::string &srcId, const std::string &sinkId, uint32_t inputTypes) OnReceiveRelayStartTypeResult() argument
506 OnReceiveRelayStopTypeResult(int32_t status, const std::string &srcId, const std::string &sinkId, uint32_t inputTypes) OnReceiveRelayStopTypeResult() argument
[all...]
/foundation/distributedhardware/distributed_input/interfaces/ipc/test/clientunittest/
H A Ddistributed_input_client_test.cpp215 std::string sinkId = "PrepareRemoteInput_test"; in HWTEST_F() local
217 int32_t ret = DistributedInputClient::GetInstance().PrepareRemoteInput(srcId, sinkId, callback); in HWTEST_F()
224 std::string sinkId = ""; in HWTEST_F() local
226 int32_t ret = DistributedInputClient::GetInstance().PrepareRemoteInput(srcId, sinkId, callback); in HWTEST_F()
249 std::string sinkId = "PrepareRemoteInput_sink"; in HWTEST_F() local
251 int32_t ret = DistributedInputClient::GetInstance().UnprepareRemoteInput(srcId, sinkId, callback); in HWTEST_F()
258 std::string sinkId = ""; in HWTEST_F() local
260 int32_t ret = DistributedInputClient::GetInstance().UnprepareRemoteInput(srcId, sinkId, callback); in HWTEST_F()
284 std::string sinkId = "StartRemoteInput_sink"; in HWTEST_F() local
287 int32_t ret = DistributedInputClient::GetInstance().StartRemoteInput(sinkId, dhId in HWTEST_F()
293 std::string sinkId = ""; HWTEST_F() local
303 string sinkId = "StartRemoteInput01-sink"; HWTEST_F() local
313 string sinkId = ""; HWTEST_F() local
323 string sinkId = "StartRemoteInput01-sink"; HWTEST_F() local
333 string sinkId = ""; HWTEST_F() local
360 std::string sinkId = "StartRemoteInput_test"; HWTEST_F() local
369 std::string sinkId = ""; HWTEST_F() local
379 string sinkId = "StopRemoteInput03-sink"; HWTEST_F() local
389 string sinkId = ""; HWTEST_F() local
399 string sinkId = "StartRemoteInput01-sink"; HWTEST_F() local
409 string sinkId = ""; HWTEST_F() local
[all...]
/foundation/distributedhardware/distributed_input/interfaces/inner_kits/test/unittest/
H A Ddistributed_input_inner_test.cpp190 std::string sinkId = "PrepareRemoteInput_test"; in HWTEST_F() local
192 int32_t ret = DistributedInputKit::PrepareRemoteInput(srcId, sinkId, callback); in HWTEST_F()
199 std::string sinkId = ""; in HWTEST_F() local
201 int32_t ret = DistributedInputKit::PrepareRemoteInput(srcId, sinkId, callback); in HWTEST_F()
224 std::string sinkId = "PrepareRemoteInput_sink"; in HWTEST_F() local
226 int32_t ret = DistributedInputKit::UnprepareRemoteInput(srcId, sinkId, callback); in HWTEST_F()
233 std::string sinkId = ""; in HWTEST_F() local
235 int32_t ret = DistributedInputKit::UnprepareRemoteInput(srcId, sinkId, callback); in HWTEST_F()
259 std::string sinkId = "StartRemoteInput_sink"; in HWTEST_F() local
262 int32_t ret = DistributedInputKit::StartRemoteInput(sinkId, dhId in HWTEST_F()
268 std::string sinkId = ""; HWTEST_F() local
278 string sinkId = "StartRemoteInput01-sink"; HWTEST_F() local
288 string sinkId = ""; HWTEST_F() local
298 string sinkId = "StartRemoteInput01-sink"; HWTEST_F() local
308 string sinkId = ""; HWTEST_F() local
335 std::string sinkId = "StartRemoteInput_test"; HWTEST_F() local
344 std::string sinkId = ""; HWTEST_F() local
354 string sinkId = "StopRemoteInput03-sink"; HWTEST_F() local
364 string sinkId = ""; HWTEST_F() local
374 string sinkId = "StartRemoteInput01-sink"; HWTEST_F() local
384 string sinkId = ""; HWTEST_F() local
[all...]
/foundation/distributedhardware/distributed_input/interfaces/ipc/test/dinputsourcecallbackunittest/
H A Ddinput_source_callback_unittest.cpp136 const std::string &srcId, const std::string &sinkId, const uint32_t &inputTypes, in StartRemoteInput()
140 (void)sinkId; in StartRemoteInput()
147 const std::string &srcId, const std::string &sinkId, const uint32_t &inputTypes, in StopRemoteInput()
151 (void)sinkId; in StopRemoteInput()
158 const std::string &srcId, const std::string &sinkId, in PrepareRemoteInput()
162 (void)sinkId; in PrepareRemoteInput()
168 const std::string &srcId, const std::string &sinkId, in UnprepareRemoteInput()
172 (void)sinkId; in UnprepareRemoteInput()
178 const std::string &sinkId, const std::vector<std::string> &dhIds, in StartRemoteInput()
181 (void)sinkId; in StartRemoteInput()
135 StartRemoteInput( const std::string &srcId, const std::string &sinkId, const uint32_t &inputTypes, sptr<IStartDInputCallback> callback) StartRemoteInput() argument
146 StopRemoteInput( const std::string &srcId, const std::string &sinkId, const uint32_t &inputTypes, sptr<IStopDInputCallback> callback) StopRemoteInput() argument
157 PrepareRemoteInput( const std::string &srcId, const std::string &sinkId, sptr<IPrepareDInputCallback> callback) PrepareRemoteInput() argument
167 UnprepareRemoteInput( const std::string &srcId, const std::string &sinkId, sptr<IUnprepareDInputCallback> callback) UnprepareRemoteInput() argument
177 StartRemoteInput( const std::string &sinkId, const std::vector<std::string> &dhIds, sptr<IStartStopDInputsCallback> callback) StartRemoteInput() argument
187 StopRemoteInput( const std::string &sinkId, const std::vector<std::string> &dhIds, sptr<IStartStopDInputsCallback> callback) StopRemoteInput() argument
197 StartRemoteInput( const std::string &srcId, const std::string &sinkId, const std::vector<std::string> &dhIds, sptr<IStartStopDInputsCallback> callback) StartRemoteInput() argument
208 StopRemoteInput( const std::string &srcId, const std::string &sinkId, const std::vector<std::string> &dhIds, sptr<IStartStopDInputsCallback> callback) StopRemoteInput() argument
434 const std::string sinkId = "5sd45s4d5s4d5"; HWTEST_F() local
455 const std::string sinkId = "5sd45s4d5s4d5"; HWTEST_F() local
477 const std::string sinkId = "5sd45s4d5s4d5"; HWTEST_F() local
488 const std::string sinkId = "d6f4s6d4f6"; HWTEST_F() local
501 const std::string sinkId = "5sd45s4d5s4d5"; HWTEST_F() local
525 const std::string sinkId = "5sd45s4d5s4d5"; HWTEST_F() local
536 const std::string sinkId = "d6f4s6d4f6"; HWTEST_F() local
549 const std::string sinkId = "5sd45s4d5s4d5"; HWTEST_F() local
[all...]
/foundation/distributedhardware/distributed_input/services/source/sourcemanager/include/
H A Ddistributed_input_source_manager.h84 const std::string INPUT_SOURCEMANAGER_KEY_SINK_DEVID = "sinkId";
152 int32_t StartRemoteInput(const std::string &srcId, const std::string &sinkId, const uint32_t &inputTypes,
155 int32_t StopRemoteInput(const std::string &srcId, const std::string &sinkId, const uint32_t &inputTypes,
158 int32_t PrepareRemoteInput(const std::string &srcId, const std::string &sinkId,
161 int32_t UnprepareRemoteInput(const std::string &srcId, const std::string &sinkId,
164 int32_t StartRemoteInput(const std::string &sinkId, const std::vector<std::string> &dhIds,
167 int32_t StopRemoteInput(const std::string &sinkId, const std::vector<std::string> &dhIds,
170 int32_t StartRemoteInput(const std::string &srcId, const std::string &sinkId,
173 int32_t StopRemoteInput(const std::string &srcId, const std::string &sinkId,
257 void RunStartDhidCallback(const std::string &sinkId, cons
355 std::string sinkId; global() member
375 std::string sinkId; global() member
395 std::string sinkId; global() member
401 std::string sinkId; global() member
408 std::string sinkId; global() member
416 std::string sinkId; global() member
[all...]
H A Ddinput_source_listener.h61 void OnReceiveRelayPrepareResult(int32_t status, const std::string &srcId, const std::string &sinkId) override;
63 const std::string &sinkId) override;
64 void OnReceiveRelayStartDhidResult(int32_t status, const std::string &srcId, const std::string &sinkId,
66 void OnReceiveRelayStopDhidResult(int32_t status, const std::string &srcId, const std::string &sinkId,
68 void OnReceiveRelayStartTypeResult(int32_t status, const std::string &srcId, const std::string &sinkId,
70 void OnReceiveRelayStopTypeResult(int32_t status, const std::string &srcId, const std::string &sinkId,
/foundation/distributedhardware/distributed_input/interfaces/ipc/include/
H A Ddistributed_input_source_proxy.h53 int32_t StartRemoteInput(const std::string &srcId, const std::string &sinkId, const uint32_t &inputTypes,
56 int32_t StopRemoteInput(const std::string &srcId, const std::string &sinkId, const uint32_t &inputTypes,
59 int32_t PrepareRemoteInput(const std::string &srcId, const std::string &sinkId,
62 int32_t UnprepareRemoteInput(const std::string &srcId, const std::string &sinkId,
65 int32_t StartRemoteInput(const std::string &sinkId, const std::vector<std::string> &dhIds,
68 int32_t StopRemoteInput(const std::string &sinkId, const std::vector<std::string> &dhIds,
71 int32_t StartRemoteInput(const std::string &srcId, const std::string &sinkId,
74 int32_t StopRemoteInput(const std::string &srcId, const std::string &sinkId,
H A Ddistributed_input_client.h76 int32_t StartRemoteInput(const std::string &srcId, const std::string &sinkId, const uint32_t &inputTypes,
79 int32_t StopRemoteInput(const std::string &srcId, const std::string &sinkId, const uint32_t &inputTypes,
82 int32_t PrepareRemoteInput(const std::string &srcId, const std::string &sinkId,
84 int32_t UnprepareRemoteInput(const std::string &srcId, const std::string &sinkId,
87 int32_t StartRemoteInput(const std::string &sinkId, const std::vector<std::string> &dhIds,
89 int32_t StopRemoteInput(const std::string &sinkId, const std::vector<std::string> &dhIds,
92 int32_t StartRemoteInput(const std::string &srcId, const std::string &sinkId, const std::vector<std::string> &dhIds,
94 int32_t StopRemoteInput(const std::string &srcId, const std::string &sinkId, const std::vector<std::string> &dhIds,
/foundation/distributedhardware/distributed_input/frameworks/include/
H A Di_distributed_source_input.h69 virtual int32_t StartRemoteInput(const std::string &srcId, const std::string &sinkId, const uint32_t &inputTypes,
72 virtual int32_t StopRemoteInput(const std::string &srcId, const std::string &sinkId, const uint32_t &inputTypes,
75 virtual int32_t PrepareRemoteInput(const std::string &srcId, const std::string &sinkId,
78 virtual int32_t UnprepareRemoteInput(const std::string &srcId, const std::string &sinkId,
81 virtual int32_t StartRemoteInput(const std::string &sinkId, const std::vector<std::string> &dhIds,
84 virtual int32_t StopRemoteInput(const std::string &sinkId, const std::vector<std::string> &dhIds,
87 virtual int32_t StartRemoteInput(const std::string &srcId, const std::string &sinkId,
90 virtual int32_t StopRemoteInput(const std::string &srcId, const std::string &sinkId,
/foundation/distributedhardware/distributed_input/interfaces/ipc/test/fuzztest/distributedinputstub_fuzzer/
H A Ddistributedinputstub_fuzzer.h63 int32_t StartRemoteInput(const std::string &srcId, const std::string &sinkId, const uint32_t &inputTypes,
65 int32_t StopRemoteInput(const std::string &srcId, const std::string &sinkId, const uint32_t &inputTypes,
67 int32_t PrepareRemoteInput(const std::string &srcId, const std::string &sinkId,
69 int32_t UnprepareRemoteInput(const std::string &srcId, const std::string &sinkId,
71 int32_t StartRemoteInput(const std::string &sinkId, const std::vector<std::string> &dhIds,
73 int32_t StopRemoteInput(const std::string &sinkId, const std::vector<std::string> &dhIds,
75 int32_t StartRemoteInput(const std::string &srcId, const std::string &sinkId,
77 int32_t StopRemoteInput(const std::string &srcId, const std::string &sinkId,
/foundation/distributedhardware/distributed_input/test/fuzztest/distributedinputkit_fuzzer/
H A Ddistributed_input_kit_fuzzer.cpp124 std::string sinkId = "456"; in StartRemoteInputFuzzTest() local
129 DistributedInput::DistributedInputKit::StartRemoteInput(sinkId, inputTypes, startCb); in StartRemoteInputFuzzTest()
130 DistributedInput::DistributedInputKit::StartRemoteInput(srcId, sinkId, inputTypes, startCb); in StartRemoteInputFuzzTest()
132 DistributedInput::DistributedInputKit::StartRemoteInput(sinkId, dhIds, callback); in StartRemoteInputFuzzTest()
133 DistributedInput::DistributedInputKit::StartRemoteInput(srcId, sinkId, dhIds, callback); in StartRemoteInputFuzzTest()
160 std::string sinkId = "456"; in StopRemoteInputFuzzTest() local
165 DistributedInput::DistributedInputKit::StopRemoteInput(sinkId, inputTypes, stopCb); in StopRemoteInputFuzzTest()
166 DistributedInput::DistributedInputKit::StopRemoteInput(srcId, sinkId, inputTypes, stopCb); in StopRemoteInputFuzzTest()
168 DistributedInput::DistributedInputKit::StopRemoteInput(sinkId, dhIds, callback); in StopRemoteInputFuzzTest()
169 DistributedInput::DistributedInputKit::StopRemoteInput(srcId, sinkId, dhId in StopRemoteInputFuzzTest()
[all...]
/foundation/distributedhardware/distributed_input/services/common/include/
H A Ddinput_source_trans_callback.h43 virtual void OnReceiveRelayPrepareResult(int32_t status, const std::string &srcId, const std::string &sinkId) = 0;
44 virtual void OnReceiveRelayUnprepareResult(int32_t status, const std::string &srcId, const std::string &sinkId) = 0;
45 virtual void OnReceiveRelayStartDhidResult(int32_t status, const std::string &srcId, const std::string &sinkId,
47 virtual void OnReceiveRelayStopDhidResult(int32_t status, const std::string &srcId, const std::string &sinkId,
49 virtual void OnReceiveRelayStartTypeResult(int32_t status, const std::string &srcId, const std::string &sinkId,
51 virtual void OnReceiveRelayStopTypeResult(int32_t status, const std::string &srcId, const std::string &sinkId,
/foundation/distributedhardware/distributed_input/services/source/transport/include/
H A Ddistributed_input_source_transport.h74 int32_t SendRelayPrepareRequest(const std::string &srcId, const std::string &sinkId);
75 int32_t SendRelayUnprepareRequest(const std::string &srcId, const std::string &sinkId);
78 int32_t NotifyOriginPrepareResult(int32_t srcTsrcSeId, const std::string &srcId, const std::string &sinkId,
80 int32_t NotifyOriginUnprepareResult(int32_t srcTsrcSeId, const std::string &srcId, const std::string &sinkId,
83 int32_t SendRelayStartDhidRequest(const std::string &srcId, const std::string &sinkId,
85 int32_t SendRelayStopDhidRequest(const std::string &srcId, const std::string &sinkId,
87 int32_t SendRelayStartTypeRequest(const std::string &srcId, const std::string &sinkId, const uint32_t &inputTypes);
88 int32_t SendRelayStopTypeRequest(const std::string &srcId, const std::string &sinkId, const uint32_t &inputTypes);
119 int32_t NotifyOriginStartDhidResult(int32_t srcTsrcSeId, const std::string &srcId, const std::string &sinkId,
121 int32_t NotifyOriginStopDhidResult(int32_t srcTsrcSeId, const std::string &srcId, const std::string &sinkId,
[all...]
/foundation/distributedhardware/distributed_input/interfaces/inner_kits/test/unittest/mock/
H A Dmock_distributed_input_client.cpp125 const std::string &srcId, const std::string &sinkId, sptr<IPrepareDInputCallback> callback) in PrepareRemoteInput()
137 const std::string &srcId, const std::string &sinkId, sptr<IUnprepareDInputCallback> callback) in UnprepareRemoteInput()
149 const std::string &sinkId, const std::vector<std::string> &dhIds, sptr<IStartStopDInputsCallback> callback) in StartRemoteInput()
161 const std::string &sinkId, const std::vector<std::string> &dhIds, sptr<IStartStopDInputsCallback> callback) in StopRemoteInput()
166 int32_t DistributedInputClient::StartRemoteInput(const std::string &srcId, const std::string &sinkId, in StartRemoteInput() argument
172 int32_t DistributedInputClient::StopRemoteInput(const std::string &srcId, const std::string &sinkId, in StopRemoteInput() argument
178 int32_t DistributedInputClient::StartRemoteInput(const std::string &srcId, const std::string &sinkId, in StartRemoteInput() argument
184 int32_t DistributedInputClient::StopRemoteInput(const std::string &srcId, const std::string &sinkId, in StopRemoteInput() argument
124 PrepareRemoteInput( const std::string &srcId, const std::string &sinkId, sptr<IPrepareDInputCallback> callback) PrepareRemoteInput() argument
136 UnprepareRemoteInput( const std::string &srcId, const std::string &sinkId, sptr<IUnprepareDInputCallback> callback) UnprepareRemoteInput() argument
148 StartRemoteInput( const std::string &sinkId, const std::vector<std::string> &dhIds, sptr<IStartStopDInputsCallback> callback) StartRemoteInput() argument
160 StopRemoteInput( const std::string &sinkId, const std::vector<std::string> &dhIds, sptr<IStartStopDInputsCallback> callback) StopRemoteInput() argument
/foundation/distributedhardware/distributed_input/interfaces/ipc/src/
H A Dstart_stop_result_call_back_proxy.cpp34 const std::string &srcId, const std::string &sinkId, std::vector<std::string> &dhIds) in OnStart()
54 if (!data.WriteString(sinkId)) { in OnStart()
55 DHLOGE("StartStopResultCallbackProxy write sinkId valid failed"); in OnStart()
79 const std::string &srcId, const std::string &sinkId, std::vector<std::string> &dhIds) in OnStop()
98 if (!data.WriteString(sinkId)) { in OnStop()
99 DHLOGE("StartStopResultCallbackProxy write sinkId valid failed"); in OnStop()
33 OnStart( const std::string &srcId, const std::string &sinkId, std::vector<std::string> &dhIds) OnStart() argument
78 OnStop( const std::string &srcId, const std::string &sinkId, std::vector<std::string> &dhIds) OnStop() argument
H A Dstart_stop_result_call_back_stub.cpp42 std::string sinkId = data.ReadString(); in OnRemoteRequest() local
54 OnStart(srcId, sinkId, dhIds); in OnRemoteRequest()
59 std::string sinkId = data.ReadString(); in OnRemoteRequest() local
71 OnStop(srcId, sinkId, dhIds); in OnRemoteRequest()
H A Ddistributed_input_client.cpp443 int32_t DistributedInputClient::StartRemoteInput(const std::string &srcId, const std::string &sinkId, in StartRemoteInput() argument
446 DHLOGI("DinputStart called, srcId: %{public}s, sinkId: %{public}s, inputTypes: %{public}d.", in StartRemoteInput()
447 GetAnonyString(srcId).c_str(), GetAnonyString(sinkId).c_str(), inputTypes); in StartRemoteInput()
453 if (!DInputCheckParam::GetInstance().CheckParam(srcId, sinkId, inputTypes, callback)) { in StartRemoteInput()
457 return DInputSAManager::GetInstance().dInputSourceProxy_->StartRemoteInput(srcId, sinkId, inputTypes, callback); in StartRemoteInput()
460 int32_t DistributedInputClient::StopRemoteInput(const std::string &srcId, const std::string &sinkId, in StopRemoteInput() argument
463 DHLOGI("DinputStop called, srcId: %{public}s, sinkId: %{public}s, inputTypes: %{public}d.", in StopRemoteInput()
464 GetAnonyString(srcId).c_str(), GetAnonyString(sinkId).c_str(), inputTypes); in StopRemoteInput()
469 if (!DInputCheckParam::GetInstance().CheckParam(srcId, sinkId, inputTypes, callback)) { in StopRemoteInput()
473 return DInputSAManager::GetInstance().dInputSourceProxy_->StopRemoteInput(srcId, sinkId, inputType in StopRemoteInput()
476 PrepareRemoteInput(const std::string &srcId, const std::string &sinkId, sptr<IPrepareDInputCallback> callback) PrepareRemoteInput() argument
492 UnprepareRemoteInput(const std::string &srcId, const std::string &sinkId, sptr<IUnprepareDInputCallback> callback) UnprepareRemoteInput() argument
508 StartRemoteInput(const std::string &sinkId, const std::vector<std::string> &dhIds, sptr<IStartStopDInputsCallback> callback) StartRemoteInput() argument
523 StopRemoteInput(const std::string &sinkId, const std::vector<std::string> &dhIds, sptr<IStartStopDInputsCallback> callback) StopRemoteInput() argument
538 StartRemoteInput(const std::string &srcId, const std::string &sinkId, const std::vector<std::string> &dhIds, sptr<IStartStopDInputsCallback> callback) StartRemoteInput() argument
554 StopRemoteInput(const std::string &srcId, const std::string &sinkId, const std::vector<std::string> &dhIds, sptr<IStartStopDInputsCallback> callback) StopRemoteInput() argument
[all...]
H A Ddistributed_input_source_stub.cpp226 std::string sinkId = data.ReadString(); in HandleStartRelayTypeRemoteInput() local
233 int32_t ret = StartRemoteInput(srcId, sinkId, inputTypes, callback); in HandleStartRelayTypeRemoteInput()
248 std::string sinkId = data.ReadString(); in HandleStopRelayTypeRemoteInput() local
255 int32_t ret = StopRemoteInput(srcId, sinkId, inputTypes, callback); in HandleStopRelayTypeRemoteInput()
270 std::string sinkId = data.ReadString(); in HandlePrepareRelayRemoteInput() local
276 int32_t ret = PrepareRemoteInput(srcId, sinkId, callback); in HandlePrepareRelayRemoteInput()
291 std::string sinkId = data.ReadString(); in HandleUnprepareRelayRemoteInput() local
297 int32_t ret = UnprepareRemoteInput(srcId, sinkId, callback); in HandleUnprepareRelayRemoteInput()
311 std::string sinkId = data.ReadString(); in HandleStartDhidRemoteInput() local
334 int32_t ret = StartRemoteInput(sinkId, tempVecto in HandleStartDhidRemoteInput()
348 std::string sinkId = data.ReadString(); HandleStopDhidRemoteInput() local
386 std::string sinkId = data.ReadString(); HandleStartRelayDhidRemoteInput() local
424 std::string sinkId = data.ReadString(); HandleStopRelayDhidRemoteInput() local
[all...]
H A Ddistributed_input_source_proxy.cpp259 int32_t DistributedInputSourceProxy::StartRemoteInput(const std::string &srcId, const std::string &sinkId, in StartRemoteInput() argument
276 if (!data.WriteString(sinkId)) { in StartRemoteInput()
277 DHLOGE("DistributedInputSourceProxy write sinkId failed"); in StartRemoteInput()
299 int32_t DistributedInputSourceProxy::StopRemoteInput(const std::string &srcId, const std::string &sinkId, in StopRemoteInput() argument
315 if (!data.WriteString(sinkId)) { in StopRemoteInput()
316 DHLOGE("DistributedInputSourceProxy write sinkId failed"); in StopRemoteInput()
337 int32_t DistributedInputSourceProxy::PrepareRemoteInput(const std::string &srcId, const std::string &sinkId, in PrepareRemoteInput() argument
353 if (!data.WriteString(sinkId)) { in PrepareRemoteInput()
372 int32_t DistributedInputSourceProxy::UnprepareRemoteInput(const std::string &srcId, const std::string &sinkId, in UnprepareRemoteInput() argument
388 if (!data.WriteString(sinkId)) { in UnprepareRemoteInput()
407 StartRemoteInput(const std::string &sinkId, const std::vector<std::string> &dhIds, sptr<IStartStopDInputsCallback> callback) StartRemoteInput() argument
449 StopRemoteInput(const std::string &sinkId, const std::vector<std::string> &dhIds, sptr<IStartStopDInputsCallback> callback) StopRemoteInput() argument
491 StartRemoteInput(const std::string &srcId, const std::string &sinkId, const std::vector<std::string> &dhIds, sptr<IStartStopDInputsCallback> callback) StartRemoteInput() argument
538 StopRemoteInput(const std::string &srcId, const std::string &sinkId, const std::vector<std::string> &dhIds, sptr<IStartStopDInputsCallback> callback) StopRemoteInput() argument
[all...]

Completed in 21 milliseconds

12