Home
last modified time | relevance | path

Searched refs:param (Results 1 – 25 of 120) sorted by relevance

12345

/device/google/coral/vibrator/tests/
Dtest-hwapi.cpp109 return std::get<0>(info.param); in PrintParam()
119 auto param = GetParam(); in TEST_P() local
120 auto func = std::get<1>(param); in TEST_P()
126 auto param = GetParam(); in TEST_P() local
127 auto func = std::get<1>(param); in TEST_P()
143 auto param = GetParam(); in TEST_P() local
144 auto name = std::get<0>(param); in TEST_P()
145 auto func = std::get<1>(param); in TEST_P()
156 auto param = GetParam(); in TEST_P() local
157 auto name = std::get<0>(param); in TEST_P()
[all …]
/device/linaro/hikey/hifi/xaf/host-apf/utest/
Dxaf-dec-mix-test.c62 int param[2]; in vorbis_setup() local
65 param[0] = XA_VORBISDEC_CONFIG_PARAM_RAW_VORBIS_FILE_MODE; in vorbis_setup()
66 param[1] = 0; in vorbis_setup()
68 XF_CHK_API(xaf_comp_set_config(p_decoder, 1, &param[0])); in vorbis_setup()
75 int param[6]; in pcm_setup() local
77 param[0] = XA_CODEC_CONFIG_PARAM_SAMPLE_RATE; in pcm_setup()
78 param[1] = pb_format.sample_rate; in pcm_setup()
79 param[2] = XA_CODEC_CONFIG_PARAM_CHANNELS; in pcm_setup()
80 param[3] = pb_format.channels; in pcm_setup()
81 param[4] = XA_CODEC_CONFIG_PARAM_PCM_WIDTH; in pcm_setup()
[all …]
Dxaf-dec-test.c67 int param[2]; in vorbis_setup() local
70 param[0] = XA_VORBISDEC_CONFIG_PARAM_RAW_VORBIS_FILE_MODE; in vorbis_setup()
71 param[1] = 0; in vorbis_setup()
73 XF_CHK_API(xaf_comp_set_config(p_decoder, 1, &param[0])); in vorbis_setup()
80 int param[6]; in pcm_setup() local
82 param[0] = XA_CODEC_CONFIG_PARAM_SAMPLE_RATE; in pcm_setup()
83 param[1] = pb_format.sample_rate; in pcm_setup()
84 param[2] = XA_CODEC_CONFIG_PARAM_CHANNELS; in pcm_setup()
85 param[3] = pb_format.channels; in pcm_setup()
86 param[4] = XA_CODEC_CONFIG_PARAM_PCM_WIDTH; in pcm_setup()
[all …]
/device/generic/opengl-transport/host/commands/emugen/tests/t.001/expected/wrapper/
Dfoo_wrapper_entry.cpp11 void fooDoEncoderFlush(FooInt param);
12 void fooTakeConstVoidPtrConstPtr(const void* const* param);
42 void fooDoEncoderFlush(FooInt param) in fooDoEncoderFlush() argument
45 ctx->fooDoEncoderFlush( param); in fooDoEncoderFlush()
48 void fooTakeConstVoidPtrConstPtr(const void* const* param) in fooTakeConstVoidPtrConstPtr() argument
51 ctx->fooTakeConstVoidPtrConstPtr( param); in fooTakeConstVoidPtrConstPtr()
/device/generic/opengl-transport/host/commands/emugen/tests/t.001/expected/encoder/
Dfoo_entry.cpp11 void fooDoEncoderFlush(FooInt param);
12 void fooTakeConstVoidPtrConstPtr(const void* const* param);
43 void fooDoEncoderFlush(FooInt param) in fooDoEncoderFlush() argument
46 ctx->fooDoEncoderFlush(ctx, param); in fooDoEncoderFlush()
49 void fooTakeConstVoidPtrConstPtr(const void* const* param) in fooTakeConstVoidPtrConstPtr() argument
52 ctx->fooTakeConstVoidPtrConstPtr(ctx, param); in fooTakeConstVoidPtrConstPtr()
/device/generic/goldfish-opengl/tests/gles_android_wrapper/
Dgles.cpp86 void glFogf(GLenum pname, GLfloat param) in glFogf() argument
88 getDispatch()->glFogf(pname, param); in glFogf()
131 void glLightModelf(GLenum pname, GLfloat param) in glLightModelf() argument
133 getDispatch()->glLightModelf(pname, param); in glLightModelf()
141 void glLightf(GLenum light, GLenum pname, GLfloat param) in glLightf() argument
143 getDispatch()->glLightf(light, pname, param); in glLightf()
161 void glMaterialf(GLenum face, GLenum pname, GLfloat param) in glMaterialf() argument
163 getDispatch()->glMaterialf(face, pname, param); in glMaterialf()
191 void glPointParameterf(GLenum pname, GLfloat param) in glPointParameterf() argument
193 getDispatch()->glPointParameterf(pname, param); in glPointParameterf()
[all …]
/device/generic/goldfish-opengl/system/GLESv1_enc/
DGLEncoder.cpp71 void GLEncoder::s_glGetIntegerv(void *self, GLenum param, GLint *ptr) in s_glGetIntegerv() argument
77 switch (param) { in s_glGetIntegerv()
89 ctx->m_glGetIntegerv_enc(self, param, ptr); in s_glGetIntegerv()
107 if (!state->getClientStateParameter<GLint>(param,ptr)) { in s_glGetIntegerv()
108 ctx->m_glGetIntegerv_enc(self, param, ptr); in s_glGetIntegerv()
114 void GLEncoder::s_glGetFloatv(void *self, GLenum param, GLfloat *ptr) in s_glGetFloatv() argument
120 switch (param) { in s_glGetFloatv()
133 ctx->m_glGetFloatv_enc(self, param, ptr); in s_glGetFloatv()
146 if (!state->getClientStateParameter<GLfloat>(param,ptr)) { in s_glGetFloatv()
147 ctx->m_glGetFloatv_enc(self, param, ptr); in s_glGetFloatv()
[all …]
Dgl_entry.cpp14 void glFogf(GLenum pname, GLfloat param);
23 void glLightModelf(GLenum pname, GLfloat param);
25 void glLightf(GLenum light, GLenum pname, GLfloat param);
29 void glMaterialf(GLenum face, GLenum pname, GLfloat param);
35 void glPointParameterf(GLenum pname, GLfloat param);
41 void glTexEnvf(GLenum target, GLenum pname, GLfloat param);
43 void glTexParameterf(GLenum target, GLenum pname, GLfloat param);
80 void glFogx(GLenum pname, GLfixed param);
104 void glLightModelx(GLenum pname, GLfixed param);
106 void glLightx(GLenum light, GLenum pname, GLfixed param);
[all …]
/device/google/cuttlefish/guest/hals/camera/
DQemuClient.cpp76 status_t QemuQuery::createQuery(const char* name, const char* param) { in createQuery() argument
88 const size_t param_len = (param != NULL) ? strlen(param) : 0; in createQuery()
104 sprintf(mQuery, "%s %s", name, param); in createQuery()
200 status_t QemuClient::connectClient(const char* param) { in connectClient() argument
201 ALOGV("%s: '%s'", __FUNCTION__, param ? param : ""); in connectClient()
210 if (param == NULL || *param == '\0') { in connectClient()
219 new char[strlen(mCameraServiceName) + strlen(param) + 8]; in connectClient()
220 sprintf(connection_str, "qemud:%s:%s", mCameraServiceName, param); in connectClient()
227 param ? param : "Factory", strerror(errno)); in connectClient()
/device/google/contexthub/util/nanotool/
Dnanotool.cpp213 static bool ParseRate(const std::string& param, SensorSpec& spec) { in ParseRate() argument
225 if (param == name) { in ParseRate()
231 spec.rate_hz = std::stof(param); in ParseRate()
244 std::string param; in ParseSensorArg() local
249 while (std::getline(full_arg_ss, param, '=')) { in ParseSensorArg()
251 pre_cal_ref = param; in ParseSensorArg()
253 spec.cal_ref = std::stof(param); in ParseSensorArg()
265 while (std::getline(pre_cal_ref_ss, param, ':')) { in ParseSensorArg()
267 spec.sensor_type = ContextHub::SensorAbbrevNameToType(param); in ParseSensorArg()
270 name, param.c_str()); in ParseSensorArg()
[all …]
/device/generic/opengl-transport/host/libs/virglrenderer/OpenGLESDispatch/
Dgles1_core.entries14 void glFogf(GLenum pname, GLfloat param);
23 void glLightModelf(GLenum pname, GLfloat param);
25 void glLightf(GLenum light, GLenum pname, GLfloat param);
29 void glMaterialf(GLenum face, GLenum pname, GLfloat param);
35 void glPointParameterf(GLenum pname, GLfloat param);
41 void glTexEnvf(GLenum target, GLenum pname, GLfloat param);
43 void glTexParameterf(GLenum target, GLenum pname, GLfloat param);
81 void glFogx(GLenum pname, GLfixed param);
105 void glLightModelx(GLenum pname, GLfixed param);
107 void glLightx(GLenum light, GLenum pname, GLfixed param);
[all …]
/device/generic/goldfish/camera/
DQemuClient.cpp88 status_t QemuQuery::createQuery(const char* name, const char* param) in createQuery() argument
102 const size_t param_len = (param != NULL) ? strlen(param) : 0; in createQuery()
118 sprintf(mQuery, "%s %s", name, param); in createQuery()
219 status_t QemuClient::connectClient(const char* param) in connectClient() argument
221 ALOGV("%s: '%s'", __FUNCTION__, param ? param : ""); in connectClient()
230 if (param == NULL || *param == '\0') { in connectClient()
234 snprintf(buf, sizeof(buf), "%s:%s", mCameraServiceName, param); in connectClient()
239 __FUNCTION__, param ? param : "Factory", strerror(errno)); in connectClient()
/device/generic/opengl-transport/host/libs/virglrenderer/
Dgen_entries.py49 for param in parameters:
50 self.vartypes.append(param[0])
51 self.varnames.append(param[1])
52 self.parameters += "%s%s %s" % (comma, param[0], param[1])
53 self.call += "%s%s" % (comma, param[1])
/device/generic/opengl-transport/host/libs/virglrenderer/GLESv1_dec/
Dgles1.in7 GL_ENTRY(void, glFogf, GLenum pname, GLfloat param)
16 GL_ENTRY(void, glLightModelf, GLenum pname, GLfloat param)
18 GL_ENTRY(void, glLightf, GLenum light, GLenum pname, GLfloat param)
22 GL_ENTRY(void, glMaterialf, GLenum face, GLenum pname, GLfloat param)
28 GL_ENTRY(void, glPointParameterf, GLenum pname, GLfloat param)
34 GL_ENTRY(void, glTexEnvf, GLenum target, GLenum pname, GLfloat param)
36 GL_ENTRY(void, glTexParameterf, GLenum target, GLenum pname, GLfloat param)
73 GL_ENTRY(void, glFogx, GLenum pname, GLfixed param)
97 GL_ENTRY(void, glLightModelx, GLenum pname, GLfixed param)
99 GL_ENTRY(void, glLightx, GLenum light, GLenum pname, GLfixed param)
[all …]
/device/google/contexthub/firmware/os/algos/
Dfusion.c71 fusion->param.gyro_var = DEFAULT_GYRO_VAR; in initFusion()
72 fusion->param.gyro_bias_var = DEFAULT_GYRO_BIAS_VAR; in initFusion()
73 fusion->param.acc_stdev = DEFAULT_ACC_STDEV; in initFusion()
74 fusion->param.mag_stdev = DEFAULT_MAG_STDEV; in initFusion()
77 fusion->param.gyro_var = GEOMAG_GYRO_VAR; in initFusion()
78 fusion->param.gyro_bias_var = GEOMAG_GYRO_BIAS_VAR; in initFusion()
79 fusion->param.acc_stdev = GEOMAG_ACC_STDEV; in initFusion()
80 fusion->param.mag_stdev = GEOMAG_MAG_STDEV; in initFusion()
123 float q00 = fusion->param.gyro_var * dT + in updateDt()
124 0.33333f * fusion->param.gyro_bias_var * dT3; in updateDt()
[all …]
/device/linaro/hikey/hifi/xaf/host-apf/playback/tinyalsa/
Dasoundlib.h162 enum pcm_param param);
164 enum pcm_param param);
166 enum pcm_param param, unsigned int val);
168 enum pcm_param param);
170 enum pcm_param param, unsigned int val);
/device/generic/goldfish-opengl/system/GLESv2_enc/
DGLESv2Validation.h35 bool bufferParam(GL2Encoder* ctx, GLenum param);
37 bool pixelStoreParam(GL2Encoder* ctx, GLenum param);
38 bool pixelStoreValue(GLenum param, GLint value);
/device/generic/goldfish-opengl/system/include/GLES/
Dgl.h599 GL_API void GL_APIENTRY glFogf (GLenum pname, GLfloat param);
608 GL_API void GL_APIENTRY glLightModelf (GLenum pname, GLfloat param);
610 GL_API void GL_APIENTRY glLightf (GLenum light, GLenum pname, GLfloat param);
614 GL_API void GL_APIENTRY glMaterialf (GLenum face, GLenum pname, GLfloat param);
620 GL_API void GL_APIENTRY glPointParameterf (GLenum pname, GLfloat param);
626 GL_API void GL_APIENTRY glTexEnvf (GLenum target, GLenum pname, GLfloat param);
628 GL_API void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param);
668 GL_API void GL_APIENTRY glFogx (GLenum pname, GLfixed param);
692 GL_API void GL_APIENTRY glLightModelx (GLenum pname, GLfixed param);
694 GL_API void GL_APIENTRY glLightx (GLenum light, GLenum pname, GLfixed param);
[all …]
/device/generic/goldfish/radio/libril/
Dril_event.h32 void *param; member
39 void ril_event_set(struct ril_event * ev, int fd, bool persist, ril_event_cb func, void * param);
Dril.cpp180 (RIL_TimedCallback callback, void *param,
269 static void processWakeupCallback(int fd, short flags, void *param) { in processWakeupCallback() argument
335 static void userTimerCallback (int fd, short flags, void *param) { in userTimerCallback() argument
338 p_info = (UserCallbackInfo *)param; in userTimerCallback()
353 eventLoop(void *param) { in eventLoop() argument
701 wakeTimeoutCallback (void *param) { in wakeTimeoutCallback() argument
704 if (param == NULL) { in wakeTimeoutCallback()
714 if (param == NULL) { in wakeTimeoutCallback()
857 internalRequestTimedCallback (RIL_TimedCallback callback, void *param, in internalRequestTimedCallback() argument
871 p_info->userParam = param; in internalRequestTimedCallback()
[all …]
/device/generic/opengl-transport/host/commands/emugen/tests/t.001/input/
Dfoo.in4 FOO_ENTRY(void, fooDoEncoderFlush, FooInt param)
5 FOO_ENTRY(void, fooTakeConstVoidPtrConstPtr, const void* const* param)
/device/generic/goldfish-opengl/system/egl/
DClientAPIExts.in73 (GLenum coord, GLenum pname, GLfloat param),
74 (coord, pname, param))
81 (GLenum coord, GLenum pname, GLint param),
82 (coord, pname, param))
89 (GLenum coord, GLenum pname, GLfixed param),
90 (coord, pname, param))
/device/google/cuttlefish/guest/hals/ril/libril/
Dril.cpp180 (RIL_TimedCallback callback, void *param,
269 static void processWakeupCallback(int fd, short flags, void *param) { in processWakeupCallback() argument
335 static void userTimerCallback (int fd, short flags, void *param) { in userTimerCallback() argument
338 p_info = (UserCallbackInfo *)param; in userTimerCallback()
353 eventLoop(void *param) { in eventLoop() argument
702 wakeTimeoutCallback (void *param) { in wakeTimeoutCallback() argument
705 if (param == NULL) { in wakeTimeoutCallback()
715 if (param == NULL) { in wakeTimeoutCallback()
861 internalRequestTimedCallback (RIL_TimedCallback callback, void *param, in internalRequestTimedCallback() argument
875 p_info->userParam = param; in internalRequestTimedCallback()
[all …]
/device/google/contexthub/firmware/os/inc/
Dutil.h27 #define UNUSED_PARAM(param) (void) (param) argument
/device/linaro/hikey/hifi/xaf/hifi-dpf/audio/
Dxa-class-base.c169 xf_set_param_item_t *param = &cmd->item[0]; in xa_base_set_param() local
173 n = m->length / sizeof(*param); in xa_base_set_param()
181 TRACE(SETUP, _b("set-param[%p]: [%u]=%u"), base, param[i].id, param[i].value); in xa_base_set_param()
185 CODEC_API(base, setparam, param[i].id, &param[i].value); in xa_base_set_param()
189 XA_API(base, XA_API_CMD_SET_CONFIG_PARAM, param[i].id, &param[i].value); in xa_base_set_param()

12345