Home
last modified time | relevance | path

Searched refs:setParameter (Results 1 – 25 of 84) sorted by relevance

1234

/frameworks/av/services/audioflinger/tests/
Dtest-mixer.cpp254 mixer->setParameter(name, AudioMixer::TRACK, AudioMixer::MAIN_BUFFER, in main()
256 mixer->setParameter( in main()
261 mixer->setParameter( in main()
266 mixer->setParameter( in main()
271 mixer->setParameter( in main()
276 mixer->setParameter( in main()
282 mixer->setParameter(name, AudioMixer::VOLUME, AudioMixer::VOLUME0, &f0); in main()
283 mixer->setParameter(name, AudioMixer::VOLUME, AudioMixer::VOLUME1, &f0); in main()
284 mixer->setParameter(name, AudioMixer::RAMP_VOLUME, AudioMixer::VOLUME0, &f); in main()
285 mixer->setParameter(name, AudioMixer::RAMP_VOLUME, AudioMixer::VOLUME1, &f); in main()
[all …]
/frameworks/base/media/java/android/media/
DMediaRecorder.java519 setParameter("time-lapse-enable=1"); in setCaptureRate()
520 setParameter("time-lapse-fps=" + fps); in setCaptureRate()
545 setParameter("video-param-rotation-angle-degrees=" + degrees); in setOrientationHint()
577 setParameter("param-geotag-latitude=" + latitudex10000); in setLocation()
578 setParameter("param-geotag-longitude=" + longitudex10000); in setLocation()
698 setParameter("audio-param-sampling-rate=" + samplingRate); in setAudioSamplingRate()
713 setParameter("audio-param-number-of-channels=" + numChannels); in setAudioChannels()
729 setParameter("audio-param-encoding-bitrate=" + bitRate); in setAudioEncodingBitRate()
745 setParameter("video-param-encoding-bitrate=" + bitRate); in setVideoEncodingBitRate()
765 setParameter("video-param-encoder-profile=" + profile); in setVideoEncodingProfileLevel()
[all …]
/frameworks/av/media/mtp/
DMtpDevice.cpp321 mRequest.setParameter(1, newSession); in openSession()
378 mRequest.setParameter(1, storageID); in getStorageInfo()
399 mRequest.setParameter(1, storageID); in getObjectHandles()
400 mRequest.setParameter(2, format); in getObjectHandles()
401 mRequest.setParameter(3, parent); in getObjectHandles()
419 mRequest.setParameter(1, handle); in getObjectInfo()
439 mRequest.setParameter(1, handle); in getThumbnail()
458 mRequest.setParameter(1, info->mStorageID); in sendObjectInfo()
459 mRequest.setParameter(2, parent); in sendObjectInfo()
507 mRequest.setParameter(1, handle); in sendObject()
[all …]
DMtpServer.cpp276 mEvent.setParameter(1, param1); in sendEvent()
496 mResponse.setParameter(1, mSessionID); in doOpenSession()
602 mResponse.setParameter(1, count); in doGetNumObjects()
605 mResponse.setParameter(1, 0); in doGetNumObjects()
867 mResponse.setParameter(1, length); in doGetPartialObject()
979 mResponse.setParameter(1, storageID); in doSendObjectInfo()
980 mResponse.setParameter(2, parent); in doSendObjectInfo()
981 mResponse.setParameter(3, handle); in doSendObjectInfo()
1238 mResponse.setParameter(1, 0); in doSendPartialObject()
1247 mResponse.setParameter(1, length); in doSendPartialObject()
DMtpPacket.h58 void setParameter(int index, uint32_t value);
/frameworks/base/media/java/android/media/audiofx/
DEnvironmentalReverb.java151 checkStatus(setParameter(PARAM_ROOM_LEVEL, param)); in setRoomLevel()
180 checkStatus(setParameter(PARAM_ROOM_HF_LEVEL, param)); in setRoomHFLevel()
207 checkStatus(setParameter(PARAM_DECAY_TIME, param)); in setDecayTime()
236 checkStatus(setParameter(PARAM_DECAY_HF_RATIO, param)); in setDecayHFRatio()
265 checkStatus(setParameter(PARAM_REFLECTIONS_LEVEL, param)); in setReflectionsLevel()
294 checkStatus(setParameter(PARAM_REFLECTIONS_DELAY, param)); in setReflectionsDelay()
322 checkStatus(setParameter(PARAM_REVERB_LEVEL, param)); in setReverbLevel()
349 checkStatus(setParameter(PARAM_REVERB_DELAY, param)); in setReverbDelay()
379 checkStatus(setParameter(PARAM_DIFFUSION, param)); in setDiffusion()
412 checkStatus(setParameter(PARAM_DENSITY, param)); in setDensity()
[all …]
DAudioEffect.java537 public int setParameter(byte[] param, byte[] value) in setParameter() method in AudioEffect
549 public int setParameter(int param, int value) throws IllegalStateException { in setParameter() method in AudioEffect
552 return setParameter(p, v); in setParameter()
562 public int setParameter(int param, short value) in setParameter() method in AudioEffect
566 return setParameter(p, v); in setParameter()
576 public int setParameter(int param, byte[] value) in setParameter() method in AudioEffect
579 return setParameter(p, value); in setParameter()
589 public int setParameter(int[] param, int[] value) in setParameter() method in AudioEffect
604 return setParameter(p, v); in setParameter()
614 public int setParameter(int[] param, short[] value) in setParameter() method in AudioEffect
[all …]
DPresetReverb.java144 checkStatus(setParameter(PARAM_PRESET, preset)); in setPreset()
301 checkStatus(setParameter(PARAM_PRESET, settings.preset)); in setProperties()
DBassBoost.java127 checkStatus(setParameter(PARAM_STRENGTH, strength)); in setStrength()
285 checkStatus(setParameter(PARAM_STRENGTH, settings.strength)); in setProperties()
DLoudnessEnhancer.java124 checkStatus(setParameter(PARAM_TARGET_GAIN_MB, gainmB)); in setTargetGain()
288 checkStatus(setParameter(PARAM_TARGET_GAIN_MB, settings.targetGainmB)); in setProperties()
DEqualizer.java223 checkStatus(setParameter(param, value)); in setBandLevel()
335 checkStatus(setParameter(PARAM_CURRENT_PRESET, preset)); in usePreset()
557 checkStatus(setParameter(PARAM_PROPERTIES, param)); in setProperties()
DVirtualizer.java153 checkStatus(setParameter(PARAM_STRENGTH, strength)); in setStrength()
438 int status = setParameter(PARAM_FORCE_VIRTUALIZATION_MODE, internalDevice); in forceVirtualizationMode()
626 checkStatus(setParameter(PARAM_STRENGTH, settings.strength)); in setProperties()
/frameworks/av/services/audioflinger/
DFastMixer.cpp269 mMixer->setParameter(name, AudioMixer::TRACK, AudioMixer::MAIN_BUFFER, in onStateChange()
272 mMixer->setParameter( in onStateChange()
276 mMixer->setParameter(name, AudioMixer::TRACK, AudioMixer::FORMAT, in onStateChange()
278 mMixer->setParameter(name, AudioMixer::TRACK, AudioMixer::CHANNEL_MASK, in onStateChange()
280 mMixer->setParameter(name, AudioMixer::TRACK, AudioMixer::MIXER_CHANNEL_MASK, in onStateChange()
304 mMixer->setParameter(name, AudioMixer::VOLUME, AudioMixer::VOLUME0, &f); in onStateChange()
305 mMixer->setParameter(name, AudioMixer::VOLUME, AudioMixer::VOLUME1, &f); in onStateChange()
307 mMixer->setParameter(name, AudioMixer::RESAMPLE, in onStateChange()
309 mMixer->setParameter( in onStateChange()
313 mMixer->setParameter(name, AudioMixer::TRACK, AudioMixer::FORMAT, in onStateChange()
[all …]
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DEnvReverbTest.java281 public void setParameter(Integer value) { in setParameter() method in EnvReverbTest.EnvReverbParam
302 public void setParameter(Integer value) { in setParameter() method in EnvReverbTest.RoomLevelParam
324 public void setParameter(Integer value) { in setParameter() method in EnvReverbTest.RoomHFLevelParam
346 public void setParameter(Integer value) { in setParameter() method in EnvReverbTest.DecayTimeParam
368 public void setParameter(Integer value) { in setParameter() method in EnvReverbTest.DecayHFRatioParam
390 public void setParameter(Integer value) { in setParameter() method in EnvReverbTest.ReflectionsLevelParam
412 public void setParameter(Integer value) { in setParameter() method in EnvReverbTest.ReflectionsDelayParam
434 public void setParameter(Integer value) { in setParameter() method in EnvReverbTest.ReverbLevelParam
456 public void setParameter(Integer value) { in setParameter() method in EnvReverbTest.ReverbDelayParam
478 public void setParameter(Integer value) { in setParameter() method in EnvReverbTest.DiffusionParam
[all …]
DEffectParameter.java58 public abstract void setParameter(Integer value); in setParameter() method in EffectParameter
74 setParameter(value); in onProgressChanged()
/frameworks/av/media/libmediaplayerservice/
DTestPlayerStub.h101 virtual status_t setParameter(int key, const Parcel &request) { in setParameter() function
102 return mPlayer->setParameter(key, request); in setParameter()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardEntryTests.java220 property.setParameter("TYPE", "HOME"); in testEntryElementIterator()
228 property.setParameter("TYPE", "WORK"); in testEntryElementIterator()
236 property.setParameter("TYPE", "HOME"); in testEntryElementIterator()
254 property.setParameter("TYPE", "WORK"); in testEntryElementIterator()
263 property.setParameter("TYPE", "PNG"); in testEntryElementIterator()
/frameworks/base/tests/CoreTests/android/core/
DTestHttpClient.java74 .setParameter(CoreProtocolPNames.PROTOCOL_VERSION, HttpVersion.HTTP_1_1) in TestHttpClient()
75 .setParameter(CoreProtocolPNames.USER_AGENT, "TEST-CLIENT/1.1"); in TestHttpClient()
/frameworks/base/media/mca/effect/java/android/media/effect/
DEffect.java86 public abstract void setParameter(String parameterKey, Object value); in setParameter() method in Effect
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaAudioEffectTest.java514 if (effect.setParameter(param, value) == AudioEffect.SUCCESS) { in test3_0SetParameterByteArrayByteArray()
546 if (effect.setParameter(EnvironmentalReverb.PARAM_DECAY_TIME, 0) in test3_1SetParameterIntInt()
579 if (effect.setParameter(Equalizer.PARAM_CURRENT_PRESET, (short)0) in test3_2SetParameterIntShort()
613 if (effect.setParameter(Equalizer.PARAM_CURRENT_PRESET, value) in test3_3SetParameterIntByteArray()
650 if (effect.setParameter(param, value) in test3_4SetParameterIntArrayIntArray()
687 if (effect.setParameter(param, value) in test3_5SetParameterIntArrayShortArray()
723 if (effect.setParameter(param, value) in test3_6SetParameterIntArrayByteArray()
757 effect.setParameter(Equalizer.PARAM_CURRENT_PRESET, (short)0); in test3_7SetParameterAfterRelease()
1115 int status = effect2.setParameter(Equalizer.PARAM_CURRENT_PRESET, (short)0); in test5_1setParameterLowerPriority()
1119 status = effect1.setParameter(Equalizer.PARAM_CURRENT_PRESET, (short)1); in test5_1setParameterLowerPriority()
[all …]
/frameworks/base/core/java/org/apache/http/params/
DHttpParams.java69 HttpParams setParameter(String name, Object value); in setParameter() method
/frameworks/base/media/mca/effect/java/android/media/effect/effects/
DIdentityEffect.java49 public void setParameter(String parameterKey, Object value) { in setParameter() method in IdentityEffect
DBackDropperEffect.java90 public void setParameter(String parameterKey, Object value) { in setParameter() method in BackDropperEffect
/frameworks/base/core/tests/coretests/src/android/net/http/
DAbstractProxyTest.java214 request.getParams().setParameter(ConnRoutePNames.DEFAULT_PROXY, ConnRouteParams.NO_HOST); in testExplicitNoProxyCancelsSystemProperty()
260 client.getParams().setParameter(ConnRoutePNames.DEFAULT_PROXY, in CLIENT_PARAMETER()
266 request.getParams().setParameter(ConnRoutePNames.DEFAULT_PROXY, in REQUEST_PARAMETER()
/frameworks/av/media/libmedia/
DVisualizer.cpp149 status_t status = setParameter(p); in setCaptureSize()
178 status_t status = setParameter(p); in setScalingMode()
208 status_t status = setParameter(p); in setMeasurementMode()

1234