/drivers/peripheral/audio/test/sample/ |
H A 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() 123 AudioLoadDeviceFail(enum AudioDeviceType deviceType) AudioLoadDeviceFail() argument 139 AudioUnLoadDevice(enum AudioDeviceType deviceType) AudioUnLoadDevice() argument 198 AudioPnpDeviceAdd(enum AudioDeviceType deviceType) AudioPnpDeviceAdd() argument 216 AudioPnpDeviceRemove(enum AudioDeviceType deviceType) AudioPnpDeviceRemove() argument [all...] |
/drivers/peripheral/audio/hal/hdi_binder/server/src/ |
H A D | hdf_audio_pnp_uevent.c | 115 .deviceType = AUDIO_DEVICE_UNKNOWN, 121 pnpDeviceEvent->deviceType == g_audioPnpDeviceState.deviceType) { in IsUpdatePnpDeviceState() 130 g_audioPnpDeviceState.deviceType = pnpDeviceEvent->deviceType; in UpdatePnpDeviceState() 242 audioEvent->deviceType = AUDIO_HEADSET; in DetectAnalogHeadsetState() 245 audioEvent->deviceType = AUDIO_HEADSET; in DetectAnalogHeadsetState() 431 audioEvent->deviceType = AUDIO_USB_HEADSET; in DetectUsbHeadsetState() 478 audioEvent.deviceType = AUDIO_USB_HEADSET; in AudioUsbHeadsetDetectDevice() 482 AUDIO_FUNC_LOGI("audio usb device[%{public}u] state[%{public}u] not need flush !", audioEvent.deviceType, in AudioUsbHeadsetDetectDevice() [all...] |
H A 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()
|
H A D | hdf_audio_usb_server.c | 80 .deviceType = HDF_AUDIO_USB_DEVICE, in AudioHdiUsbServerInit()
|
H A D | hdf_audio_server_common.c | 42 .deviceType = HDF_AUDIO_DEVICE_UNKOWN, 47 .deviceType = HDF_AUDIO_DEVICE_UNKOWN, 52 .deviceType = HDF_AUDIO_DEVICE_UNKOWN, 381 if (!HdfSbufWriteUint32(data, dataBlock->deviceType)) { in AudioPortCapabilityBlockMarshalling() 382 HDF_LOGE("%{public}s: write dataBlock->deviceType failed!", __func__); in AudioPortCapabilityBlockMarshalling() 641 g_audioEventService.deviceType = audioSrvEvent->deviceType; in AudioServiceStateChange() 647 g_audioEventService.deviceType); in AudioServiceStateChange() 664 g_audioEventLoad.deviceType = audioLoadEvent->deviceType; in AudioLoadStateChange() [all...] |
H A D | hdf_audio_pnp_uevent_hdmi.c | 78 audioEvent.deviceType = AUDIO_HDMI_DEVICE; in AudioHdmiPnpUeventStatus()
|
/drivers/hdf_core/adapter/uhdf2/manager/src/ |
H A 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/ |
H A 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/hdf_core/interfaces/inner_api/hdi/ |
H A D | devmgr_hdi.h | 66 enum HDF_DEVICE_TYPE deviceType; member
|
/drivers/hdf_core/interfaces/inner_api/host/shared/ |
H A D | hdf_device_info.h | 32 uint16_t deviceType; member
|
/drivers/peripheral/audio/interfaces/2.0/include/ |
H A D | audio_events.h | 73 uint32_t deviceType; member
|
H A D | audio_types.h | 300 uint32_t deviceType; /**< Device type (output or input) */ member
|
/drivers/peripheral/audio/interfaces/include/ |
H A D | audio_events.h | 73 uint32_t deviceType; member
|
/drivers/hdf_core/framework/core/shared/src/ |
H A D | hdf_device_info.c | 23 deviceInfo->deviceType = HDF_DEV_LOCAL_SERVICE; in HdfDeviceInfoConstruct()
|
/drivers/peripheral/input/interfaces/include/ |
H A D | input_controller.h | 96 * @param deviceType Indicates the pointer to the device type. For details, see {@link InputDevType}.
102 int32_t (*GetDeviceType)(uint32_t devIndex, uint32_t *deviceType);
|
/drivers/peripheral/audio/hal/pathselect/src/ |
H A D | audio_pathselect.c | 281 int32_t tpins, struct AudioHwRenderParam *renderParam, cJSON *cJsonObj, const char *deviceType, int32_t value) in SetMatchRenderDevicePath() 287 if (strcasecmp(cJsonObj->string, deviceType) == 0) { in SetMatchRenderDevicePath() 305 const char *deviceType = AudioPathSelGetDeviceType((int32_t)i); in SetMatchRenderDefaultDevicePath() local 306 if (deviceType == NULL) { in SetMatchRenderDefaultDevicePath() 310 if (strcasecmp(deviceType, cJsonObj->string) == 0) { in SetMatchRenderDefaultDevicePath() 512 struct AudioHwCaptureParam *captureParam, cJSON *cJsonObj, int32_t tpins, char *deviceType, int32_t value) in SetMatchCaptureDevicePath() 518 if (strcasecmp(cJsonObj->string, deviceType) == 0) { in SetMatchCaptureDevicePath() 537 const char *deviceType = AudioPathSelGetDeviceType((int32_t)i); in SetMatchCaptureDefaultDevicePath() local 538 if (deviceType == NULL) { in SetMatchCaptureDefaultDevicePath() 543 if (strcasecmp(deviceType, cJsonOb in SetMatchCaptureDefaultDevicePath() 280 SetMatchRenderDevicePath( int32_t tpins, struct AudioHwRenderParam *renderParam, cJSON *cJsonObj, const char *deviceType, int32_t value) SetMatchRenderDevicePath() argument 511 SetMatchCaptureDevicePath( struct AudioHwCaptureParam *captureParam, cJSON *cJsonObj, int32_t tpins, char *deviceType, int32_t value) SetMatchCaptureDevicePath() argument [all...] |
/drivers/peripheral/input/hdi_service/ |
H A D | input_interfaces_impl.h | 41 int32_t GetDeviceType(uint32_t devIndex, uint32_t &deviceType) override;
|
/drivers/peripheral/audio/interfaces/sound/v1_0/ |
H A D | audio_types_vdi.h | 367 uint32_t deviceType; member 431 uint32_t deviceType; member
|
/drivers/peripheral/input/hal/src/ |
H A 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/hdf_core/framework/model/audio/common/include/ |
H A D | audio_platform_base.h | 70 uint32_t deviceType; member
|
/drivers/peripheral/bluetooth/audio/interfaces/include/ |
H A D | audio_types.h | 229 uint32_t deviceType; /**< Device type (output or input) */ member
|
/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/include/ |
H A D | audio_manager_interface_impl.h | 42 uint32_t deviceType; member
|
/drivers/peripheral/distributed_audio/interface/audio/v1_0/ |
H A D | types.h | 99 uint32_t deviceType; member
|
/drivers/peripheral/input/udriver/src/ |
H A D | input_manager.cpp | 123 static int32_t GetDeviceType(uint32_t devIndex, uint32_t *deviceType)
in GetDeviceType() argument 129 return gInputDeviceManager_->GetDeviceType(devIndex, deviceType);
in GetDeviceType()
|
/drivers/peripheral/input/test/unittest/udriver/ |
H A D | hdi_input_test.cpp | 629 uint32_t deviceType = INIT_DEFAULT_VALUE; in HWTEST_F() local 630 ret = g_inputInterface->iInputController->GetDeviceType(g_touchIndex, &deviceType); in HWTEST_F() 650 uint32_t deviceType = INIT_DEFAULT_VALUE; in HWTEST_F() local 651 ret = g_inputInterface->iInputController->GetDeviceType(INVALID_INDEX, &deviceType); in HWTEST_F() 671 uint32_t deviceType = INIT_DEFAULT_VALUE; in HWTEST_F() local 672 ret = g_inputInterface->iInputController->GetDeviceType(INVALID_INDEX1, &deviceType); in HWTEST_F()
|