Home
last modified time | relevance | path

Searched refs:config (Results 1 – 25 of 109) sorted by relevance

12345

/device/htc/flounder/
Dinit.flounder.usb.rc14 on property:sys.usb.config=mtp
18 write /sys/class/android_usb/android0/functions ${sys.usb.config}
20 setprop sys.usb.state ${sys.usb.config}
22 on property:sys.usb.config=mtp,adb
26 write /sys/class/android_usb/android0/functions ${sys.usb.config}
32 setprop sys.usb.state ${sys.usb.config}
34 on property:sys.usb.config=rndis
38 write /sys/class/android_usb/android0/functions ${sys.usb.config}
41 setprop sys.usb.state ${sys.usb.config}
43 on property:sys.usb.config=rndis,adb
[all …]
Dinit.flounder_svelte.rc8 setprop ro.config.density_override 144
9 setprop ro.config.size_override 768,1024
12 setprop ro.config.svelte.max_cpu_freq 1190400
13 setprop ro.config.svelte.low_power_max_cpu_freq 1190400
/device/generic/goldfish/opengl/system/egl/
DeglDisplay.cpp205 EGLConfig config = (EGLConfig)i; in processConfigs() local
208 if (getConfigNativePixelFormat(config, &format)) { in processConfigs()
209 setConfigAttrib(config, EGL_NATIVE_VISUAL_ID, format); in processConfigs()
409 EGLBoolean eglDisplay::getAttribValue(EGLConfig config, EGLint attribIdx, EGLint * value) in getAttribValue() argument
416 *value = *(m_configs + (intptr_t)config*m_numConfigAttribs + attribIdx); in getAttribValue()
420 EGLBoolean eglDisplay::getConfigAttrib(EGLConfig config, EGLint attrib, EGLint * value) in getConfigAttrib() argument
424 EGLBoolean ret = getAttribValue(config, m_attribs.valueFor(attrib), value); in getConfigAttrib()
429 void eglDisplay::dumpConfig(EGLConfig config) in dumpConfig() argument
432 DBG("^^^^^^^^^^ dumpConfig %d ^^^^^^^^^^^^^^^^^^", (int)config); in dumpConfig()
434 getAttribValue(config, i, &value); in dumpConfig()
[all …]
DeglDisplay.h51 EGLBoolean getConfigAttrib(EGLConfig config, EGLint attrib, EGLint * value);
52 EGLBoolean setConfigAttrib(EGLConfig config, EGLint attrib, EGLint value);
53 EGLBoolean getConfigGLPixelFormat(EGLConfig config, GLenum * format);
54 EGLBoolean getConfigNativePixelFormat(EGLConfig config, PixelFormat * format);
56 void dumpConfig(EGLConfig config);
61 EGLBoolean getAttribValue(EGLConfig config, EGLint attribIdxi, EGLint * value);
62 EGLBoolean setAttribValue(EGLConfig config, EGLint attribIdxi, EGLint value);
Degl.cpp133 EGLContext_t::EGLContext_t(EGLDisplay dpy, EGLConfig config, EGLContext_t* shareCtx) : in EGLContext_t() argument
135 config(config), in EGLContext_t()
174 EGLConfig config; member
177 egl_surface_t(EGLDisplay dpy, EGLConfig config, EGLint surfaceType);
211 egl_surface_t::egl_surface_t(EGLDisplay dpy, EGLConfig config, EGLint surfaceType) in egl_surface_t() argument
212 : dpy(dpy), config(config), surfaceType(surfaceType), rcSurface(0) in egl_surface_t()
233 EGLDisplay dpy, EGLConfig config, EGLint surfType,
243 EGLDisplay dpy, EGLConfig config, EGLint surfType,
252 EGLDisplay dpy, EGLConfig config, EGLint surfType, in egl_window_surface_t() argument
254 : egl_surface_t(dpy, config, surfType), in egl_window_surface_t()
[all …]
DeglContext.h29 EGLContext_t(EGLDisplay dpy, EGLConfig config, EGLContext_t* shareCtx);
33 EGLConfig config; member
/device/moto/shamu/
Dinit.shamu.usb.rc37 on property:sys.usb.config=diag,serial_smd,serial_tty,rmnet_bam,mass_storage,adb
48 setprop sys.usb.state ${sys.usb.config}
50 on property:sys.usb.config=diag,serial_smd,serial_tty,rmnet_bam,mass_storage
59 setprop sys.usb.state ${sys.usb.config}
61 on property:sys.usb.config=rndis
67 setprop sys.usb.state ${sys.usb.config}
69 on property:sys.usb.config=rndis,adb
76 setprop sys.usb.state ${sys.usb.config}
78 on property:sys.usb.config=mtp
87 setprop sys.usb.state ${sys.usb.config}
[all …]
/device/lge/hammerhead/
Dinit.hammerhead.usb.rc26 on property:sys.usb.config=mtp
36 setprop sys.usb.state ${sys.usb.config}
38 on property:sys.usb.config=mtp,adb
48 setprop sys.usb.state ${sys.usb.config}
51 on property:sys.usb.config=rndis
61 setprop sys.usb.state ${sys.usb.config}
63 on property:sys.usb.config=rndis,adb
73 setprop sys.usb.state ${sys.usb.config}
76 on property:sys.usb.config=ptp
86 setprop sys.usb.state ${sys.usb.config}
[all …]
/device/asus/flo/
Dinit.flo.usb.rc26 on property:sys.usb.config=mtp
36 setprop sys.usb.state ${sys.usb.config}
38 on property:sys.usb.config=mtp,adb
48 setprop sys.usb.state ${sys.usb.config}
51 on property:sys.usb.config=rndis
61 setprop sys.usb.state ${sys.usb.config}
63 on property:sys.usb.config=rndis,adb
73 setprop sys.usb.state ${sys.usb.config}
76 on property:sys.usb.config=ptp
86 setprop sys.usb.state ${sys.usb.config}
[all …]
/device/asus/fugu/libaudio/
DAudioOutput.cpp199 struct pcm_config config; in openPCMDevice() local
208 memset(&config, 0, sizeof(config)); in openPCMDevice()
209 config.channels = mChannelCnt; in openPCMDevice()
210 config.rate = mFramesPerSec; in openPCMDevice()
211 config.period_size = mFramesPerChunk; in openPCMDevice()
212 config.period_count = mBufferChunks; in openPCMDevice()
213 config.format = mALSAFormat; in openPCMDevice()
220 config.start_threshold = 1; in openPCMDevice()
224 mALSACardID, dev_id, config.rate, config.channels, config.period_size, config.format); in openPCMDevice()
228 PCM_OUT | PCM_NORESTART | PCM_MONOTONIC, &config); in openPCMDevice()
Daudio_hal_thunks.cpp425 const audio_config *config) in adev_get_input_buffer_size() argument
430 return adev->input->getInputBufferSize(config); in adev_get_input_buffer_size()
436 struct audio_config *config, in adev_open_input_stream() argument
475 &config->format, in adev_open_input_stream()
476 &config->channel_mask, in adev_open_input_stream()
477 &config->sample_rate, in adev_open_input_stream()
512 struct audio_config *config, in adev_open_output_stream() argument
555 &config->format, in adev_open_output_stream()
556 &config->channel_mask, in adev_open_output_stream()
557 &config->sample_rate, in adev_open_output_stream()
DAudioHardwareInput.cpp94 status_t AudioHardwareInput::getInputBufferSize(const audio_config* config) in getInputBufferSize() argument
96 size_t size = calculateInputBufferSize(config->sample_rate, in getInputBufferSize()
97 config->format, in getInputBufferSize()
98 audio_channel_count_from_in_mask(config->channel_mask)); in getInputBufferSize()
/device/htc/flounder/audio/soundtrigger/
Dsound_trigger_hw.c75 struct sound_trigger_recognition_config *config; member
191 if (stdev->config) { in sound_trigger_event_alloc()
194 event->num_phrases = stdev->config->num_phrases; in sound_trigger_event_alloc()
198 memcpy(&event->phrase_extras[i], &stdev->config->phrases[i], in sound_trigger_event_alloc()
316 if (stdev->config && stdev->config->capture_requested) { in callback_thread_loop()
341 if (stdev->config && !stdev->config->capture_requested) in callback_thread_loop()
418 free(stdev->config); in stdev_unload_sound_model()
419 stdev->config = NULL; in stdev_unload_sound_model()
440 const struct sound_trigger_recognition_config *config, in stdev_start_recognition() argument
459 free(stdev->config); in stdev_start_recognition()
[all …]
/device/generic/goldfish/audio/
Daudio_hw.c373 struct audio_config *config, in adev_open_output_stream() argument
387 if ((config->format != AUDIO_FORMAT_PCM_16_BIT) || in adev_open_output_stream()
388 (config->channel_mask != AUDIO_CHANNEL_OUT_STEREO) || in adev_open_output_stream()
389 (config->sample_rate != OUT_SAMPLING_RATE)) { in adev_open_output_stream()
391 config->format, config->channel_mask, config->sample_rate); in adev_open_output_stream()
392 config->format = AUDIO_FORMAT_PCM_16_BIT; in adev_open_output_stream()
393 config->channel_mask = AUDIO_CHANNEL_OUT_STEREO; in adev_open_output_stream()
394 config->sample_rate = OUT_SAMPLING_RATE; in adev_open_output_stream()
518 const struct audio_config *config) in adev_get_input_buffer_size() argument
526 struct audio_config *config, in adev_open_input_stream() argument
[all …]
/device/htc/flounder/audio/visualizer/
Dnv_offload_visualizer.c64 effect_config_t config; member
469 int set_config(effect_context_t *context, effect_config_t *config) in set_config() argument
471 if (config->inputCfg.samplingRate != config->outputCfg.samplingRate) return -EINVAL; in set_config()
472 if (config->inputCfg.channels != config->outputCfg.channels) return -EINVAL; in set_config()
473 if (config->inputCfg.format != config->outputCfg.format) return -EINVAL; in set_config()
474 if (config->inputCfg.channels != AUDIO_CHANNEL_OUT_STEREO) return -EINVAL; in set_config()
475 if (config->outputCfg.accessMode != EFFECT_BUFFER_ACCESS_WRITE && in set_config()
476 config->outputCfg.accessMode != EFFECT_BUFFER_ACCESS_ACCUMULATE) return -EINVAL; in set_config()
477 if (config->inputCfg.format != AUDIO_FORMAT_PCM_16_BIT) return -EINVAL; in set_config()
479 context->config = *config; in set_config()
[all …]
/device/htc/flounder/audio/hal/
Daudio_hw.c58 .config = {
78 .config = {
96 .config = {
114 .config = {
132 .config = {
152 .config = {
170 .config = {
951 …kernel_delay = (long)(((int64_t)kernel_frames * 1000000000) / ref_device->pcm_profile->config.rate… in get_capture_reference_delay()
991 buf_delay = (long)(((int64_t)(in->read_buf_frames) * 1000000000) / in->config.rate + in get_capture_delay()
1000 kernel_delay = (long)(((int64_t)kernel_frames * 1000000000) / in->config.rate); in get_capture_delay()
[all …]
/device/asus/fugu/
Dinit.fugu.usb.rc36 on property:sys.usb.config=none
40 setprop sys.usb.state ${sys.usb.config}
43 on property:sys.usb.config=adb
47 write /sys/class/android_usb/android0/functions ${sys.usb.config}
51 setprop sys.usb.state ${sys.usb.config}
55 on property:persist.sys.usb.config=*
56 setprop sys.usb.config ${persist.sys.usb.config}
DAndroidKernel.mk8 $(error cannot build kernel, config not specified)
31 KERNEL_CONFIG := $(KERNEL_OUT_DIR)/.config
45 KERNEL_VERSION_FILE := $(KERNEL_OUT_DIR)/include/config/kernel.release
49 $(hide) echo Regenerating kernel config $(KERNEL_OUT_DIR)
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_channel.c69 mm_camera_stream_config_t *config);
111 mm_camera_repro_isp_config_t *config);
381 payload->config); in mm_channel_fsm_fn_stopped()
437 payload->config); in mm_channel_fsm_fn_stopped()
519 payload->config); in mm_channel_fsm_fn_active()
834 mm_camera_stream_config_t *config) in mm_channel_config_stream() argument
849 (void *)config, in mm_channel_config_stream()
1684 mm_camera_repro_isp_config_t *config) in mm_channel_config_repro_isp() argument
1693 src_stream = mm_channel_util_get_stream_by_handler(my_obj, config->src.inst_handle); in mm_channel_config_repro_isp()
1695 CDBG_ERROR("%s: src stream obj not found %d", __func__, config->src.inst_handle); in mm_channel_config_repro_isp()
[all …]
/device/generic/goldfish/opengl/tests/gles_android_wrapper/
Degl.cpp349 EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value) in eglGetConfigAttrib() argument
355 return getDispatch()->eglGetConfigAttrib(dpy, config, attribute, value); in eglGetConfigAttrib()
359 EGLSurface eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const … in eglCreateWindowSurface() argument
361 EGLSurface surface = getDispatch()->eglCreateWindowSurface(dpy, config, win, attrib_list); in eglCreateWindowSurface()
371 EGLSurface eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list) in eglCreatePbufferSurface() argument
373 EGLSurface surface = getDispatch()->eglCreatePbufferSurface(dpy, config, attrib_list); in eglCreatePbufferSurface()
383 EGLSurface eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, con… in eglCreatePixmapSurface() argument
385 EGLSurface surface = getDispatch()->eglCreatePixmapSurface(dpy, config, pixmap, attrib_list); in eglCreatePixmapSurface()
436 …uffer(EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *att… in eglCreatePbufferFromClientBuffer() argument
438 … return getDispatch()->eglCreatePbufferFromClientBuffer(dpy, buftype, buffer, config, attrib_list); in eglCreatePbufferFromClientBuffer()
[all …]
/device/generic/goldfish/opengl/system/renderControl_enc/
DrenderControl_entry.cpp17 uint32_t rcCreateContext(uint32_t config, uint32_t share, uint32_t glVersion);
19 uint32_t rcCreateWindowSurface(uint32_t config, uint32_t width, uint32_t height);
92 uint32_t rcCreateContext(uint32_t config, uint32_t share, uint32_t glVersion) in rcCreateContext() argument
95 return ctx->rcCreateContext(ctx, config, share, glVersion); in rcCreateContext()
104 uint32_t rcCreateWindowSurface(uint32_t config, uint32_t width, uint32_t height) in rcCreateWindowSurface() argument
107 return ctx->rcCreateWindowSurface(ctx, config, width, height); in rcCreateWindowSurface()
DREADME26 numAttribs the number of attributes available for each config.
37 integer values are filled with the EGL enumerant describing a config
38 attribute, next for each config there are 'numAttribs' integer values
39 holding the attribute values for that config, the values are specified
55 uint32_t rcCreateContext(uint32_t config, uint32_t share, uint32_t glVersion);
57 handle. config is the config index for the context, share is either zero
66 uint32_t rcCreateWindowSurface(uint32_t config, uint32_t width, uint32_t height);
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_pp.c163 mm_camera_repro_isp_config_t config; in prepareReprocess() local
282 memset(&config, 0, sizeof(mm_camera_repro_isp_config_t)); in prepareReprocess()
283 config.src.format = pme->repro_config.format; in prepareReprocess()
284 config.src.image_mode = pme->repro_config.image_mode; in prepareReprocess()
285 config.src.width = pme->repro_config.width; in prepareReprocess()
286 config.src.height = pme->repro_config.height; in prepareReprocess()
287 config.src.inst_handle = pme->stream[MM_CAMERA_ISP_PIX_OUTPUT1].id; in prepareReprocess()
290 config.num_dest = 2; in prepareReprocess()
291 config.dest[0].image_mode = MM_CAMERA_PREVIEW; in prepareReprocess()
292 config.dest[0].format = pme->dim.prev_format; in prepareReprocess()
[all …]
/device/google/atv/products/
Datv_generic.mk26 device/google/atv/config.ini:config.ini
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/
DQCameraMjpegDecode.cpp234 jpegd_cfg_t config; in decoder_test() local
425 memset(&config, 0, sizeof(jpegd_cfg_t)); in decoder_test()
426 config.preference = (jpegd_preference_t) p_args->preference; in decoder_test()
427 config.decode_from = JPEGD_DECODE_FROM_AUTO; in decoder_test()
428 config.rotation = p_args->rotation; in decoder_test()
429 config.scale_factor = p_args->scale_factor; in decoder_test()
430 config.hw_rotation = p_args->hw_rotation; in decoder_test()
436 rc = jpegd_start(decoder, &config, &dest, &p_output_buffers, output_buffers_count); in decoder_test()

12345