Home
last modified time | relevance | path

Searched refs:devInfo (Results 1 - 22 of 22) sorted by relevance

/base/security/access_token/services/tokensyncmanager/src/command/
H A Dupdate_remote_hap_token_command.cpp81 DeviceInfo devInfo; in Execute() local
83 DeviceIdType::UNKNOWN, devInfo); in Execute()
90 std::string uniqueDeviceId = devInfo.deviceId.uniqueDeviceId; in Execute()
H A Ddelete_remote_token_command.cpp85 DeviceInfo devInfo; in Execute() local
87 DeviceIdType::UNKNOWN, devInfo); in Execute()
94 std::string uniqueDeviceId = devInfo.deviceId.uniqueDeviceId; in Execute()
/base/security/device_security_level/services/dslm/
H A Ddslm_fsm_process.c45 typedef bool DslmInfoChecker(const DslmDeviceInfo *devInfo, const DslmNotifyListNode *node, DslmCallbackInfo *cbInfo,
48 static bool SdkTimeoutChecker(const DslmDeviceInfo *devInfo, const DslmNotifyListNode *node, DslmCallbackInfo *cbInfo,
50 static bool RequestDoneChecker(const DslmDeviceInfo *devInfo, const DslmNotifyListNode *node, DslmCallbackInfo *cbInfo,
330 static bool SdkTimeoutChecker(const DslmDeviceInfo *devInfo, const DslmNotifyListNode *node, DslmCallbackInfo *cbInfo, in SdkTimeoutChecker() argument
339 devInfo->machine.machineId, node->owner, node->cookie, node->keep); in SdkTimeoutChecker()
348 static bool RequestDoneChecker(const DslmDeviceInfo *devInfo, const DslmNotifyListNode *node, DslmCallbackInfo *cbInfo, in RequestDoneChecker() argument
351 *result = devInfo->result; in RequestDoneChecker()
352 cbInfo->level = devInfo->credInfo.credLevel; in RequestDoneChecker()
358 devInfo->machine.machineId, node->owner, node->cookie, node->keep); in RequestDoneChecker()
/base/usb/usb_manager/services/native/src/
H A Dusb_service.cpp755 const UsbDev &devInfo, const UsbPipe &pipe, std::vector<uint8_t> &bufferData, int32_t timeOut) in BulkTransferRead()
757 if (!UsbService::CheckDevicePermission(devInfo.busNum, devInfo.devAddr)) { in BulkTransferRead()
765 int32_t ret = usbd_->BulkTransferRead(devInfo, pipe, timeOut, bufferData); in BulkTransferRead()
774 int32_t UsbService::BulkTransferReadwithLength(const UsbDev &devInfo, const UsbPipe &pipe, in BulkTransferReadwithLength() argument
777 if (!UsbService::CheckDevicePermission(devInfo.busNum, devInfo.devAddr)) { in BulkTransferReadwithLength()
785 int32_t ret = usbd_->BulkTransferReadwithLength(devInfo, pipe, timeOut, length, bufferData); in BulkTransferReadwithLength()
1551 void UsbService::ExecuteStrategy(UsbDevice *devInfo) in ExecuteStrategy() argument
1599 UsbDevice *devInfo in AddDevice() local
754 BulkTransferRead( const UsbDev &devInfo, const UsbPipe &pipe, std::vector<uint8_t> &bufferData, int32_t timeOut) BulkTransferRead() argument
1783 RegBulkCallback(const UsbDev &devInfo, const UsbPipe &pipe, const sptr<IRemoteObject> &cb) RegBulkCallback() argument
1811 UnRegBulkCallback(const UsbDev &devInfo, const UsbPipe &pipe) UnRegBulkCallback() argument
1832 BulkRead(const UsbDev &devInfo, const UsbPipe &pipe, sptr<Ashmem> &ashmem) BulkRead() argument
1856 BulkWrite(const UsbDev &devInfo, const UsbPipe &pipe, sptr<Ashmem> &ashmem) BulkWrite() argument
1880 BulkCancel(const UsbDev &devInfo, const UsbPipe &pipe) BulkCancel() argument
[all...]
/base/security/access_token/services/tokensyncmanager/src/service/
H A Dtoken_sync_manager_service.cpp93 DeviceInfo devInfo; in GetRemoteHapTokenInfo() local
94 bool result = DeviceInfoRepository::GetInstance().FindDeviceInfo(deviceID, DeviceIdType::UNKNOWN, devInfo); in GetRemoteHapTokenInfo()
99 std::string udid = devInfo.deviceId.uniqueDeviceId; in GetRemoteHapTokenInfo()
/base/usb/usb_manager/interfaces/innerkits/native/include/
H A Diusb_srv.h69 virtual int32_t RegBulkCallback(const HDI::Usb::V1_0::UsbDev &devInfo, const HDI::Usb::V1_0::UsbPipe &pipe,
71 virtual int32_t UnRegBulkCallback(const HDI::Usb::V1_0::UsbDev &devInfo, const HDI::Usb::V1_0::UsbPipe &pipe) = 0;
72 virtual int32_t BulkRead(const HDI::Usb::V1_0::UsbDev &devInfo, const HDI::Usb::V1_0::UsbPipe &pipe,
74 virtual int32_t BulkWrite(const HDI::Usb::V1_0::UsbDev &devInfo, const HDI::Usb::V1_0::UsbPipe &pipe,
76 virtual int32_t BulkCancel(const HDI::Usb::V1_0::UsbDev &devInfo, const HDI::Usb::V1_0::UsbPipe &pipe) = 0;
/base/security/dataclassification/test/unittest/datatransmitmgr/
H A DDevSLMgrTest.cpp309 DeviceSecurityInfo devInfo; in HWTEST_F() local
312 OnApiDeviceSecInfoCallback(&devId, &devInfo); in HWTEST_F()
329 DeviceSecurityInfo devInfo; in HWTEST_F() local
334 OnApiDeviceSecInfoCallback(&devIdLocal, &devInfo); in HWTEST_F()
346 OnApiDeviceSecInfoCallback(&devIdOpp, &devInfo); in HWTEST_F()
384 DeviceSecurityInfo devInfo; in HWTEST_F() local
386 OnApiDeviceSecInfoCallback(&devIdOpp, &devInfo); in HWTEST_F()
/base/usb/usb_manager/services/zidl/src/
H A Dusb_srv_proxy.cpp123 UsbDevice devInfo; in GetDeviceListMessageParcel() local
124 GetDeviceMessageParcel(data, devInfo); in GetDeviceListMessageParcel()
125 deviceList.push_back(devInfo); in GetDeviceListMessageParcel()
130 int32_t UsbServerProxy::GetDeviceMessageParcel(MessageParcel &data, UsbDevice &devInfo) in GetDeviceMessageParcel() argument
136 devInfo.SetBusNum(tmp); in GetDeviceMessageParcel()
138 devInfo.SetDevAddr(tmp); in GetDeviceMessageParcel()
141 devInfo.SetVendorId(tmp); in GetDeviceMessageParcel()
143 devInfo.SetProductId(tmp); in GetDeviceMessageParcel()
145 devInfo.SetClass(tmp); in GetDeviceMessageParcel()
147 devInfo in GetDeviceMessageParcel()
[all...]
H A Dusb_srv_stub.cpp878 UsbDevice &devInfo = deviceList[i]; in SetDeviceListMessageParcel() local
879 int32_t ret = SetDeviceMessageParcel(devInfo, data); in SetDeviceListMessageParcel()
887 int32_t UsbServerStub::SetDeviceMessageParcel(UsbDevice &devInfo, MessageParcel &data) in SetDeviceMessageParcel() argument
889 WRITE_PARCEL_WITH_RET(data, Int32, devInfo.GetBusNum(), UEC_SERVICE_WRITE_PARCEL_ERROR); in SetDeviceMessageParcel()
890 WRITE_PARCEL_WITH_RET(data, Int32, devInfo.GetDevAddr(), UEC_SERVICE_WRITE_PARCEL_ERROR); in SetDeviceMessageParcel()
892 WRITE_PARCEL_WITH_RET(data, Int32, devInfo.GetVendorId(), UEC_SERVICE_WRITE_PARCEL_ERROR); in SetDeviceMessageParcel()
893 WRITE_PARCEL_WITH_RET(data, Int32, devInfo.GetProductId(), UEC_SERVICE_WRITE_PARCEL_ERROR); in SetDeviceMessageParcel()
894 WRITE_PARCEL_WITH_RET(data, Int32, devInfo.GetClass(), UEC_SERVICE_WRITE_PARCEL_ERROR); in SetDeviceMessageParcel()
895 WRITE_PARCEL_WITH_RET(data, Int32, devInfo.GetSubclass(), UEC_SERVICE_WRITE_PARCEL_ERROR); in SetDeviceMessageParcel()
896 WRITE_PARCEL_WITH_RET(data, Int32, devInfo in SetDeviceMessageParcel()
[all...]
/base/security/dataclassification/test/fuzztest/datatransmitmgr/devslinfoadpt_fuzzer/
H A Ddevslinfoadpt_fuzzer.cpp115 DeviceSecurityInfo devInfo; in FuzzDoDevSlinfoAdpt() local
135 OnApiDeviceSecInfoCallback(&devId, &devInfo); in FuzzDoDevSlinfoAdpt()
/base/telephony/call_manager/services/distributed_call/src/
H A Ddistributed_call_proxy.cpp150 OHOS::DistributedHardware::DCallDeviceInfo& devInfo) in GetDCallDeviceInfo()
157 return dcallClient_->GetDCallDeviceInfo(devId, devInfo); in GetDCallDeviceInfo()
149 GetDCallDeviceInfo(const std::string &devId, OHOS::DistributedHardware::DCallDeviceInfo& devInfo) GetDCallDeviceInfo() argument
H A Ddistributed_call_manager.cpp116 OHOS::DistributedHardware::DCallDeviceInfo devInfo; in CreateDAudioDevice() local
117 int32_t ret = dcallProxy_->GetDCallDeviceInfo(devId, devInfo); in CreateDAudioDevice()
123 std::string devName = devInfo.devName; in CreateDAudioDevice()
124 if (devInfo.devType == OHOS::DistributedHardware::DCallDeviceType::DISTRIBUTED_DEVICE_PHONE) { in CreateDAudioDevice()
127 } else if (devInfo.devType == OHOS::DistributedHardware::DCallDeviceType::DISTRIBUTED_DEVICE_PAD) { in CreateDAudioDevice()
/base/telephony/call_manager/services/distributed_call/include/
H A Ddistributed_call_proxy.h39 int32_t GetDCallDeviceInfo(const std::string &devId, OHOS::DistributedHardware::DCallDeviceInfo& devInfo);
/base/telephony/call_manager/services/distributed_call/include/dcall/
H A Didcall_client.h40 virtual int32_t GetDCallDeviceInfo(const std::string &devId, DCallDeviceInfo& devInfo) = 0;
/base/usb/usb_manager/services/native/include/
H A Dusb_service.h117 int32_t RegBulkCallback(const HDI::Usb::V1_0::UsbDev &devInfo, const HDI::Usb::V1_0::UsbPipe &pipe,
119 int32_t UnRegBulkCallback(const HDI::Usb::V1_0::UsbDev &devInfo, const HDI::Usb::V1_0::UsbPipe &pipe) override;
121 const HDI::Usb::V1_0::UsbDev &devInfo, const HDI::Usb::V1_0::UsbPipe &pipe, sptr<Ashmem> &ashmem) override;
123 const HDI::Usb::V1_0::UsbDev &devInfo, const HDI::Usb::V1_0::UsbPipe &pipe, sptr<Ashmem> &ashmem) override;
124 int32_t BulkCancel(const HDI::Usb::V1_0::UsbDev &devInfo, const HDI::Usb::V1_0::UsbPipe &pipe) override;
174 void ExecuteStrategy(UsbDevice *devInfo);
/base/security/access_token/services/tokensyncmanager/src/remote/
H A Dremote_command_manager.cpp213 DeviceInfo devInfo; in NotifyDeviceOffline() local
214 bool result = DeviceInfoManager::GetInstance().GetDeviceInfo(nodeId, DeviceIdType::UNKNOWN, devInfo); in NotifyDeviceOffline()
219 std::string uniqueDeviceId = devInfo.deviceId.uniqueDeviceId; in NotifyDeviceOffline()
/base/notification/distributed_notification_service/services/distributed/src/
H A Ddistributed_screen_status_manager.cpp206 for (auto devInfo : devInfoList) { in CheckRemoteDevicesIsUsing()
207 if (strcmp(devInfo.deviceId, deviceId.c_str()) == 0) { in CheckRemoteDevicesIsUsing()
/base/usb/usb_manager/services/zidl/include/
H A Dusb_server_proxy.h100 int32_t GetDeviceMessageParcel(MessageParcel &data, UsbDevice &devInfo);
H A Dusb_server_stub.h83 int32_t SetDeviceMessageParcel(UsbDevice &devInfo, MessageParcel &data);
/base/telephony/call_manager/test/unittest/call_manager_zero_gtest/src/
H A Dzero_branch6_test.cpp632 OHOS::DistributedHardware::DCallDeviceInfo devInfo; in HWTEST_F() local
633 int32_t res5 = proxy->GetDCallDeviceInfo(TEST_STR, devInfo); in HWTEST_F()
638 proxy->GetDCallDeviceInfo(TEST_STR, devInfo); in HWTEST_F()
/base/security/device_auth/services/legacy/group_manager/src/group_operation/
H A Dgroup_operation.c146 TrustedDeviceEntry *devInfo = (TrustedDeviceEntry*)(*devInfoPtr); in GenerateReturnDeviceVec() local
153 int32_t result = GenerateReturnDevInfo(devInfo, devInfoJson); in GenerateReturnDeviceVec()
/base/location/services/location_gnss/gnss/source/
H A Dgnss_ability.cpp1089 auto itDevInfo = itDevicesInfo->devInfo.begin(); in IsDeviceLoaded()
1090 for (;itDevInfo != itDevicesInfo->devInfo.end(); itDevInfo++) { in IsDeviceLoaded()
1095 if (itDevInfo == itDevicesInfo->devInfo.end()) { in IsDeviceLoaded()

Completed in 21 milliseconds