/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/interface/ |
H A D | idevice_status_observer.h | 26 virtual void OnDeviceStatusUpdated(DeviceType devType, bool isConnected, 29 virtual void OnPnpDeviceStatusUpdated(DeviceType devType, bool isConnected) = 0; 30 virtual void OnPnpDeviceStatusUpdated(DeviceType devType, bool isConnected, 32 virtual void OnMicrophoneBlockedUpdate(DeviceType devType, DeviceBlockStatus status) = 0; 39 virtual void OnForcedDeviceSelected(DeviceType devType, const std::string &macAddress) = 0;
|
/foundation/ability/ability_base/test/unittest/want/ |
H A D | extra_params_test.cpp | 43 std::vector<string> devType;
in HWTEST_F() local 45 extraParams.SetDevType(devType);
in HWTEST_F() 47 EXPECT_EQ(result, devType);
in HWTEST_F() 100 std::vector<string> devType;
in HWTEST_F() local 101 extraParams.SetDevType(devType);
in HWTEST_F() 124 std::vector<string> devType;
in HWTEST_F() local 128 ExtraParams extraParams(devType, targetBundleName, description, jsonParams);
in HWTEST_F()
|
/foundation/ability/ability_base/interfaces/kits/native/want/src/ |
H A D | extra_params.cpp | 78 * @brief A constructor used to create an {@code ExtraParams} instance based on the input parameters{@code devType}, 81 * @param devType Indicates the type of devices to be matched. This parameter can be any combination of 93 ExtraParams::ExtraParams(const std::vector<string> &devType, const string &targetBundleName, const string &description, in ExtraParams() argument 96 devType_ = devType; in ExtraParams() 112 * @param devType Indicates the type of devices to be matched. This parameter can be any combination of 118 void ExtraParams::SetDevType(const std::vector<string> &devType) in SetDevType() argument 120 devType_ = devType; in SetDevType() 213 // devType in Marshalling() 237 // devType. in Unmarshalling()
|
/foundation/communication/dsoftbus/core/adapter/bus_center/src/ |
H A D | bus_center_adapter.c | 150 const char *devType = NULL; in GetCommonDevInfo() local 165 devType = GetDeviceType(); in GetCommonDevInfo() 166 LNN_LOGI(LNN_STATE, "get device from GetDeviceType, GetDeviceType=%{public}s", devType); in GetCommonDevInfo() 167 if (devType != NULL) { in GetCommonDevInfo() 169 if (SoftBusConvertDeviceType(devType, softBusDevType, DEVICE_TYPE_BUF_LEN) != SOFTBUS_OK) { in GetCommonDevInfo()
|
/foundation/ability/ability_base/interfaces/kits/native/want/include/ |
H A D | extra_params.h | 53 * @brief A constructor used to create an {@code ExtraParams} instance based on the input parameters{@code devType}, 56 * @param devType Indicates the type of devices to be matched. This parameter can be any combination of 68 ExtraParams(const std::vector<string> &devType, const string &targetBundleName, const string &description, 80 * @param devType Indicates the type of devices to be matched. This parameter can be any combination of 86 void SetDevType(const std::vector<string> &devType);
|
/foundation/multimodalinput/input/tools/event_inject/include/ |
H A D | msg_head.h | 49 int32_t devType; member 69 int32_t devType; member
|
H A D | injection_event_dispatch.h | 45 int32_t GetDevIndexType(int32_t devType) const;
|
/foundation/multimedia/audio_framework/services/audio_policy/test/unittest/audio_socket_thread_test/src/ |
H A D | audio_socket_thread_test.cpp | 312 .devType = "headset", in HWTEST_F() 341 .devType = "headset", in HWTEST_F() 370 .devType = "headset_without_mic", in HWTEST_F() 400 .devType = "adapter", in HWTEST_F() 430 .devType = "mic", in HWTEST_F() 460 .devType = "mic", in HWTEST_F() 490 .devType = "unknown", in HWTEST_F() 520 .devType = "extcon", in HWTEST_F() 545 .devType = "headset", in HWTEST_F() 570 .devType in HWTEST_F() [all...] |
/foundation/multimedia/audio_framework/test/fuzztest/audiobluetoothmanager_fuzzer/ |
H A D | audiobluetoothmanager_fuzzer.cpp | 43 DeviceType devType = *reinterpret_cast<const DeviceType *>(rawData); in AudioBluetoothManagerFuzzTest() local 55 .OnDeviceStatusUpdated(devType, isConnected, macAddress, deviceName, audioStreamInfo); in AudioBluetoothManagerFuzzTest() 58 .OnDeviceConfigurationChanged(devType, macAddress, deviceName, audioStreamInfo); in AudioBluetoothManagerFuzzTest()
|
/foundation/multimodalinput/input/tools/event_inject/src/ |
H A D | injection_event_dispatch.cpp | 292 return item.devType; in GetDevTypeIndex() 298 int32_t InjectionEventDispatch::GetDevIndexType(int32_t devType) const in GetDevIndexType() 301 if (item.devType == devType) { in GetDevIndexType()
|
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/localhardwaremanager/ |
H A D | local_hardware_manager.cpp | 137 uint16_t devType = DHContext::GetInstance().GetDeviceInfo().deviceType; in AddLocalCapabilityInfo() local 140 dhItem.dhId, deviceId, devName, devType, dhType, dhItem.attrs, dhItem.subtype); in AddLocalCapabilityInfo() 152 uint16_t devType = DHContext::GetInstance().GetDeviceInfo().deviceType; in AddLocalMetaCapInfo() local 158 dhItem.dhId, deviceId, devName, devType, dhType, dhItem.attrs, dhItem.subtype, udidHash, in AddLocalMetaCapInfo()
|
H A D | plugin_listener_impl.cpp | 46 uint16_t devType = DHContext::GetInstance().GetDeviceInfo().deviceType; in PluginHardware() local 48 std::make_shared<CapabilityInfo>(dhId, deviceId, devName, devType, dhType_, attrs, subtype); in PluginHardware()
|
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/include/resourcemanager/ |
H A D | capability_info.h | 41 CapabilityInfo(std::string dhId, std::string devId, std::string devName, uint16_t devType, DHType dhType, in CapabilityInfo() argument 43 : dhId_(dhId), deviceId_(devId), deviceName_(devName), deviceType_(devType), dhType_(dhType), dhAttrs_(dhAttrs), in CapabilityInfo()
|
H A D | meta_capability_info.h | 36 MetaCapabilityInfo(std::string dhId, std::string devId, std::string devName, uint16_t devType, DHType dhType, in MetaCapabilityInfo() argument 38 : CapabilityInfo(dhId, devId, devName, devType, dhType, dhAttrs, dhSubtype), in MetaCapabilityInfo()
|
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/fuzztest/resourcemanager_fuzzer/ |
H A D | resourcemanager_fuzzer.cpp | 48 uint16_t devType = *(reinterpret_cast<const uint16_t*>(data)); in ResourceManagerFuzzTest() local 54 std::make_shared<CapabilityInfo>(dhId, devId, devName, devType, dhType, dhAttrs, dhSubtype); in ResourceManagerFuzzTest()
|
/foundation/distributedhardware/device_manager/test/softbusfuzztest/softbusconnector_fuzzer/ |
H A D | softbus_connector_fuzzer.cpp | 44 .devType = (DeviceType)1, in SoftBusConnectorFuzzTest()
|
/foundation/communication/dsoftbus/core/bus_center/lnn/disc_mgr/src/ |
H A D | lnn_coap_discovery_impl.c | 94 LNN_LOGI(LNN_BUILDER, "DeviceFound devName=%{public}s, devId=%{public}s, devType=%{public}03X, port=%{public}u", in DeviceFound() 95 AnonymizeWrapper(anonyDevName), AnonymizeWrapper(anonyDevId), device->devType, device->addr[0].info.ip.port); in DeviceFound() 115 info.type = device->devType; in DeviceFound()
|
/foundation/filemanagement/storage_service/services/storage_daemon/disk/src/ |
H A D | disk_manager.cpp | 53 std::string devType = data->GetParam("DEVTYPE"); in HandleDiskEvent() local 54 if (devType != "disk") { in HandleDiskEvent()
|
/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/manager/pnp_server/ |
H A D | audio_pnp_param.h | 98 const char *devType; member
|
/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/ |
H A D | audio_device_manager.h | 45 int32_t GetDeviceUsageFromType(const DeviceType devType) const; 72 vector<unique_ptr<AudioDeviceDescriptor>> GetAvailableBluetoothDevice(DeviceType devType, 77 vector<shared_ptr<AudioDeviceDescriptor>> GetDevicesByFilter(DeviceType devType, DeviceRole devRole,
|
H A D | audio_policy_service.h | 86 void OnMicrophoneBlockedUpdate(DeviceType devType, DeviceBlockStatus status); 88 void OnBlockedStatusUpdated(DeviceType devType, DeviceBlockStatus status); 239 void OnDeviceStatusUpdated(DeviceType devType, bool isConnected, 244 void OnPnpDeviceStatusUpdated(DeviceType devType, bool isConnected); 246 void OnPnpDeviceStatusUpdated(DeviceType devType, bool isConnected, 257 void OnForcedDeviceSelected(DeviceType devType, const std::string &macAddress); 700 void AddAudioDevice(AudioModuleInfo& moduleInfo, InternalDeviceType devType); 759 void AddAudioCapturerMicrophoneDescriptor(int32_t sessionId, DeviceType devType); 761 void UpdateAudioCapturerMicrophoneDescriptor(DeviceType devType); 804 void ResetToSpeaker(DeviceType devType); [all...] |
/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocommon/include/ |
H A D | audio_device_info.h | 459 DeviceType devType = deviceType; in Marshalling() local 467 devType = DEVICE_TYPE_SPEAKER; in Marshalling() 470 devType = DEVICE_TYPE_MIC; in Marshalling() 484 return parcel.WriteInt32(static_cast<int32_t>(devType)) in Marshalling()
|
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/manager/pnp_server/ |
H A D | audio_socket_thread.cpp | 209 if (strncmp(audioPnpUevent->devType, UEVENT_TYPE_EXTCON, strlen(UEVENT_TYPE_EXTCON)) != 0) { in SetAudioPnpServerEventValue() 505 audioPnpUevent->devType == NULL) { in AudioUsbHeadsetDetectDevice() 510 (strcmp(audioPnpUevent->devType, UEVENT_SUBSYSTEM_USB_DEVICE) != 0) || in AudioUsbHeadsetDetectDevice() 570 &audioPnpUevent.state, &audioPnpUevent.devType, &audioPnpUevent.subSystem, in AudioPnpUeventParse()
|
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/ |
H A D | audio_policy_service.cpp | 4053 AUDIO_INFO_LOG("[%{public}s], devType:[%{public}d]", __func__, updatedDesc.deviceType_); in UpdateConnectedDevicesWhenDisconnecting() 4100 void AudioPolicyService::OnPnpDeviceStatusUpdated(DeviceType devType, bool isConnected) in OnPnpDeviceStatusUpdated() argument 4102 CHECK_AND_RETURN_LOG(devType != DEVICE_TYPE_NONE, "devType is none type"); in OnPnpDeviceStatusUpdated() 4105 pnpDeviceList_.push_back({devType, isConnected}); in OnPnpDeviceStatusUpdated() 4112 OnDeviceStatusUpdated(devType, isConnected, "", "", streamInfo); in OnPnpDeviceStatusUpdated() 4115 void AudioPolicyService::OnPnpDeviceStatusUpdated(DeviceType devType, bool isConnected, in OnPnpDeviceStatusUpdated() argument 4118 CHECK_AND_RETURN_LOG(devType != DEVICE_TYPE_NONE, "devType is none type"); in OnPnpDeviceStatusUpdated() 4121 pnpDeviceList_.push_back({devType, isConnecte in OnPnpDeviceStatusUpdated() 4131 OnMicrophoneBlockedUpdate(DeviceType devType, DeviceBlockStatus status) OnMicrophoneBlockedUpdate() argument 4140 OnBlockedStatusUpdated(DeviceType devType, DeviceBlockStatus status) OnBlockedStatusUpdated() argument 4277 HandleSpecialDeviceType(DeviceType &devType, bool &isConnected, const std::string &address) HandleSpecialDeviceType() argument 4330 ResetToSpeaker(DeviceType devType) ResetToSpeaker() argument 4341 OnDeviceStatusUpdated(DeviceType devType, bool isConnected, const std::string& macAddress, const std::string& deviceName, const AudioStreamInfo& streamInfo) OnDeviceStatusUpdated() argument 4411 DeviceType devType = updatedDesc.deviceType_; OnDeviceStatusUpdated() local 4968 DeviceType devType = GetDeviceTypeFromPin(statusInfo.hdiPin); HandleDistributedDeviceUpdate() local 5027 DeviceType devType = GetDeviceTypeFromPin(statusInfo.hdiPin); OnDeviceStatusUpdated() local 5038 auto devType = GetDeviceType(moduleInfo.name); OpenPortAndAddDeviceOnServiceConnected() local 5119 OnForcedDeviceSelected(DeviceType devType, const std::string &macAddress) OnForcedDeviceSelected() argument 5300 AddAudioDevice(AudioModuleInfo& moduleInfo, InternalDeviceType devType) AddAudioDevice() argument 5849 InternalDeviceType devType = InternalDeviceType::DEVICE_TYPE_NONE; GetDeviceType() local 7533 AddAudioCapturerMicrophoneDescriptor(int32_t sessionId, DeviceType devType) AddAudioCapturerMicrophoneDescriptor() argument 7573 UpdateAudioCapturerMicrophoneDescriptor(DeviceType devType) UpdateAudioCapturerMicrophoneDescriptor() argument [all...] |
/foundation/communication/dsoftbus/core/discovery/coap/nstackx_coap/src/ |
H A D | disc_coap_capability.c | 84 "devId=%{public}s, devType=%{public}03x, ip=%{public}s, accountHash=%{public}02X%{public}02X",
in DiscCoapProcessDeviceInfo() 86 devInfo->addr[0].info.ip.port, AnonymizeWrapper(anonymizedId), devInfo->devType,
in DiscCoapProcessDeviceInfo()
|