Searched defs:mode (Results 1 - 25 of 96) sorted by relevance

1234

/hardware/libhardware_legacy/include/hardware_legacy/
H A DAudioHardwareBase.h39 * setMode is called when the audio mode changes. NORMAL mode is for
43 virtual status_t setMode(int mode);
55 /** returns true if the given mode maps to a telephony or VoIP call is in progress */
56 virtual bool isModeInCall(int mode) argument
57 { return ((mode == AudioSystem::MODE_IN_CALL)
58 || (mode == AudioSystem::MODE_IN_COMMUNICATION)); };
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_video_dec/src/
H A Domx_proxy_videodec_secure.c25 OMX_U8 mode; local
74 DOMX_ERROR("errno from setting secure mode = %x",errno);
78 DOMX_ERROR("Setting unsecure mode failed");
90 ret = read(pComponentPrivate->secure_misc_drv_fd, &mode, sizeof(mode));
91 PROXY_assert(mode == enable, OMX_ErrorUndefined,"ERROR: We are not in secure mode");
92 DOMX_DEBUG("secure mode recieved from Misc driver for secure playback = 0x%x\n", mode);
136 DOMX_ERROR("Setting unsecure mode faile
[all...]
/hardware/ti/wlan/mac80211/wpa_supplicant_lib/
H A Ddriver_mac80211_nl.c79 int mode = atoi(cmd + 11); local
80 if (mode == BLUETOOTH_COEXISTENCE_MODE_DISABLED) { /* disable BT-coex */
82 } else if (mode == BLUETOOTH_COEXISTENCE_MODE_SENSE) { /* enable BT-coex */
85 wpa_printf(MSG_DEBUG, "invalid btcoex mode: %d", mode);
/hardware/akm/AK8975_FS/akmdfs/
H A DAK8975Driver.c242 Set AK8975 to the specific mode.
245 @param[in] mode This value should be one of the AK8975_Mode which is defined in
248 int16_t AKD_SetMode(const BYTE mode) argument
255 if (ioctl(s_fdDev, ECS_IOCTL_SET_MODE, &mode) < 0) {
/hardware/broadcom/libbt/src/
H A Dbt_vendor_brcm.c104 ALOGW("** Warning - BT Vendor Lib is loaded in debug tuning mode!");
195 uint8_t *mode = (uint8_t *) param; local
196 retval = hw_lpm_enable(*mode);
/hardware/invensense/60xx/mlsdk/mllite/
H A DmlSetGyroBias.c35 int mode; member in struct:__anon155
89 inv_error_t inv_set_gyro_bias_in_hw_unit(const short *bias, int mode) argument
99 sgb.mode = mode;
107 inv_error_t inv_set_gyro_bias_in_dps(const long *bias, int mode) argument
127 result = inv_set_gyro_bias_in_hw_unit(offset, mode);
131 inv_error_t inv_set_gyro_bias_in_dps_float(const float *bias, int mode) argument
139 result = inv_set_gyro_bias_in_dps(biasL, mode);
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/
H A Dts_parser.cpp31 void omx_time_stamp_reorder::set_timestamp_reorder_mode(bool mode) argument
33 reorder_ts = mode;
184 DEBUG("\n not in avi mode");
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/
H A Dts_parser.cpp31 void omx_time_stamp_reorder::set_timestamp_reorder_mode(bool mode) argument
33 reorder_ts = mode;
213 DEBUG("\n not in avi mode");
/hardware/libhardware/modules/camera/
H A DMetadata.cpp60 Metadata::Metadata(uint8_t mode, uint8_t intent) argument
71 int res = add(ANDROID_CONTROL_MODE, 1, &mode);
73 ALOGE("%s: Unable to add mode to template!", __func__);
76 ALOGE("%s: Invalid mode constructing template!", __func__);
/hardware/libhardware_legacy/audio/
H A DAudioHardwareInterface.cpp54 static const char* displayMode(int mode) argument
56 if ((mode < AudioSystem::MODE_INVALID) || (mode >= AudioSystem::NUM_MODES))
58 return routingModeStrings[mode+3];
86 status_t AudioHardwareBase::setMode(int mode) argument
89 ALOGD("setMode(%s)", displayMode(mode));
91 if ((mode < 0) || (mode >= AudioSystem::NUM_MODES))
93 if (mMode == mode)
95 mMode = mode;
[all...]
H A DA2dpAudioInterface.cpp118 status_t A2dpAudioInterface::setMode(int mode) argument
120 return mHardwareInterface->setMode(mode);
H A DAudioDumpInterface.cpp246 status_t AudioDumpInterface::setMode(int mode) argument
248 return mFinalInterface->setMode(mode);
/hardware/qcom/audio/legacy/alsa_sound/
H A DALSAStreamOps.cpp369 status_t ALSAStreamOps::open(int mode) argument
H A DAudioStreamOutALSA.cpp167 mHandle->module->route(mHandle, mDevices , mParent->mode());
178 mHandle->module->route(mHandle, mDevices , mParent->mode());
181 mHandle->module->route(mHandle, mDevices , mParent->mode());
290 status_t AudioStreamOutALSA::open(int mode) argument
294 return ALSAStreamOps::open(mode);
/hardware/samsung_slsi/exynos5/libv4l2/
H A Dexynos_subdev.c47 mode_t mode = 0; local
51 mode = va_arg(ap, int);
53 fd = open(filename, oflag, mode);
H A Dexynos_v4l2.c80 mode_t mode = 0; local
84 mode = va_arg(ap, int);
86 fd = open(filename, oflag, mode);
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
H A Ddhdioctl.h102 uint mode; /* Test mode (type of test packets) */ member in struct:dhd_pktgen
121 #define DHD_IDLE_STOP (-1) /* Request SD clock be stopped (and use SD1 mode) */
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/linux/
H A Dml_sysfs_helper.c98 /* mode 0: search for which chip in the system and fill sysfs path
99 mode 1: return event number
101 static int parsing_proc_input(int mode, char *name){ argument
136 if (mode == 0){
144 } else if (mode != 0){
151 if(mode == 0){
165 } else if(mode == 1){
179 } else if (mode == 2) {
204 if(0 == mode)
206 if (mode
[all...]
/hardware/qcom/display/msm8974/liboverlay/
H A Doverlay.h104 static void setDMAMode(const int& mode);
201 inline void Overlay::setDMAMode(const int& mode) { argument
202 if(mode == DMA_LINE_MODE || mode == DMA_BLOCK_MODE)
203 sDMAMode = mode;
/hardware/qcom/msm8x74/kernel-headers/linux/
H A Dmsm_audio_acdb.h82 uint32_t mode; member in struct:msm_spk_prot_cfg
/hardware/qcom/msm8x74/original-kernel-headers/linux/
H A Dmsm_audio_acdb.h89 uint32_t mode; /*0 - Start spk prot member in struct:msm_spk_prot_cfg
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
H A DOMXAlgo.cpp46 CAMHAL_LOGDB("Capture mode %s", params.get(TICameraParameters::KEY_CAP_MODE));
84 /// Configure IPP, LDCNSF, GBCE and GLBCE only in HQ mode
447 CAMHAL_LOGEB("Error while getting video stabilization mode 0x%x",
472 CAMHAL_LOGEB("Error while configuring video stabilization mode 0x%x", eError);
477 CAMHAL_LOGDA("Video stabilization mode configured successfully");
486 status_t OMXCameraAdapter::setGBCE(OMXCameraAdapter::BrightnessMode mode) argument
506 switch ( mode )
535 CAMHAL_LOGDB("GBCE configured successfully 0x%x", mode);
544 status_t OMXCameraAdapter::setGLBCE(OMXCameraAdapter::BrightnessMode mode) argument
563 switch ( mode )
601 setCaptureMode(OMXCameraAdapter::CaptureMode mode) argument
718 setLDC(OMXCameraAdapter::IPPMode mode) argument
769 setNSF(OMXCameraAdapter::IPPMode mode) argument
[all...]
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
H A Dml_sysfs_helper.c109 /* mode 0: search for which chip in the system and fill sysfs path
110 mode 1: return event number
112 static int parsing_proc_input(int mode, char *name){ argument
147 if (mode == 0){
155 } else if (mode != 0){
162 if(mode == 0){
176 } else if(mode == 1){
190 } else if (mode == 2) {
215 if(0 == mode)
217 if (mode
[all...]
/hardware/libhardware/modules/audio/
H A Daudio_policy.c66 static void ap_set_ringer_mode(struct audio_policy *pol, uint32_t mode, argument
/hardware/libhardware/modules/usbaudio/
H A Daudio_hw.c334 static int adev_set_mode(struct audio_hw_device *dev, audio_mode_t mode) argument

Completed in 2800 milliseconds

1234