/base/security/device_security_level/test/dslm_unit_test/ |
H A D | device_manager_mock.cpp | 35 .WillByDefault([](const std::string &, const std::string &, std::vector<DmDeviceInfo> &deviceList) { in DeviceManagerMock() 40 deviceList.push_back(info1); in DeviceManagerMock() 41 deviceList.push_back(info2); in DeviceManagerMock() 42 deviceList.push_back(info3); in DeviceManagerMock() 43 deviceList.push_back(info4); in DeviceManagerMock()
|
H A D | device_manager.h | 39 std::vector<DmDeviceInfo> &deviceList) = 0;
|
H A D | device_manager_mock.h | 40 (const std::string &pkgName, const std::string &extra, std::vector<DmDeviceInfo> &deviceList), (override));
|
/base/useriam/user_auth_framework/services/remote_connect/src/ |
H A D | device_manager_util.cpp | 79 std::vector<DistributedHardware::DmDeviceInfo> deviceList; in GetNetworkIdByUdid() local 80 int32_t ret = DeviceManager::GetInstance().GetTrustedDeviceList(USER_AUTH_PACKAGE_NAME, "", deviceList); in GetNetworkIdByUdid() 84 for (auto &device : deviceList) { in GetNetworkIdByUdid()
|
/base/security/device_auth/services/legacy/group_manager/src/group_operation/identical_account_group/ |
H A D | identical_account_group.c | 282 DeviceEntryVec deviceList = CreateDeviceEntryVec(); in DelAcrossAccountGroupAndTokens() local 283 (void)GetTrustedDevices(osAccountId, groupId, &deviceList); in DelAcrossAccountGroupAndTokens() 285 DelAllPeerTokens(osAccountId, &deviceList); in DelAcrossAccountGroupAndTokens() 286 ClearDeviceEntryVec(&deviceList); in DelAcrossAccountGroupAndTokens() 327 DeviceEntryVec deviceList = CreateDeviceEntryVec(); in DelGroupAndTokens() local 328 (void)GetTrustedDevices(osAccountId, groupId, &deviceList); in DelGroupAndTokens() 332 DelAllTokens(osAccountId, &deviceList); in DelGroupAndTokens() 333 ClearDeviceEntryVec(&deviceList); in DelGroupAndTokens() 566 static void UpdateTrustedDeviceForMetaNode(int32_t osAccountId, CJson *jsonParams, CJson *deviceList) in UpdateTrustedDeviceForMetaNode() argument 574 int32_t deviceNum = GetItemNum(deviceList); in UpdateTrustedDeviceForMetaNode() 634 CJson *deviceList = GetObjFromJson(processResult, FIELD_DEVICE_LIST); AddMetaNodeDeviceToGroup() local 670 CJson *deviceList = GetObjFromJson(jsonParams, FIELD_DEVICE_LIST); AddMultiMembersToGroup() local 711 CJson *deviceList = GetObjFromJson(jsonParams, FIELD_DEVICE_LIST); DelMultiMembersFromGroup() local [all...] |
/base/security/access_token/services/tokensyncmanager/src/remote/ |
H A D | soft_bus_device_connection_listener.cpp | 103 std::vector<DistributedHardware::DmDeviceInfo> deviceList;
in OnDeviceOffline() local 106 extra, deviceList);
in OnDeviceOffline() 112 if (deviceList.empty()) {
in OnDeviceOffline()
|
H A D | soft_bus_manager.cpp | 89 std::vector<DistributedHardware::DmDeviceInfo> deviceList;
in AddTrustedDeviceInfo() local 92 extra, deviceList);
in AddTrustedDeviceInfo() 98 for (const DistributedHardware::DmDeviceInfo& device : deviceList) {
in AddTrustedDeviceInfo()
|
/base/security/device_auth/services/legacy/group_manager/src/group_operation/across_account_group/ |
H A D | across_account_group.c | 330 DeviceEntryVec deviceList = CreateDeviceEntryVec(); in DelGroupAndTokens() local 331 (void)GetTrustedDevices(osAccountId, groupId, &deviceList); in DelGroupAndTokens() 333 DelAllPeerTokens(osAccountId, &deviceList); in DelGroupAndTokens() 334 ClearDeviceEntryVec(&deviceList); in DelGroupAndTokens() 576 CJson *deviceList = GetObjFromJson(jsonParams, FIELD_DEVICE_LIST); in AddMultiMembersToGroup() local 577 if (deviceList == NULL) { in AddMultiMembersToGroup() 578 LOGE("Failed to get deviceList from json!"); in AddMultiMembersToGroup() 581 int32_t deviceNum = GetItemNum(deviceList); in AddMultiMembersToGroup() 584 CJson *deviceInfo = GetItemFromArray(deviceList, i); in AddMultiMembersToGroup() 617 CJson *deviceList in DelMultiMembersFromGroup() local [all...] |
/base/security/device_security_level/baselib/msglib/src/standard/ |
H A D | messenger_device_status_manager.cpp | 221 std::vector<DmDeviceInfo> deviceList; in MessengerGetDeviceNodeBasicInfo() local 222 int32_t ret = DeviceManager::GetInstance().GetTrustedDeviceList(name, "", deviceList); in MessengerGetDeviceNodeBasicInfo() 229 for (auto const &device : deviceList) { in MessengerGetDeviceNodeBasicInfo() 376 std::vector<DmDeviceInfo> deviceList; in MessengerForEachDeviceProcess() local 377 int32_t ret = DeviceManager::GetInstance().GetTrustedDeviceList(name, "", deviceList); in MessengerForEachDeviceProcess() 383 for (auto const &device : deviceList) { in MessengerForEachDeviceProcess()
|
/base/notification/distributed_notification_service/services/distributed/test/unittest/mock/ |
H A D | mock_device_manager_impl.cpp | 38 std::vector<DmDeviceInfo> &deviceList) in GetTrustedDeviceList() 50 deviceList.clear(); in GetTrustedDeviceList() 51 deviceList.push_back(localDevice); in GetTrustedDeviceList() 52 deviceList.push_back(remoteDevice); in GetTrustedDeviceList() 37 GetTrustedDeviceList(const std::string &pkgName, const std::string &extra, std::vector<DmDeviceInfo> &deviceList) GetTrustedDeviceList() argument
|
/base/msdp/device_status/intention/adapters/ddm_adapter/src/ |
H A D | ddm_adapter_impl.cpp | 116 int32_t DDMAdapterImpl::GetTrustedDeviceList(std::vector<DistributedHardware::DmDeviceInfo> &deviceList) in GetTrustedDeviceList() argument 119 deviceList.clear(); in GetTrustedDeviceList() 120 if (int32_t ret = D_DEV_MGR.GetTrustedDeviceList(FI_PKG_NAME, "", deviceList); ret != RET_OK) { in GetTrustedDeviceList()
|
/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_database_branch_test/ |
H A D | mock_device_manager_impl.cpp | 73 std::vector<DmDeviceInfo> &deviceList)
in GetTrustedDeviceList() 72 GetTrustedDeviceList(const std::string &pkgName, const std::string &extra, std::vector<DmDeviceInfo> &deviceList) GetTrustedDeviceList() argument
|
H A D | distributed_database_branch_test.cpp | 494 std::vector<DistributedHardware::DmDeviceInfo> deviceList;
in HWTEST_F() local 495 EXPECT_EQ(true, database_->GetDeviceInfoList(deviceList));
in HWTEST_F() 507 std::vector<DistributedHardware::DmDeviceInfo> deviceList;
in HWTEST_F() local 508 EXPECT_EQ(false, database_->GetDeviceInfoList(deviceList));
in HWTEST_F() 521 std::vector<DistributedHardware::DmDeviceInfo> deviceList;
in HWTEST_F() local 522 EXPECT_EQ(false, database_->GetDeviceInfoList(deviceList));
in HWTEST_F()
|
/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_notification_manager_branch_test/ |
H A D | mock_distributed_database.cpp | 62 bool DistributedDatabase::GetDeviceInfoList(std::vector<DeviceInfo> &deviceList)
in GetDeviceInfoList() argument
|
/base/security/access_token/services/tokensyncmanager/test/mock/include/ |
H A D | device_manager.h | 60 std::vector<DmDeviceInfo> &deviceList)
in GetTrustedDeviceList() 59 GetTrustedDeviceList(const std::string &pkgName, const std::string &extra, std::vector<DmDeviceInfo> &deviceList) GetTrustedDeviceList() argument
|
/base/notification/distributed_notification_service/services/distributed/include/ |
H A D | distributed_database.h | 114 * @param deviceList Indicates the infomation list of devices. 117 bool GetDeviceInfoList(std::vector<DeviceInfo> &deviceList);
|
/base/msdp/device_status/intention/adapters/ddm_adapter/include/ |
H A D | ddm_adapter_impl.h | 44 int32_t GetTrustedDeviceList(std::vector<DistributedHardware::DmDeviceInfo> &deviceList);
|
/base/msdp/device_status/intention/adapters/dsoftbus_adapter/src/ |
H A D | dsoftbus_adapter_impl.cpp | 118 std::vector<DistributedHardware::DmDeviceInfo> deviceList; in CheckDeviceOnline() local 119 if (D_DEV_MGR.GetTrustedDeviceList(FI_PKG_NAME, "", deviceList) != RET_OK) { in CheckDeviceOnline() 123 if (deviceList.empty()) { in CheckDeviceOnline() 127 for (const auto &deviceInfo : deviceList) { in CheckDeviceOnline()
|
/base/notification/distributed_notification_service/services/distributed/src/ |
H A D | distributed_notification_manager.cpp | 270 std::vector<DistributedDatabase::DeviceInfo> deviceList; in OnDeviceDisconnected() 271 if (database_->GetDeviceInfoList(deviceList) == ERR_OK && deviceList.empty()) { in OnDeviceDisconnected()
|
H A D | distributed_database.cpp | 307 bool DistributedDatabase::GetDeviceInfoList(std::vector<DeviceInfo> &deviceList) in GetDeviceInfoList() argument 319 int32_t ret = DistributedHardware::DeviceManager::GetInstance().GetTrustedDeviceList(APP_ID, "", deviceList); in GetDeviceInfoList()
|
/base/usb/usb_manager/services/zidl/include/ |
H A D | usb_server_proxy.h | 36 int32_t GetDevices(std::vector<UsbDevice> &deviceList) override; 99 int32_t GetDeviceListMessageParcel(MessageParcel &data, std::vector<UsbDevice> &deviceList);
|
/base/usb/usb_manager/test/native/service_unittest/src/ |
H A D | usb_device_pipe_test.cpp | 79 * @tc.desc: Test functions to getDevices(std::vector<UsbDevice> &deviceList); 116 std::vector<UsbDevice> deviceList; in HWTEST_F() local 117 auto ret = UsbSrvClient.GetDevices(deviceList); in HWTEST_F() 120 EXPECT_TRUE(!(deviceList.empty())) << "delist NULL"; in HWTEST_F() 122 deviceList.size()); in HWTEST_F() 123 UsbDevice device = deviceList.front(); in HWTEST_F() 147 std::vector<UsbDevice> deviceList; in HWTEST_F() local 148 auto ret = UsbSrvClient.GetDevices(deviceList); in HWTEST_F() 151 EXPECT_TRUE(!(deviceList.empty())) << "delist NULL"; in HWTEST_F() 153 deviceList in HWTEST_F() 180 std::vector<UsbDevice> deviceList; HWTEST_F() local 214 std::vector<UsbDevice> deviceList; HWTEST_F() local 248 std::vector<UsbDevice> deviceList; HWTEST_F() local [all...] |
/base/usb/usb_manager/interfaces/innerkits/native/include/ |
H A D | usb_srv_client.h | 51 int32_t GetDevices(std::vector<UsbDevice> &deviceList);
|
/base/usb/usb_manager/services/zidl/src/ |
H A D | usb_srv_stub.cpp | 858 std::vector<UsbDevice> deviceList; in DoGetDevices() local 859 int32_t ret = GetDevices(deviceList); in DoGetDevices() 865 USB_HILOGI(MODULE_SERVICE, "list size = %{public}zu", deviceList.size()); in DoGetDevices() 866 ret = SetDeviceListMessageParcel(deviceList, reply); in DoGetDevices() 873 int32_t UsbServerStub::SetDeviceListMessageParcel(std::vector<UsbDevice> &deviceList, MessageParcel &data) in SetDeviceListMessageParcel() argument 875 int32_t deviceCount = (int32_t)deviceList.size(); in SetDeviceListMessageParcel() 878 UsbDevice &devInfo = deviceList[i]; in SetDeviceListMessageParcel()
|
/base/usb/usb_manager/interfaces/innerkits/native/src/ |
H A D | usb_srv_client.cpp | 166 int32_t UsbSrvClient::GetDevices(std::vector<UsbDevice> &deviceList) in GetDevices() argument 169 int32_t ret = proxy_->GetDevices(deviceList); in GetDevices() 174 USB_HILOGI(MODULE_USB_INNERKIT, "GetDevices deviceList size = %{public}zu!", deviceList.size()); in GetDevices()
|