Searched refs:mode (Results 1 - 25 of 82) sorted by relevance

1234

/hardware/invensense/mlsdk/mllite/
H A DmlSetGyroBias.h40 inv_error_t inv_set_gyro_bias_in_hw_unit(const short *bias, int mode);
41 inv_error_t inv_set_gyro_bias_in_dps(const long *bias, int mode);
42 inv_error_t inv_set_gyro_bias_in_dps_float(const float *bias, int mode);
H A DmlSetGyroBias.c35 int mode; member in struct:__anon126
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/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...]
/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/wpan/tools/FM/FmRadioIf/src/java/com/ti/fm/
H A DIFmRadio.aidl40 boolean rxSetMonoStereoMode(int mode);
41 boolean rxSetMonoStereoMode_nb(int mode);
83 boolean rxSetRdsAfSwitchMode(int mode);
84 boolean rxSetRdsAfSwitchMode_nb(int mode);
112 boolean txSetRdsTransmissionMode(int mode);
117 boolean txSetMonoStereoMode(int mode);
/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/msm7k/libgralloc-qsd8k/tests/
H A Dpmemalloc_test.cpp59 virtual int open(const char* pathname, int flags, int mode) { argument
96 virtual int open(const char* pathname, int flags, int mode) { argument
99 EXPECT_EQ(0, mode);
138 virtual int open(const char* pathname, int flags, int mode) { argument
141 EXPECT_EQ(0, mode);
183 virtual int open(const char* pathname, int flags, int mode) { argument
186 EXPECT_EQ(0, mode);
213 virtual int open(const char* pathname, int flags, int mode) { argument
216 EXPECT_EQ(0, mode);
287 virtual int open(const char* pathname, int flags, int mode) { argument
374 open(const char* pathname, int flags, int mode) argument
476 open(const char* pathname, int flags, int mode) argument
540 open(const char* pathname, int flags, int mode) argument
568 open(const char* pathname, int flags, int mode) argument
[all...]
/hardware/libhardware_legacy/
H A Dqemu.h55 int mode );
/hardware/ti/wlan/wl1271/Test/
H A DscrDbg.h149 * \brief Change the SCR mode.\n
153 * \param mode - the mode to change to.\n
155 void changeMode( TI_HANDLE hScr, EScrModeId mode );
H A DscrDbg.c178 WLAN_OS_REPORT(("1707 - Change SCR mode\n"));
238 * \brief Change the SCR mode.\n
242 * \param mode - the mode to change to.\n
244 void changeMode( TI_HANDLE hScr, EScrModeId mode )
246 scr_setMode( hScr, mode );
247 WLAN_OS_REPORT(("SCR mode was changed to %s\n",
248 modeDesc[ mode ]));
264 WLAN_OS_REPORT( ("SCR current group:%s, mode: %s, serving channel owner:%s, periodic scan owner: %s "
/hardware/ti/wlan/mac80211/wpa_supplicant_lib/
H A Ddriver_mac80211_nl.c172 wpa_printf(MSG_ERROR, "nl80211: Set power mode fail: %d", ret);
195 int mode; local
196 mode = atoi(cmd + 10);
197 ret = wpa_driver_set_power_save(priv, mode);
201 g_power_mode = mode;
207 int mode = atoi(cmd + 11); local
208 if (mode == BLUETOOTH_COEXISTENCE_MODE_DISABLED) { /* disable BT-coex */
210 } else if (mode == BLUETOOTH_COEXISTENCE_MODE_SENSE) { /* enable BT-coex */
213 wpa_printf(MSG_DEBUG, "invalid btcoex mode: %d", mode);
[all...]
H A Ddriver_mac80211.c754 printf("Could not configure driver to use managed mode\n");
883 if (iwe->u.mode == IW_MODE_ADHOC) {
885 } else if (iwe->u.mode == IW_MODE_MASTER ||
886 iwe->u.mode == IW_MODE_INFRA) {
1455 * Only force-disconnect when the card is in infrastructure mode,
1463 iwr.u.mode = IW_MODE_INFRA;
1466 if (iwr.u.mode == IW_MODE_INFRA) {
1540 /* Just changing mode, not actual keys */
1969 /* we start with "auto" power mode - power_save is on */
2040 int mode local
2059 int mode = atoi(cmd + 10); local
[all...]
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
H A DOMX3A.cpp48 // 1. Find camera's scene mode LUT
57 // 2. Find scene mode entry in table
76 int mode = 0; local
87 mode = getLUTvalue_HALtoOMX( str, SceneLUT);
88 if ( mFirstTimeInit || ((str != NULL) && ( mParameters3A.SceneMode != mode )) ) {
89 if ( 0 <= mode ) {
90 mParameters3A.SceneMode = mode;
91 if ((mode == OMX_Manual) && (mFirstTimeInit == false)){//Auto mode
94 if ((mode !
[all...]
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/msm7k/liblights/
H A Dlights.c132 int mode = g_attention; local
134 if (mode == 7 && g_backlight) {
135 mode = 0;
137 ALOGV("%s g_backlight = %d, mode = %d, g_attention = %d\n",
138 __func__, g_backlight, mode, g_attention);
141 // can reset the timer on the breathing mode, which looks bad.
142 if (g_trackball == mode) {
146 return write_int(TRACKBALL_FILE, mode);
/hardware/msm7k/libgralloc-qsd8k/
H A Dpmemalloc.h79 virtual int open(const char* pathname, int flags, int mode) = 0;
140 virtual int open(const char* pathname, int flags, int mode) = 0;
H A Dgralloc.cpp103 virtual int open(const char* pathname, int flags, int mode) { argument
104 return ::open(pathname, flags, mode);
/hardware/ti/wlan/wl1271/wpa_supplicant_lib/
H A Ddriver_ti.c380 static int wpa_driver_tista_config_power_management(void *priv, TPowerMgr_PowerMode *mode, u8 is_set) argument
384 if(is_set) /* set power mode */
386 if((mode->PowerMode) < POWER_MODE_MAX)
389 mode, sizeof(TPowerMgr_PowerMode), NULL, 0))
391 wpa_printf(MSG_ERROR, "ERROR - Failed to set power mode");
401 else /* get power mode */
404 mode, sizeof(TPowerMgr_PowerMode)))
406 wpa_printf(MSG_ERROR, "ERROR - Failed to get power mode");
415 static int wpa_driver_tista_enable_bt_coe(void *priv, u32 mode) argument
418 u32 mode_set = mode;
449 wpa_driver_tista_get_bt_coe_status(void *priv, u32 *mode) argument
744 u32 mode; local
757 u32 mode; local
768 u32 mode; local
1267 wpa_driver_tista_set_mode(void *priv, int mode) argument
[all...]
/hardware/broadcom/wlan/bcm4329/dhdutil/include/
H A Ddhdioctl.h97 uint mode; /* Test mode (type of test packets) */ member in struct:dhd_pktgen
116 #define DHD_IDLE_STOP (-1) /* Request SD clock be stopped (and use SD1 mode) */
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
H A Ddhdioctl.h97 uint mode; /* Test mode (type of test packets) */ member in struct:dhd_pktgen
116 #define DHD_IDLE_STOP (-1) /* Request SD clock be stopped (and use SD1 mode) */
/hardware/libhardware_legacy/qemu/
H A Dqemu.c157 int mode )
186 int mode )
205 if (qemu_channel_open_tty(channel, name, mode) == 0)
235 fd = open(channel->device, mode);
/hardware/ti/omap4xxx/camera/inc/V4LCameraAdapter/
H A DV4LCameraAdapter.h89 virtual status_t useBuffers(CameraMode mode, void* bufArr, int num, size_t length, unsigned int queueable);
/hardware/msm7k/libaudio-qsd8k/
H A DAudioHardware.h178 virtual status_t setMode(int mode);
231 uint32_t getACDB(int mode, int device);
233 status_t do_tpa2018_control(int mode);
H A DAudioHardware.cpp33 #include <cutils/properties.h> // for property_get for the voice recognition mode switch
79 // use VR mode on inputs: 1 == VR mode enabled when selected, 0 = VR mode disabled when selected
85 // enable or disable 2-mic noise suppression in call on receiver mode
87 //FIXME add new settings in A1026 driver for an incall no ns mode, based on the current vr no ns
175 // reset voice mode in case media_server crashed and restarted while in call
189 ALOGV("Enable mode selection for A1026 is %d", enable1026);
190 // Check the system property for which VR mode to use
305 status_t AudioHardware::setMode(int mode) argument
992 getACDB(int mode, int device) argument
1060 do_tpa2018_control(int mode) argument
[all...]
/hardware/ti/wlan/wl1271/CUDK/os/linux/src/
H A Dosapi.c27 * OS Memory API for user mode application (CUDK)
54 * \brief Main entry point to a user-mode program
56 * This is the main() function for a user mode program, or the entry point
242 Size - Redundant, needed only for kernel mode.
429 PVOID os_fopen(const PS8 path, os_fopen_mode_e mode) argument
431 switch(mode)

Completed in 770 milliseconds

1234