Home
last modified time | relevance | path

Searched refs:proxy (Results 1 – 25 of 56) sorted by relevance

123

/hardware/google/gchips/include/libaudio/audiohal/
Daudio_proxy_interface.h64 int get_supported_device_number(void *proxy, int device_type);
65 int get_supported_config(void *proxy, int device_type);
66 bool is_needed_config(void *proxy, int config_type);
69 bool is_active_usage_APCall(void *proxy);
71 bool is_active_usage_CPCall(void *proxy);
88 void *proxy_create_playback_stream(void *proxy, int type, void *config, char *address);
104 void *proxy_create_capture_stream(void *proxy, int type, int usage, void *config, char *address);
120 bool proxy_init_route(void *proxy, char *path);
121 void proxy_deinit_route(void *proxy);
122 bool proxy_update_route(void *proxy, int ausage, int device);
[all …]
/hardware/interfaces/audio/aidl/default/bluetooth/
DModuleBluetooth.cpp144 CachedProxy proxy; in setAudioPortConfig() local
145 auto status = findOrCreateProxy(port, proxy); in setAudioPortConfig()
147 const auto& pcmConfig = proxy.pcmConfig; in setAudioPortConfig()
197 CachedProxy proxy; in createInputStream() local
198 RETURN_STATUS_IF_ERROR(fetchAndCheckProxy(context, proxy)); in createInputStream()
201 proxy.ptr, proxy.pcmConfig); in createInputStream()
207 CachedProxy proxy; in createOutputStream() local
208 RETURN_STATUS_IF_ERROR(fetchAndCheckProxy(context, proxy)); in createOutputStream()
211 proxy.ptr, proxy.pcmConfig); in createOutputStream()
236 CachedProxy proxy; in populateConnectedDevicePort() local
[all …]
DStreamBluetooth.cpp206 auto applyParam = [](const std::shared_ptr<BluetoothAudioPortAidl>& proxy, in bluetoothParametersUpdated()
209 if (proxy->suspend()) return proxy->setState(BluetoothStreamState::DISABLED); in bluetoothParametersUpdated()
212 return proxy->standby(); in bluetoothParametersUpdated()
/hardware/interfaces/audio/aidl/default/alsa/
DUtils.cpp50 void DeviceProxy::alsaProxyDeleter(alsa_device_proxy* proxy) { in alsaProxyDeleter() argument
51 if (proxy != nullptr) { in alsaProxyDeleter()
52 proxy_close(proxy); in alsaProxyDeleter()
53 delete proxy; in alsaProxyDeleter()
286 DeviceProxy proxy(deviceProfile); in openProxyForAttachedDevice() local
287 if (!profile_fill_builtin_device_info(proxy.getProfile(), pcmConfig, bufferFrameCount)) { in openProxyForAttachedDevice()
290 if (int err = proxy_prepare_from_default_config(proxy.get(), proxy.getProfile()); err != 0) { in openProxyForAttachedDevice()
295 if (int err = proxy_open(proxy.get()); err != 0) { in openProxyForAttachedDevice()
300 return proxy; in openProxyForAttachedDevice()
308 auto proxy = readAlsaDeviceInfo(deviceProfile); in openProxyForExternalDevice() local
[all …]
DStreamAlsa.cpp74 alsa::DeviceProxy proxy; in start() local
79 proxy = alsa::openProxyForExternalDevice( in start()
83 proxy = alsa::openProxyForAttachedDevice( in start()
86 if (proxy.get() == nullptr) { in start()
89 alsaDeviceProxies.push_back(std::move(proxy)); in start()
109 for (auto& proxy : mAlsaDeviceProxies) { in transfer() local
110 proxy_write_with_retries(proxy.get(), buffer, bytesToTransfer, mReadWriteRetries); in transfer()
111 maxLatency = std::max(maxLatency, proxy_get_latency(proxy.get())); in transfer()
DModuleAlsa.cpp42 auto proxy = alsa::readAlsaDeviceInfo(*deviceProfile); in populateConnectedDevicePort() local
43 if (proxy.get() == nullptr) { in populateConnectedDevicePort()
47 alsa_device_profile* profile = proxy.getProfile(); in populateConnectedDevicePort()
DUtils.h55 static void alsaProxyDeleter(alsa_device_proxy* proxy);
81 void resetTransferredFrames(DeviceProxy& proxy, uint64_t frames);
/hardware/interfaces/sensors/common/default/2.X/multihal/tests/
DHalProxy_test.cpp226 HalProxy proxy(fakeSubHals); in TEST() local
228 proxy.getSensorsList([&](const auto& proxySensorsList) { in TEST()
241 HalProxy proxy(fakeSubHals); in TEST() local
245 proxy.getSensorsList([&](const auto& list) { proxySensorsList = list; }); in TEST()
261 HalProxy proxy(fakeSubHals); in TEST() local
266 Result result = proxy.setOperationMode(OperationMode::DATA_INJECTION); in TEST()
278 HalProxy proxy(fakeSubHals); in TEST() local
283 Result result = proxy.setOperationMode(OperationMode::DATA_INJECTION); in TEST()
295 HalProxy proxy(fakeSubHals); in TEST() local
297 proxy.getSensorsList([&](const auto& sensorsList) { in TEST()
[all …]
/hardware/qcom/gps/msm8960/core/
DContextBase.cpp46 IzatProxyBase* proxy = NULL; in getIzatProxy() local
52 proxy = (*getter)(); in getIzatProxy()
55 if (NULL == proxy) { in getIzatProxy()
56 proxy = new IzatProxyBase(); in getIzatProxy()
58 return proxy; in getIzatProxy()
/hardware/qcom/gps/msm8994/core/
DContextBase.cpp45 LBSProxyBase* proxy = NULL; in getLBSProxy() local
52 proxy = (*getter)(); in getLBSProxy()
55 if (NULL == proxy) { in getLBSProxy()
56 proxy = new LBSProxyBase(); in getLBSProxy()
59 return proxy; in getLBSProxy()
/hardware/qcom/gps/core/
DContextBase.cpp45 LBSProxyBase* proxy = NULL; in getLBSProxy() local
52 proxy = (*getter)(); in getLBSProxy()
55 if (NULL == proxy) { in getLBSProxy()
56 proxy = new LBSProxyBase(); in getLBSProxy()
59 return proxy; in getLBSProxy()
/hardware/qcom/gps/msm8084/core/
DContextBase.cpp45 LBSProxyBase* proxy = NULL; in getLBSProxy() local
54 proxy = (*getter)(); in getLBSProxy()
63 if (NULL == proxy) { in getLBSProxy()
64 proxy = new LBSProxyBase(); in getLBSProxy()
67 return proxy; in getLBSProxy()
/hardware/qcom/gps/msm8909/core/
DContextBase.cpp66 LBSProxyBase* proxy = NULL; in getLBSProxy() local
73 proxy = (*getter)(); in getLBSProxy()
76 if (NULL == proxy) { in getLBSProxy()
77 proxy = new LBSProxyBase(); in getLBSProxy()
80 return proxy; in getLBSProxy()
/hardware/qcom/gps/msm8996/core/
DContextBase.cpp66 LBSProxyBase* proxy = NULL; in getLBSProxy() local
73 proxy = (*getter)(); in getLBSProxy()
76 if (NULL == proxy) { in getLBSProxy()
77 proxy = new LBSProxyBase(); in getLBSProxy()
80 return proxy; in getLBSProxy()
/hardware/interfaces/gnss/visibility_control/1.0/
DIGnssVisibilityControl.hal36 * of the configured proxy applications(s), and device location settings, and calls the method
37 * enableNfwLocationAccess() whenever the user control proxy applications have, or do not have,
38 * location permission. The proxy applications are used to provide user visibility and control of
56 * framework user, through the given proxy application(s) and/or device location settings,
64 * @param proxyApps Full list of package names of proxy Android applications representing
68 * proxy applications.
70 * The package name of the proxy Android application follows the standard Java language
/hardware/qcom/gps/msm8998/core/
DContextBase.cpp172 LBSProxyBase* proxy = NULL; in getLBSProxy() local
179 proxy = (*getter)(); in getLBSProxy()
186 if (NULL == proxy) { in getLBSProxy()
187 proxy = new LBSProxyBase(); in getLBSProxy()
190 return proxy; in getLBSProxy()
/hardware/qcom/gps/msm8909w_3100/core/
DContextBase.cpp185 LBSProxyBase* proxy = NULL; in getLBSProxy() local
192 proxy = (*getter)(); in getLBSProxy()
199 if (NULL == proxy) { in getLBSProxy()
200 proxy = new LBSProxyBase(); in getLBSProxy()
203 return proxy; in getLBSProxy()
/hardware/libhardware/modules/usbaudio/
Daudio_hal.c84 alsa_device_proxy proxy; /* The state */ member
580 proxy_close(&device_info->proxy); in stream_standby_l()
622 status = proxy_prepare(&device_info->proxy, &device_info->profile, config, is_bit_perfect); in stream_set_new_devices()
649 proxy_dump(&device_info->proxy, fd); in stream_dump_alsa_devices()
664 uint32_t rate = proxy_get_sample_rate(&device_info->proxy); in out_get_sample_rate()
682 return proxy_get_period_size(&device_info->proxy) * audio_stream_out_frame_size(&(out->stream)); in out_get_buffer_size()
703 audio_format_t format = audio_format_from_pcm_format(proxy_get_format(&device_info->proxy)); in out_get_format()
765 return proxy_get_latency(&device_info->proxy); in out_get_latency()
807 status = proxy_open(&device_info->proxy); in start_output_stream()
822 proxy_close(&device_info->proxy); in start_output_stream()
[all …]
/hardware/qcom/sm8150p/gps/core/
DContextBase.cpp221 LBSProxyBase* proxy = NULL; in getLBSProxy() local
228 proxy = (*getter)(); in getLBSProxy()
235 if (NULL == proxy) { in getLBSProxy()
236 proxy = new LBSProxyBase(); in getLBSProxy()
239 return proxy; in getLBSProxy()
/hardware/qcom/sm7150/gps/core/
DContextBase.cpp237 LBSProxyBase* proxy = NULL; in getLBSProxy() local
244 proxy = (*getter)(); in getLBSProxy()
251 if (NULL == proxy) { in getLBSProxy()
252 proxy = new LBSProxyBase(); in getLBSProxy()
255 return proxy; in getLBSProxy()
/hardware/interfaces/audio/aidl/default/
DEffectFactory.cpp86 (id.proxy.has_value() && in_proxy_uuid.value() == id.proxy.value())); in queryEffects()
95 desc.common.id.proxy = id.proxy; in queryEffects()
114 desc.common.id.proxy = libs.proxyLibrary.value().uuid; in queryProcessing()
236 id.proxy = proxyUuid; in createIdentityWithConfig()
/hardware/interfaces/audio/aidl/default/include/core-impl/
DModuleBluetooth.h83 int32_t instancePortId, CachedProxy& proxy);
84 ndk::ScopedAStatus fetchAndCheckProxy(const StreamContext& context, CachedProxy& proxy);
86 const ::aidl::android::media::audio::common::AudioPort& audioPort, CachedProxy& proxy);
/hardware/qcom/sm7250/gps/core/
DContextBase.cpp248 LBSProxyBase* proxy = NULL; in getLBSProxy() local
255 proxy = (*getter)(); in getLBSProxy()
262 if (NULL == proxy) { in getLBSProxy()
263 proxy = new LBSProxyBase(); in getLBSProxy()
266 return proxy; in getLBSProxy()
/hardware/qcom/sm8150/gps/core/
DContextBase.cpp248 LBSProxyBase* proxy = NULL; in getLBSProxy() local
255 proxy = (*getter)(); in getLBSProxy()
262 if (NULL == proxy) { in getLBSProxy()
263 proxy = new LBSProxyBase(); in getLBSProxy()
266 return proxy; in getLBSProxy()
/hardware/interfaces/audio/aidl/android/hardware/audio/effect/
DIFactory.aidl49 in @nullable AudioUuid implementation, in @nullable AudioUuid proxy); in queryEffects() argument

123