Searched refs:deviceCategory_ (Results 1 – 11 of 11) sorted by relevance
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/bluetoothclient/ |
H A D | bluetooth_device_manager.cpp | 214 desc.deviceCategory_ = bluetoothCategory; in HandleConnectDevice() 258 desc.deviceCategory_ = CATEGORY_DEFAULT; in HandleDisconnectDevice() 277 desc.deviceCategory_ = BT_HEADPHONE; in HandleWearDevice() 353 desc.deviceCategory_ = BT_HEADPHONE; in HandleWearEnable() 376 desc.deviceCategory_ = BT_HEADPHONE; in HandleWearDisable() 400 desc.deviceCategory_ = bluetoothCategory; in HandleVirtualConnectDevice() 414 desc.deviceCategory_ = CATEGORY_DEFAULT; in HandleRemoveVirtualConnectDevice() 672 desc.deviceCategory_ = CATEGORY_DEFAULT; in HandleDisconnectDevice() 692 desc.deviceCategory_ = BT_HEADPHONE; in HandleWearDevice() 770 desc.deviceCategory_ = BT_HEADPHONE; in HandleWearEnable() [all …]
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/client/src/ |
H A D | audio_device_descriptor.cpp | 37 deviceCategory_ = CATEGORY_DEFAULT; in AudioDeviceDescriptor() 59 deviceCategory_ = CATEGORY_DEFAULT; in AudioDeviceDescriptor() 89 deviceCategory_ = deviceDescriptor.deviceCategory_; in AudioDeviceDescriptor() 116 deviceCategory_ = deviceDescriptor->deviceCategory_; in AudioDeviceDescriptor() 159 parcel.WriteInt32(deviceCategory_); in Marshalling() 187 audioDeviceDescriptor->deviceCategory_ = static_cast<DeviceCategory>(in.ReadInt32()); in Unmarshalling()
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/ |
H A D | audio_device_manager.cpp | 106 ((devInfo.deviceCategory == devDesc->deviceCategory_) || in DeviceAttrMatch() 107 ((devInfo.deviceCategory & devDesc->deviceCategory_) != 0))) { in DeviceAttrMatch() 326 …if (devDesc->deviceType_ == DEVICE_TYPE_BLUETOOTH_SCO && devDesc->deviceCategory_ == CATEGORY_DEFA… in HandleScoWithDefaultCategory() 420 devices.append(":" + std::to_string(static_cast<uint32_t>(iter->deviceCategory_))); in GetConnDevicesStr() 510 if (desc == nullptr || desc->deviceCategory_ != BT_CAR) { in GetCommRenderBTCarDevices() 910 desc->deviceCategory_ != devDesc->deviceCategory_) { in UpdateDeviceCategory() 911 desc->deviceCategory_ = devDesc->deviceCategory_; in UpdateDeviceCategory() 912 if (devDesc->deviceCategory_ == BT_UNWEAR_HEADPHONE) { in UpdateDeviceCategory() 1081 …EBUG_LOG("device type [%{public}d] category [%{public}d]", desc.deviceType_, desc.deviceCategory_); in GetDeviceUsage() 1085 ((devInfo.deviceCategory & desc.deviceCategory_) || devInfo.deviceCategory == 0)) { in GetDeviceUsage() [all …]
|
H A D | audio_policy_service.cpp | 1259 bean->Add("BT_TYPE", curOutputDeviceDesc.deviceCategory_); in WriteSelectOutputSysEvents() 1544 bean->Add("BT_TYPE", selectedDesc[0]->deviceCategory_); in WriteSelectInputSysEvents() 2091 return currentActiveDevice_.deviceCategory_; in GetCurrentOutputDeviceCategory() 3769 …if (audioDescriptor->deviceCategory_ != BT_UNWEAR_HEADPHONE && audioDescriptor->deviceCategory_ !=… in UpdateConnectedDevicesWhenConnectingForInputDevice() 5183 deviceInfo.deviceCategory = desc->deviceCategory_; in UpdateDeviceInfo() 5620 bean->Add("BT_TYPE", deviceDescriptor->deviceCategory_); in WriteOutDeviceChangedSysEvents() 5637 bean->Add("BT_TYPE", deviceDescriptor->deviceCategory_); in WriteInDeviceChangedSysEvents() 7775 if (desc.deviceCategory_ == BT_UNWEAR_HEADPHONE) { in OnPreferredStateUpdated() 7830 desc.deviceType_, command, desc.deviceCategory_, desc.connectState_, desc.isEnable_); in OnDeviceInfoUpdated() 7879 …if (desc.deviceType_ == DEVICE_TYPE_BLUETOOTH_SCO && (desc.deviceCategory_ == BT_UNWEAR_HEADPHONE … in DeviceUpdateClearRecongnitionStatus()
|
/ohos5.0/foundation/multimedia/media_foundation/services/media_monitor/server/src/ |
H A D | audio_memo.cpp | 47 iter->second->deviceCategory_ = bean->GetIntValue("BT_TYPE"); in UpdataRouteInfo() 57 deviceInfo->deviceCategory_ = bean->GetIntValue("BT_TYPE"); in UpdataRouteInfo()
|
H A D | media_monitor_stub.cpp | 62 reply.WriteInt32(it.second->deviceCategory_); in HandleGetAudioRouteMsg()
|
/ohos5.0/foundation/multimedia/media_foundation/services/media_monitor/common/include/ |
H A D | media_monitor_info.h | 77 int32_t deviceCategory_ = -1; member
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/routers/ |
H A D | cockpit_phone_router.cpp | 30 if (desc == nullptr || desc->deviceCategory_ != BT_CAR) { in GetBTCarDevices()
|
H A D | audio_router_center.cpp | 109 if (desc->deviceType_ == DEVICE_TYPE_BLUETOOTH_SCO && desc->deviceCategory_ == BT_CAR) { in HasScoDevice()
|
/ohos5.0/foundation/multimedia/media_foundation/services/media_monitor/client/src/ |
H A D | media_monitor_client.cpp | 73 deviceInfo->deviceCategory_ = reply.ReadInt32(); in GetAudioRouteMsg()
|
/ohos5.0/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiomanager/include/ |
H A D | audio_system_manager.h | 54 DeviceCategory deviceCategory_ = CATEGORY_DEFAULT; variable
|