Home
last modified time | relevance | path

Searched refs:accessMode (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/content/res/
DAssetManager.java307 public final InputStream open(String fileName, int accessMode) in open() argument
313 long asset = openAsset(fileName, accessMode); in open()
374 public final InputStream openNonAsset(String fileName, int accessMode) in openNonAsset() argument
376 return openNonAsset(0, fileName, accessMode); in openNonAsset()
399 public final InputStream openNonAsset(int cookie, String fileName, int accessMode) in openNonAsset() argument
405 long asset = openNonAssetNative(cookie, fileName, accessMode); in openNonAsset()
703 private native final long openAsset(String fileName, int accessMode); in openAsset() argument
707 int accessMode); in openNonAssetNative() argument
/frameworks/av/media/libeffects/loudness/
DEffectLoudnessEnhancer.cpp108 if (pConfig->outputCfg.accessMode != EFFECT_BUFFER_ACCESS_WRITE && in LE_setConfig()
109 pConfig->outputCfg.accessMode != EFFECT_BUFFER_ACCESS_ACCUMULATE) return -EINVAL; in LE_setConfig()
156 pContext->mConfig.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ; in LE_init()
164 pContext->mConfig.outputCfg.accessMode = EFFECT_BUFFER_ACCESS_ACCUMULATE; in LE_init()
296 if (pContext->mConfig.outputCfg.accessMode == EFFECT_BUFFER_ACCESS_ACCUMULATE) { in LE_process()
/frameworks/av/media/libeffects/testlibs/
DEffectEqualizer.cpp235 CHECK_ARG(pConfig->outputCfg.accessMode == EFFECT_BUFFER_ACCESS_WRITE in Equalizer_setConfig()
236 || pConfig->outputCfg.accessMode == EFFECT_BUFFER_ACCESS_ACCUMULATE); in Equalizer_setConfig()
254 pConfig->outputCfg.accessMode); in Equalizer_setConfig()
304 pContext->config.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ; in Equalizer_init()
312 pContext->config.outputCfg.accessMode = EFFECT_BUFFER_ACCESS_ACCUMULATE; in Equalizer_init()
DEffectReverb.c473 pRvbModule->config.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ; in Reverb_Init()
481 pRvbModule->config.outputCfg.accessMode = EFFECT_BUFFER_ACCESS_ACCUMULATE; in Reverb_Init()
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp142 if (pConfig->outputCfg.accessMode != EFFECT_BUFFER_ACCESS_WRITE && in Visualizer_setConfig()
143 pConfig->outputCfg.accessMode != EFFECT_BUFFER_ACCESS_ACCUMULATE) return -EINVAL; in Visualizer_setConfig()
188 pContext->mConfig.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ; in Visualizer_init()
196 pContext->mConfig.outputCfg.accessMode = EFFECT_BUFFER_ACCESS_ACCUMULATE; in Visualizer_init()
399 if (pContext->mConfig.outputCfg.accessMode == EFFECT_BUFFER_ACCESS_ACCUMULATE) { in Visualizer_process()
/frameworks/av/media/libeffects/downmix/
DEffectDownmix.c290 (pDwmModule->config.outputCfg.accessMode == EFFECT_BUFFER_ACCESS_ACCUMULATE); in Downmix_Process()
552 pDwmModule->config.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ; in Downmix_Init()
564 pDwmModule->config.outputCfg.accessMode = EFFECT_BUFFER_ACCESS_ACCUMULATE; in Downmix_Init()
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp534 if (pContext->config.outputCfg.accessMode == EFFECT_BUFFER_ACCESS_ACCUMULATE){ in process()
617 CHECK_ARG(pConfig->outputCfg.accessMode == EFFECT_BUFFER_ACCESS_WRITE in Reverb_setConfig()
618 || pConfig->outputCfg.accessMode == EFFECT_BUFFER_ACCESS_ACCUMULATE); in Reverb_setConfig()
721 pContext->config.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ; in Reverb_init()
734 pContext->config.outputCfg.accessMode = EFFECT_BUFFER_ACCESS_ACCUMULATE; in Reverb_init()
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp507 pContext->config.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ; in LvmBundle_init()
515 pContext->config.outputCfg.accessMode = EFFECT_BUFFER_ACCESS_ACCUMULATE; in LvmBundle_init()
722 if (pContext->config.outputCfg.accessMode == EFFECT_BUFFER_ACCESS_WRITE){ in LvmBundle_process()
724 }else if (pContext->config.outputCfg.accessMode == EFFECT_BUFFER_ACCESS_ACCUMULATE){ in LvmBundle_process()
761 if (pContext->config.outputCfg.accessMode == EFFECT_BUFFER_ACCESS_ACCUMULATE){ in LvmBundle_process()
1056 CHECK_ARG(pConfig->outputCfg.accessMode == EFFECT_BUFFER_ACCESS_WRITE in Effect_setConfig()
1057 || pConfig->outputCfg.accessMode == EFFECT_BUFFER_ACCESS_ACCUMULATE); in Effect_setConfig()
2944 if (pContext->config.outputCfg.accessMode == EFFECT_BUFFER_ACCESS_ACCUMULATE) { in Effect_process()
/frameworks/av/services/audioflinger/
DEffects.cpp355 mConfig.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ; in configure()
366 mConfig.outputCfg.accessMode = EFFECT_BUFFER_ACCESS_ACCUMULATE; in configure()
368 mConfig.outputCfg.accessMode = EFFECT_BUFFER_ACCESS_WRITE; in configure()
DAudioMixer.cpp214 mDownmixConfig.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ; in DownmixerBufferProvider()
215 mDownmixConfig.outputCfg.accessMode = EFFECT_BUFFER_ACCESS_WRITE; in DownmixerBufferProvider()
/frameworks/base/docs/html/guide/topics/providers/
Ddocument-provider.jd863 return ParcelFileDescriptor.open(file, accessMode, handler,
882 return ParcelFileDescriptor.open(file, accessMode);