/foundation/filemanagement/storage_service/services/storage_daemon/mtpfs/src/ |
H A D | mtpfs_util.cpp | 226 libusb_device **devList; in SmtpfsRawDeviceNew() local 227 ssize_t numDevs = libusb_get_device_list(NULL, &devList); in SmtpfsRawDeviceNew() 235 dev = devList[i]; in SmtpfsRawDeviceNew() 236 if (bnum == libusb_get_bus_number(devList[i]) && dnum == libusb_get_device_address(devList[i])) { in SmtpfsRawDeviceNew() 244 libusb_free_device_list(devList, 0); in SmtpfsRawDeviceNew() 256 libusb_device **devList; in SmtpfsResetDevice() local 257 ssize_t numDevs = libusb_get_device_list(NULL, &devList); in SmtpfsResetDevice() 265 uint8_t bnum = libusb_get_bus_number(devList[i]); in SmtpfsResetDevice() 266 uint8_t dnum = libusb_get_device_address(devList[ in SmtpfsResetDevice() [all...] |
/foundation/systemabilitymgr/samgr/services/samgr/native/source/collect/ |
H A D | device_networking_collect.cpp | 92 std::vector<DmDeviceInfo> devList; in ReportMissedEvents() local 93 int32_t ret = DeviceManager::GetInstance().GetTrustedDeviceList(PKG_NAME, "", devList); in ReportMissedEvents() 101 if (devList.empty()) { in ReportMissedEvents() 107 for (DmDeviceInfo& devInfo : devList) { in ReportMissedEvents() 113 if (!devList.empty()) { in ReportMissedEvents() 115 for (DmDeviceInfo& devInfo : devList) { in ReportMissedEvents()
|
/foundation/distributedhardware/device_manager/test/servicesfuzztest/devicelist_fuzzer/ |
H A D | device_list_fuzzer.cpp | 34 std::vector<DmDeviceInfo> devList; in DeviceListFuzzTest() local 39 DeviceManager::GetInstance().GetTrustedDeviceList(bundleName, extra, devList); in DeviceListFuzzTest()
|
/foundation/distributedhardware/device_manager/test/servicesfuzztest/devicelistrefresh_fuzzer/ |
H A D | device_list_refresh_fuzzer.cpp | 34 std::vector<DmDeviceInfo> devList; in DeviceListRefreshFuzzTest() local 41 DeviceManager::GetInstance().GetTrustedDeviceList(bundleName, extra, isRefresh, devList); in DeviceListRefreshFuzzTest()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/ |
H A D | a2dp_service_connection.cpp | 172 std::map<std::string, A2dpDeviceInfo *> devList = service->GetDeviceList(); in JudgeConnectExit() local 173 auto iter = devList.find(device.GetAddress().c_str()); in JudgeConnectExit() 174 if (iter == devList.end()) { in JudgeConnectExit()
|
H A D | a2dp_service.cpp | 403 std::list<RawAddress> devList; in GetConnectDevices() local 413 devList.push_back(RawAddress::ConvertToString(it->second->GetDevice().addr)); in GetConnectDevices() 416 return devList; in GetConnectDevices()
|
/foundation/distributedhardware/device_manager/test/benchmarktest/device_manager_fa_test/ |
H A D | device_manager_fa_test.cpp | 210 std::vector<DmDeviceInfo> devList {}; in BENCHMARK_F() 219 int32_t ret = DeviceManager::GetInstance().GetTrustedDeviceList(pkgName, extra, devList); in BENCHMARK_F() 235 std::vector<DmDeviceInfo> devList {}; in BENCHMARK_F()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/sock/ |
H A D | socket_service.cpp | 84 std::list<RawAddress> devList; in GetConnectDevices() local 86 return devList; in GetConnectDevices()
|
/foundation/distributedhardware/device_manager/interfaces/kits/js4.0/src/ |
H A D | native_devicemanager_js.cpp | 997 if (deviceBasicInfoListAsyncCallbackInfo->devList.size() > DM_MAX_DEVICE_SIZE) { in DumpDeviceInfo() 998 LOGE("CallGetAvailableDeviceListStatus invalid devList size"); in DumpDeviceInfo() 1001 for (unsigned int i = 0; i < deviceBasicInfoListAsyncCallbackInfo->devList.size(); i++) { in DumpDeviceInfo() 1003 GetAnonyString(deviceBasicInfoListAsyncCallbackInfo->devList[i].deviceId).c_str(), in DumpDeviceInfo() 1004 GetAnonyString(deviceBasicInfoListAsyncCallbackInfo->devList[i].deviceName).c_str(), in DumpDeviceInfo() 1005 deviceBasicInfoListAsyncCallbackInfo->devList[i].deviceTypeId); in DumpDeviceInfo() 1024 if (deviceBasicInfoListAsyncCallbackInfo->devList.size() > 0) { in CallGetAvailableDeviceListStatus() 1025 for (size_t i = 0; i != deviceBasicInfoListAsyncCallbackInfo->devList.size(); ++i) { in CallGetAvailableDeviceListStatus() 1026 DeviceBasicInfoToJsArray(env, deviceBasicInfoListAsyncCallbackInfo->devList, i, array[1]); in CallGetAvailableDeviceListStatus() 1028 LOGI("devList i in CallGetAvailableDeviceListStatus() 1134 std::vector<DmDeviceBasicInfo> devList; GetAvailableDeviceListSync() local 1174 std::vector<DmDeviceBasicInfo> devList; GetAvailableDeviceList() local [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hid_host/ |
H A D | hid_host_service.cpp | 309 std::list<RawAddress> devList; in GetConnectDevices() local 312 devList.push_back(RawAddress(it->first)); in GetConnectDevices() 315 return devList; in GetConnectDevices()
|
/foundation/distributedhardware/device_manager/interfaces/kits/js/src/ |
H A D | native_devicemanager_js.cpp | 1542 if (deviceInfoListAsyncCallbackInfo->devList.size() > DM_MAX_DEVICE_SIZE) {
in CallGetTrustedDeviceListStatusSync() 1543 LOGE("CallGetTrustedDeviceListStatusSync invalid devList size");
in CallGetTrustedDeviceListStatusSync() 1546 for (unsigned int i = 0; i < deviceInfoListAsyncCallbackInfo->devList.size(); i++) {
in CallGetTrustedDeviceListStatusSync() 1548 GetAnonyString(deviceInfoListAsyncCallbackInfo->devList[i].deviceId).c_str(),
in CallGetTrustedDeviceListStatusSync() 1549 GetAnonyString(deviceInfoListAsyncCallbackInfo->devList[i].deviceName).c_str(),
in CallGetTrustedDeviceListStatusSync() 1550 deviceInfoListAsyncCallbackInfo->devList[i].deviceTypeId);
in CallGetTrustedDeviceListStatusSync() 1561 if (deviceInfoListAsyncCallbackInfo->devList.size() > 0) {
in CallGetTrustedDeviceListStatusSync() 1562 for (unsigned int i = 0; i != deviceInfoListAsyncCallbackInfo->devList.size(); ++i) {
in CallGetTrustedDeviceListStatusSync() 1563 DeviceInfoToJsArray(env, deviceInfoListAsyncCallbackInfo->devList, (int32_t)i, array[1]);
in CallGetTrustedDeviceListStatusSync() 1565 LOGI("devList i in CallGetTrustedDeviceListStatusSync() 1976 std::vector<OHOS::DistributedHardware::DmDeviceInfo> devList; GetTrustedDeviceListSync() local 2060 std::vector<DmDeviceInfo> devList; GetTrustedDeviceList() local [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/pan/ |
H A D | pan_service.cpp | 367 std::list<RawAddress> devList; in GetConnectDevices() local 370 devList.push_back(RawAddress(it->first)); in GetConnectDevices() 373 return devList; in GetConnectDevices()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/ |
H A D | hfp_hf_service.cpp | 216 std::list<RawAddress> devList; in GetConnectDevices() local 219 devList.push_back(RawAddress(it->first)); in GetConnectDevices() 222 return devList; in GetConnectDevices()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/ |
H A D | hfp_ag_service.cpp | 205 std::list<RawAddress> devList; in GetConnectDevices() local 208 devList.push_back(RawAddress(it->first)); in GetConnectDevices() 211 return devList; in GetConnectDevices()
|
/foundation/distributedhardware/device_manager/interfaces/kits/js4.0/include/ |
H A D | native_devicemanager_js.h | 54 std::vector<OHOS::DistributedHardware::DmDeviceBasicInfo> devList; member
|
/foundation/distributedhardware/device_manager/interfaces/kits/js/include/ |
H A D | native_devicemanager_js.h | 100 std::vector<OHOS::DistributedHardware::DmDeviceInfo> devList;
member
|
/foundation/systemabilitymgr/samgr/services/samgr/native/source/ |
H A D | system_ability_manager.cpp | 1863 std::vector<DmDeviceInfo> devList; in DeviceIdToNetworkId() local 1864 if (DeviceManager::GetInstance().GetTrustedDeviceList(PKG_NAME, "", devList) == ERR_OK) { in DeviceIdToNetworkId() 1865 for (const DmDeviceInfo& devInfo : devList) { in DeviceIdToNetworkId()
|