Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/res/
DAssetManager.java309 public final InputStream open(String fileName, int accessMode) in open() argument
315 int asset = openAsset(fileName, accessMode); in open()
376 public final InputStream openNonAsset(String fileName, int accessMode) in openNonAsset() argument
378 return openNonAsset(0, fileName, accessMode); in openNonAsset()
401 public final InputStream openNonAsset(int cookie, String fileName, int accessMode) in openNonAsset() argument
407 int asset = openNonAssetNative(cookie, fileName, accessMode); in openNonAsset()
670 private native final int openAsset(String fileName, int accessMode); in openAsset() argument
674 int accessMode); in openNonAssetNative() argument
/frameworks/base/media/libeffects/visualizer/
DEffectVisualizer.cpp95 if (pConfig->outputCfg.accessMode != EFFECT_BUFFER_ACCESS_WRITE && in Visualizer_configure()
96 pConfig->outputCfg.accessMode != EFFECT_BUFFER_ACCESS_ACCUMULATE) return -EINVAL; in Visualizer_configure()
121 pContext->mConfig.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ; in Visualizer_init()
129 pContext->mConfig.outputCfg.accessMode = EFFECT_BUFFER_ACCESS_ACCUMULATE; in Visualizer_init()
300 if (pContext->mConfig.outputCfg.accessMode == EFFECT_BUFFER_ACCESS_ACCUMULATE) { in Visualizer_process()
/frameworks/base/media/libeffects/testlibs/
DEffectEqualizer.cpp252 CHECK_ARG(pConfig->outputCfg.accessMode == EFFECT_BUFFER_ACCESS_WRITE in Equalizer_configure()
253 || pConfig->outputCfg.accessMode == EFFECT_BUFFER_ACCESS_ACCUMULATE); in Equalizer_configure()
272 pConfig->outputCfg.accessMode); in Equalizer_configure()
303 pContext->config.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ; in Equalizer_init()
311 pContext->config.outputCfg.accessMode = EFFECT_BUFFER_ACCESS_ACCUMULATE; in Equalizer_init()
DEffectReverb.c484 pRvbModule->config.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ; in Reverb_Init()
492 pRvbModule->config.outputCfg.accessMode = EFFECT_BUFFER_ACCESS_ACCUMULATE; in Reverb_Init()
/frameworks/base/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp554 if (pContext->config.outputCfg.accessMode == EFFECT_BUFFER_ACCESS_ACCUMULATE){ in process()
637 CHECK_ARG(pConfig->outputCfg.accessMode == EFFECT_BUFFER_ACCESS_WRITE in Reverb_configure()
638 || pConfig->outputCfg.accessMode == EFFECT_BUFFER_ACCESS_ACCUMULATE); in Reverb_configure()
724 pContext->config.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ; in Reverb_init()
737 pContext->config.outputCfg.accessMode = EFFECT_BUFFER_ACCESS_ACCUMULATE; in Reverb_init()
/frameworks/base/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp523 pContext->config.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ; in LvmBundle_init()
531 pContext->config.outputCfg.accessMode = EFFECT_BUFFER_ACCESS_ACCUMULATE; in LvmBundle_init()
744 if (pContext->config.outputCfg.accessMode == EFFECT_BUFFER_ACCESS_WRITE){ in LvmBundle_process()
746 }else if (pContext->config.outputCfg.accessMode == EFFECT_BUFFER_ACCESS_ACCUMULATE){ in LvmBundle_process()
783 if (pContext->config.outputCfg.accessMode == EFFECT_BUFFER_ACCESS_ACCUMULATE){ in LvmBundle_process()
960 CHECK_ARG(pConfig->outputCfg.accessMode == EFFECT_BUFFER_ACCESS_WRITE in Effect_configure()
961 || pConfig->outputCfg.accessMode == EFFECT_BUFFER_ACCESS_ACCUMULATE); in Effect_configure()
/frameworks/base/services/audioflinger/
DAudioFlinger.cpp6310 mConfig.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ; in configure()
6321 mConfig.outputCfg.accessMode = EFFECT_BUFFER_ACCESS_ACCUMULATE; in configure()
6323 mConfig.outputCfg.accessMode = EFFECT_BUFFER_ACCESS_WRITE; in configure()