/base/telephony/call_manager/services/distributed_call/src/distributed_communication/ |
H A D | distributed_device_observer.cpp | 98 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 D | distributed_device_switch_controller.cpp | 27 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 D | distributed_data_source_controller.cpp | 24 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 D | distributed_dev_observer_test.cpp | 41 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 D | distributed_device_observer.h | 32 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 D | i_distributed_device_callback.h | 28 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 D | i_distributed_device_state_callback.h | 27 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 D | distributed_device_switch_controller.h | 28 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 D | distributed_data_source_controller.h | 30 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 D | distributed_data_sink_controller.h | 30 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 D | distributed_data_controller.h | 59 AudioDeviceType devType, int32_t devRole) override {}
|
/base/powermgr/battery_manager/charger/src/dev/ |
H A D | graphic_dev.cpp | 23 std::unique_ptr<DisplayDrv> GraphicDev::MakeDrv(DevType devType) in MakeDrv() argument 26 switch (devType) { in MakeDrv()
|
/base/update/updater/services/ui/driver/ |
H A D | surface_dev.cpp | 25 std::unique_ptr<GraphicDrv> SurfaceDev::MakeDevDrv(DevType devType) in MakeDevDrv() argument 28 switch (devType) { in MakeDevDrv()
|
H A D | surface_dev.h | 42 std::unique_ptr<GraphicDrv> MakeDevDrv(DevType devType);
|
H A D | input_event.cpp | 107 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 D | dcall_device_info.h | 40 DCallDeviceType devType = DCallDeviceType::DISTRIBUTED_DEVICE_UNKNOWN; member
|
/base/powermgr/battery_manager/charger/include/dev/ |
H A D | graphic_dev.h | 40 std::unique_ptr<DisplayDrv> MakeDrv(DevType devType);
|
/base/security/device_auth/services/legacy/group_auth/src/group_auth_manager/group_auth_common/ |
H A D | group_auth_data_operation.c | 50 returnEntry->devType = entry->devType; in GaDeepCopyDeviceEntry()
|
/base/security/device_auth/services/data_manager/inc/ |
H A D | data_manager.h | 54 uint8_t devType; /* 0 - accessory, 1 - controller, 2 - proxy */ member
|
/base/security/device_auth/services/data_manager/src/ |
H A D | data_manager.c | 53 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 D | account_unrelated_group_auth.c | 316 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 D | peer_to_peer_group.c | 199 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 D | distributed_call_manager.cpp | 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/security/device_auth/services/session_manager/src/session/v1/compatible_bind_sub_session/ |
H A D | compatible_bind_sub_session_common.c | 166 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 D | identity_group.c | 462 keyType = deviceEntry->devType; in GenerateKeyAliasForIso() 582 *userType = deviceEntry->devType; in GetSelfAuthIdAndUserType() 620 KeyAliasType keyTypePeer = (KeyAliasType)peerDeviceEntry->devType; in GeneratePeerKeyAlias()
|