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

123

/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.cpp57 static const char* displayMode(int mode) argument
59 if ((mode < AudioSystem::MODE_INVALID) || (mode >= AudioSystem::NUM_MODES))
61 return routingModeStrings[mode+3];
83 status_t AudioHardwareBase::setMode(int mode) argument
86 LOGD("setMode(%s)", displayMode(mode));
88 if ((mode < 0) || (mode >= AudioSystem::NUM_MODES))
90 if (mMode == mode)
92 mMode = mode;
[all...]
H A DA2dpAudioInterface.h43 virtual status_t setMode(int mode);
/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);
54 /** returns true if the given mode maps to a telephony or VoIP call is in progress */
55 virtual bool isModeInCall(int mode) argument
56 { return ((mode == AudioSystem::MODE_IN_CALL)
57 || (mode == AudioSystem::MODE_IN_COMMUNICATION)); };
H A DAudioHardwareInterface.h92 * Put the audio hardware output into standby mode. Returns
154 * Put the audio hardware input into standby mode. Returns
213 * setMode is called when the audio mode changes. NORMAL mode is for
217 virtual status_t setMode(int mode) = 0;
/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/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
86 mode = getLUTvalue_HALtoOMX( str, SceneLUT);
87 if ( mFirstTimeInit || ((str != NULL) && ( mParameters3A.SceneMode != mode )) ) {
88 if ( 0 <= mode ) {
89 mParameters3A.SceneMode = mode;
90 if ((mode == OMX_Manual) && (mFirstTimeInit == false)){//Auto mode
93 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
443 CAMHAL_LOGEB("Error while getting video stabilization mode 0x%x",
468 CAMHAL_LOGEB("Error while configuring video stabilization mode 0x%x", eError);
473 CAMHAL_LOGDA("Video stabilization mode configured successfully");
482 status_t OMXCameraAdapter::setGBCE(OMXCameraAdapter::BrightnessMode mode) argument
502 switch ( mode )
531 CAMHAL_LOGDB("GBCE configured successfully 0x%x", mode);
540 status_t OMXCameraAdapter::setGLBCE(OMXCameraAdapter::BrightnessMode mode) argument
559 switch ( mode )
597 setCaptureMode(OMXCameraAdapter::CaptureMode mode) argument
714 setLDC(OMXCameraAdapter::IPPMode mode) argument
765 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 LOGV("%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/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 LOGV("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/libhardware/include/hardware/
H A Daudio.h59 /* TTY mode selection */
113 * Put the audio hardware input/output into standby mode.
275 * setMode is called when the audio mode changes. AUDIO_MODE_NORMAL mode
279 int (*set_mode)(struct audio_hw_device *dev, int mode);
/hardware/msm7k/libaudio-qdsp5v2/
H A DAudioHardware.h62 virtual status_t setMode(int mode);
/hardware/ti/omap4xxx/domx/omx_core/src/
H A DOMX_Core.c196 OMX_U8 mode, enable=1; local
250 ret = read(secure_misc_drv_fd, &mode, sizeof(mode));
255 if(mode == enable && strstr(cComponentName,"secure") == NULL)
257 TIMM_OSAL_Error("non-secure component not supported in secure mode");
267 //This provides a clean exit in case we are in secure mode.
/hardware/ti/omap4xxx/camera/inc/OMXCameraAdapter/
H A DOMXCameraAdapter.h402 virtual status_t useBuffers(CameraMode mode, void* bufArr, int num, size_t length, unsigned int queueable);
529 status_t setNSF(OMXCameraAdapter::IPPMode mode);
532 status_t setLDC(OMXCameraAdapter::IPPMode mode);
535 status_t setGLBCE(OMXCameraAdapter::BrightnessMode mode);
538 status_t setGBCE(OMXCameraAdapter::BrightnessMode mode);
620 //Sets eithter HQ or HS mode and the frame count
621 status_t setCaptureMode(OMXCameraAdapter::CaptureMode mode);
/hardware/qcom/gps/loc_api/libloc_api/
H A Dloc_eng.cpp69 static int loc_eng_set_position_mode(GpsPositionMode mode, GpsPositionRecurrence recurrence,
385 LOGD ("loc_eng_set_gps_lock mode, client = %d, lock_type = %d\n",
399 LOGD ("loc_eng_set_gps_lock mode failed\n");
409 Sets the mode and fix frequency for the tracking session.
421 static int loc_eng_set_position_mode(GpsPositionMode mode, GpsPositionRecurrence recurrence, argument
428 LOGD ("loc_eng_set_position mode, client = %d, interval = %d, mode = %d\n",
429 (int32) loc_eng_data.client_handle, min_interval, mode);
431 loc_eng_data.position_mode = mode;
438 switch (mode) {
[all...]

Completed in 693 milliseconds

123