Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 25 of 59) sorted by relevance

123

/hardware/libhardware_legacy/audio/
DAudioHardwareInterface.cpp57 static const char* displayMode(int mode) in displayMode() argument
59 if ((mode < AudioSystem::MODE_INVALID) || (mode >= AudioSystem::NUM_MODES)) in displayMode()
61 return routingModeStrings[mode+3]; in displayMode()
83 status_t AudioHardwareBase::setMode(int mode) in setMode() argument
86 LOGD("setMode(%s)", displayMode(mode)); in setMode()
88 if ((mode < 0) || (mode >= AudioSystem::NUM_MODES)) in setMode()
90 if (mMode == mode) in setMode()
92 mMode = mode; in setMode()
/hardware/msm7k/libgralloc-qsd8k/tests/
Dpmemalloc_test.cpp59 virtual int open(const char* pathname, int flags, int mode) { in open() argument
96 virtual int open(const char* pathname, int flags, int mode) { in open()
99 EXPECT_EQ(0, mode); in open()
138 virtual int open(const char* pathname, int flags, int mode) { in open()
141 EXPECT_EQ(0, mode); in open()
183 virtual int open(const char* pathname, int flags, int mode) { in open()
186 EXPECT_EQ(0, mode); in open()
213 virtual int open(const char* pathname, int flags, int mode) { in open()
216 EXPECT_EQ(0, mode); in open()
287 virtual int open(const char* pathname, int flags, int mode) { in open()
[all …]
/hardware/invensense/mlsdk/mllite/
DmlSetGyroBias.c35 int mode; member
89 inv_error_t inv_set_gyro_bias_in_hw_unit(const short *bias, int mode) in inv_set_gyro_bias_in_hw_unit() argument
99 sgb.mode = mode; in inv_set_gyro_bias_in_hw_unit()
107 inv_error_t inv_set_gyro_bias_in_dps(const long *bias, int mode) in inv_set_gyro_bias_in_dps() argument
127 result = inv_set_gyro_bias_in_hw_unit(offset, mode); in inv_set_gyro_bias_in_dps()
131 inv_error_t inv_set_gyro_bias_in_dps_float(const float *bias, int mode) in inv_set_gyro_bias_in_dps_float() argument
139 result = inv_set_gyro_bias_in_dps(biasL, mode); in inv_set_gyro_bias_in_dps_float()
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);
/hardware/libhardware_legacy/include/hardware_legacy/
DAudioHardwareBase.h43 virtual status_t setMode(int mode);
55 virtual bool isModeInCall(int mode) in isModeInCall() argument
56 { return ((mode == AudioSystem::MODE_IN_CALL) in isModeInCall()
57 || (mode == AudioSystem::MODE_IN_COMMUNICATION)); }; in isModeInCall()
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMX3A.cpp74 int mode = 0; in setParameters3A() local
84 mode = getLUTvalue_HALtoOMX( str, SceneLUT); in setParameters3A()
85 if ( mFirstTimeInit || ((str != NULL) && ( mParameters3A.SceneMode != mode )) ) { in setParameters3A()
86 if ( 0 <= mode ) { in setParameters3A()
87 mParameters3A.SceneMode = mode; in setParameters3A()
88 if ((mode == OMX_Manual) && (mFirstTimeInit == false)){//Auto mode in setParameters3A()
91 if ((mode != OMX_Manual) && in setParameters3A()
113 mode = getLUTvalue_HALtoOMX( str, ExpLUT); in setParameters3A()
114 if ( ( str != NULL ) && ( mParameters3A.Exposure != mode )) in setParameters3A()
116 mParameters3A.Exposure = mode; in setParameters3A()
[all …]
DOMXAlgo.cpp481 status_t OMXCameraAdapter::setGBCE(OMXCameraAdapter::BrightnessMode mode) in setGBCE() argument
501 switch ( mode ) in setGBCE()
530 CAMHAL_LOGDB("GBCE configured successfully 0x%x", mode); in setGBCE()
539 status_t OMXCameraAdapter::setGLBCE(OMXCameraAdapter::BrightnessMode mode) in setGLBCE() argument
558 switch ( mode ) in setGLBCE()
596 status_t OMXCameraAdapter::setCaptureMode(OMXCameraAdapter::CaptureMode mode) in setCaptureMode() argument
623 else if ( OMXCameraAdapter::HIGH_SPEED == mode ) in setCaptureMode()
628 else if( OMXCameraAdapter::HIGH_QUALITY == mode ) in setCaptureMode()
633 else if( OMXCameraAdapter::HIGH_QUALITY_ZSL== mode ) in setCaptureMode()
644 else if( OMXCameraAdapter::VIDEO_MODE == mode ) in setCaptureMode()
[all …]
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_video_dec/src/
Domx_proxy_videodec_secure.c25 OMX_U8 mode; in OMX_ComponentInit() local
90 ret = read(pComponentPrivate->secure_misc_drv_fd, &mode, sizeof(mode)); in OMX_ComponentInit()
91 PROXY_assert(mode == enable, OMX_ErrorUndefined,"ERROR: We are not in secure mode"); in OMX_ComponentInit()
92 DOMX_DEBUG("secure mode recieved from Misc driver for secure playback = 0x%x\n", mode); in OMX_ComponentInit()
/hardware/msm7k/liblights/
Dlights.c132 int mode = g_attention; in handle_trackball_light_locked() local
134 if (mode == 7 && g_backlight) { in handle_trackball_light_locked()
135 mode = 0; in handle_trackball_light_locked()
138 __func__, g_backlight, mode, g_attention); in handle_trackball_light_locked()
142 if (g_trackball == mode) { in handle_trackball_light_locked()
146 return write_int(TRACKBALL_FILE, mode); in handle_trackball_light_locked()
/hardware/libhardware_legacy/qemu/
Dqemu.c157 int mode ) in qemu_channel_open_tty() argument
186 int mode ) in qemu_channel_open() argument
205 if (qemu_channel_open_tty(channel, name, mode) == 0) in qemu_channel_open()
235 fd = open(channel->device, mode); in qemu_channel_open()
/hardware/msm7k/libgralloc-qsd8k/
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;
Dgralloc.cpp103 virtual int open(const char* pathname, int flags, int mode) { in open() argument
104 return ::open(pathname, flags, mode); in open()
/hardware/msm7k/libaudio-qsd8k/
DAudioHardware.cpp305 status_t AudioHardware::setMode(int mode) in setMode() argument
308 if (mode == AudioSystem::MODE_IN_CALL) { in setMode()
313 do_tpa2018_control(mode); in setMode()
316 status_t status = AudioHardwareBase::setMode(mode); in setMode()
992 uint32_t AudioHardware::getACDB(int mode, int device) in getACDB() argument
1001 if (mode == MOD_PLAY) { in getACDB()
1029 } else if (mode == MOD_REC) { in getACDB()
1060 status_t AudioHardware::do_tpa2018_control(int mode) in do_tpa2018_control() argument
1071 switch (mode) { in do_tpa2018_control()
1073 mode = TPA2018_MODE_PLAYBACK; in do_tpa2018_control()
[all …]
DAudioHardware.h178 virtual status_t setMode(int mode);
231 uint32_t getACDB(int mode, int device);
233 status_t do_tpa2018_control(int mode);
/hardware/libhardware_legacy/
Dqemu.h55 int mode );
/hardware/broadcom/wlan/bcm4329/dhdutil/include/
Ddhdioctl.h97 uint mode; /* Test mode (type of test packets) */ member
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Ddhdioctl.h97 uint mode; /* Test mode (type of test packets) */ member
/hardware/ti/omap4xxx/camera/inc/OMXCameraAdapter/
DOMXCameraAdapter.h402 …virtual status_t useBuffers(CameraMode mode, void* bufArr, int num, size_t length, unsigned int qu…
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);
621 status_t setCaptureMode(OMXCameraAdapter::CaptureMode mode);
/hardware/ti/omap4xxx/domx/omx_core/src/
DOMX_Core.c196 OMX_U8 mode, enable=1; in OMX_GetHandle() local
250 ret = read(secure_misc_drv_fd, &mode, sizeof(mode)); in OMX_GetHandle()
255 if(mode == enable && strstr(cComponentName,"secure") == NULL) in OMX_GetHandle()
/hardware/ti/omap4xxx/camera/inc/V4LCameraAdapter/
DV4LCameraAdapter.h89 …virtual status_t useBuffers(CameraMode mode, void* bufArr, int num, size_t length, unsigned int qu…
/hardware/qcom/gps/loc_api/libloc_api/
Dloc_eng.cpp69 static int loc_eng_set_position_mode(GpsPositionMode mode, GpsPositionRecurrence recurrence,
421 static int loc_eng_set_position_mode(GpsPositionMode mode, GpsPositionRecurrence recurrence, in loc_eng_set_position_mode() argument
429 (int32) loc_eng_data.client_handle, min_interval, mode); in loc_eng_set_position_mode()
431 loc_eng_data.position_mode = mode; in loc_eng_set_position_mode()
438 switch (mode) { in loc_eng_set_position_mode()
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/
D802.11.h356 uint8 mode; member
375 uint8 mode; member
466 uint8 mode; member
481 uint8 mode; member
1193 uint8 mode; member
1215 uint8 mode; member
/hardware/broadcom/wlan/bcm4329/dhdutil/include/proto/
D802.11.h356 uint8 mode; member
375 uint8 mode; member
466 uint8 mode; member
481 uint8 mode; member
1193 uint8 mode; member
1215 uint8 mode; member
/hardware/broadcom/wlan/bcm4329/dhdutil/
Ddhdu.c637 pktgen.mode = DHD_PKTGEN_SEND; in dhd_pktgen()
639 pktgen.mode = DHD_PKTGEN_ECHO; in dhd_pktgen()
641 pktgen.mode = DHD_PKTGEN_RXBURST; in dhd_pktgen()
643 pktgen.mode = DHD_PKTGEN_RECV; in dhd_pktgen()
673 switch (pktgen.mode) { in dhd_pktgen()
1556 int mode = 0xdead; in dhd_proptxstatusmode() local
1559 mode = atoi(argv[1]); in dhd_proptxstatusmode()
1560 dhd_iovar_setint(dhd, cmd->name, mode); in dhd_proptxstatusmode()
1563 dhd_iovar_getint(dhd, cmd->name, &mode); in dhd_proptxstatusmode()
1564 printf("proptxstatusmode: %d\n", mode); in dhd_proptxstatusmode()
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Ddhdu.c637 pktgen.mode = DHD_PKTGEN_SEND; in dhd_pktgen()
639 pktgen.mode = DHD_PKTGEN_ECHO; in dhd_pktgen()
641 pktgen.mode = DHD_PKTGEN_RXBURST; in dhd_pktgen()
643 pktgen.mode = DHD_PKTGEN_RECV; in dhd_pktgen()
673 switch (pktgen.mode) { in dhd_pktgen()
1556 int mode = 0xdead; in dhd_proptxstatusmode() local
1559 mode = atoi(argv[1]); in dhd_proptxstatusmode()
1560 dhd_iovar_setint(dhd, cmd->name, mode); in dhd_proptxstatusmode()
1563 dhd_iovar_getint(dhd, cmd->name, &mode); in dhd_proptxstatusmode()
1564 printf("proptxstatusmode: %d\n", mode); in dhd_proptxstatusmode()

123