Home
last modified time | relevance | path

Searched refs:devInfo (Results 1 – 20 of 20) sorted by relevance

/base/usb/usb_manager/interfaces/innerkits/native/include/
Diusb_srv.h62 …virtual int32_t RegBulkCallback(const HDI::Usb::V1_0::UsbDev &devInfo, const HDI::Usb::V1_0::UsbPi…
64 …virtual int32_t UnRegBulkCallback(const HDI::Usb::V1_0::UsbDev &devInfo, const HDI::Usb::V1_0::Usb…
65 …virtual int32_t BulkRead(const HDI::Usb::V1_0::UsbDev &devInfo, const HDI::Usb::V1_0::UsbPipe &pip…
67 …virtual int32_t BulkWrite(const HDI::Usb::V1_0::UsbDev &devInfo, const HDI::Usb::V1_0::UsbPipe &pi…
69 …virtual int32_t BulkCancel(const HDI::Usb::V1_0::UsbDev &devInfo, const HDI::Usb::V1_0::UsbPipe &p…
/base/security/access_token/services/tokensyncmanager/src/command/
Ddelete_remote_token_command.cpp81 DeviceInfo devInfo; in Execute() local
83 DeviceIdType::UNKNOWN, devInfo); in Execute()
90 std::string uniqueDeviceId = devInfo.deviceId.uniqueDeviceId; in Execute()
Dupdate_remote_hap_token_command.cpp77 DeviceInfo devInfo; in Execute() local
79 DeviceIdType::UNKNOWN, devInfo); in Execute()
86 std::string uniqueDeviceId = devInfo.deviceId.uniqueDeviceId; in Execute()
Dsync_remote_native_token_command.cpp103 DeviceInfo devInfo; in Finish() local
105 DeviceIdType::UNKNOWN, devInfo); in Finish()
111 …int ret = AccessTokenKit::SetRemoteNativeTokenInfo(devInfo.deviceId.uniqueDeviceId, nativeTokenInf… in Finish()
/base/security/device_security_level/services/dslm/
Ddslm_fsm_process.c43 typedef bool DslmInfoChecker(const DslmDeviceInfo *devInfo, const DslmNotifyListNode *node, DslmCal…
46 static bool SdkTimeoutChecker(const DslmDeviceInfo *devInfo, const DslmNotifyListNode *node, DslmCa…
48 static bool RequestDoneChecker(const DslmDeviceInfo *devInfo, const DslmNotifyListNode *node, DslmC…
313 static bool SdkTimeoutChecker(const DslmDeviceInfo *devInfo, const DslmNotifyListNode *node, DslmCa… in SdkTimeoutChecker() argument
322 devInfo->machine.machineId, node->owner, node->cookie, node->keep); in SdkTimeoutChecker()
331 static bool RequestDoneChecker(const DslmDeviceInfo *devInfo, const DslmNotifyListNode *node, DslmC… in RequestDoneChecker() argument
334 *result = devInfo->result; in RequestDoneChecker()
335 cbInfo->level = devInfo->credInfo.credLevel; in RequestDoneChecker()
341 devInfo->machine.machineId, node->owner, node->cookie, node->keep); in RequestDoneChecker()
/base/usb/usb_manager/services/zidl/src/
Dusb_srv_stub.cpp669 UsbDevice &devInfo = deviceList[i]; in SetDeviceListMessageParcel() local
670 int32_t ret = SetDeviceMessageParcel(devInfo, data); in SetDeviceListMessageParcel()
678 int32_t UsbServerStub::SetDeviceMessageParcel(UsbDevice &devInfo, MessageParcel &data) in SetDeviceMessageParcel() argument
680 WRITE_PARCEL_WITH_RET(data, Int32, devInfo.GetBusNum(), UEC_SERVICE_WRITE_PARCEL_ERROR); in SetDeviceMessageParcel()
681 WRITE_PARCEL_WITH_RET(data, Int32, devInfo.GetDevAddr(), UEC_SERVICE_WRITE_PARCEL_ERROR); in SetDeviceMessageParcel()
683 WRITE_PARCEL_WITH_RET(data, Int32, devInfo.GetVendorId(), UEC_SERVICE_WRITE_PARCEL_ERROR); in SetDeviceMessageParcel()
684 WRITE_PARCEL_WITH_RET(data, Int32, devInfo.GetProductId(), UEC_SERVICE_WRITE_PARCEL_ERROR); in SetDeviceMessageParcel()
685 WRITE_PARCEL_WITH_RET(data, Int32, devInfo.GetClass(), UEC_SERVICE_WRITE_PARCEL_ERROR); in SetDeviceMessageParcel()
686 WRITE_PARCEL_WITH_RET(data, Int32, devInfo.GetSubclass(), UEC_SERVICE_WRITE_PARCEL_ERROR); in SetDeviceMessageParcel()
687 WRITE_PARCEL_WITH_RET(data, Int32, devInfo.GetProtocol(), UEC_SERVICE_WRITE_PARCEL_ERROR); in SetDeviceMessageParcel()
[all …]
Dusb_srv_proxy.cpp122 UsbDevice devInfo; in GetDeviceListMessageParcel() local
123 GetDeviceMessageParcel(data, devInfo); in GetDeviceListMessageParcel()
124 deviceList.push_back(devInfo); in GetDeviceListMessageParcel()
129 int32_t UsbServerProxy::GetDeviceMessageParcel(MessageParcel &data, UsbDevice &devInfo) in GetDeviceMessageParcel() argument
135 devInfo.SetBusNum(tmp); in GetDeviceMessageParcel()
137 devInfo.SetDevAddr(tmp); in GetDeviceMessageParcel()
140 devInfo.SetVendorId(tmp); in GetDeviceMessageParcel()
142 devInfo.SetProductId(tmp); in GetDeviceMessageParcel()
144 devInfo.SetClass(tmp); in GetDeviceMessageParcel()
146 devInfo.SetSubclass(tmp); in GetDeviceMessageParcel()
[all …]
/base/usb/usb_manager/services/native/include/
Dusb_service.h114 …int32_t RegBulkCallback(const HDI::Usb::V1_0::UsbDev &devInfo, const HDI::Usb::V1_0::UsbPipe &pipe,
116 …int32_t UnRegBulkCallback(const HDI::Usb::V1_0::UsbDev &devInfo, const HDI::Usb::V1_0::UsbPipe &pi…
118 …const HDI::Usb::V1_0::UsbDev &devInfo, const HDI::Usb::V1_0::UsbPipe &pipe, sptr<Ashmem> &ashmem) …
120 …const HDI::Usb::V1_0::UsbDev &devInfo, const HDI::Usb::V1_0::UsbPipe &pipe, sptr<Ashmem> &ashmem) …
121 …int32_t BulkCancel(const HDI::Usb::V1_0::UsbDev &devInfo, const HDI::Usb::V1_0::UsbPipe &pipe) ove…
162 void ExecuteStrategy(UsbDevice *devInfo);
/base/security/access_token/services/tokensyncmanager/src/service/
Dtoken_sync_manager_service.cpp93 DeviceInfo devInfo; in GetRemoteHapTokenInfo() local
94 …ult = DeviceInfoRepository::GetInstance().FindDeviceInfo(deviceID, DeviceIdType::UNKNOWN, devInfo); in GetRemoteHapTokenInfo()
99 std::string udid = devInfo.deviceId.uniqueDeviceId; in GetRemoteHapTokenInfo()
/base/security/dataclassification/test/unittest/datatransmitmgr/
DDevSLMgrTest.cpp310 DeviceSecurityInfo devInfo; variable
313 OnApiDeviceSecInfoCallback(&devId, &devInfo);
330 DeviceSecurityInfo devInfo; variable
335 OnApiDeviceSecInfoCallback(&devIdLocal, &devInfo);
347 OnApiDeviceSecInfoCallback(&devIdOpp, &devInfo);
385 DeviceSecurityInfo devInfo; variable
387 OnApiDeviceSecInfoCallback(&devIdOpp, &devInfo);
/base/usb/usb_manager/services/native/src/
Dusb_service.cpp604 const UsbDev &devInfo, const UsbPipe &pipe, std::vector<uint8_t> &bufferData, int32_t timeOut) in BulkTransferRead() argument
610 int32_t ret = usbd_->BulkTransferRead(devInfo, pipe, timeOut, bufferData); in BulkTransferRead()
1118 void UsbService::ExecuteStrategy(UsbDevice *devInfo) in ExecuteStrategy() argument
1169 UsbDevice *devInfo = new (std::nothrow) UsbDevice(); in AddDevice() local
1170 if (devInfo == nullptr) { in AddDevice()
1175 errno_t retSafe = memset_s(devInfo, sizeof(UsbDevice), 0, sizeof(UsbDevice)); in AddDevice()
1181 int32_t ret = GetDeviceInfo(busNum, devAddr, *devInfo); in AddDevice()
1184 delete devInfo; in AddDevice()
1189 …std::string uniqueName = std::to_string(devInfo->GetVendorId()) + "-" + std::to_string(devInfo->Ge… in AddDevice()
1190 "-" + devInfo->GetmSerial(); in AddDevice()
[all …]
/base/telephony/call_manager/services/distributed_call/src/
Ddistributed_call_proxy.cpp151 OHOS::DistributedHardware::DCallDeviceInfo& devInfo) in GetDCallDeviceInfo() argument
158 return dcallClient_->GetDCallDeviceInfo(devId, devInfo); in GetDCallDeviceInfo()
Ddistributed_call_manager.cpp113 OHOS::DistributedHardware::DCallDeviceInfo devInfo; in CreateDAudioDevice() local
114 int32_t ret = dcallProxy_->GetDCallDeviceInfo(devId, devInfo); in CreateDAudioDevice()
120 std::string devName = devInfo.devName; in CreateDAudioDevice()
121 if (devInfo.devType == OHOS::DistributedHardware::DCallDeviceType::DISTRIBUTED_DEVICE_PHONE) { in CreateDAudioDevice()
124 …} else if (devInfo.devType == OHOS::DistributedHardware::DCallDeviceType::DISTRIBUTED_DEVICE_PAD) { in CreateDAudioDevice()
/base/telephony/call_manager/services/distributed_call/include/dcall/
Didcall_client.h40 virtual int32_t GetDCallDeviceInfo(const std::string &devId, DCallDeviceInfo& devInfo) = 0;
/base/telephony/call_manager/services/distributed_call/include/
Ddistributed_call_proxy.h39 … GetDCallDeviceInfo(const std::string &devId, OHOS::DistributedHardware::DCallDeviceInfo& devInfo);
/base/security/access_token/services/tokensyncmanager/src/remote/
Dremote_command_manager.cpp203 DeviceInfo devInfo; in NotifyDeviceOffline() local
204 …ol result = DeviceInfoManager::GetInstance().GetDeviceInfo(nodeId, DeviceIdType::UNKNOWN, devInfo); in NotifyDeviceOffline()
209 std::string uniqueDeviceId = devInfo.deviceId.uniqueDeviceId; in NotifyDeviceOffline()
/base/notification/distributed_notification_service/services/distributed/src/
Ddistributed_screen_status_manager.cpp198 for (auto devInfo : devInfoList) { in CheckRemoteDevicesIsUsing() local
199 if (strcmp(devInfo.deviceId, deviceId.c_str()) == 0) { in CheckRemoteDevicesIsUsing()
/base/usb/usb_manager/services/zidl/include/
Dusb_server_stub.h76 int32_t SetDeviceMessageParcel(UsbDevice &devInfo, MessageParcel &data);
Dusb_server_proxy.h89 int32_t GetDeviceMessageParcel(MessageParcel &data, UsbDevice &devInfo);
/base/security/device_auth/services/legacy/group_manager/src/group_operation/
Dgroup_operation.c141 TrustedDeviceEntry *devInfo = (TrustedDeviceEntry*)(*devInfoPtr); in GenerateReturnDeviceVec() local
148 int32_t result = GenerateReturnDevInfo(devInfo, devInfoJson); in GenerateReturnDeviceVec()