Searched defs:param (Results 1 - 25 of 86) sorted by relevance

1234

/frameworks/base/libs/androidfw/tests/
H A DResTable_test.cpp150 ResTable_config param; local
151 memset(&param, 0, sizeof(param));
152 param.density = 320;
153 table.setParameters(&param);
174 ResTable_config param; local
175 memset(&param, 0, sizeof(param));
176 param.language[0] = 's';
177 param
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DTransformUtils.java72 public static void setTextureParameter(FrameImage2D frame, int param, int value) { argument
74 texture.setParameter(param, value);
/frameworks/av/media/libstagefright/omx/
H A DSimpleSoftOMXComponent.cpp58 OMX_COMMANDTYPE cmd, OMX_U32 param, OMX_PTR data) {
63 msg->setInt32("param", param);
341 int32_t cmd, param;
343 CHECK(msg->findInt32("param", &param));
345 onSendCommand((OMX_COMMANDTYPE)cmd, (OMX_U32)param);
393 OMX_COMMANDTYPE cmd, OMX_U32 param) {
397 onChangeState((OMX_STATETYPE)param);
404 onPortEnable(param, cm
57 sendCommand( OMX_COMMANDTYPE cmd, OMX_U32 param, OMX_PTR data) argument
[all...]
H A DSoftOMXComponent.cpp114 OMX_U32 param,
120 return me->sendCommand(cmd, param, data);
260 OMX_COMMANDTYPE /* cmd */, OMX_U32 /* param */, OMX_PTR /* data */) {
111 SendCommandWrapper( OMX_HANDLETYPE component, OMX_COMMANDTYPE cmd, OMX_U32 param, OMX_PTR data) argument
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DUriDerivativeLoader.java55 public abstract R loadInBackground(P param, CancellationSignal signal); argument
86 public UriDerivativeLoader(Context context, P param) { argument
89 mParam = param;
/frameworks/av/media/libstagefright/codecs/aacdec/
H A DDrcPresModeWrap.cpp127 CDrcPresModeWrapper::setParam(const DRC_PRES_MODE_WRAP_PARAM param, const int value) argument
129 switch (param) {
/frameworks/native/services/powermanager/
H A DIPowerManager.cpp98 virtual status_t powerHint(int hintId, int param) argument
103 data.writeInt32(param);
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dhoming_amr_wb_dec.cpp251 int16 param[DHF_PARMS_MAX]; local
283 param[i] = Serial_parm(15, &prms);
288 param[i] = Serial_parm(tmp, &prms);
290 param[i] = shl_int16(param[i], shift);
297 param[i] = Serial_parm(15, &prms);
299 param[10] = Serial_parm(15, &prms) & 0x61FF;
303 param[i] = Serial_parm(15, &prms);
305 param[17] = Serial_parm(15, &prms) & 0xE0FF;
309 param[
[all...]
/frameworks/base/keystore/java/android/security/
H A DAndroidKeyStore.java531 public void engineSetEntry(String alias, Entry entry, ProtectionParameter param) argument
547 if (param != null && !(param instanceof KeyStoreParameter)) {
550 + param.getClass().getName());
556 (KeyStoreParameter) param);
/frameworks/base/media/java/android/media/audiofx/
H A DBassBoost.java79 * @param priority the priority level requested by the application for controlling the BassBoost
83 * @param audioSession system wide unique audio session identifier. The BassBoost will be
119 * @param strength strength of the effect. The valid range for strength strength is [0, 1000],
154 * @param effect the BassBoost on which the interface is registered.
155 * @param status status of the set parameter operation.
156 * @param param ID of the modified parameter. See {@link #PARAM_STRENGTH} ...
157 * @param value the new parameter value.
159 void onParameterChange(BassBoost effect, int status, int param, short value); argument
170 public void onParameterChange(AudioEffect effect, int status, byte[] param, byt argument
[all...]
H A DLoudnessEnhancer.java69 * @param audioSession system-wide unique audio session identifier. The LoudnessEnhancer
90 * @param priority the priority level requested by the application for controlling the
95 * @param audioSession system-wide unique audio session identifier. The LoudnessEnhancer
117 * @param gainmB the effect target gain expressed in mB. 0mB corresponds to no amplification.
151 * @param effect the LoudnessEnhancer on which the interface is registered.
152 * @param param ID of the modified parameter. See {@link #PARAM_GENERIC_PARAM1} ...
153 * @param value the new parameter value.
155 void onParameterChange(LoudnessEnhancer effect, int param, int value); argument
166 public void onParameterChange(AudioEffect effect, int status, byte[] param, byt argument
[all...]
H A DPresetReverb.java112 * @param priority the priority level requested by the application for controlling the
116 * @param audioSession system wide unique audio session identifier. If audioSession
136 * @param preset this must be one of the the preset constants defined in this class.
170 * @param effect the PresetReverb on which the interface is registered.
171 * @param status status of the set parameter operation.
172 * @param param ID of the modified parameter. See {@link #PARAM_PRESET} ...
173 * @param value the new parameter value.
175 void onParameterChange(PresetReverb effect, int status, int param, short value); argument
186 public void onParameterChange(AudioEffect effect, int status, byte[] param, byt argument
[all...]
H A DEqualizer.java124 * @param priority the priority level requested by the application for controlling the Equalizer
128 * @param audioSession system wide unique audio session identifier. The Equalizer will be
152 int[] param = new int[2];
153 param[0] = PARAM_GET_PRESET_NAME;
155 param[1] = i;
156 checkStatus(getParameter(param, value));
180 int[] param = new int[1];
181 param[0] = PARAM_NUM_BANDS;
183 checkStatus(getParameter(param, result));
206 * @param ban
396 onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) argument
[all...]
H A DVirtualizer.java105 * @param priority the priority level requested by the application for controlling the Virtualizer
109 * @param audioSession system wide unique audio session identifier. The Virtualizer will
145 * @param strength strength of the effect. The valid range for strength strength is [0, 1000],
173 * @param inputChannelMask
174 * @param deviceType
175 * @param angles if non-null: array in which the angles will be written. If null, no angles
201 ByteBuffer paramsConverter = ByteBuffer.allocate(3 /* param + mask + device*/ * 4);
358 * @param inputChannelMask the channel mask of the content to virtualize.
359 * @param virtualizationMode the mode for which virtualization processing is to be performed,
387 * @param inputChannelMas
500 onParameterChange(Virtualizer effect, int status, int param, short value) argument
511 onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) argument
[all...]
/frameworks/ex/common/java/com/android/common/
H A DOperationScheduler.java81 * @param storage to use for recording the state of operations across restarts/reboots
102 * @param spec describing some or all scheduler options.
103 * @param options to update with parsed values.
109 for (String param : spec.split(" +")) {
110 if (param.length() == 0) continue;
111 if (param.startsWith("backoff=")) {
112 String[] pieces = param.substring(8).split("\\+");
125 } else if (param.startsWith("max=")) {
126 options.maxMoratoriumMillis = parseSeconds(param.substring(4));
127 } else if (param
138 parseSeconds(String param) argument
[all...]
/frameworks/wilhelm/tests/sandbox/
H A Dmultithread.c42 void *thread_start(void *param) argument
46 ThreadArgument *ta = (ThreadArgument *) param;
/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/
H A DAAC_E_SAMPLES.c48 static int parsecmdline(int argc, char **argv,char **input_filename, char **output_filename, AACENC_PARAM *param) argument
54 param->adtsUsed = 1;
55 param->bitRate = 0;
56 param->nChannels = 2;
57 param->sampleRate = 44100;
84 param->sampleRate = atoi(*argv);
90 param->nChannels = atoi(*argv);
96 param->bitRate = atoi(*argv);
102 param->adtsUsed = atoi(*argv);
113 if(param
[all...]
/frameworks/av/media/libstagefright/codecs/on2/enc/
H A DSoftVPXEncoder.cpp353 OMX_PTR param) {
360 (OMX_VIDEO_PARAM_BITRATETYPE *)param;
381 (OMX_VIDEO_PARAM_VP8TYPE *)param;
396 (OMX_VIDEO_PARAM_ANDROID_VP8ENCODERTYPE *)param;
413 return SoftVideoEncoderOMXComponent::internalGetParameter(index, param);
419 const OMX_PTR param) {
426 (const OMX_VIDEO_PARAM_BITRATETYPE *)param);
430 (const OMX_VIDEO_PARAM_VP8TYPE *)param);
434 (const OMX_VIDEO_PARAM_ANDROID_VP8ENCODERTYPE *)param);
437 return SoftVideoEncoderOMXComponent::internalSetParameter(index, param);
352 internalGetParameter(OMX_INDEXTYPE index, OMX_PTR param) argument
418 internalSetParameter(OMX_INDEXTYPE index, const OMX_PTR param) argument
[all...]
/frameworks/av/services/audioflinger/
H A DPatchPanel.cpp323 AudioParameter param = AudioParameter(String8(address)); local
325 param.addInt(String8(AUDIO_PARAMETER_STREAM_ROUTING),
327 param.addInt(String8(AUDIO_PARAMETER_STREAM_INPUT_SOURCE),
330 param.toString().string());
331 status = thread->setParameters(param.toString());
382 AudioParameter param = AudioParameter(String8(address)); local
384 param.addInt(String8(AUDIO_PARAMETER_STREAM_ROUTING), (int)type);
385 status = thread->setParameters(param.toString());
612 AudioParameter param; local
613 param
639 AudioParameter param; local
[all...]
/frameworks/av/services/audiopolicy/
H A DAudioPolicyEffects.cpp375 size_t AudioPolicyEffects::growParamSize(char *param, argument
387 param = (char *)realloc(param, *totSize);
394 char *param,
399 size_t pos = growParamSize(param, sizeof(short), curSize, totSize);
400 *(short *)((char *)param + pos) = (short)atoi(node->value);
401 ALOGV("readParamValue() reading short %d", *(short *)((char *)param + pos));
404 size_t pos = growParamSize(param, sizeof(int), curSize, totSize);
405 *(int *)((char *)param + pos) = atoi(node->value);
406 ALOGV("readParamValue() reading int %d", *(int *)((char *)param
393 readParamValue(cnode *node, char *param, size_t *curSize, size_t *totSize) argument
440 cnode *param; local
507 effect_param_t *param = loadEffectParameter(node); local
[all...]
/frameworks/base/media/mca/filterfw/jni/
H A Djni_gl_frame.cpp275 jint param,
278 return frame ? ToJBool(frame->SetTextureParameter(param, value)) : JNI_FALSE;
273 Java_android_filterfw_core_GLFrame_setNativeTextureParam(JNIEnv* env, jobject thiz, jint param, jint value) argument
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DBassBoostTest.java202 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) { argument
203 int p = byteArrayToInt(param, 0);
H A DPresetReverbTest.java231 public void onParameterChange(PresetReverb effect, int status, int param, short value) { argument
232 Log.d(TAG,"onParameterChange, status: "+status+" p: "+param+" v: "+value);
H A DVirtualizerTest.java199 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) { argument
200 int p = byteArrayToInt(param, 0);
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL11Ext.java40 void glTexParameterfv(int target, int pname, float[] param, int offset); argument

Completed in 5454 milliseconds

1234