Home
last modified time | relevance | path

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

123

/base/security/security_guard/frameworks/common/classify/src/
Dsg_classify_client.cpp41 static int32_t RequestSecurityModelResult(const std::string &devId, uint32_t modelId, in RequestSecurityModelResult()
68 int32_t RequestSecurityModelResultSync(const std::string &devId, uint32_t modelId, in RequestSecurityModelResultSync()
79 const std::string &result) mutable -> int32_t { in RequestSecurityModelResultSync()
107 int32_t RequestSecurityModelResultAsync(const std::string &devId, uint32_t modelId, in RequestSecurityModelResultAsync()
116 uint32_t modelId, const std::string &result) -> int32_t { in RequestSecurityModelResultAsync()
183 static std::string CovertDevId(const DeviceIdentify *devId) in CovertDevId()
190 int32_t RequestSecurityModelResultSync(const DeviceIdentify *devId, uint32_t modelId, ::SecurityMod… in RequestSecurityModelResultSync()
205 int32_t RequestSecurityModelResultAsync(const DeviceIdentify *devId, uint32_t modelId, in RequestSecurityModelResultAsync()
/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/
Ddistributed_call_manager.cpp112 bool DistributedCallManager::CreateDAudioDevice(const std::string& devId, AudioDevice& device) in CreateDAudioDevice()
157 std::string devId = ""; in GetDevIdFromAudioDevice() local
185 int32_t DistributedCallManager::AddDCallDevice(const std::string& devId) in AddDCallDevice()
223 int32_t DistributedCallManager::RemoveDCallDevice(const std::string& devId) in RemoveDCallDevice()
229 std::string devId = GetDevIdFromAudioDevice(iter->second); in RemoveDCallDevice() local
280 std::string devId = ""; in GetConnectedDCallDeviceId() local
325 std::string devId = GetDevIdFromAudioDevice(device); in SwitchOnDCallDeviceSync() local
420 std::string devId = GetConnectedDCallDeviceId(); in SwitchOffDCallDeviceSync() local
476 std::string devId = (*device)->networkId_; in ReportDistributedDeviceInfo() local
536 int32_t DistributedCallManager::OnDCallDeviceOnline(const std::string &devId) in OnDCallDeviceOnline()
[all …]
/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
114 std::string devId = "UnitTestDeviceId"; variable
144 std::string devId = "UnitTestDeviceId"; variable
176 std::string devId = "UnitTestDeviceId"; variable
Ddistributed_dev_observer_test.cpp48 std::string devId = "UnitTestDeviceId"; variable
97 std::string devId = "UnitTestDeviceId"; variable
123 std::string devId = "UnitTestDeviceId"; variable
Dinteroperable_client_manager_test.cpp45 std::string devId = ""; variable
68 std::string devId = ""; 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_second_test.cpp125 const DeviceIdentify devId = {DEVICE_ID_MAX_LEN, {0}}; variable
143 const DeviceIdentify devId = {DEVICE_ID_MAX_LEN, {0}}; variable
163 DeviceIdentify devId = {DEVICE_ID_MAX_LEN, {0}}; variable
183 DeviceIdentify devId = {DEVICE_ID_MAX_LEN, {0}}; variable
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/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/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/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/frameworks/js/napi/
Dsecurity_guard_sdk_adaptor.cpp24 int32_t SecurityGuardSdkAdaptor::RequestSecurityEventInfo(std::string &devId, std::string &eventLis… in RequestSecurityEventInfo()
31 int32_t SecurityGuardSdkAdaptor::InnerRequestSecurityModelResult(const std::string &devId, uint32_t… in InnerRequestSecurityModelResult()
/base/security/security_guard/test/fuzztest/ipc/datacollectmanager_fuzzer/
Ddata_collect_manager_fuzzer.cpp130 const std::string &errMsg) -> int32_t { in OnRemoteRequestRequest()
172 RequestRiskDataCallback func = [] (std::string &devId, std::string &riskData, uint32_t status, in OnRemoteUnsubscribeRequest()
173 const std::string &errMsg) -> int32_t { in OnRemoteUnsubscribeRequest()
218 const std::string &errMsg) -> int32_t { in OnRemoteSecurityEventQuery()
247 const std::string &errMsg) -> int32_t { in OnRemoteStart()
276 const std::string &errMsg) -> int32_t { in OnRemoteStop()
301 const std::string &errMsg) -> int32_t { in OnRemoteSecurityEventConfigQuery()
/base/security/device_security_level/services/msg/
Ddslm_messenger_wrapper.c81 void SendMsgToDevice(uint64_t transNo, const DeviceIdentify *devId, const uint8_t *msg, uint32_t ms… in SendMsgToDevice()
93 bool GetPeerDeviceOnlineStatus(const DeviceIdentify *devId, int32_t *level) in GetPeerDeviceOnlineStatus()

123