/hardware/qcom/audio/post_proc/ |
D | reverb.c | 98 void reverb_auxiliary_init(reverb_context_t *context) in reverb_auxiliary_init() argument 100 context->auxiliary = true; in reverb_auxiliary_init() 101 context->preset = false; in reverb_auxiliary_init() 104 void reverb_insert_init(reverb_context_t *context) in reverb_insert_init() argument 106 context->auxiliary = false; in reverb_insert_init() 107 context->preset = true; in reverb_insert_init() 108 context->cur_preset = REVERB_PRESET_LAST + 1; in reverb_insert_init() 109 context->next_preset = REVERB_DEFAULT_PRESET; in reverb_insert_init() 112 void reverb_preset_init(reverb_context_t *context) in reverb_preset_init() argument 114 context->auxiliary = false; in reverb_preset_init() [all …]
|
D | bundle.c | 91 bool effect_exists(effect_context_t *context) in effect_exists() argument 99 if (fx_ctxt == context) { in effect_exists() 120 void add_effect_to_output(output_context_t * output, effect_context_t *context) in add_effect_to_output() argument 128 if (fx_ctxt == context) in add_effect_to_output() 131 list_add_tail(&output->effects_list, &context->output_node); in add_effect_to_output() 132 if (context->ops.start) in add_effect_to_output() 133 context->ops.start(context, output); in add_effect_to_output() 138 effect_context_t *context) in remove_effect_from_output() argument 146 if (fx_ctxt == context) { in remove_effect_from_output() 147 if (context->ops.stop) in remove_effect_from_output() [all …]
|
D | virtualizer.c | 46 int virtualizer_get_strength(virtualizer_context_t *context) in virtualizer_get_strength() argument 48 ALOGV("%s: strength: %d", __func__, context->strength); in virtualizer_get_strength() 49 return context->strength; in virtualizer_get_strength() 52 int virtualizer_set_strength(virtualizer_context_t *context, uint32_t strength) in virtualizer_set_strength() argument 55 context->strength = strength; in virtualizer_set_strength() 57 offload_virtualizer_set_strength(&(context->offload_virt), strength); in virtualizer_set_strength() 58 if (context->ctl) in virtualizer_set_strength() 59 offload_virtualizer_send_params(context->ctl, &context->offload_virt, in virtualizer_set_strength() 65 int virtualizer_get_parameter(effect_context_t *context, effect_param_t *p, in virtualizer_get_parameter() argument 68 virtualizer_context_t *virt_ctxt = (virtualizer_context_t *)context; in virtualizer_get_parameter() [all …]
|
D | bass_boost.c | 46 int bassboost_get_strength(bassboost_context_t *context) in bassboost_get_strength() argument 48 ALOGV("%s: strength: %d", __func__, context->strength); in bassboost_get_strength() 49 return context->strength; in bassboost_get_strength() 52 int bassboost_set_strength(bassboost_context_t *context, uint32_t strength) in bassboost_set_strength() argument 55 context->strength = strength; in bassboost_set_strength() 57 offload_bassboost_set_strength(&(context->offload_bass), strength); in bassboost_set_strength() 58 if (context->ctl) in bassboost_set_strength() 59 offload_bassboost_send_params(context->ctl, &context->offload_bass, in bassboost_set_strength() 65 int bassboost_get_parameter(effect_context_t *context, effect_param_t *p, in bassboost_get_parameter() argument 68 bassboost_context_t *bass_ctxt = (bassboost_context_t *)context; in bassboost_get_parameter() [all …]
|
D | equalizer.c | 85 int equalizer_get_band_level(equalizer_context_t *context, int32_t band) in equalizer_get_band_level() argument 88 context->band_levels[band] * 100); in equalizer_get_band_level() 89 return context->band_levels[band] * 100; in equalizer_get_band_level() 92 int equalizer_set_band_level(equalizer_context_t *context, int32_t band, in equalizer_set_band_level() argument 101 context->band_levels[band] = level; in equalizer_set_band_level() 102 context->preset = PRESET_CUSTOM; in equalizer_set_band_level() 104 offload_eq_set_preset(&(context->offload_eq), PRESET_CUSTOM); in equalizer_set_band_level() 105 offload_eq_set_bands_level(&(context->offload_eq), in equalizer_set_band_level() 108 context->band_levels); in equalizer_set_band_level() 109 if (context->ctl) in equalizer_set_band_level() [all …]
|
D | ma_listener.c | 170 static inline bool valid_dev_in_context(struct ma_listener_context_s *context) in valid_dev_in_context() argument 173 if ((context->dev_id & AUDIO_DEVICE_OUT_SPEAKER) || in valid_dev_in_context() 174 (context->dev_id & AUDIO_DEVICE_OUT_SPEAKER_SAFE) || in valid_dev_in_context() 176 (context->dev_id & AUDIO_DEVICE_OUT_ALL_A2DP) || in valid_dev_in_context() 177 (context->dev_id & AUDIO_DEVICE_OUT_ALL_USB)) { in valid_dev_in_context() 190 ma_listener_context_t *context = NULL; in check_and_set_ma_parameter() local 195 context = node_to_item(node, struct ma_listener_context_s, effect_list_node); in check_and_set_ma_parameter() 196 if (context->stream_type == stream_type && in check_and_set_ma_parameter() 197 valid_dev_in_context(context)) { in check_and_set_ma_parameter() 198 if (context->state == MA_LISTENER_STATE_ACTIVE) { in check_and_set_ma_parameter() [all …]
|
D | volume_listener.c | 221 vol_listener_context_t *context; in dump_list_l() local 226 context = node_to_item(node, struct vol_listener_context_s, effect_list_node); in dump_list_l() 230 context->stream_type == MUSIC ? "MUSIC" : in dump_list_l() 231 context->stream_type == RING ? "RING" : in dump_list_l() 232 context->stream_type == ALARM ? "ALARM" : in dump_list_l() 233 context->stream_type == VOICE_CALL ? "VOICE_CALL" : in dump_list_l() 234 context->stream_type == VC_CALL ? "VC_CALL" : in dump_list_l() 235 context->stream_type == NOTIFICATION ? "NOTIFICATION" : "--INVALID--", in dump_list_l() 236 … context->dev_id, context->state, context->session_id, context->left_vol,context->right_vol); in dump_list_l() 242 static inline bool valid_dev_in_context(struct vol_listener_context_s *context) in valid_dev_in_context() argument [all …]
|
D | bundle.h | 55 int (*init)(effect_context_t *context); 56 int (*release)(effect_context_t *context); 57 int (*reset)(effect_context_t *context); 58 int (*enable)(effect_context_t *context); 59 int (*start)(effect_context_t *context, output_context_t *output); 60 int (*stop)(effect_context_t *context, output_context_t *output); 61 int (*disable)(effect_context_t *context); 62 int (*process)(effect_context_t *context, audio_buffer_t *in, audio_buffer_t *out); 63 int (*set_parameter)(effect_context_t *context, effect_param_t *param, uint32_t size); 64 int (*get_parameter)(effect_context_t *context, effect_param_t *param, uint32_t *size); [all …]
|
D | reverb.h | 57 void reverb_auxiliary_init(reverb_context_t *context); 59 void reverb_preset_init(reverb_context_t *context); 61 void reverb_insert_init(reverb_context_t *context); 63 int reverb_get_parameter(effect_context_t *context, effect_param_t *p, 66 int reverb_set_parameter(effect_context_t *context, effect_param_t *p, 69 int reverb_set_device(effect_context_t *context, uint32_t device); 71 int reverb_reset(effect_context_t *context); 73 int reverb_init(effect_context_t *context); 75 int reverb_enable(effect_context_t *context); 77 int reverb_disable(effect_context_t *context); [all …]
|
D | bass_boost.h | 36 int bassboost_get_parameter(effect_context_t *context, effect_param_t *p, 39 int bassboost_set_parameter(effect_context_t *context, effect_param_t *p, 42 int bassboost_set_device(effect_context_t *context, uint32_t device); 44 int bassboost_reset(effect_context_t *context); 46 int bassboost_init(effect_context_t *context); 48 int bassboost_enable(effect_context_t *context); 50 int bassboost_disable(effect_context_t *context); 52 int bassboost_start(effect_context_t *context, output_context_t *output); 54 int bassboost_stop(effect_context_t *context, output_context_t *output);
|
D | virtualizer.h | 36 int virtualizer_get_parameter(effect_context_t *context, effect_param_t *p, 39 int virtualizer_set_parameter(effect_context_t *context, effect_param_t *p, 42 int virtualizer_set_device(effect_context_t *context, uint32_t device); 44 int virtualizer_reset(effect_context_t *context); 46 int virtualizer_init(effect_context_t *context); 48 int virtualizer_enable(effect_context_t *context); 50 int virtualizer_disable(effect_context_t *context); 52 int virtualizer_start(effect_context_t *context, output_context_t *output); 54 int virtualizer_stop(effect_context_t *context, output_context_t *output);
|
D | equalizer.h | 40 int equalizer_get_parameter(effect_context_t *context, effect_param_t *p, 43 int equalizer_set_parameter(effect_context_t *context, effect_param_t *p, 46 int equalizer_set_device(effect_context_t *context, uint32_t device); 48 int equalizer_reset(effect_context_t *context); 50 int equalizer_init(effect_context_t *context); 52 int equalizer_enable(effect_context_t *context); 54 int equalizer_disable(effect_context_t *context); 56 int equalizer_start(effect_context_t *context, output_context_t *output); 58 int equalizer_stop(effect_context_t *context, output_context_t *output);
|
/hardware/interfaces/threadnetwork/aidl/default/ |
D | service.cpp | 34 void Service::Update(otSysMainloopContext& context) { in Update() argument 35 FD_SET(mBinderFd, &context.mReadFdSet); in Update() 36 context.mMaxFd = std::max(context.mMaxFd, mBinderFd); in Update() 39 void Service::Process(const otSysMainloopContext& context) { in Process() argument 40 if (FD_ISSET(mBinderFd, &context.mReadFdSet)) { in Process() 47 otSysMainloopContext context; in startLoop() local 53 context.mMaxFd = -1; in startLoop() 54 context.mTimeout = kPollTimeout; in startLoop() 56 FD_ZERO(&context.mReadFdSet); in startLoop() 57 FD_ZERO(&context.mWriteFdSet); in startLoop() [all …]
|
/hardware/interfaces/renderscript/1.0/vts/functional/ |
D | VtsMiscellaneousTests.cpp | 36 Element element = context->elementCreate(DataType::FLOAT_32, DataKind::USER, false, 1); in TEST_P() 48 Element element = context->elementCreate(DataType::FLOAT_32, DataKind::USER, false, 1); in TEST_P() 52 Type type = context->typeCreate(element, 1, 0, 0, false, false, YuvFormat::YUV_NONE); in TEST_P() 56 Allocation allocation = context->allocationCreateTyped(type, AllocationMipmapControl::NONE, in TEST_P() 63 Type type2 = context->allocationGetType(allocation); in TEST_P() 76 Element element = context->elementCreate(DataType::FLOAT_32, DataKind::USER, false, 1); in TEST_P() 80 Type type = context->typeCreate(element, 128, 0, 0, false, false, YuvFormat::YUV_NONE); in TEST_P() 84 context->elementGetNativeMetadata(element, [&](const hidl_vec<uint32_t>& _metadata){ in TEST_P() 93 context->typeGetNativeMetadata(type, [&typeMetadata](const hidl_vec<OpaqueHandle>& _metadata){ in TEST_P() 112 Element element = context->elementCreate(DataType::FLOAT_32, DataKind::USER, false, 1); in TEST_P() [all …]
|
D | VtsScriptTests.cpp | 27 Element element = context->elementCreate(DataType::UNSIGNED_8, DataKind::USER, false, 1); in TEST_P() 30 Script script = context->scriptIntrinsicCreate(ScriptIntrinsicID::ID_BLUR, element); in TEST_P() 33 context->scriptSetTimeZone(script, "UTF-8"); in TEST_P() 47 Script script = context->scriptCCreate("struct_test", "/data/local/tmp/", bitcode); in TEST_P() 51 context->scriptSetVarI(script, mExportVarIdx_var_int, 100); in TEST_P() 53 context->scriptGetVarV(script, mExportVarIdx_var_int, sizeof(int), in TEST_P() 57 context->scriptSetVarJ(script, mExportVarIdx_var_long, 101L); in TEST_P() 59 context->scriptGetVarV(script, mExportVarIdx_var_long, sizeof(long), in TEST_P() 64 context->scriptSetVarF(script, mExportVarIdx_var_float, 102.0f); in TEST_P() 66 context->scriptGetVarV(script, mExportVarIdx_var_float, sizeof(float), in TEST_P() [all …]
|
D | VtsCopyTests.cpp | 32 Element element = context->elementCreate(DataType::FLOAT_32, DataKind::USER, false, 1); in TEST_P() 36 Type type = context->typeCreate(element, 128, 0, 0, false, false, YuvFormat::YUV_NONE); in TEST_P() 40 Allocation allocation = context->allocationCreateTyped(type, AllocationMipmapControl::NONE, in TEST_P() 49 context->allocation1DWrite(allocation, 0, 0, (Size)dataIn.size(), _data); in TEST_P() 50 context->allocation1DRead(allocation, 0, 0, (uint32_t)dataOut.size(), (Ptr)dataOut.data(), in TEST_P() 68 Element element = context->elementCreate(DataType::FLOAT_32, DataKind::USER, false, 1); in TEST_P() 72 Type type = context->typeCreate(element, 128, 128, 0, false, false, YuvFormat::YUV_NONE); in TEST_P() 76 Allocation allocation = context->allocationCreateTyped(type, AllocationMipmapControl::NONE, in TEST_P() 85 context->allocation2DWrite(allocation, 0, 0, 0, AllocationCubemapFace::POSITIVE_X, 128, 128, in TEST_P() 87 context->allocation2DRead(allocation, 0, 0, 0, AllocationCubemapFace::POSITIVE_X, 128, 128, in TEST_P() [all …]
|
/hardware/qcom/audio/visualizer/ |
D | offload_visualizer.c | 58 int (*init)(effect_context_t *context); 59 int (*release)(effect_context_t *context); 60 int (*reset)(effect_context_t *context); 61 int (*enable)(effect_context_t *context); 62 int (*disable)(effect_context_t *context); 63 int (*start)(effect_context_t *context, output_context_t *output); 64 int (*stop)(effect_context_t *context, output_context_t *output); 65 int (*process)(effect_context_t *context, audio_buffer_t *in, audio_buffer_t *out); 66 int (*set_parameter)(effect_context_t *context, effect_param_t *param, uint32_t size); 67 int (*get_parameter)(effect_context_t *context, effect_param_t *param, uint32_t *size); [all …]
|
/hardware/google/gfxstream/guest/vulkan_enc/ |
D | ResourceTracker.h | 136 VkResult on_vkEnumerateInstanceExtensionProperties(void* context, VkResult input_result, 141 VkResult on_vkEnumerateDeviceExtensionProperties(void* context, VkResult input_result, 147 VkResult on_vkEnumeratePhysicalDevices(void* context, VkResult input_result, 151 void on_vkGetPhysicalDeviceFeatures2(void* context, VkPhysicalDevice physicalDevice, 153 void on_vkGetPhysicalDeviceFeatures2KHR(void* context, VkPhysicalDevice physicalDevice, 155 void on_vkGetPhysicalDeviceProperties(void* context, VkPhysicalDevice physicalDevice, 157 void on_vkGetPhysicalDeviceProperties2(void* context, VkPhysicalDevice physicalDevice, 159 void on_vkGetPhysicalDeviceProperties2KHR(void* context, VkPhysicalDevice physicalDevice, 163 void* context, VkPhysicalDevice physicalDevice, 166 void* context, VkPhysicalDevice physicalDevice, [all …]
|
/hardware/google/gfxstream/guest/mesa/include/GL/ |
D | mesa_glinterop.h | 282 MesaGLInteropGLXQueryDeviceInfo(struct _XDisplay *dpy, struct __GLXcontextRec *context, 291 MesaGLInteropEGLQueryDeviceInfo(EGLDisplay dpy, EGLContext context, 300 wglMesaGLInteropQueryDeviceInfo(HDC dpy, HGLRC context, 315 MesaGLInteropGLXExportObject(struct _XDisplay *dpy, struct __GLXcontextRec *context, 325 MesaGLInteropEGLExportObject(EGLDisplay dpy, EGLContext context, 335 wglMesaGLInteropExportObject(HDC dpy, HGLRC context, 352 MesaGLInteropGLXFlushObjects(struct _XDisplay *dpy, struct __GLXcontextRec *context, 361 MesaGLInteropEGLFlushObjects(EGLDisplay dpy, EGLContext context, 370 wglMesaGLInteropFlushObjects(HDC dpy, HGLRC context, 375 …nt (PFNMESAGLINTEROPGLXQUERYDEVICEINFOPROC)(struct _XDisplay *dpy, struct __GLXcontextRec *context, [all …]
|
/hardware/interfaces/automotive/remoteaccess/hal/default/fuzzer/ |
D | fuzzer.cpp | 43 [[maybe_unused]] ClientContext* context, in GetRemoteTasksRaw() argument 52 Status NotifyWakeupRequired([[maybe_unused]] ClientContext* context, in NotifyWakeupRequired() argument 58 Status ScheduleTask(ClientContext* context, const ScheduleTaskRequest& request, in ScheduleTask() argument 63 Status UnscheduleTask(ClientContext* context, const UnscheduleTaskRequest& request, in UnscheduleTask() argument 68 Status UnscheduleAllTasks(ClientContext* context, const UnscheduleAllTasksRequest& request, in UnscheduleAllTasks() argument 73 Status IsTaskScheduled(ClientContext* context, const IsTaskScheduledRequest& request, in IsTaskScheduled() argument 78 Status GetAllPendingScheduledTasks(ClientContext* context, in GetAllPendingScheduledTasks() argument 86 [[maybe_unused]] ClientContext* context, in AsyncGetRemoteTasksRaw() argument 93 [[maybe_unused]] ClientContext* context, in PrepareAsyncGetRemoteTasksRaw() argument 100 [[maybe_unused]] ClientContext* context, in AsyncNotifyWakeupRequiredRaw() argument [all …]
|
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_thread_helper.h | 45 int (*thread_proc_init) (void * context); 46 int (*thread_proc_pre) (void * context); 47 int (*thread_proc) (void * context); 48 int (*thread_proc_post) (void * context); 53 int (*thread_proc_init) (void * context), 54 int (*thread_proc_pre) (void * context), 55 int (*thread_proc) (void * context), 56 int (*thread_proc_post) (void * context), 58 void * context);
|
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_thread_helper.h | 45 int (*thread_proc_init) (void * context); 46 int (*thread_proc_pre) (void * context); 47 int (*thread_proc) (void * context); 48 int (*thread_proc_post) (void * context); 53 int (*thread_proc_init) (void * context), 54 int (*thread_proc_pre) (void * context), 55 int (*thread_proc) (void * context), 56 int (*thread_proc_post) (void * context), 58 void * context);
|
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_thread_helper.h | 45 int (*thread_proc_init) (void * context); 46 int (*thread_proc_pre) (void * context); 47 int (*thread_proc) (void * context); 48 int (*thread_proc_post) (void * context); 53 int (*thread_proc_init) (void * context), 54 int (*thread_proc_pre) (void * context), 55 int (*thread_proc) (void * context), 56 int (*thread_proc_post) (void * context), 58 void * context);
|
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_thread_helper.h | 45 int (*thread_proc_init) (void * context); 46 int (*thread_proc_pre) (void * context); 47 int (*thread_proc) (void * context); 48 int (*thread_proc_post) (void * context); 53 int (*thread_proc_init) (void * context), 54 int (*thread_proc_pre) (void * context), 55 int (*thread_proc) (void * context), 56 int (*thread_proc_post) (void * context), 58 void * context);
|
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_thread_helper.h | 45 int (*thread_proc_init) (void * context); 46 int (*thread_proc_pre) (void * context); 47 int (*thread_proc) (void * context); 48 int (*thread_proc_post) (void * context); 53 int (*thread_proc_init) (void * context), 54 int (*thread_proc_pre) (void * context), 55 int (*thread_proc) (void * context), 56 int (*thread_proc_post) (void * context), 58 void * context);
|