/frameworks/rs/ |
D | rs.spec | 7 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 …]
|
D | rsg.spec | 3 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 …]
|
D | rs_compat.spec | 3 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/ |
D | EnvironmentalReverb.java | 150 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 …]
|
D | Equalizer.java | 152 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 …]
|
D | AudioEffect.java | 537 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/ |
D | IMSIParameterTest.java | 68 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/ |
D | android_Effect.cpp | 56 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 …]
|
D | android_Effect.h | 23 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/ |
D | homing_amr_wb_dec.cpp | 251 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/ |
D | AudioEffect.cpp | 274 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 ¶m->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/ |
D | AAC_E_SAMPLES.c | 48 …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/ |
D | AudioPolicyEffects.cpp | 390 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/ |
D | otapreopt.cpp | 384 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/ |
D | ResTable_test.cpp | 212 ResTable_config param; in TEST() local 213 memset(¶m, 0, sizeof(param)); in TEST() 214 param.density = 320; in TEST() 215 table.setParameters(¶m); in TEST() 241 ResTable_config param; in TEST() local 242 memset(¶m, 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/ |
D | OperationScheduler.java | 108 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/ |
D | ShortcutMethodProcessorTest.kt | 85 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 …]
|
D | InsertionMethodProcessorTest.kt | 86 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 …]
|
D | QueryMethodProcessorTest.kt | 119 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/ |
D | gl_api.in | 19 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/ |
D | light.cpp | 452 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/ |
D | EmojiEditTextHelperPre19Test.java | 53 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/ |
D | SoftVP8Encoder.cpp | 92 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()
|
D | SoftVP9Encoder.cpp | 84 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/ |
D | GLES10.spec | 35 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 …]
|