/drivers/peripheral/audio/test/sample/ |
D | framework_event.c | 32 static int32_t AudioServiceDeviceVal(enum AudioDeviceType deviceType) in AudioServiceDeviceVal() argument 34 switch (deviceType) { in AudioServiceDeviceVal() 48 static int32_t AudioServiceDeviceInVal(enum AudioDeviceType deviceType) in AudioServiceDeviceInVal() argument 50 switch (deviceType) { in AudioServiceDeviceInVal() 74 return AudioServiceDeviceVal(svcMsg->deviceType); in AudioServiceMsgParse() 76 return AudioServiceDeviceInVal(svcMsg->deviceType); in AudioServiceMsgParse() 90 .deviceType = HDF_AUDIO_DEVICE_UNKOWN, in AudioGetServiceStatus() 97 (AudioPnpMsgReadValue(strTemp, "DEVICE_TYPE", &(serviceMsg.deviceType)) != HDF_SUCCESS)) { in AudioGetServiceStatus() 107 static int32_t AudioLoadDeviceSucc(enum AudioDeviceType deviceType) in AudioLoadDeviceSucc() argument 109 switch (deviceType) { in AudioLoadDeviceSucc() [all …]
|
/drivers/peripheral/audio/hal/hdi_binder/server/src/ |
D | hdf_audio_pnp_uevent.c | 112 .deviceType = AUDIO_DEVICE_UNKNOWN, 118 pnpDeviceEvent->deviceType == g_audioPnpDeviceState.deviceType) { in IsUpdatePnpDeviceState() 127 g_audioPnpDeviceState.deviceType = pnpDeviceEvent->deviceType; in UpdatePnpDeviceState() 239 audioEvent->deviceType = AUDIO_HEADSET; in DetectAnalogHeadsetState() 242 audioEvent->deviceType = AUDIO_HEADSET; in DetectAnalogHeadsetState() 428 audioEvent->deviceType = AUDIO_USB_HEADSET; in DetectUsbHeadsetState() 475 audioEvent.deviceType = AUDIO_USB_HEADSET; in AudioUsbHeadsetDetectDevice() 479 …FUNC_LOGI("audio usb device[%{public}u] state[%{public}u] not need flush !", audioEvent.deviceType, in AudioUsbHeadsetDetectDevice() 498 audioEvent->deviceType = h2wTypeLast; in SetAudioEventValue() 502 audioEvent->deviceType = AUDIO_HEADSET; in SetAudioEventValue() [all …]
|
D | hdf_audio_input_event.c | 40 audioEvent.deviceType = AUDIO_DEVICE_UNKNOWN; in AudioAnalogHeadsetDeviceCheck() 43 audioEvent.deviceType = AUDIO_HEADPHONE; in AudioAnalogHeadsetDeviceCheck() 46 audioEvent.deviceType = AUDIO_HEADSET; in AudioAnalogHeadsetDeviceCheck() 49 audioEvent.deviceType = AUDIO_LINEOUT; in AudioAnalogHeadsetDeviceCheck()
|
D | hdf_audio_server_common.c | 41 .deviceType = HDF_AUDIO_DEVICE_UNKOWN, 46 .deviceType = HDF_AUDIO_DEVICE_UNKOWN, 51 .deviceType = HDF_AUDIO_DEVICE_UNKOWN, 380 if (!HdfSbufWriteUint32(data, dataBlock->deviceType)) { in AudioPortCapabilityBlockMarshalling() 640 g_audioEventService.deviceType = audioSrvEvent->deviceType; in AudioServiceStateChange() 646 g_audioEventService.deviceType); in AudioServiceStateChange() 663 g_audioEventLoad.deviceType = audioLoadEvent->deviceType; in AudioLoadStateChange() 669 g_audioEventLoad.deviceType); in AudioLoadStateChange() 760 g_audioEventLoad.deviceType = HDF_AUDIO_PRIMARY_DEVICE; in HdiServiceLoadAdapterSub() 763 g_audioEventLoad.deviceType = HDF_AUDIO_USB_DEVICE; in HdiServiceLoadAdapterSub() [all …]
|
D | hdf_audio_usb_server.c | 80 .deviceType = HDF_AUDIO_USB_DEVICE, in AudioHdiUsbServerInit()
|
D | hdf_audio_pnp_server.c | 68 audioEvent.eventType, audioEvent.deviceType); in AudioPnpUpdateInfoOnly()
|
D | hdf_audio_pnp_uevent_hdmi.c | 78 audioEvent.deviceType = AUDIO_HDMI_DEVICE; in AudioHdmiPnpUeventStatus()
|
/drivers/hdf_core/adapter/uhdf2/manager/src/ |
D | devmgr_query_device.c | 50 … deviceInfo->svcName, deviceInfo->policy, deviceInfo->status, deviceInfo->deviceType); in DevFillQueryDeviceInfo() 58 flag = HdfSbufWriteInt32(reply, deviceInfo->deviceType); in DevFillQueryDeviceInfo() 60 … HDF_LOGE("%{public}s writing int32 failed %{public}d", __func__, deviceInfo->deviceType); in DevFillQueryDeviceInfo()
|
/drivers/hdf_core/adapter/uhdf2/hdi/src/ |
D | devmgr_client.c | 49 int32_t deviceType; in HdfObtainDeviceInfo() local 66 HdfSbufReadInt32(reply, &deviceType); in HdfObtainDeviceInfo() 67 if (deviceType != HDF_LOCAL_SERVICE && deviceType != HDF_REMOTE_SERVICE) { in HdfObtainDeviceInfo() 68 HDF_LOGE("device type error %{public}d ", deviceType); in HdfObtainDeviceInfo() 72 node->deviceType = deviceType; in HdfObtainDeviceInfo()
|
/drivers/peripheral/audio/hdi_service/primary_impl/vendor_include/include/ |
D | i_audio_events.h | 72 uint32_t deviceType; member
|
/drivers/peripheral/audio/interfaces/include/ |
D | audio_events.h | 73 uint32_t deviceType; member
|
D | audio_types.h | 296 uint32_t deviceType; /**< Device type (output or input) */ member
|
/drivers/peripheral/audio/interfaces/2.0/include/ |
D | audio_events.h | 73 uint32_t deviceType; member
|
/drivers/peripheral/audio/hal/pathselect/src/ |
D | audio_pathselect.c | 280 …int32_t tpins, struct AudioHwRenderParam *renderParam, cJSON *cJsonObj, const char *deviceType, in… in SetMatchRenderDevicePath() argument 286 if (strcasecmp(cJsonObj->string, deviceType) == 0) { in SetMatchRenderDevicePath() 304 const char *deviceType = AudioPathSelGetDeviceType(i); in SetMatchRenderDefaultDevicePath() local 305 if (deviceType == NULL) { in SetMatchRenderDefaultDevicePath() 309 if (strcasecmp(deviceType, cJsonObj->string) == 0) { in SetMatchRenderDefaultDevicePath() 514 …struct AudioHwCaptureParam *captureParam, cJSON *cJsonObj, int32_t tpins, char *deviceType, int32_… in SetMatchCaptureDevicePath() argument 520 if (strcasecmp(cJsonObj->string, deviceType) == 0) { in SetMatchCaptureDevicePath() 539 const char *deviceType = AudioPathSelGetDeviceType(i); in SetMatchCaptureDefaultDevicePath() local 540 if (deviceType == NULL) { in SetMatchCaptureDefaultDevicePath() 545 if (strcasecmp(deviceType, cJsonObj->string) == 0) { in SetMatchCaptureDefaultDevicePath()
|
/drivers/hdf_core/interfaces/inner_api/host/shared/ |
D | hdf_device_info.h | 32 uint16_t deviceType; member
|
/drivers/hdf_core/interfaces/inner_api/hdi/ |
D | devmgr_hdi.h | 66 enum HDF_DEVICE_TYPE deviceType; member
|
/drivers/peripheral/input/interfaces/include/ |
D | input_controller.h | 102 int32_t (*GetDeviceType)(uint32_t devIndex, uint32_t *deviceType);
|
/drivers/hdf_core/framework/core/shared/src/ |
D | hdf_device_info.c | 23 deviceInfo->deviceType = HDF_DEV_LOCAL_SERVICE; in HdfDeviceInfoConstruct()
|
/drivers/peripheral/audio/interfaces/sound/v1_0/ |
D | audio_types_vdi.h | 297 uint32_t deviceType; member 360 uint32_t deviceType; member
|
/drivers/peripheral/input/hal/src/ |
D | input_controller.c | 267 static int32_t GetDeviceType(uint32_t devIndex, uint32_t *deviceType) in GetDeviceType() argument 273 if ((devIndex >= MAX_INPUT_DEV_NUM) || (deviceType == NULL)) { in GetDeviceType() 284 if (IoServiceOps(pos->service, GET_DEV_TYPE, NULL, deviceType, sizeof(uint32_t))) { in GetDeviceType() 289 if (*deviceType >= INDEV_TYPE_UNKNOWN) { in GetDeviceType() 294 pos->payload.devType = *deviceType; in GetDeviceType()
|
/drivers/peripheral/input/hdi_service/ |
D | input_interfaces_impl.h | 41 int32_t GetDeviceType(uint32_t devIndex, uint32_t &deviceType) override;
|
/drivers/peripheral/bluetooth/audio/interfaces/include/ |
D | audio_types.h | 226 uint32_t deviceType; /**< Device type (output or input) */ member
|
/drivers/interface/nnrt/v1_0/ |
D | INnrtDevice.idl | 25 GetDeviceType([out] enum DeviceType deviceType);
|
/drivers/interface/nnrt/v2_0/ |
D | INnrtDevice.idl | 25 GetDeviceType([out] enum DeviceType deviceType);
|
/drivers/hdf_core/framework/model/audio/common/include/ |
D | audio_platform_base.h | 70 uint32_t deviceType; member
|