Home
last modified time | relevance | path

Searched defs:device (Results 1 – 25 of 157) sorted by relevance

1234567

/base/msdp/device_status/intention/cooperate/plugin/src/
Dinput_device_mgr.cpp78 for (const auto &device : notice.devices) { in OnRemoteInputDevice() local
93 for (const auto &device : remoteDevices_[networkId]) { in AddVirtualInputDevice() local
103 for (const auto &device : remoteDevices_[networkId]) { in RemoveVirtualInputDevice() local
113 for (const auto &device : deviceSet) { in RemoveAllVirtualInputDevice() local
198 auto device = env_->GetDeviceManager().GetDevice(notice.deviceId); in BroadcastHotPlugToRemote() local
219 …utDeviceMgr::RemoveRemoteInputDevice(const std::string &networkId, std::shared_ptr<IDevice> device) in RemoveRemoteInputDevice()
230 …InputDeviceMgr::AddRemoteInputDevice(const std::string &networkId, std::shared_ptr<IDevice> device) in AddRemoteInputDevice()
257 void InputDeviceMgr::DispDeviceInfo(std::shared_ptr<IDevice> device) in DispDeviceInfo()
287 int32_t InputDeviceMgr::SerializeDevice(std::shared_ptr<IDevice> device, NetPacket &packet) in SerializeDevice()
302 std::shared_ptr<MMI::InputDevice> InputDeviceMgr::Transform(std::shared_ptr<IDevice> device) in Transform()
[all …]
/base/usb/usb_manager/test/native/service_unittest/src/
Dusb_device_pipe_test.cpp94 UsbDevice device; variable
131 UsbDevice device; variable
170 UsbDevice device; variable
211 UsbDevice device; variable
255 UsbDevice device; variable
299 UsbDevice device; variable
343 UsbDevice device; variable
388 UsbDevice device; variable
435 UsbDevice device; variable
482 UsbDevice device; variable
[all …]
Dusb_device_status_test.cpp95 UsbDevice device; variable
139 UsbDevice device; variable
186 UsbDevice device; variable
233 UsbDevice device; variable
282 UsbDevice device; variable
332 UsbDevice device; variable
383 UsbDevice device; variable
434 UsbDevice device; variable
485 UsbDevice device; variable
534 UsbDevice device; variable
[all …]
Dusb_bulkcallback_test.cpp127 UsbDevice device = devi.front(); variable
175 UsbDevice device = devi.front(); variable
223 UsbDevice device = devi.front(); variable
273 UsbDevice device = devi.front(); variable
323 UsbDevice device = devi.front(); variable
373 UsbDevice device = devi.front(); variable
424 UsbDevice device = devi.front(); variable
478 UsbDevice device = devi.front(); variable
532 UsbDevice device = devi.front(); variable
588 UsbDevice device = devi.front(); variable
[all …]
Dusb_request_test.cpp90 UsbDevice device; variable
141 UsbDevice device; variable
195 UsbDevice device; variable
246 UsbDevice device; variable
297 UsbDevice device; variable
351 UsbDevice device; variable
405 UsbDevice device; variable
461 UsbDevice device; variable
517 UsbDevice device; variable
576 UsbDevice device; variable
[all …]
Dusb_submit_transfer_bulk_test.cpp96 UsbDevice device; in UsbSubmitTransferBulkWriteThreadFunc() local
185 UsbDevice device; variable
247 UsbDevice device; variable
305 UsbDevice device; variable
364 UsbDevice device; variable
424 UsbDevice device; variable
492 UsbDevice device; variable
558 UsbDevice device; variable
Dusb_submit_transfer_isochronous_test.cpp92 UsbDevice device; variable
154 UsbDevice device; variable
213 UsbDevice device; variable
273 UsbDevice device; variable
328 UsbDevice device; variable
/base/location/test/location_locator/source/
Dlocator_required_data_manager_test.cpp134 Bluetooth::BluetoothRemoteDevice device; variable
158 Bluetooth::BluetoothRemoteDevice device; variable
170 Bluetooth::BluetoothRemoteDevice device; variable
182 Bluetooth::BluetoothRemoteDevice device; variable
194 Bluetooth::BluetoothRemoteDevice device; variable
206 Bluetooth::BluetoothRemoteDevice device; variable
229 Bluetooth::BluetoothRemoteDevice device; variable
/base/security/device_security_level/services/dslm/
Ddslm_inner_process.c38 int32_t CheckAndGenerateChallenge(DslmDeviceInfo *device) in CheckAndGenerateChallenge()
56 int32_t SendDeviceInfoRequest(DslmDeviceInfo *device) in SendDeviceInfoRequest()
79 int32_t VerifyDeviceInfoResponse(DslmDeviceInfo *device, const MessageBuff *buff) in VerifyDeviceInfoResponse()
/base/telephony/call_manager/services/telephony_interaction/src/
Dbluetooth_call_connection.cpp50 Bluetooth::BluetoothRemoteDevice device(macAddress_); in Dial() local
73 Bluetooth::BluetoothRemoteDevice device(macAddress_, 1); in ConnectBtSco() local
91 Bluetooth::BluetoothRemoteDevice device(macAddress_, 1); in DisConnectBtSco() local
109 Bluetooth::BluetoothRemoteDevice device(macAddress_, 1); in GetBtScoIsConnected() local
133 Bluetooth::BluetoothRemoteDevice device(macAddress_); in GetSupportBtCall() local
/base/telephony/call_manager/services/audio/src/
Daudio_device_manager.cpp349 auto device = DelayedSingleton<AudioControlManager>::GetInstance()->GetInitAudioDeviceType(); in InitAudioDevice() local
361 AudioDevice device = { in ProcessEvent() local
406 bool AudioDeviceManager::SwitchDevice(AudioDeviceType device) in SwitchDevice()
485 AudioDevice device; in EnableNearlink() local
497 AudioDevice device; in EnableBtHearingAid() local
536 AudioDevice device = { in SetCurrentAudioDevice() local
549 void AudioDeviceManager::SetCurrentAudioDevice(const AudioDevice &device) in SetCurrentAudioDevice()
584 int32_t AudioDeviceManager::ReportAudioDeviceChange(const AudioDevice &device) in ReportAudioDeviceChange()
653 AudioDevice device; in UpdateNearlinkDevice() local
668 AudioDevice device; in UpdateBtHearingAidDevice() local
[all …]
Daudio_control_manager.cpp113 AudioDevice device = { in HandleCallStateUpdatedForVoip() local
165 AudioDevice device = { in VideoStateUpdated() local
207 VideoStateType nextVideoState, AudioDeviceType &initDeviceType, AudioDevice &device) in CheckTypeAndSetAudioDevice()
247 AudioDevice device = { in UpdateDeviceTypeForVideoOrSatelliteCall() local
269 AudioDevice device = { in UpdateDeviceTypeForCrs() local
298 AudioDevice device = { in UpdateDeviceTypeForVideoDialing() local
505 AudioDevice device = { in ResumeCrsSoundTone() local
547 int32_t AudioControlManager::SetAudioDevice(const AudioDevice &device) in SetAudioDevice()
557 int32_t AudioControlManager::SetAudioDevice(const AudioDevice &device, bool isByUser) in SetAudioDevice()
614 int32_t AudioControlManager::HandleDistributeAudioDevice(const AudioDevice &device) in HandleDistributeAudioDevice()
[all …]
/base/telephony/call_manager/services/distributed_call/src/
Ddistributed_call_manager.cpp70 bool IsDistributedAudioDevice(const AudioDevice& device) in IsDistributedAudioDevice()
112 bool DistributedCallManager::CreateDAudioDevice(const std::string& devId, AudioDevice& device) in CreateDAudioDevice()
155 std::string DistributedCallManager::GetDevIdFromAudioDevice(const AudioDevice& device) in GetDevIdFromAudioDevice()
205 AudioDevice device; in AddDCallDevice() local
287 void DistributedCallManager::GetConnectedDCallDevice(AudioDevice& device) in GetConnectedDCallDevice()
296 void DistributedCallManager::SetConnectedDCallDevice(const AudioDevice& device) in SetConnectedDCallDevice()
314 bool DistributedCallManager::SwitchOnDCallDeviceSync(const AudioDevice& device) in SwitchOnDCallDeviceSync()
392 void DistributedCallManager::SwitchOnDCallDeviceAsync(const AudioDevice& device) in SwitchOnDCallDeviceAsync()
458 void DistributedCallManager::ReportDistributedDeviceInfo(const AudioDevice& device) in ReportDistributedDeviceInfo()
475 for (auto device = descs.begin(); device != descs.end(); device++) { in ReportDistributedDeviceInfo() local
[all …]
/base/security/device_security_level/test/dslm_unit_test/
Ddslm_test.cpp662 static void BlockCheckDeviceStatus(const DeviceIdentify *device, uint32_t status, uint64_t millisec) in BlockCheckDeviceStatus()
1369 const DeviceIdentify device = {DEVICE_ID_MAX_LEN, {'a', 'b', 'c', 'd', 'e', 'f', 'g'}}; variable
1421 const DeviceIdentify device = {DEVICE_ID_MAX_LEN, {'a', 'b', 'c', 'd', 'e', 'f', 'g'}}; variable
1441 const DeviceIdentify device = {DEVICE_ID_MAX_LEN, {0, 'b', 'c', 'd', 'e', 'f', 'g'}}; variable
1461 const DeviceIdentify device = {DEVICE_ID_MAX_LEN, {'a'}}; variable
1539 const DeviceIdentify device = {DEVICE_ID_MAX_LEN, {'a', 'b', 'c', 'd', 'e', 'f', 'a', 'b'}}; variable
1555 const DeviceIdentify device = {DEVICE_ID_MAX_LEN, {'a', 'b', 'c', 'd', 'e', 'f', 'a', 'b'}}; variable
1572 … const DeviceIdentify device = {DEVICE_ID_MAX_LEN, {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i'}}; variable
1586 const DeviceIdentify *device = nullptr; variable
1600 DeviceIdentify device = {8, {'a', 'b', 'c', 'd', 'e', 'f', 'g'}}; variable
[all …]
/base/notification/distributed_notification_service/services/distributed/src/soft_bus/
Ddistributed_service.cpp111 void DistributedService::ConnectPeerDevice(DistributedDeviceInfo device) in ConnectPeerDevice()
128 void DistributedService::AddDevice(DistributedDeviceInfo device) in AddDevice()
158 DistributedDeviceInfo device; in ReleaseDevice() local
203 DistributedDeviceInfo device; in DeviceStatusChange() local
282 const DistributedDeviceInfo& device) in OnOperationResponse()
337 DistributedDeviceInfo device; in HandleDeviceUsingChange() local
359 const DistributedDeviceInfo& device) in OnOperationResponse()
406 for (auto& device : peerDevices) { in SyncInstalledBundle() local
440 DistributedDeviceInfo device; in HandleMatchSync() local
Ddistributed_bundle_service.cpp57 DistributedDeviceInfo device; in HandleBundleIconSync() local
95 void DistributedBundleService::GenerateBundleIconSync(const DistributedDeviceInfo& device) in GenerateBundleIconSync()
154 for (auto& device : peerDevices) { in HandleBundleRemoved() local
196 for (auto& device : updateDeviceList) { in HandleBundleChanged() local
240 for (auto& device : peerDevices) { in GetNeedUpdateDevice() local
277 DistributedDeviceInfo device; in SetDeviceBundleList() local
333 DistributedDeviceInfo device; in HandleBundleIconSync() local
/base/telephony/call_manager/services/call/src/
Dbluetooth_call_state.cpp27 void BluetoothCallState::OnConnectionStateChanged(const Bluetooth::BluetoothRemoteDevice &device, in OnConnectionStateChanged()
44 void BluetoothCallState::OnScoStateChanged(const Bluetooth::BluetoothRemoteDevice &device, int32_t … in OnScoStateChanged()
Dbluetooth_call.cpp60 Bluetooth::BluetoothRemoteDevice device(macAddress_); in AnswerCall() local
76 Bluetooth::BluetoothRemoteDevice device(macAddress_); in RejectCall() local
94 Bluetooth::BluetoothRemoteDevice device(macAddress_); in HangUpCall() local
206 Bluetooth::BluetoothRemoteDevice device(macAddress_); in StartDtmf() local
/base/update/packaging_tools/
Dbuild_module_img.py45 def sparse_img2simg(is_sparse, device): argument
64 def resize_img(device): argument
79 def sign_img(device, pubkey, privkey, output): argument
/base/notification/distributed_notification_service/services/ans/src/
Ddistributed_device_status.cpp66 void ChangeStatus(DeviceStatus& device, const std::string &deviceType, const uint32_t status, in ChangeStatus()
127 for (auto device = deviceInfo_.begin(); device != deviceInfo_.end(); device++) { in SetDeviceStatus() local
149 DeviceStatus device = DeviceStatus(deviceType, deviceStatusId); in SetDeviceStatus() local
167 for (DeviceStatus device : deviceInfo_) { in GetMultiDeviceStatus() local
/base/security/device_security_level/oem_property/ohos/common/
Ddslm_ohos_verify.c46 static int32_t CheckCredInfo(const struct DeviceIdentify *device, DslmCredInfo *info, uint32_t maxL… in CheckCredInfo()
169 static int32_t VerifyNonceOfCertChain(const char *jsonStr, const struct DeviceIdentify *device, uin… in VerifyNonceOfCertChain()
209 static int32_t VerifyLiteDslmCred(const DeviceIdentify *device, const DslmCredBuff *credBuff, DslmC… in VerifyLiteDslmCred()
235 static int32_t VerifyStandardDslmCred(const DeviceIdentify *device, uint64_t challenge, const DslmC… in VerifyStandardDslmCred()
280 int32_t VerifyOhosDslmCred(const DeviceIdentify *device, uint64_t challenge, const DslmCredBuff *cr… in VerifyOhosDslmCred()
Ddslm_ohos_request.c61 static int32_t GenerateDslmCertChain(const DeviceIdentify *device, const RequestObject *obj, char *… in GenerateDslmCertChain()
103 static int32_t SelectDslmCredType(const DeviceIdentify *device, const RequestObject *obj, uint32_t … in SelectDslmCredType()
131 static int32_t RequestStandardDslmCred(const DeviceIdentify *device, const RequestObject *obj, char… in RequestStandardDslmCred()
217 int32_t RequestOhosDslmCred(const DeviceIdentify *device, const RequestObject *obj, DslmCredBuff **… in RequestOhosDslmCred()
/base/telephony/call_manager/services/bluetooth/src/
Dbluetooth_connection.cpp80 for (auto device : devices) { in Init() local
162 …uetoothConnection::AddBtDevice(const std::string &address, Bluetooth::BluetoothRemoteDevice device) in AddBtDevice()
198 void BluetoothConnection::OnConnectionStateChanged(const Bluetooth::BluetoothRemoteDevice &device, in OnConnectionStateChanged()
226 Bluetooth::BluetoothRemoteDevice device(address); in OnVirtualDeviceChanged() local
/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_distributed_options.cpp59 for (const auto &device : devicesSupportDisplay_) { in Dump() local
65 for (const auto &device : devicesSupportOperate_) { in Dump() local
/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/PermDenyTest/
Daccesstoken_deny_test.cpp464 std::string device = "device"; variable
477 std::string device = "device"; variable
490 std::string device = "device"; variable
503 std::string device = "device"; variable

1234567