Home
last modified time | relevance | path

Searched refs:deviceType (Results 1 – 25 of 47) sorted by relevance

12

/drivers/peripheral/audio/test/sample/
Dframework_event.c32 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/
Dhdf_audio_pnp_uevent.c112 .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 …]
Dhdf_audio_input_event.c40 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()
Dhdf_audio_server_common.c41 .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 …]
Dhdf_audio_usb_server.c80 .deviceType = HDF_AUDIO_USB_DEVICE, in AudioHdiUsbServerInit()
Dhdf_audio_pnp_server.c68 audioEvent.eventType, audioEvent.deviceType); in AudioPnpUpdateInfoOnly()
Dhdf_audio_pnp_uevent_hdmi.c78 audioEvent.deviceType = AUDIO_HDMI_DEVICE; in AudioHdmiPnpUeventStatus()
/drivers/hdf_core/adapter/uhdf2/manager/src/
Ddevmgr_query_device.c50 … 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/
Ddevmgr_client.c49 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/
Di_audio_events.h72 uint32_t deviceType; member
/drivers/peripheral/audio/interfaces/include/
Daudio_events.h73 uint32_t deviceType; member
Daudio_types.h296 uint32_t deviceType; /**< Device type (output or input) */ member
/drivers/peripheral/audio/interfaces/2.0/include/
Daudio_events.h73 uint32_t deviceType; member
/drivers/peripheral/audio/hal/pathselect/src/
Daudio_pathselect.c280 …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/
Dhdf_device_info.h32 uint16_t deviceType; member
/drivers/hdf_core/interfaces/inner_api/hdi/
Ddevmgr_hdi.h66 enum HDF_DEVICE_TYPE deviceType; member
/drivers/peripheral/input/interfaces/include/
Dinput_controller.h102 int32_t (*GetDeviceType)(uint32_t devIndex, uint32_t *deviceType);
/drivers/hdf_core/framework/core/shared/src/
Dhdf_device_info.c23 deviceInfo->deviceType = HDF_DEV_LOCAL_SERVICE; in HdfDeviceInfoConstruct()
/drivers/peripheral/audio/interfaces/sound/v1_0/
Daudio_types_vdi.h297 uint32_t deviceType; member
360 uint32_t deviceType; member
/drivers/peripheral/input/hal/src/
Dinput_controller.c267 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/
Dinput_interfaces_impl.h41 int32_t GetDeviceType(uint32_t devIndex, uint32_t &deviceType) override;
/drivers/peripheral/bluetooth/audio/interfaces/include/
Daudio_types.h226 uint32_t deviceType; /**< Device type (output or input) */ member
/drivers/interface/nnrt/v1_0/
DINnrtDevice.idl25 GetDeviceType([out] enum DeviceType deviceType);
/drivers/interface/nnrt/v2_0/
DINnrtDevice.idl25 GetDeviceType([out] enum DeviceType deviceType);
/drivers/hdf_core/framework/model/audio/common/include/
Daudio_platform_base.h70 uint32_t deviceType; member

12