Home
last modified time | relevance | path

Searched defs:devId (Results 1 – 25 of 71) sorted by relevance

123

/base/security/security_guard/frameworks/common/classify/src/
Dsg_classify_client.cpp40 static int32_t RequestSecurityModelResult(const std::string &devId, uint32_t modelId, in RequestSecurityModelResult()
67 int32_t RequestSecurityModelResultSync(const std::string &devId, uint32_t modelId, in RequestSecurityModelResultSync()
78 const std::string &result) mutable -> int32_t { in RequestSecurityModelResultSync()
106 int32_t RequestSecurityModelResultAsync(const std::string &devId, uint32_t modelId, in RequestSecurityModelResultAsync()
115 uint32_t modelId, const std::string &result) -> int32_t { in RequestSecurityModelResultAsync()
155 static std::string CovertDevId(const DeviceIdentify *devId) in CovertDevId()
162 int32_t RequestSecurityModelResultSync(const DeviceIdentify *devId, uint32_t modelId, ::SecurityMod… in RequestSecurityModelResultSync()
177 int32_t RequestSecurityModelResultAsync(const DeviceIdentify *devId, uint32_t modelId, in RequestSecurityModelResultAsync()
/base/telephony/call_manager/services/distributed_call/src/
Ddistributed_call_manager.cpp107 bool DistributedCallManager::CreateDAudioDevice(const std::string& devId, AudioDevice& device) in CreateDAudioDevice()
152 std::string devId = ""; in GetDevIdFromAudioDevice() local
180 int32_t DistributedCallManager::AddDCallDevice(const std::string& devId) in AddDCallDevice()
209 int32_t DistributedCallManager::RemoveDCallDevice(const std::string& devId) in RemoveDCallDevice()
215 std::string devId = GetDevIdFromAudioDevice(iter->second); in RemoveDCallDevice() local
266 std::string devId = ""; in GetConnectedDCallDeviceId() local
311 std::string devId = GetDevIdFromAudioDevice(device); in SwitchOnDCallDeviceSync() local
400 std::string devId = GetConnectedDCallDeviceId(); in SwitchOffDCallDeviceSync() local
456 std::string devId = (*device)->networkId_; in ReportDistributedDeviceInfo() local
508 int32_t DistributedCallManager::OnDCallDeviceOnline(const std::string &devId) in OnDCallDeviceOnline()
[all …]
/base/security/device_security_level/baselib/msglib/src/common/
Dmessenger.c34 void SendMsgTo(const Messenger *messenger, uint64_t transNo, const DeviceIdentify *devId, const uin… in SendMsgTo()
40 bool GetDeviceOnlineStatus(const Messenger *messenger, const DeviceIdentify *devId, int32_t *level) in GetDeviceOnlineStatus()
45 bool GetSelfDeviceIdentify(const Messenger *messenger, DeviceIdentify *devId, int32_t *level) in GetSelfDeviceIdentify()
55 bool GetDeviceStatisticInfo(const Messenger *messenger, const DeviceIdentify *devId, StatisticInfor… in GetDeviceStatisticInfo()
/base/telephony/call_manager/services/distributed_call/src/distributed_communication/
Ddistributed_source_switch_controller.cpp29 void DistributedSourceSwitchController::OnDeviceOnline(const std::string &devId, const std::string … in OnDeviceOnline()
47 void DistributedSourceSwitchController::OnDeviceOffline(const std::string &devId, const std::string… in OnDeviceOffline()
66 void DistributedSourceSwitchController::OnDistributedAudioDeviceChange(const std::string &devId, in OnDistributedAudioDeviceChange()
122 bool DistributedSourceSwitchController::SwitchDevice(const std::string &devId, int32_t direction) in SwitchDevice()
133 std::string DistributedSourceSwitchController::GetDevAddress(const std::string &devId, const std::s… in GetDevAddress()
Ddistributed_communication_manager.cpp95 int32_t DistributedCommunicationManager::SwitchDevWrapper(const std::string &devId, int32_t directi… in SwitchDevWrapper()
105 void DistributedCommunicationManager::OnDeviceOnline(const std::string &devId, const std::string &d… in OnDeviceOnline()
140 void DistributedCommunicationManager::OnDeviceOffline(const std::string &devId, const std::string &… in OnDeviceOffline()
198 std::string devId = ParseDevIdFromAudioDevice(device); in IsDistributedDev() local
209 std::string devId = ParseDevIdFromAudioDevice(device); in SwitchToSinkDevice() local
313 bool DistributedCommunicationManager::IsDistributedDev(const std::string &devId) in IsDistributedDev()
322 std::string devId = ""; in ParseDevIdFromAudioDevice() local
Ddistributed_device_observer.cpp106 void DistributedDeviceObserver::OnDeviceOnline(const std::string &devId, const std::string &devName, in OnDeviceOnline()
121 void DistributedDeviceObserver::OnDeviceOffline(const std::string &devId, const std::string &devNam… in OnDeviceOffline()
136 void DistributedDeviceObserver::OnDistributedAudioDeviceChange(const std::string &devId, const std:… in OnDistributedAudioDeviceChange()
166 int32_t DistributedDeviceCallback::OnDistributedDeviceOnline(const std::string &devId, const std::s… in OnDistributedDeviceOnline()
182 int32_t DistributedDeviceCallback::OnDistributedAudioDeviceChange(const std::string &devId, const s… in OnDistributedAudioDeviceChange()
201 int32_t DistributedDeviceCallback::OnDistributedDeviceOffline(const std::string &devId, const std::… in OnDistributedDeviceOffline()
Ddistributed_sink_switch_controller.cpp30 void DistributedSinkSwitchController::OnDeviceOnline(const std::string &devId, const std::string &d… in OnDeviceOnline()
42 void DistributedSinkSwitchController::OnDeviceOffline(const std::string &devId, const std::string &… in OnDeviceOffline()
54 void DistributedSinkSwitchController::OnDistributedAudioDeviceChange(const std::string &devId, in OnDistributedAudioDeviceChange()
/base/security/security_guard/frameworks/common/collect/src/
Dsg_obtaindata_client.cpp31 static int32_t RequestSecurityEventInfoAsyncImpl(const DeviceIdentify *devId, const char *eventJson, in RequestSecurityEventInfoAsyncImpl()
48 const std::string &errMsg)-> int32_t { in RequestSecurityEventInfoAsyncImpl()
71 int32_t RequestSecurityEventInfoAsync(const DeviceIdentify *devId, const char *eventJson, in RequestSecurityEventInfoAsync()
/base/telephony/call_manager/test/unittest/distributed_communication_test/src/
Ddistributed_communication_manager_test.cpp52 std::string devId = "UnitTestDeviceId"; variable
102 std::string devId = "UnitTestDeviceId"; variable
132 std::string devId = "UnitTestDeviceId"; variable
164 std::string devId = "UnitTestDeviceId"; variable
Dinteroperable_client_manager_test.cpp44 std::string devId = ""; variable
67 std::string devId = ""; variable
Ddistributed_dev_observer_test.cpp48 std::string devId = "UnitTestDeviceId"; variable
97 std::string devId = "UnitTestDeviceId"; variable
123 std::string devId = "UnitTestDeviceId"; variable
/base/security/device_security_level/test/dslm_unit_test/
Ddslm_msg_interface_mock.cpp66 … auto loopback = [this, self](const Messenger *messenger, DeviceIdentify *devId, int32_t *level) { in MakeSelfDeviceId()
74 void DslmMsgInterfaceMock::MakeDeviceOnline(const DeviceIdentify *devId) const in MakeDeviceOnline() argument
84 void DslmMsgInterfaceMock::MakeMsgReceivedFrom(const DeviceIdentify *devId, const uint8_t *msg, uin… in MakeMsgReceivedFrom() argument
108 void SendMsgToImpl(const Messenger *messenger, uint64_t transNo, const DeviceIdentify *devId, const… in SendMsgToImpl()
114 bool GetDeviceOnlineStatusImpl(const Messenger *messenger, const DeviceIdentify *devId, int32_t *le… in GetDeviceOnlineStatusImpl()
119 bool GetSelfDeviceIdentifyImpl(const Messenger *messenger, DeviceIdentify *devId, int32_t *level) in GetSelfDeviceIdentifyImpl()
131 bool GetDeviceStatisticInfoImpl(const Messenger *messenger, const DeviceIdentify *devId, StatisticI… in GetDeviceStatisticInfoImpl()
Ddslm_test_link.c34 void UtOnSocketMessageReceived(const DeviceIdentify *devId, const uint8_t *msg, uint32_t msgLen) in UtOnSocketMessageReceived()
49 void UtClientOnBind(int socket, const DeviceIdentify *devId) in UtClientOnBind()
104 bool UtBindSync(int32_t socket, const DeviceIdentify *devId) in UtBindSync()
114 bool UtGetSocketBySocketList(const DeviceIdentify *devId, bool isServer, int32_t *socket) in UtGetSocketBySocketList()
119 void UtPushMsgDataToPendingList(uint32_t transNo, const DeviceIdentify *devId, const uint8_t *msg, … in UtPushMsgDataToPendingList()
/base/security/device_security_level/baselib/msglib/src/lite/
Dmessenger_device_status_manager.c83 static void ProcessDeviceStatusReceiver(const DeviceIdentify *devId, uint32_t status, int32_t level) in ProcessDeviceStatusReceiver()
165 static int32_t InitDeviceOnlineProcessor(const DeviceIdentify *devId, int32_t level, void *para) in InitDeviceOnlineProcessor()
219 static bool MessengerConvertNodeToIdentity(const NodeBasicInfo *node, DeviceIdentify *devId) in MessengerConvertNodeToIdentity()
240 bool MessengerGetDeviceNodeBasicInfo(const DeviceIdentify *devId, NodeBasicInfo *info) in MessengerGetDeviceNodeBasicInfo()
278 bool MessengerGetDeviceOnlineStatus(const DeviceIdentify *devId, int32_t *level) in MessengerGetDeviceOnlineStatus()
291 bool MessengerGetNetworkIdByDeviceIdentify(const DeviceIdentify *devId, char *networkId, uint32_t l… in MessengerGetNetworkIdByDeviceIdentify()
310 bool MessengerGetSelfDeviceIdentify(DeviceIdentify *devId, int32_t *level) in MessengerGetSelfDeviceIdentify()
355 DeviceIdentify devId = {DEVICE_ID_MAX_LEN, {0}}; in MessengerForEachDeviceProcess() local
367 bool MessengerGetDeviceIdentifyByNetworkId(const char *networkId, DeviceIdentify *devId) in MessengerGetDeviceIdentifyByNetworkId()
Dmessenger_impl.c96 void SendMsgToImpl(const Messenger *messenger, uint64_t transNo, const DeviceIdentify *devId, const… in SendMsgToImpl()
106 bool GetDeviceOnlineStatusImpl(const Messenger *messenger, const DeviceIdentify *devId, int32_t *le… in GetDeviceOnlineStatusImpl()
116 bool GetSelfDeviceIdentifyImpl(const Messenger *messenger, DeviceIdentify *devId, int32_t *level) in GetSelfDeviceIdentifyImpl()
136 bool GetDeviceStatisticInfoImpl(const Messenger *messenger, const DeviceIdentify *devId, StatisticI… in GetDeviceStatisticInfoImpl()
/base/telephony/call_manager/services/distributed_call/include/distributed_communication/
Ddistributed_data_sink_controller.h30 …void OnDeviceOnline(const std::string &devId, const std::string &devName, AudioDeviceType devType)… in OnDeviceOnline()
31 …void OnDeviceOffline(const std::string &devId, const std::string &devName, AudioDeviceType devType… in OnDeviceOffline()
/base/security/device_security_level/baselib/msglib/src/standard/
Dmessenger_impl.c93 void SendMsgToImpl(const Messenger *messenger, uint64_t transNo, const DeviceIdentify *devId, const… in SendMsgToImpl()
103 bool GetDeviceOnlineStatusImpl(const Messenger *messenger, const DeviceIdentify *devId, int32_t *le… in GetDeviceOnlineStatusImpl()
113 bool GetSelfDeviceIdentifyImpl(const Messenger *messenger, DeviceIdentify *devId, int32_t *level) in GetSelfDeviceIdentifyImpl()
133 bool GetDeviceStatisticInfoImpl(const Messenger *messenger, const DeviceIdentify *devId, StatisticI… in GetDeviceStatisticInfoImpl()
Dmessenger_device_status_manager.cpp137 …static void ProcessDeviceStatusReceiver(const DeviceIdentify *devId, uint32_t status, int32_t leve… in ProcessDeviceStatusReceiver()
192 static bool MessengerConvertNodeToIdentity(const std::string &networkId, DeviceIdentify &devId) in MessengerConvertNodeToIdentity()
217 static bool MessengerGetDeviceNodeBasicInfo(const DeviceIdentify &devId, DmDeviceInfo &info) in MessengerGetDeviceNodeBasicInfo()
306 auto process = [](const DeviceIdentify *devId, int32_t level, void *para) -> int32_t { in InitDeviceStatusManager()
326 bool MessengerGetDeviceOnlineStatus(const DeviceIdentify *devId, int32_t *level) in MessengerGetDeviceOnlineStatus()
340 bool MessengerGetSelfDeviceIdentify(DeviceIdentify *devId, int32_t *level) in MessengerGetSelfDeviceIdentify()
395 bool MessengerGetNetworkIdByDeviceIdentify(const DeviceIdentify *devId, char *networkId, uint32_t l… in MessengerGetNetworkIdByDeviceIdentify()
414 bool MessengerGetDeviceIdentifyByNetworkId(const char *networkId, DeviceIdentify *devId) in MessengerGetDeviceIdentifyByNetworkId()
Dmessenger_device_socket_manager.c110 static void OnSocketMessageReceived(const DeviceIdentify *devId, const uint8_t *msg, uint32_t msgLe… in OnSocketMessageReceived()
288 static void ProcessBindDevice(int socket, const DeviceIdentify *devId, bool isServer) in ProcessBindDevice()
339 static void ClientOnBind(int socket, const DeviceIdentify *devId) in ClientOnBind()
516 static bool GetSocketBySocketList(const DeviceIdentify *devId, bool isServer, int32_t *socket) in GetSocketBySocketList()
541 static bool GetSocketByClientSocketList(const DeviceIdentify *devId, int32_t *socket) in GetSocketByClientSocketList()
546 static void PushMsgDataToPendingList(uint32_t transNo, const DeviceIdentify *devId, const uint8_t *… in PushMsgDataToPendingList()
584 static bool BindSync(int32_t socket, const DeviceIdentify *devId) in BindSync()
635 static int32_t PrepareBindSocket(const char *socketName, DeviceIdentify *devId, int32_t *socketId, … in PrepareBindSocket()
693 DeviceIdentify *devId = (DeviceIdentify *)arg; in BindSyncWithPthread() local
714 static void BindAsyncAction(const DeviceIdentify *devId) in BindAsyncAction()
[all …]
/base/powermgr/battery_manager/charger/src/
Dbattery_backlight.cpp45 uint32_t devId = 0; in TurnOnScreen() local
56 uint32_t devId = 0; in TurnOffScreen() local
/base/security/device_security_level/services/sa/common/
Ddslm_rpc_process.c37 int32_t OnPeerMsgReceived(const DeviceIdentify *devId, const uint8_t *msg, uint32_t len) in OnPeerMsgReceived()
75 int32_t OnSendResultNotifier(const DeviceIdentify *devId, uint64_t transNo, uint32_t result) in OnSendResultNotifier()
/base/security/security_guard/test/unittest/inner_api/src/
Dinner_api_collector_test.cpp79 …int32_t ResponseSecurityModelResult(const std::string &devId, uint32_t modelId, std::string &resul… in ResponseSecurityModelResult()
98 int32_t ResponseRiskData(std::string &devId, std::string &riskData, uint32_t status, in ResponseRiskData()
125 int32_t TestResultCallback(const std::string &devId, uint32_t modelId, const std::string &result) in TestResultCallback()
222 …ResultCallback func = [] (const std::string &devId, uint32_t modelId, const std::string &result) -… in __anonc046f6570202()
308 RequestRiskDataCallback func = [] (std::string &devId, std::string &riskData, uint32_t status,
322 RequestRiskDataCallback func = [] (std::string &devId, std::string &riskData, uint32_t status,
339 RequestRiskDataCallback func = [] (std::string &devId, std::string &riskData, uint32_t status,
354 RequestRiskDataCallback func = [] (std::string &devId, std::string &riskData, uint32_t status,
371 RequestRiskDataCallback func = [] (std::string &devId, std::string &riskData, uint32_t status,
372 const std::string &errMsg) -> int32_t { in __anonc046f6570802()
/base/security/security_guard/frameworks/js/napi/
Dsecurity_guard_sdk_adaptor.cpp23 int32_t SecurityGuardSdkAdaptor::RequestSecurityEventInfo(std::string &devId, std::string &eventLis… in RequestSecurityEventInfo()
30 int32_t SecurityGuardSdkAdaptor::InnerRequestSecurityModelResult(const std::string &devId, uint32_t… in InnerRequestSecurityModelResult()
/base/security/security_guard/test/fuzztest/inner_sdk/innersdk_fuzzer/
Dinner_sdk_fuzzer.cpp82 …int32_t ResponseSecurityModelResult(const std::string &devId, uint32_t modelId, std::string &resul… in ResponseSecurityModelResult()
101 int32_t ResponseRiskData(std::string &devId, std::string &riskData, uint32_t status, in ResponseRiskData()
110 int32_t TestResultCallback(const std::string &devId, uint32_t modelId, const std::string &result) in TestResultCallback()
149 const std::string &errMsg)-> int32_t { in DataCollectManagerFuzzTest()
224 …ResultCallback func = [] (const std::string &devId, uint32_t modelId, const std::string &result) -… in RiskAnalysisManagerProxyFuzzTest()
322 RequestRiskDataCallback func = [] (std::string &devId, std::string &riskData, uint32_t status, in DataCollectManagerProxyRequestRiskDataFuzzTest()
338 RequestRiskDataCallback func = [] (std::string &devId, std::string &riskData, uint32_t status, in DataCollectManagerProxySubscribeFuzzTest()
356 RequestRiskDataCallback func = [] (std::string &devId, std::string &riskData, uint32_t status, in DataCollectManagerProxyQuerySecurityEventFuzzTest()
373 RequestRiskDataCallback func = [] (std::string &devId, std::string &riskData, uint32_t status, in DataCollectManagerProxyCollectorStartStopFuzzTest()
391 RequestRiskDataCallback func = [] (std::string &devId, std::string &riskData, uint32_t status, in DataCollectManagerProxyConfigUpdateFuzzTest()
[all …]
/base/security/security_guard/test/fuzztest/ipc/datacollectmanager_fuzzer/
Ddata_collect_manager_fuzzer.cpp129 const std::string &errMsg) -> int32_t { in OnRemoteRequestRequest()
169 RequestRiskDataCallback func = [] (std::string &devId, std::string &riskData, uint32_t status, in OnRemoteUnsubscribeRequest()
170 const std::string &errMsg) -> int32_t { in OnRemoteUnsubscribeRequest()
214 const std::string &errMsg) -> int32_t { in OnRemoteSecurityEventQuery()
242 const std::string &errMsg) -> int32_t { in OnRemoteStart()
292 RequestRiskDataCallback func = [] (std::string &devId, std::string &riskData, uint32_t status, in OnRemoteSecurityEventConfigQuery()
293 const std::string &errMsg) -> int32_t { in OnRemoteSecurityEventConfigQuery()

123