Home
last modified time | relevance | path

Searched refs:devType (Results 1 - 25 of 32) sorted by relevance

12

/base/telephony/call_manager/services/distributed_call/src/distributed_communication/
H A Ddistributed_device_observer.cpp98 AudioDeviceType devType) in OnDeviceOnline()
103 callback->OnDeviceOnline(devId, devName, devType); in OnDeviceOnline()
109 AudioDeviceType devType) in OnDeviceOffline()
114 callback->OnDeviceOffline(devId, devName, devType); in OnDeviceOffline()
120 AudioDeviceType devType, int32_t devRole) in OnDistributedAudioDeviceChange()
125 callback->OnDistributedAudioDeviceChange(devId, devName, devType, devRole); in OnDistributedAudioDeviceChange()
141 int32_t devType, int32_t devRole) in OnDistributedDeviceOnline()
143 TELEPHONY_LOGI("dev online, type %{public}d, role %{public}d", devType, devRole); in OnDistributedDeviceOnline()
144 AudioDeviceType deviceType = ConvertDeviceType(devType); in OnDistributedDeviceOnline()
157 int32_t devType, int32_ in OnDistributedAudioDeviceChange()
97 OnDeviceOnline(const std::string &devId, const std::string &devName, AudioDeviceType devType) OnDeviceOnline() argument
108 OnDeviceOffline(const std::string &devId, const std::string &devName, AudioDeviceType devType) OnDeviceOffline() argument
119 OnDistributedAudioDeviceChange(const std::string &devId, const std::string &devName, AudioDeviceType devType, int32_t devRole) OnDistributedAudioDeviceChange() argument
140 OnDistributedDeviceOnline(const std::string &devId, const std::string &devName, int32_t devType, int32_t devRole) OnDistributedDeviceOnline() argument
156 OnDistributedAudioDeviceChange(const std::string &devId, const std::string &devName, int32_t devType, int32_t devRole) OnDistributedAudioDeviceChange() argument
175 OnDistributedDeviceOffline(const std::string &devId, const std::string &devName, int32_t devType, int32_t devRole) OnDistributedDeviceOffline() argument
191 ConvertDeviceType(int32_t devType) ConvertDeviceType() argument
[all...]
H A Ddistributed_device_switch_controller.cpp27 AudioDeviceType devType) in OnDeviceOnline()
32 audioDeviceManager->AddAudioDeviceList(address, devType, devName); in OnDeviceOnline()
37 AudioDeviceType devType) in OnDeviceOffline()
42 audioDeviceManager->RemoveAudioDeviceList(address, devType); in OnDeviceOffline()
48 const std::string &devName, AudioDeviceType devType, int32_t devRole) in OnDistributedAudioDeviceChange()
55 .deviceType = devType, in OnDistributedAudioDeviceChange()
26 OnDeviceOnline(const std::string &devId, const std::string &devName, AudioDeviceType devType) OnDeviceOnline() argument
36 OnDeviceOffline(const std::string &devId, const std::string &devName, AudioDeviceType devType) OnDeviceOffline() argument
47 OnDistributedAudioDeviceChange(const std::string &devId, const std::string &devName, AudioDeviceType devType, int32_t devRole) OnDistributedAudioDeviceChange() argument
H A Ddistributed_data_source_controller.cpp24 AudioDeviceType devType) in OnDeviceOnline()
41 AudioDeviceType devType) in OnDeviceOffline()
23 OnDeviceOnline(const std::string &devId, const std::string &devName, AudioDeviceType devType) OnDeviceOnline() argument
40 OnDeviceOffline(const std::string &devId, const std::string &devName, AudioDeviceType devType) OnDeviceOffline() argument
/base/telephony/call_manager/test/unittest/distributed_communication_test/src/
H A Ddistributed_dev_observer_test.cpp41 int32_t devType = -1; in HWTEST_F() local
67 int32_t ret = deviceCallback->OnDistributedAudioDeviceChange(devId, devName, devType, devRole); in HWTEST_F()
70 devType = 1; in HWTEST_F()
71 ret = deviceCallback->OnDistributedAudioDeviceChange(devId, devName, devType, devRole); in HWTEST_F()
92 int32_t devType = -1; in HWTEST_F() local
97 int32_t ret = deviceCallback->OnDistributedDeviceOnline(devId, devName, devType, devRole); in HWTEST_F()
100 ret = deviceCallback->OnDistributedDeviceOffline(devId, devName, devType, devRole); in HWTEST_F()
103 devType = 1; in HWTEST_F()
104 ret = deviceCallback->OnDistributedDeviceOnline(devId, devName, devType, devRole); in HWTEST_F()
107 ret = deviceCallback->OnDistributedDeviceOffline(devId, devName, devType, devRol in HWTEST_F()
[all...]
/base/telephony/call_manager/services/distributed_call/include/distributed_communication/
H A Ddistributed_device_observer.h32 int32_t devType, int32_t devRole) override;
34 int32_t devType, int32_t devRole) override;
36 int32_t devType, int32_t devRole) override;
39 AudioDeviceType ConvertDeviceType(int32_t devType);
59 void OnDeviceOnline(const std::string &devId, const std::string &devName, AudioDeviceType devType);
60 void OnDeviceOffline(const std::string &devId, const std::string &devName, AudioDeviceType devType);
62 AudioDeviceType devType, int32_t devRole);
H A Di_distributed_device_callback.h28 int32_t devType, int32_t devRole) = 0;
30 int32_t devType, int32_t devRole) = 0;
32 int32_t devType, int32_t devRole) = 0;
H A Di_distributed_device_state_callback.h27 virtual void OnDeviceOnline(const std::string &devId, const std::string &devName, AudioDeviceType devType) = 0;
28 virtual void OnDeviceOffline(const std::string &devId, const std::string &devName, AudioDeviceType devType) = 0;
30 AudioDeviceType devType, int32_t devRole) = 0;
H A Ddistributed_device_switch_controller.h28 void OnDeviceOnline(const std::string &devId, const std::string &devName, AudioDeviceType devType) override;
29 void OnDeviceOffline(const std::string &devId, const std::string &devName, AudioDeviceType devType) override;
31 AudioDeviceType devType, int32_t devRole) override;
H A Ddistributed_data_source_controller.h30 void OnDeviceOnline(const std::string &devId, const std::string &devName, AudioDeviceType devType) override;
31 void OnDeviceOffline(const std::string &devId, const std::string &devName, AudioDeviceType devType) override;
H A Ddistributed_data_sink_controller.h30 void OnDeviceOnline(const std::string &devId, const std::string &devName, AudioDeviceType devType) override {}
31 void OnDeviceOffline(const std::string &devId, const std::string &devName, AudioDeviceType devType) override {}
H A Ddistributed_data_controller.h59 AudioDeviceType devType, int32_t devRole) override {}
/base/powermgr/battery_manager/charger/src/dev/
H A Dgraphic_dev.cpp23 std::unique_ptr<DisplayDrv> GraphicDev::MakeDrv(DevType devType) in MakeDrv() argument
26 switch (devType) { in MakeDrv()
/base/update/updater/services/ui/driver/
H A Dsurface_dev.cpp25 std::unique_ptr<GraphicDrv> SurfaceDev::MakeDevDrv(DevType devType) in MakeDevDrv() argument
28 switch (devType) { in MakeDevDrv()
H A Dsurface_dev.h42 std::unique_ptr<GraphicDrv> MakeDevDrv(DevType devType);
H A Dinput_event.cpp107 uint32_t dev = sta[i].devType; in HdfInit()
113 LOG(INFO) << "hdf devType:" << dev << ", devIndex:" << idx; in HdfInit()
/base/telephony/call_manager/services/distributed_call/include/dcall/
H A Ddcall_device_info.h40 DCallDeviceType devType = DCallDeviceType::DISTRIBUTED_DEVICE_UNKNOWN; member
/base/powermgr/battery_manager/charger/include/dev/
H A Dgraphic_dev.h40 std::unique_ptr<DisplayDrv> MakeDrv(DevType devType);
/base/security/device_auth/services/legacy/group_auth/src/group_auth_manager/group_auth_common/
H A Dgroup_auth_data_operation.c50 returnEntry->devType = entry->devType; in GaDeepCopyDeviceEntry()
/base/security/device_auth/services/data_manager/inc/
H A Ddata_manager.h54 uint8_t devType; /* 0 - accessory, 1 - controller, 2 - proxy */ member
/base/security/device_auth/services/data_manager/src/
H A Ddata_manager.c53 uint8_t devType; member
292 returnEntry->devType = entry->devType; in GenerateDeviceEntryFromEntry()
360 deviceEntry->devType = device->info.data.devType; in GenerateDeviceEntryFromTlv()
750 element->info.data.devType = entry->devType; in SetDeviceElement()
1011 int userType = deviceInfo->devType; in AddUserTypeToReturn()
1603 dprintf(fd, "|||%-12s = %-28d| |\n", "devType", device->devType); in DumpDevice()
[all...]
/base/security/device_auth/services/legacy/group_auth/src/group_auth_manager/account_unrelated_group_auth/
H A Daccount_unrelated_group_auth.c316 if (AddIntToJson(paramsData, FIELD_SELF_TYPE, localAuthInfo->devType) != HC_SUCCESS) { in AddNonAccountAuthInfo()
317 LOGE("Failed to add self devType to paramsData from db!"); in AddNonAccountAuthInfo()
328 if (AddIntToJson(paramsData, FIELD_PEER_USER_TYPE, peerAuthInfo->devType) != HC_SUCCESS) { in AddNonAccountAuthInfo()
329 LOGE("Failed to add peer devType to paramsData from db!"); in AddNonAccountAuthInfo()
/base/security/device_auth/services/legacy/group_manager/src/group_operation/peer_to_peer_group/
H A Dpeer_to_peer_group.c199 peerUserType = devAuthParams->devType; in GetPeerDevUserTypeFromDb()
295 if (AddIntToJson(jsonParams, FIELD_USER_TYPE, deviceInfo->devType) != HC_SUCCESS) { in AddAuthIdAndUserTypeToParams()
/base/telephony/call_manager/services/distributed_call/src/
H A Ddistributed_call_manager.cpp124 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/security/device_auth/services/session_manager/src/session/v1/compatible_bind_sub_session/
H A Dcompatible_bind_sub_session_common.c166 if ((deviceInfo->devType != userType) || ((oriAuthId != NULL) && (strcmp(oriAuthId, authId) != 0))) { in CheckAuthIdAndUserTypeValid()
304 if (AddIntToJson(params, FIELD_USER_TYPE, devAuthParams->devType) != HC_SUCCESS) { in AddDevInfoToParams()
/base/security/device_auth/services/identity_manager/src/
H A Didentity_group.c462 keyType = deviceEntry->devType; in GenerateKeyAliasForIso()
582 *userType = deviceEntry->devType; in GetSelfAuthIdAndUserType()
620 KeyAliasType keyTypePeer = (KeyAliasType)peerDeviceEntry->devType; in GeneratePeerKeyAlias()

Completed in 24 milliseconds

12