Home
last modified time | relevance | path

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

12345678910

/frameworks/rs/
Drs.spec7 param void *data
8 param size_t *receiveLen
9 param uint32_t *usrID
15 param size_t *receiveLen
16 param uint32_t *usrID
21 param uint32_t id
22 param const uint8_t *data
35 param const char * cacheDir
40 param RsElement e
41 param uint32_t dimX
[all …]
Drsg.spec3 param bool colorMaskR
4 param bool colorMaskG
5 param bool colorMaskB
6 param bool colorMaskA
7 param bool depthMask
8 param bool ditherEnable
9 param RsBlendSrcFunc srcFunc
10 param RsBlendDstFunc destFunc
11 param RsDepthFunc depthFunc
17 param bool pointSprite
[all …]
Drs_compat.spec3 param RsType vtype
4 param RsAllocationMipmapControl mipmaps
5 param uint32_t usages
6 param uintptr_t ptr
7 param size_t requiredAlignment
/frameworks/base/media/java/android/media/audiofx/
DEnvironmentalReverb.java150 byte[] param = shortToByteArray(room); in setRoomLevel()
151 checkStatus(setParameter(PARAM_ROOM_LEVEL, param)); in setRoomLevel()
163 byte[] param = new byte[2]; in getRoomLevel()
164 checkStatus(getParameter(PARAM_ROOM_LEVEL, param)); in getRoomLevel()
165 return byteArrayToShort(param); in getRoomLevel()
179 byte[] param = shortToByteArray(roomHF); in setRoomHFLevel()
180 checkStatus(setParameter(PARAM_ROOM_HF_LEVEL, param)); in setRoomHFLevel()
192 byte[] param = new byte[2]; in getRoomHFLevel()
193 checkStatus(getParameter(PARAM_ROOM_HF_LEVEL, param)); in getRoomHFLevel()
194 return byteArrayToShort(param); in getRoomHFLevel()
[all …]
DEqualizer.java152 int[] param = new int[2]; in Equalizer() local
153 param[0] = PARAM_GET_PRESET_NAME; in Equalizer()
155 param[1] = i; in Equalizer()
156 checkStatus(getParameter(param, value)); in Equalizer()
180 int[] param = new int[1]; in getNumberOfBands() local
181 param[0] = PARAM_NUM_BANDS; in getNumberOfBands()
183 checkStatus(getParameter(param, result)); in getNumberOfBands()
217 int[] param = new int[2]; in setBandLevel() local
220 param[0] = PARAM_BAND_LEVEL; in setBandLevel()
221 param[1] = (int)band; in setBandLevel()
[all …]
DAudioEffect.java537 public int setParameter(byte[] param, byte[] value) in setParameter() argument
540 return native_setParameter(param.length, param, value.length, value); in setParameter()
549 public int setParameter(int param, int value) throws IllegalStateException { in setParameter() argument
550 byte[] p = intToByteArray(param); in setParameter()
562 public int setParameter(int param, short value) in setParameter() argument
564 byte[] p = intToByteArray(param); in setParameter()
576 public int setParameter(int param, byte[] value) in setParameter() argument
578 byte[] p = intToByteArray(param); in setParameter()
589 public int setParameter(int[] param, int[] value) in setParameter() argument
591 if (param.length > 2 || value.length > 2) { in setParameter()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DIMSIParameterTest.java68 IMSIParameter param = new IMSIParameter("1234", false); in matchesNullImsi() local
69 assertFalse(param.matchesImsi(null)); in matchesNullImsi()
80 IMSIParameter param = new IMSIParameter("1234", false); in matchesImsiWithFullImsi() local
83 assertFalse(param.matchesImsi("123")); in matchesImsiWithFullImsi()
84 assertFalse(param.matchesImsi("12345")); in matchesImsiWithFullImsi()
85 assertTrue(param.matchesImsi("1234")); in matchesImsiWithFullImsi()
96 IMSIParameter param = new IMSIParameter("1234", true); in matchesImsiWithPrefixImsi() local
99 assertFalse(param.matchesImsi("123")); in matchesImsiWithPrefixImsi()
100 assertTrue(param.matchesImsi("12345")); in matchesImsiWithPrefixImsi()
101 assertTrue(param.matchesImsi("1234")); in matchesImsiWithPrefixImsi()
[all …]
/frameworks/wilhelm/src/android/
Dandroid_Effect.cpp56 uint32_t eq_paramSize(int32_t param) { in eq_paramSize() argument
59 switch (param) { in eq_paramSize()
75 SL_LOGE("Trying to use an unknown EQ parameter %d", param); in eq_paramSize()
82 uint32_t eq_valueSize(int32_t param) { in eq_valueSize() argument
85 switch (param) { in eq_valueSize()
107 SL_LOGE("Trying to access an unknown EQ parameter %d", param); in eq_valueSize()
118 uint32_t bb_valueSize(int32_t param) { in bb_valueSize() argument
121 switch (param) { in bb_valueSize()
130 SL_LOGE("Trying to access an unknown BassBoost parameter %d", param); in bb_valueSize()
142 uint32_t virt_valueSize(int32_t param) { in virt_valueSize() argument
[all …]
Dandroid_Effect.h23 int32_t param, int32_t param2, void *pValue);
26 int32_t param, int32_t param2, void *pValue);
34 int32_t param, void *pValue);
37 int32_t param, void *pValue);
45 int32_t param, void *pValue);
48 int32_t param, void *pValue);
67 int32_t param, void *pValue);
70 int32_t param, void *pValue);
140 int32_t param, uint32_t paramSizeMax, void *pValue, uint32_t valueSize);
143 int32_t param, uint32_t paramSizeMax, void *pValue, uint32_t valueSize);
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Dhoming_amr_wb_dec.cpp251 int16 param[DHF_PARMS_MAX]; in dhf_test() local
283 param[i] = Serial_parm(15, &prms); in dhf_test()
288 param[i] = Serial_parm(tmp, &prms); in dhf_test()
290 param[i] = shl_int16(param[i], shift); in dhf_test()
297 param[i] = Serial_parm(15, &prms); in dhf_test()
299 param[10] = Serial_parm(15, &prms) & 0x61FF; in dhf_test()
303 param[i] = Serial_parm(15, &prms); in dhf_test()
305 param[17] = Serial_parm(15, &prms) & 0xE0FF; in dhf_test()
309 param[i] = Serial_parm(15, &prms); in dhf_test()
311 param[24] = Serial_parm(15, &prms) & 0x7F0F; in dhf_test()
[all …]
/frameworks/av/media/libaudioclient/
DAudioEffect.cpp274 status_t AudioEffect::setParameter(effect_param_t *param) in setParameter() argument
280 if (param == NULL || param->psize == 0 || param->vsize == 0) { in setParameter()
285 uint32_t psize = ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + param->vsize; in setParameter()
287 ALOGV("setParameter: param: %d, param2: %d", *(int *)param->data, in setParameter()
288 (param->psize == 8) ? *((int *)param->data + 1): -1); in setParameter()
290 return mIEffect->command(EFFECT_CMD_SET_PARAM, sizeof (effect_param_t) + psize, param, &size, in setParameter()
291 &param->status); in setParameter()
294 status_t AudioEffect::setParameterDeferred(effect_param_t *param) in setParameterDeferred() argument
300 if (param == NULL || param->psize == 0 || param->vsize == 0) { in setParameterDeferred()
306 int psize = ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + param->vsize; in setParameterDeferred()
[all …]
/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/
DAAC_E_SAMPLES.c48 …cmdline(int argc, char **argv,char **input_filename, char **output_filename, AACENC_PARAM *param) in parsecmdline() argument
54 param->adtsUsed = 1; in parsecmdline()
55 param->bitRate = 0; in parsecmdline()
56 param->nChannels = 2; in parsecmdline()
57 param->sampleRate = 44100; in parsecmdline()
84 param->sampleRate = atoi(*argv); in parsecmdline()
90 param->nChannels = atoi(*argv); in parsecmdline()
96 param->bitRate = atoi(*argv); in parsecmdline()
102 param->adtsUsed = atoi(*argv); in parsecmdline()
113 if(param->bitRate == 0) in parsecmdline()
[all …]
/frameworks/av/services/audiopolicy/service/
DAudioPolicyEffects.cpp390 size_t AudioPolicyEffects::growParamSize(char **param, in growParamSize() argument
402 *param = (char *)realloc(*param, *totSize); in growParamSize()
403 if (*param == NULL) { in growParamSize()
414 char **param, in readParamValue() argument
422 pos = growParamSize(param, sizeof(short), curSize, totSize); in readParamValue()
426 *(short *)(*param + pos) = (short)atoi(node->value); in readParamValue()
427 ALOGV("readParamValue() reading short %d", *(short *)(*param + pos)); in readParamValue()
430 pos = growParamSize(param, sizeof(int), curSize, totSize); in readParamValue()
434 *(int *)(*param + pos) = atoi(node->value); in readParamValue()
435 ALOGV("readParamValue() reading int %d", *(int *)(*param + pos)); in readParamValue()
[all …]
/frameworks/native/cmds/installd/
Dotapreopt.cpp384 const char* param = argv[dexopt_index + 1 + param_index]; in ReadArgumentsV2() local
385 if (param == nullptr) { in ReadArgumentsV2()
391 package_parameters_.apk_path = param; in ReadArgumentsV2()
395 package_parameters_.uid = atoi(param); in ReadArgumentsV2()
399 package_parameters_.pkgName = param; in ReadArgumentsV2()
403 package_parameters_.instruction_set = param; in ReadArgumentsV2()
407 package_parameters_.dexopt_needed = atoi(param); in ReadArgumentsV2()
411 package_parameters_.oat_dir = param; in ReadArgumentsV2()
415 package_parameters_.dexopt_flags = atoi(param); in ReadArgumentsV2()
419 package_parameters_.compiler_filter = param; in ReadArgumentsV2()
[all …]
/frameworks/base/libs/androidfw/tests/
DResTable_test.cpp212 ResTable_config param; in TEST() local
213 memset(&param, 0, sizeof(param)); in TEST()
214 param.density = 320; in TEST()
215 table.setParameters(&param); in TEST()
241 ResTable_config param; in TEST() local
242 memset(&param, 0, sizeof(param)); in TEST()
243 param.language[0] = 's'; in TEST()
244 param.language[1] = 'v'; in TEST()
245 param.country[0] = 'S'; in TEST()
246 param.country[1] = 'E'; in TEST()
[all …]
/frameworks/ex/common/java/com/android/common/
DOperationScheduler.java108 for (String param : spec.split(" +")) { in parseOptions()
109 if (param.length() == 0) continue; in parseOptions()
110 if (param.startsWith("backoff=")) { in parseOptions()
111 String[] pieces = param.substring(8).split("\\+"); in parseOptions()
124 } else if (param.startsWith("max=")) { in parseOptions()
125 options.maxMoratoriumMillis = parseSeconds(param.substring(4)); in parseOptions()
126 } else if (param.startsWith("min=")) { in parseOptions()
127 options.minTriggerMillis = parseSeconds(param.substring(4)); in parseOptions()
128 } else if (param.startsWith("period=")) { in parseOptions()
129 options.periodicIntervalMillis = parseSeconds(param.substring(7)); in parseOptions()
[all …]
/frameworks/support/room/compiler/src/test/kotlin/android/arch/persistence/room/processor/
DShortcutMethodProcessorTest.kt85 val param = shortcut.parameters.first() in <lambda>() constant
86 assertThat(param.type.typeName(), `is`(USER_TYPE_NAME)) in <lambda>()
87 assertThat(param.entityType?.typeName(), `is`(USER_TYPE_NAME)) in <lambda>()
103 val param = shortcut.parameters.first() in <lambda>() constant
104 assertThat(param.entityType, `is`(CoreMatchers.nullValue())) in <lambda>()
143 val param = shortcut.parameters.first() in <lambda>() constant
144 assertThat(param.type.typeName(), `is`( in <lambda>()
147 assertThat(param.entityType?.typeName(), `is`(USER_TYPE_NAME)) in <lambda>()
163 val param = shortcut.parameters.first() in <lambda>() constant
164 assertThat(param.type.typeName(), `is`( in <lambda>()
[all …]
DInsertionMethodProcessorTest.kt86 val param = insertion.parameters.first() in <lambda>() constant
87 assertThat(param.type.typeName(), `is`(USER_TYPE_NAME)) in <lambda>()
88 assertThat(param.entityType?.typeName(), `is`(USER_TYPE_NAME)) in <lambda>()
104 val param = insertion.parameters.first() in <lambda>() constant
105 assertThat(param.entityType, `is`(nullValue())) in <lambda>()
143 val param = insertion.parameters.first() in <lambda>() constant
144 assertThat(param.type.typeName(), `is`( in <lambda>()
147 assertThat(param.entityType?.typeName(), `is`(USER_TYPE_NAME)) in <lambda>()
166 val param = insertion.parameters.first() in <lambda>() constant
167 assertThat(param.type.typeName(), `is`( in <lambda>()
[all …]
DQueryMethodProcessorTest.kt119 val param = parsedQuery.parameters.first() in <lambda>() constant
120 assertThat(param.name, `is`("x")) in <lambda>()
121 assertThat(param.type, in <lambda>()
136 val param = parsedQuery.parameters.first() in <lambda>() constant
137 assertThat(param.name, `is`("ids")) in <lambda>()
139 assertThat(param.type, in <lambda>()
152 val param = parsedQuery.parameters.firstOrNull() in <lambda>() constant
154 assertThat(param, notNullValue()) in <lambda>()
155 assertThat(parsedQuery.sectionToParamMapping, `is`(listOf(Pair(section, param)))) in <lambda>()
167 val param = parsedQuery.parameters.firstOrNull() in <lambda>() constant
[all …]
/frameworks/native/opengl/libs/GLES_CM/
Dgl_api.in19 void API_ENTRY(glFogf)(GLenum pname, GLfloat param) {
20 CALL_GL_API(glFogf, pname, param);
46 void API_ENTRY(glLightModelf)(GLenum pname, GLfloat param) {
47 CALL_GL_API(glLightModelf, pname, param);
52 void API_ENTRY(glLightf)(GLenum light, GLenum pname, GLfloat param) {
53 CALL_GL_API(glLightf, light, pname, param);
64 void API_ENTRY(glMaterialf)(GLenum face, GLenum pname, GLfloat param) {
65 CALL_GL_API(glMaterialf, face, pname, param);
82 void API_ENTRY(glPointParameterf)(GLenum pname, GLfloat param) {
83 CALL_GL_API(glPointParameterf, pname, param);
[all …]
/frameworks/native/opengl/libagl/
Dlight.cpp452 static void lightModelx(GLenum pname, GLfixed param, ogles_context_t* c) in lightModelx() argument
458 c->lighting.lightModel.twoSide = param ? GL_TRUE : GL_FALSE; in lightModelx()
462 static void lightx(GLenum i, GLenum pname, GLfixed param, ogles_context_t* c) in lightx() argument
473 if (GGLfixed(param) >= gglIntToFixed(128)) { in lightx()
477 light.spotExp = param; in lightx()
480 if (param!=gglIntToFixed(180) && GGLfixed(param)>=gglIntToFixed(90)) { in lightx()
484 light.spotCutoff = param; in lightx()
486 gglFloatToFixed(cosinef((M_PI/(180.0f*65536.0f))*param)); in lightx()
489 if (param < 0) { in lightx()
493 light.attenuation[0] = param; in lightx()
[all …]
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/widget/
DEmojiEditTextHelperPre19Test.java53 final KeyListener param = mock(KeyListener.class); in testGetKeyListener_returnsSameKeyListener() local
55 param); in testGetKeyListener_returnsSameKeyListener()
57 assertSame(param, keyListener); in testGetKeyListener_returnsSameKeyListener()
62 final InputConnection param = mock(InputConnection.class); in testGetOnCreateInputConnection_returnsSameInputConnection() local
63 final InputConnection inputConnection = mEmojiEditTextHelper.onCreateInputConnection(param, in testGetOnCreateInputConnection_returnsSameInputConnection()
66 assertSame(param, inputConnection); in testGetOnCreateInputConnection_returnsSameInputConnection()
/frameworks/av/media/libstagefright/codecs/on2/enc/
DSoftVP8Encoder.cpp92 OMX_PTR param) { in internalGetParameter() argument
99 (OMX_VIDEO_PARAM_VP8TYPE *)param); in internalGetParameter()
102 return SoftVPXEncoder::internalGetParameter(index, param); in internalGetParameter()
107 const OMX_PTR param) { in internalSetParameter() argument
114 (const OMX_VIDEO_PARAM_VP8TYPE *)param); in internalSetParameter()
117 return SoftVPXEncoder::internalSetParameter(index, param); in internalSetParameter()
DSoftVP9Encoder.cpp84 OMX_INDEXTYPE index, OMX_PTR param) { in internalGetParameter() argument
91 (OMX_VIDEO_PARAM_VP9TYPE *)param); in internalGetParameter()
94 return SoftVPXEncoder::internalGetParameter(index, param); in internalGetParameter()
99 OMX_INDEXTYPE index, const OMX_PTR param) { in internalSetParameter() argument
106 (const OMX_VIDEO_PARAM_VP9TYPE *)param); in internalSetParameter()
109 return SoftVPXEncoder::internalSetParameter(index, param); in internalSetParameter()
/frameworks/native/opengl/tools/glgen/specs/gles11/
DGLES10.spec35 void glFogf ( GLenum pname, GLfloat param )
37 void glFogx ( GLenum pname, GLfixed param )
47 void glLightModelf ( GLenum pname, GLfloat param )
49 void glLightModelx ( GLenum pname, GLfixed param )
51 void glLightf ( GLenum light, GLenum pname, GLfloat param )
53 void glLightx ( GLenum light, GLenum pname, GLfixed param )
61 void glMaterialf ( GLenum face, GLenum pname, GLfloat param )
63 void glMaterialx ( GLenum face, GLenum pname, GLfixed param )
75 void glPixelStorei ( GLenum pname, GLint param )
95 void glTexEnvf ( GLenum target, GLenum pname, GLfloat param )
[all …]

12345678910