/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
D | EffectReverb.cpp | 183 int Reverb_init(ReverbContext* pContext); 184 void Reverb_free(ReverbContext* pContext); 185 int Reverb_setConfig(ReverbContext* pContext, effect_config_t* pConfig); 186 void Reverb_getConfig(ReverbContext* pContext, effect_config_t* pConfig); 187 int Reverb_setParameter(ReverbContext* pContext, void* pParam, void* pValue, int vsize); 188 int Reverb_getParameter(ReverbContext* pContext, void* pParam, uint32_t* pValueSize, void* pValue); 189 int Reverb_LoadPreset(ReverbContext* pContext); 220 ReverbContext* pContext = new ReverbContext; in EffectCreate() local 222 pContext->itfe = &gReverbInterface; in EffectCreate() 223 pContext->hInstance = NULL; in EffectCreate() [all …]
|
/frameworks/av/media/libeffects/proxy/ |
D | EffectProxy.cpp | 58 EffectContext* pContext; in EffectProxyCreate() local 64 pContext = new EffectContext; in EffectProxyCreate() 65 pContext->sessionId = sessionId; in EffectProxyCreate() 66 pContext->ioId = ioId; in EffectProxyCreate() 67 pContext->uuid = *uuid; in EffectProxyCreate() 68 pContext->common_itfe = &gEffectInterface; in EffectProxyCreate() 72 pContext->eHandle[SUB_FX_HOST] = pContext->eHandle[SUB_FX_OFFLOAD] = NULL; in EffectProxyCreate() 78 pContext->sube = new sub_effect_entry_t*[SUB_FX_COUNT]; in EffectProxyCreate() 79 pContext->desc = new effect_descriptor_t[SUB_FX_COUNT]; in EffectProxyCreate() 80 pContext->aeli = new audio_effect_library_t*[SUB_FX_COUNT]; in EffectProxyCreate() [all …]
|
/frameworks/av/media/libeffects/visualizer/ |
D | EffectVisualizer.cpp | 110 uint32_t Visualizer_getDeltaTimeMsFromUpdatedTime(VisualizerContext* pContext) { in Visualizer_getDeltaTimeMsFromUpdatedTime() argument 112 if (pContext->mBufferUpdateTime.tv_sec != 0) { in Visualizer_getDeltaTimeMsFromUpdatedTime() 115 time_t secs = ts.tv_sec - pContext->mBufferUpdateTime.tv_sec; in Visualizer_getDeltaTimeMsFromUpdatedTime() 116 long nsec = ts.tv_nsec - pContext->mBufferUpdateTime.tv_nsec; in Visualizer_getDeltaTimeMsFromUpdatedTime() 128 void Visualizer_reset(VisualizerContext *pContext) in Visualizer_reset() argument 130 pContext->mCaptureIdx = 0; in Visualizer_reset() 131 pContext->mLastCaptureIdx = 0; in Visualizer_reset() 132 pContext->mBufferUpdateTime.tv_sec = 0; in Visualizer_reset() 133 pContext->mLatency = 0; in Visualizer_reset() 134 memset(pContext->mCaptureBuf, 0x80, CAPTURE_BUF_SIZE); in Visualizer_reset() [all …]
|
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
D | EffectBundle.cpp | 144 int LvmBundle_init(EffectContext* pContext); 145 int LvmEffect_enable(EffectContext* pContext); 146 int LvmEffect_disable(EffectContext* pContext); 147 int Effect_setConfig(EffectContext* pContext, effect_config_t* pConfig); 148 void Effect_getConfig(EffectContext* pContext, effect_config_t* pConfig); 149 int BassBoost_setParameter(EffectContext* pContext, uint32_t paramSize, void* pParam, 151 int BassBoost_getParameter(EffectContext* pContext, uint32_t paramSize, void* pParam, 153 int Virtualizer_setParameter(EffectContext* pContext, uint32_t paramSize, void* pParam, 155 int Virtualizer_getParameter(EffectContext* pContext, uint32_t paramSize, void* pParam, 157 int Equalizer_setParameter(EffectContext* pContext, uint32_t paramSize, void* pParam, [all …]
|
/frameworks/av/media/libeffects/loudness/ |
D | EffectLoudnessEnhancer.cpp | 90 void LE_reset(LoudnessEnhancerContext *pContext) in LE_reset() argument 92 ALOGV(" > LE_reset(%p)", pContext); in LE_reset() 94 if (pContext->mCompressor != NULL) { in LE_reset() 95 float targetAmp = pow(10, pContext->mTargetGainmB/2000.0f); // mB to linear amplification in LE_reset() 96 ALOGV("LE_reset(): Target gain=%dmB <=> factor=%.2fX", pContext->mTargetGainmB, targetAmp); in LE_reset() 97 pContext->mCompressor->Initialize(targetAmp, pContext->mConfig.inputCfg.samplingRate); in LE_reset() 99 ALOGE("LE_reset(%p): null compressors, can't apply target gain", pContext); in LE_reset() 117 int LE_setConfig(LoudnessEnhancerContext *pContext, effect_config_t *pConfig) in LE_setConfig() argument 119 ALOGV("LE_setConfig(%p)", pContext); in LE_setConfig() 129 pContext->mConfig = *pConfig; in LE_setConfig() [all …]
|
/frameworks/av/media/libeffects/testlibs/ |
D | EffectEqualizer.cpp | 119 int Equalizer_init(EqualizerContext *pContext); 120 int Equalizer_setConfig(EqualizerContext *pContext, effect_config_t *pConfig); 146 EqualizerContext *pContext = new EqualizerContext; in EffectCreate() local 148 pContext->itfe = &gEqualizerInterface; in EffectCreate() 149 pContext->pEqualizer = NULL; in EffectCreate() 150 pContext->state = EQUALIZER_STATE_UNINITIALIZED; in EffectCreate() 152 ret = Equalizer_init(pContext); in EffectCreate() 155 delete pContext; in EffectCreate() 159 *pHandle = (effect_handle_t)pContext; in EffectCreate() 160 pContext->state = EQUALIZER_STATE_INITIALIZED; in EffectCreate() [all …]
|
/frameworks/av/media/libeffects/dynamicsproc/ |
D | EffectDynamicsProcessing.cpp | 86 int DP_setParameter(DynamicsProcessingContext *pContext, 91 int DP_getParameter(DynamicsProcessingContext *pContext, 107 void DP_reset(DynamicsProcessingContext *pContext) in DP_reset() argument 109 ALOGV("> DP_reset(%p)", pContext); in DP_reset() 110 if (pContext->mPDynamics != NULL) { in DP_reset() 111 pContext->mPDynamics->reset(); in DP_reset() 113 ALOGE("DP_reset(%p): null DynamicsProcessing", pContext); in DP_reset() 131 int DP_setConfig(DynamicsProcessingContext *pContext, effect_config_t *pConfig) in DP_setConfig() argument 133 ALOGV("DP_setConfig(%p)", pContext); in DP_setConfig() 142 pContext->mConfig = *pConfig; in DP_setConfig() [all …]
|
/frameworks/av/media/libeffects/lvm/tests/ |
D | lvmtest.cpp | 209 int LvmBundle_init(struct EffectContext* pContext, LVM_ControlParams_t* params) { in LvmBundle_init() argument 212 pContext->config.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ; in LvmBundle_init() 213 pContext->config.inputCfg.channels = AUDIO_CHANNEL_OUT_STEREO; in LvmBundle_init() 214 pContext->config.inputCfg.format = EFFECT_BUFFER_FORMAT; in LvmBundle_init() 215 pContext->config.inputCfg.samplingRate = 44100; in LvmBundle_init() 216 pContext->config.inputCfg.bufferProvider.getBuffer = NULL; in LvmBundle_init() 217 pContext->config.inputCfg.bufferProvider.releaseBuffer = NULL; in LvmBundle_init() 218 pContext->config.inputCfg.bufferProvider.cookie = NULL; in LvmBundle_init() 219 pContext->config.inputCfg.mask = EFFECT_CONFIG_ALL; in LvmBundle_init() 220 pContext->config.outputCfg.accessMode = EFFECT_BUFFER_ACCESS_ACCUMULATE; in LvmBundle_init() [all …]
|
/frameworks/compile/libbcc/lib/ |
D | Source.cpp | 46 static inline std::unique_ptr<llvm::Module> helper_load_bitcode(llvm::LLVMContext &pContext, in helper_load_bitcode() argument 50 = llvm::getLazyBitcodeModule(std::move(pInput), pContext); in helper_load_bitcode() 103 Source *Source::CreateFromBuffer(BCCContext &pContext, in CreateFromBuffer() argument 116 auto managedModule = helper_load_bitcode(pContext.mImpl->mLLVMContext, in CreateFromBuffer() 129 Source *result = CreateFromModule(pContext, pName, *module, in CreateFromBuffer() 139 Source *Source::CreateFromFile(BCCContext &pContext, const std::string &pPath) { in CreateFromFile() argument 156 auto managedModule = helper_load_bitcode(pContext.mImpl->mLLVMContext, in CreateFromFile() 166 Source *result = CreateFromModule(pContext, pPath.c_str(), *module, in CreateFromFile() 176 Source *Source::CreateFromModule(BCCContext &pContext, const char* name, llvm::Module &pModule, in CreateFromModule() argument 189 Source *result = new (std::nothrow) Source(name, pContext, pModule, pNoDelete); in CreateFromModule() [all …]
|
D | BCCContextImpl.h | 39 explicit BCCContextImpl(BCCContext &pContext) { } in BCCContextImpl() argument
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | PackageUtil.java | 81 public static View initSnippetForInstalledApp(Context pContext, in initSnippetForInstalledApp() argument 83 return initSnippetForInstalledApp(pContext, appInfo, snippetView, null); in initSnippetForInstalledApp() 97 public static View initSnippetForInstalledApp(Context pContext, in initSnippetForInstalledApp() argument 99 final PackageManager pm = pContext.getPackageManager(); in initSnippetForInstalledApp() 102 icon = pContext.getPackageManager().getUserBadgedIcon(icon, user); in initSnippetForInstalledApp() 132 Activity pContext, ApplicationInfo appInfo, File sourceFile) { in getAppSnippet() argument 134 Resources pRes = pContext.getResources(); in getAppSnippet() 162 icon = pContext.getPackageManager().getDefaultActivityIcon(); in getAppSnippet()
|
/frameworks/compile/libbcc/include/bcc/ |
D | Source.h | 50 Source(const char* name, BCCContext &pContext, llvm::Module &pModule, 54 static Source *CreateFromBuffer(BCCContext &pContext, 59 static Source *CreateFromFile(BCCContext &pContext, 64 static Source *CreateFromModule(BCCContext &pContext,
|
/frameworks/wilhelm/src/itf/ |
D | IMIDIMessage.cpp | 39 slMetaEventCallback callback, void *pContext) in IMIDIMessage_RegisterMetaEventCallback() argument 46 thiz->mMetaEventContext = pContext; in IMIDIMessage_RegisterMetaEventCallback() 55 slMIDIMessageCallback callback, void *pContext) in IMIDIMessage_RegisterMIDIMessageCallback() argument 62 thiz->mMessageContext = pContext; in IMIDIMessage_RegisterMIDIMessageCallback()
|
D | IAudioIODeviceCapabilities.cpp | 72 void *pContext) in IAudioIODeviceCapabilities_RegisterAvailableAudioInputsChangedCallback() argument 79 thiz->mAvailableAudioInputsChangedContext = pContext; in IAudioIODeviceCapabilities_RegisterAvailableAudioInputsChangedCallback() 142 void *pContext) in IAudioIODeviceCapabilities_RegisterAvailableAudioOutputsChangedCallback() argument 149 thiz->mAvailableAudioOutputsChangedContext = pContext; in IAudioIODeviceCapabilities_RegisterAvailableAudioOutputsChangedCallback() 159 void *pContext) in IAudioIODeviceCapabilities_RegisterDefaultDeviceIDMapChangedCallback() argument 166 thiz->mDefaultDeviceIDMapChangedContext = pContext; in IAudioIODeviceCapabilities_RegisterDefaultDeviceIDMapChangedCallback()
|
D | IVisualization.cpp | 23 slVisualizationCallback callback, void *pContext, SLmilliHertz rate) in IVisualization_RegisterVisualizationCallback() argument 33 thiz->mContext = pContext; in IVisualization_RegisterVisualizationCallback()
|
D | IOutputMix.cpp | 48 slMixDeviceChangeCallback callback, void *pContext) in IOutputMix_RegisterDeviceChangeCallback() argument 55 thiz->mContext = pContext; in IOutputMix_RegisterDeviceChangeCallback()
|
D | IPrefetchStatus.cpp | 61 slPrefetchCallback callback, void *pContext) in IPrefetchStatus_RegisterCallback() argument 68 thiz->mContext = pContext; in IPrefetchStatus_RegisterCallback()
|
D | IBufferQueue.cpp | 150 slBufferQueueCallback callback, void *pContext) in IBufferQueue_RegisterCallback() argument 159 thiz->mContext = pContext; in IBufferQueue_RegisterCallback()
|
/frameworks/wilhelm/include/OMXAL/ |
D | OpenMAXAL.h | 157 const void * pContext, 185 void * pContext 250 void * pContext, 274 void * pContext 727 void * pContext, 751 void * pContext 838 void * pContext, 854 void * pContext 1108 void * pContext, 1132 void * pContext [all …]
|
/frameworks/wilhelm/include/SLES/ |
D | OpenSLES.h | 393 const void * pContext, 422 void * pContext 519 void *pContext, 528 void *pContext, 536 void *pContext, 556 void *pContext 571 void *pContext 576 void *pContext 882 void *pContext 895 void *pContext [all …]
|
/frameworks/wilhelm/tests/mimeUri/ |
D | slesTestLoopUri.cpp | 63 void PrefetchEventCallback( SLPrefetchStatusItf caller, void *pContext, SLuint32 event) in PrefetchEventCallback() argument 67 assert(pContext == NULL); in PrefetchEventCallback() 106 void *pContext, in PlayEventCallback() argument 110 assert(NULL == pContext); in PlayEventCallback()
|
D | slesTestSlowDownUri.cpp | 65 void PlayEventCallback( SLPlayItf caller __unused, void *pContext, SLuint32 event) in PlayEventCallback() argument 73 assert(NULL != pContext); in PlayEventCallback() 74 SLPlaybackRateItf pRateItf = (SLPlaybackRateItf)pContext; in PlayEventCallback() 108 void PrefetchEventCallback( SLPrefetchStatusItf caller, void *pContext, SLuint32 event) in PrefetchEventCallback() argument 112 assert(pContext == NULL); in PrefetchEventCallback()
|
D | slesTestManyPlayers.cpp | 74 void PrefetchEventCallback( SLPrefetchStatusItf caller, void *pContext, SLuint32 event) in PrefetchEventCallback() argument 78 int* pPlayerId = (int*)pContext; in PrefetchEventCallback() 104 void *pContext, in PlayEventCallback() argument 108 int* pPlayerId = (int*)pContext; in PlayEventCallback()
|
/frameworks/compile/mclinker/include/mcld/MC/ |
D | Input.h | 102 void setContext(LDContext* pContext) { m_pContext = pContext; } in setContext() argument
|
/frameworks/wilhelm/src/desktop/ |
D | SLSndFile.h | 19 extern void SndFile_Callback(SLBufferQueueItf caller, void *pContext);
|