Home
last modified time | relevance | path

Searched refs:deviceType (Results 1 - 25 of 43) sorted by relevance

12

/drivers/peripheral/audio/test/sample/
H A 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()
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 Dhdf_audio_pnp_uevent.c115 .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 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()
H A Dhdf_audio_usb_server.c80 .deviceType = HDF_AUDIO_USB_DEVICE, in AudioHdiUsbServerInit()
H A Dhdf_audio_server_common.c42 .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 Dhdf_audio_pnp_uevent_hdmi.c78 audioEvent.deviceType = AUDIO_HDMI_DEVICE; in AudioHdmiPnpUeventStatus()
/drivers/hdf_core/adapter/uhdf2/manager/src/
H A 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/
H A 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/hdf_core/interfaces/inner_api/hdi/
H A Ddevmgr_hdi.h66 enum HDF_DEVICE_TYPE deviceType; member
/drivers/hdf_core/interfaces/inner_api/host/shared/
H A Dhdf_device_info.h32 uint16_t deviceType; member
/drivers/peripheral/audio/interfaces/2.0/include/
H A Daudio_events.h73 uint32_t deviceType; member
H A Daudio_types.h300 uint32_t deviceType; /**< Device type (output or input) */ member
/drivers/peripheral/audio/interfaces/include/
H A Daudio_events.h73 uint32_t deviceType; member
/drivers/hdf_core/framework/core/shared/src/
H A Dhdf_device_info.c23 deviceInfo->deviceType = HDF_DEV_LOCAL_SERVICE; in HdfDeviceInfoConstruct()
/drivers/peripheral/input/interfaces/include/
H A Dinput_controller.h96 * @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 Daudio_pathselect.c281 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 Dinput_interfaces_impl.h41 int32_t GetDeviceType(uint32_t devIndex, uint32_t &deviceType) override;
/drivers/peripheral/audio/interfaces/sound/v1_0/
H A Daudio_types_vdi.h367 uint32_t deviceType; member
431 uint32_t deviceType; member
/drivers/peripheral/input/hal/src/
H A 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/hdf_core/framework/model/audio/common/include/
H A Daudio_platform_base.h70 uint32_t deviceType; member
/drivers/peripheral/bluetooth/audio/interfaces/include/
H A Daudio_types.h229 uint32_t deviceType; /**< Device type (output or input) */ member
/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/include/
H A Daudio_manager_interface_impl.h42 uint32_t deviceType; member
/drivers/peripheral/distributed_audio/interface/audio/v1_0/
H A Dtypes.h99 uint32_t deviceType; member
/drivers/peripheral/input/udriver/src/
H A Dinput_manager.cpp123 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 Dhdi_input_test.cpp629 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()

Completed in 15 milliseconds

12