Home
last modified time | relevance | path

Searched refs:pkgName (Results 1 – 25 of 638) sorted by relevance

12345678910>>...26

/ohos5.0/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/src/notify/
H A Ddevice_manager_notify.cpp48 if (pkgName.empty()) { in UnRegisterDeathRecipientCallback()
69 if (pkgName.empty()) { in UnRegisterDeviceStateCallback()
79 if (pkgName.empty()) { in UnRegisterDeviceStatusCallback()
114 if (pkgName.empty()) { in UnRegisterDiscoveryCallback()
144 if (pkgName.empty()) { in UnRegisterPublishCallback()
190 if (pkgName.empty()) { in UnRegisterPackageCallback()
212 if (pkgName.empty()) { in UnRegisterDeviceManagerFaCallback()
233 if (pkgName.empty()) { in UnRegisterCredentialCallback()
266 if (pkgName.empty()) { in OnDeviceOnline()
299 if (pkgName.empty()) { in OnDeviceOnline()
[all …]
/ohos5.0/foundation/communication/dsoftbus/sdk/bus_center/service/src/
H A Dclient_bus_center.c160 extra.callerPkg = pkgName; in DfxRecordSdkJoinLnnEnd()
179 extra.callerPkg = pkgName; in DfxRecordSdkLeaveLnnEnd()
195 extra.callerPkg = pkgName; in DfxRecordSdkShiftGearStart()
215 extra.callerPkg = pkgName; in DfxRecordLnnDiscServerEnd()
227 extra.callerPkg = pkgName; in DfxRecordRegNodeStart()
269 if (pkgName == NULL) { in GetNodeKeyInfo()
287 if (pkgName == NULL) { in SetNodeDataChangeFlag()
322 if (pkgName == NULL) { in UnregDataLevelChangeCb()
376 DfxRecordRegNodeStart(pkgName); in RegNodeDeviceStateCb()
448 if (pkgName == NULL) { in StopPublishLNN()
[all …]
/ohos5.0/foundation/communication/dsoftbus/sdk/bus_center/ipc/mini/
H A Dbus_center_server_proxy.c57 int32_t ServerIpcRegDataLevelChangeCb(const char *pkgName) in ServerIpcRegDataLevelChangeCb() argument
59 (void)pkgName; in ServerIpcRegDataLevelChangeCb()
65 (void)pkgName; in ServerIpcUnregDataLevelChangeCb()
82 return LnnIpcServerLeave(pkgName, 0, networkId); in ServerIpcLeaveLNN()
97 return LnnIpcPublishLNN(pkgName, info); in ServerIpcPublishLNN()
102 return LnnIpcStopPublishLNN(pkgName, publishId); in ServerIpcStopPublishLNN()
107 return LnnIpcRefreshLNN(pkgName, 0, info); in ServerIpcRefreshLNN()
112 return LnnIpcStopRefreshLNN(pkgName, 0, refreshId); in ServerIpcStopRefreshLNN()
117 (void)pkgName; in ServerIpcActiveMetaNode()
123 (void)pkgName; in ServerIpcDeactiveMetaNode()
[all …]
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/ipc/standard/src/
H A Dlnn_bus_center_ipc.cpp81 if (strncmp(pkgName, (*iter).pkgName, strlen(pkgName)) != 0 || (*iter).pid != callingPid) { in IsRepeatJoinLNNRequest()
97 if (strncpy_s(info->pkgName, PKG_NAME_SIZE_MAX, pkgName, strlen(pkgName)) != EOK) { in AddJoinLNNInfo()
111 if (strncmp(pkgName, (*iter).pkgName, strlen(pkgName)) != 0 || (*iter).pid != callingPid) { in IsRepeatLeaveLNNRequest()
127 if (strncpy_s(info->pkgName, PKG_NAME_SIZE_MAX, pkgName, strlen(pkgName)) != EOK) { in AddLeaveLNNInfo()
158 if (strncmp(pkgName, iter->pkgName, pkgNameLen) != 0) { in OnRefreshDeviceFound()
251 (void)pkgName; in LnnIpcSetNodeDataChangeFlag()
264 if (strcpy_s(info->pkgName, PKG_NAME_SIZE_MAX, pkgName) != EOK) { in LnnIpcRegDataLevelChangeCb()
348 if (strncpy_s(info->pkgName, PKG_NAME_SIZE_MAX, pkgName, strlen(pkgName)) != EOK) { in AddRefreshLnnInfo()
521 if (strncmp(pkgName, (*iter)->pkgName, strlen(pkgName))) { in RemoveJoinRequestInfoByPkgName()
535 if (strncmp(pkgName, (*iter)->pkgName, strlen(pkgName))) { in RemoveLeaveRequestInfoByPkgName()
[all …]
/ohos5.0/foundation/distributedhardware/device_manager/test/unittest/
H A DUTTest_device_manager_notify.cpp55 std::string pkgName = "com.ohos.test"; variable
84 std::string pkgName = "com.ohos.test"; variable
114 std::string pkgName = "com.ohos.test"; variable
146 std::string pkgName = "com.ohos.test"; variable
183 std::string pkgName = "com.ohos.test"; variable
207 std::string pkgName; variable
238 std::string pkgName = "com.ohos.test"; variable
277 std::string pkgName = "com.ohos.test"; variable
319 std::string pkgName = "com.ohos.test"; variable
980 std::string pkgName; variable
[all …]
H A DUTTest_device_manager_notify_two.cpp48 std::string pkgName = "com.ohos.test"; variable
72 std::string pkgName = "com.ohos.test"; variable
96 std::string pkgName = "com.ohos.test"; variable
120 std::string pkgName = "com.ohos.test"; variable
150 std::string pkgName = "com.ohos.test"; variable
183 std::string pkgName = "com.ohos.test"; variable
223 std::string pkgName = "com.ohos.test"; variable
265 std::string pkgName = "com.ohos.test"; variable
312 std::string pkgName = "com.ohos.test"; variable
356 std::string pkgName = "com.ohos.test"; variable
[all …]
H A DUTTest_dm_pin_holder.h65 (void)pkgName; in OnDeviceStateChange()
72 (void)pkgName; in OnDeviceFound()
79 (void)pkgName; in OnDeviceFound()
86 (void)pkgName; in OnDiscoveryFailed()
93 (void)pkgName; in OnDiscoverySuccess()
99 (void)pkgName; in OnPublishResult()
107 (void)pkgName; in OnAuthResult()
116 (void)pkgName; in OnUiCall()
122 (void)pkgName; in OnCredentialResult()
130 (void)pkgName; in OnBindResult()
[all …]
H A DUTTest_device_manager_notify_three.cpp708 std::string pkgName = ""; variable
806 std::string pkgName; variable
829 std::string pkgName; variable
855 std::string pkgName; variable
881 std::string pkgName; variable
907 std::string pkgName; variable
934 std::string pkgName; variable
948 std::string pkgName; variable
975 std::string pkgName; variable
1001 std::string pkgName; variable
[all …]
H A DUTTest_device_manager_service.cpp132 std::string pkgName; variable
181 std::string pkgName; variable
230 std::string pkgName; variable
294 std::string pkgName; variable
326 std::string pkgName; variable
375 std::string pkgName; variable
517 std::string pkgName; variable
581 std::string pkgName; variable
642 std::string pkgName; variable
707 std::string pkgName; variable
[all …]
/ohos5.0/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include/
H A Ddevice_manager.h48 virtual int32_t UnInitDeviceManager(const std::string &pkgName) = 0;
75 virtual int32_t GetAvailableDeviceList(const std::string &pkgName,
113 virtual int32_t UnRegisterDevStateCallback(const std::string &pkgName) = 0;
119 virtual int32_t UnRegisterDevStatusCallback(const std::string &pkgName) = 0;
405 virtual int32_t GetNetworkTypeByNetworkId(const std::string &pkgName,
451 virtual int32_t RegisterDiscoveryCallback(const std::string &pkgName,
510 virtual int32_t GetTrustedDeviceList(const std::string &pkgName,
521 virtual int32_t RegisterDevStateCallback(const std::string &pkgName,
538 virtual int32_t RegisterPinHolderCallback(const std::string &pkgName,
608 virtual int32_t ShiftLNNGear(const std::string &pkgName) = 0;
[all …]
H A Ddevice_manager_impl.h39 virtual int32_t InitDeviceManager(const std::string &pkgName,
66 virtual int32_t GetAvailableDeviceList(const std::string &pkgName,
324 int32_t RegisterUiStateCallback(const std::string &pkgName);
325 int32_t UnRegisterUiStateCallback(const std::string &pkgName);
333 virtual int32_t GetDeviceType(const std::string &pkgName,
347 virtual int32_t StopDiscovering(const std::string &pkgName,
359 virtual int32_t StopAdvertising(const std::string &pkgName,
368 virtual int32_t GetTrustedDeviceList(const std::string &pkgName,
411 uint16_t RemoveDiscoveryCallback(const std::string &pkgName);
412 int32_t AddPublishCallback(const std::string &pkgName);
[all …]
/ohos5.0/foundation/filemanagement/dfs_service/test/mock/
H A Ddevice_manager_impl_mock.cpp42 int32_t DeviceManagerImpl::UnInitDeviceManager(const std::string &pkgName) in UnInitDeviceManager() argument
47 int32_t DeviceManagerImpl::GetTrustedDeviceList(const std::string &pkgName, in GetTrustedDeviceList() argument
54 int32_t DeviceManagerImpl::GetTrustedDeviceList(const std::string &pkgName, in GetTrustedDeviceList() argument
68 int32_t DeviceManagerImpl::GetDeviceInfo(const std::string &pkgName, in GetDeviceInfo() argument
104 int32_t DeviceManagerImpl::StartDeviceDiscovery(const std::string &pkgName, in StartDeviceDiscovery() argument
142 int32_t DeviceManagerImpl::AuthenticateDevice(const std::string &pkgName, in AuthenticateDevice() argument
184 int32_t DeviceManagerImpl::GetUdidByNetworkId(const std::string &pkgName, in GetUdidByNetworkId() argument
191 int32_t DeviceManagerImpl::GetUuidByNetworkId(const std::string &pkgName, in GetUuidByNetworkId() argument
208 int32_t DeviceManagerImpl::RequestCredential(const std::string &pkgName, in RequestCredential() argument
291 int32_t DeviceManagerImpl::GetDeviceName(const std::string &pkgName, in GetDeviceName() argument
[all …]
/ohos5.0/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/src/
H A Ddevice_manager_impl.cpp157 if (pkgName.empty()) { in UnInitDeviceManager()
196 if (pkgName.empty()) { in GetTrustedDeviceList()
226 if (pkgName.empty()) { in GetTrustedDeviceList()
379 if (pkgName.empty()) { in UnRegisterDevStateCallback()
391 if (pkgName.empty()) { in UnRegisterDevStatusCallback()
488 if (pkgName.empty()) { in StopDeviceDiscovery()
516 if (pkgName.empty()) { in StopDeviceDiscovery()
739 (void)pkgName; in VerifyAuthentication()
748 (void)pkgName; in GetFaParam()
846 (void)pkgName; in RegisterDevStateCallback()
[all …]
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/ipc/small/src/
H A Dlnn_bus_center_ipc.c36 char pkgName[PKG_NAME_SIZE_MAX]; member
42 char pkgName[PKG_NAME_SIZE_MAX]; member
122 if (strncmp(pkgName, info->pkgName, strlen(pkgName)) != 0) { in IsRepeatJoinLNNRequest()
141 if (strncpy_s(info->pkgName, PKG_NAME_SIZE_MAX, pkgName, strlen(pkgName)) != EOK) { in AddJoinLNNInfo()
157 if (strncmp(pkgName, info->pkgName, strlen(pkgName)) != 0) { in IsRepeatLeaveLNNRequest()
176 if (strncpy_s(info->pkgName, PKG_NAME_SIZE_MAX, pkgName, strlen(pkgName)) != EOK) { in AddLeaveLNNInfo()
278 (void)pkgName; in LnnIpcGetAllOnlineNodeInfo()
288 (void)pkgName; in LnnIpcGetLocalDeviceInfo()
300 (void)pkgName; in LnnIpcGetNodeKeyInfo()
307 (void)pkgName; in LnnIpcSetNodeDataChangeFlag()
[all …]
/ohos5.0/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include/notify/
H A Ddevice_manager_notify.h42 void UnRegisterDeathRecipientCallback(const std::string &pkgName);
44 void UnRegisterDeviceStateCallback(const std::string &pkgName);
45 void UnRegisterDeviceStatusCallback(const std::string &pkgName);
56 void UnRegisterPackageCallback(const std::string &pkgName);
58 void UnRegisterDeviceManagerFaCallback(const std::string &pkgName);
60 void UnRegisterCredentialCallback(const std::string &pkgName);
69 void RegisterDeviceScreenStatusCallback(const std::string &pkgName,
72 void RegisterCredentialAuthStatusCallback(const std::string &pkgName,
106 void OnUiCall(std::string &pkgName, std::string &paramJson);
111 void OnCreateResult(const std::string &pkgName, int32_t result);
[all …]
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/bus_center/unittest/
H A Dclient_bus_center_manager_mock.cpp78 int32_t ServerIpcJoinLNN(const char *pkgName, void *addr, unsigned int addrTypeLen) in ServerIpcJoinLNN() argument
83 int32_t ServerIpcLeaveLNN(const char *pkgName, const char *networkId) in ServerIpcLeaveLNN() argument
85 return GetBusCenterManagerInterface()->ServerIpcLeaveLNN(pkgName, networkId); in ServerIpcLeaveLNN()
93 int32_t ServerIpcStopTimeSync(const char *pkgName, const char *targetNetworkId) in ServerIpcStopTimeSync() argument
98 int32_t ServerIpcPublishLNN(const char *pkgName, const PublishInfo *info) in ServerIpcPublishLNN() argument
100 return GetBusCenterManagerInterface()->ServerIpcPublishLNN(pkgName, info); in ServerIpcPublishLNN()
103 int32_t ServerIpcStopPublishLNN(const char *pkgName, int32_t publishId) in ServerIpcStopPublishLNN() argument
105 return GetBusCenterManagerInterface()->ServerIpcStopPublishLNN(pkgName, publishId); in ServerIpcStopPublishLNN()
108 int32_t ServerIpcRefreshLNN(const char *pkgName, const SubscribeInfo *info) in ServerIpcRefreshLNN() argument
110 return GetBusCenterManagerInterface()->ServerIpcRefreshLNN(pkgName, info); in ServerIpcRefreshLNN()
[all …]
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/ipc/mini/
H A Dlnn_bus_center_ipc.c53 return LnnServerJoin((ConnectionAddr *)addr, pkgName); in LnnIpcServerJoin()
59 return LnnServerLeave(networkId, pkgName); in LnnIpcServerLeave()
65 (void)pkgName; in LnnIpcGetAllOnlineNodeInfo()
75 (void)pkgName; in LnnIpcGetLocalDeviceInfo()
87 (void)pkgName; in LnnIpcGetNodeKeyInfo()
94 (void)pkgName; in LnnIpcSetNodeDataChangeFlag()
111 return LnnPublishService(pkgName, info, false); in LnnIpcPublishLNN()
131 return LnnStopDiscDevice(pkgName, refreshId, false); in LnnIpcStopRefreshLNN()
214 (void)pkgName; in LnnIpcNotifyTimeSyncResult()
220 void BusCenterServerDeathCallback(const char *pkgName) in BusCenterServerDeathCallback() argument
[all …]
/ohos5.0/foundation/distributedhardware/device_manager/services/service/src/
H A Ddevice_manager_service.cpp232 if (pkgName.empty()) { in GetTrustedDeviceList()
410 if (pkgName.empty()) { in StartDeviceDiscovery()
436 if (pkgName.empty()) { in StartDeviceDiscovery()
459 if (pkgName.empty()) { in StopDeviceDiscovery()
474 if (pkgName.empty()) { in PublishDeviceDiscovery()
492 if (pkgName.empty()) { in UnPublishDeviceDiscovery()
562 if (pkgName.empty()) { in StopAuthenticateDevice()
844 if (pkgName.empty()) { in RegisterUiStateCallback()
863 if (pkgName.empty()) { in UnRegisterUiStateCallback()
979 if (pkgName.empty()) { in GetEncryptedUuidByNetworkId()
[all …]
/ohos5.0/foundation/distributedhardware/device_manager/test/commonunittest/
H A DUTTest_dm_discovery_manager.cpp97 std::string pkgName = "com.ohos.helloworld"; variable
115 std::string pkgName = "com.ohos.helloworld"; variable
136 std::string pkgName = "com.ohos.helloworld"; variable
156 std::string pkgName = "com.ohos.helloworld"; variable
194 std::string pkgName; variable
457 std::string pkgName; variable
505 std::string pkgName; variable
514 std::string pkgName; variable
541 std::string pkgName; variable
550 std::string pkgName = "ohos_test"; variable
[all …]
/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/src/
H A Ddevice_manager_service_impl_lite.cpp76 (void)pkgName; in StartDeviceDiscovery()
85 (void)pkgName; in StartDeviceDiscovery()
93 (void)pkgName; in StopDeviceDiscovery()
100 (void)pkgName; in PublishDeviceDiscovery()
107 (void)pkgName; in UnPublishDeviceDiscovery()
115 (void)pkgName; in AuthenticateDevice()
124 (void)pkgName; in UnAuthenticateDevice()
132 (void)pkgName; in BindDevice()
141 (void)pkgName; in UnBindDevice()
149 (void)pkgName; in SetUserOperation()
[all …]
/ohos5.0/foundation/distributedhardware/device_manager/services/service/src/discovery/
H A Ddiscovery_manager.cpp61 if (pkgName.empty()) { in EnableDiscoveryListener()
114 if (pkgName.empty()) { in DisableDiscoveryListener()
134 capabilityMap_.erase(pkgName); in DisableDiscoveryListener()
145 if (pkgName.empty()) { in StartDiscovering()
162 StartDiscoveryTimer(pkgName); in StartDiscovering()
306 if (pkgName.empty()) { in StopDiscovering()
313 pkgNameSet_.erase(pkgName); in StopDiscovering()
326 capabilityMap_.erase(pkgName); in StopDiscovering()
431 pkgNameSet_.erase(pkgName); in OnDiscoveringResult()
475 pkgNameSet_.emplace(pkgName); in HandleDiscoveryQueue()
[all …]
/ohos5.0/foundation/communication/dsoftbus/sdk/bus_center/manager/include/
H A Dclient_bus_center_manager.h35 int32_t RegNodeDeviceStateCbInner(const char *pkgName, INodeStateCb *callback);
38 int32_t GetLocalNodeDeviceInfoInner(const char *pkgName, NodeBasicInfo *info);
39 int32_t GetNodeKeyInfoInner(const char *pkgName, const char *networkId,
42 int32_t RegDataLevelChangeCbInner(const char *pkgName, IDataLevelCb *callback);
43 int32_t UnregDataLevelChangeCbInner(const char *pkgName);
49 int32_t StopTimeSyncInner(const char *pkgName, const char *targetNetworkId);
51 int32_t StopPublishLNNInner(const char *pkgName, int32_t publishId);
53 int32_t StopRefreshLNNInner(const char *pkgName, int32_t refreshId);
55 int32_t DeactiveMetaNodeInner(const char *pkgName, const char *metaNodeId);
65 int32_t LnnOnLocalNetworkIdChanged(const char *pkgName);
[all …]
/ohos5.0/foundation/distributedhardware/device_manager/test/servicesfuzztest/devicemanagernotify_fuzzer/
H A Ddevice_manager_notify_fuzzer.cpp48 std::string pkgName(reinterpret_cast<const char*>(data), size); in DeviceManagerNotifyUnRegisterFuzzTest()
53 DeviceManagerNotify::GetInstance().UnRegisterDeathRecipientCallback(pkgName); in DeviceManagerNotifyUnRegisterFuzzTest()
54 DeviceManagerNotify::GetInstance().UnRegisterDeviceStateCallback(pkgName); in DeviceManagerNotifyUnRegisterFuzzTest()
55 DeviceManagerNotify::GetInstance().UnRegisterPackageCallback(pkgName); in DeviceManagerNotifyUnRegisterFuzzTest()
60 DeviceManagerNotify::GetInstance().OnUiCall(pkgName, deviceId); in DeviceManagerNotifyUnRegisterFuzzTest()
69 std::string pkgName(reinterpret_cast<const char*>(data), size); in DeviceManagerNotifyDeviceStatusFuzzTest()
79 DeviceManagerNotify::GetInstance().OnDeviceOnline(pkgName, deviceInfo); in DeviceManagerNotifyDeviceStatusFuzzTest()
81 DeviceManagerNotify::GetInstance().OnDeviceOffline(pkgName, deviceInfo); in DeviceManagerNotifyDeviceStatusFuzzTest()
83 DeviceManagerNotify::GetInstance().OnDeviceChanged(pkgName, deviceInfo); in DeviceManagerNotifyDeviceStatusFuzzTest()
84 DeviceManagerNotify::GetInstance().OnDeviceReady(pkgName, deviceInfo); in DeviceManagerNotifyDeviceStatusFuzzTest()
[all …]
/ohos5.0/foundation/communication/dsoftbus/sdk/bus_center/ipc/standard/src/
H A Dbus_center_server_proxy.cpp140 int32_t ServerIpcRegDataLevelChangeCb(const char *pkgName) in ServerIpcRegDataLevelChangeCb() argument
146 int ret = g_serverProxy->RegDataLevelChangeCb(pkgName); in ServerIpcRegDataLevelChangeCb()
150 int32_t ServerIpcUnregDataLevelChangeCb(const char *pkgName) in ServerIpcUnregDataLevelChangeCb() argument
156 int ret = g_serverProxy->UnregDataLevelChangeCb(pkgName); in ServerIpcUnregDataLevelChangeCb()
186 int32_t ret = g_serverProxy->LeaveLNN(pkgName, networkId); in ServerIpcLeaveLNN()
206 int ret = g_serverProxy->StopTimeSync(pkgName, targetNetworkId); in ServerIpcStopTimeSync()
216 int32_t ret = g_serverProxy->PublishLNN(pkgName, info); in ServerIpcPublishLNN()
236 int32_t ret = g_serverProxy->RefreshLNN(pkgName, info); in ServerIpcRefreshLNN()
252 (void)pkgName; in ServerIpcActiveMetaNode()
266 (void)pkgName; in ServerIpcDeactiveMetaNode()
[all …]
/ohos5.0/foundation/distributedhardware/device_manager/services/service/include/
H A Ddevice_manager_service.h56 void RegisterCallerAppId(const std::string &pkgName);
58 void UnRegisterCallerAppId(const std::string &pkgName);
85 int32_t StopDeviceDiscovery(const std::string &pkgName, uint16_t subscribeId);
96 int32_t StopAuthenticateDevice(const std::string &pkgName);
101 int32_t UnBindDevice(const std::string &pkgName, const std::string &deviceId);
138 int32_t RegisterCredentialCallback(const std::string &pkgName);
140 int32_t UnRegisterCredentialCallback(const std::string &pkgName);
154 int32_t RegisterUiStateCallback(const std::string &pkgName);
155 int32_t UnRegisterUiStateCallback(const std::string &pkgName);
159 int32_t RegisterPinHolderCallback(const std::string &pkgName);
[all …]

12345678910>>...26