Home
last modified time | relevance | path

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

12

/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/
DStreamBluetooth.cpp126 for (auto proxy : mBtDeviceProxies) { in transfer() local
127 if (!proxy->start()) { in transfer()
128 LOG(ERROR) << __func__ << ": state = " << proxy->getState() << " failed to start "; in transfer()
134 const size_t totalRead = proxy->readData(buffer, bytesToTransfer); in transfer()
137 const size_t totalWrite = proxy->writeData(buffer, bytesToTransfer); in transfer()
141 if (!proxy->getPresentationPosition(presentation_position)) { in transfer()
162 for (auto proxy : mBtDeviceProxies) { in initialize() local
163 proxy->stop(); in initialize()
164 proxy->unregisterPort(); in initialize()
169 std::shared_ptr<BluetoothAudioPortAidl> proxy = in initialize() local
[all …]
/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/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/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/interfaces/audio/aidl/default/alsa/
DStreamAlsa.cpp74 alsa::DeviceProxy proxy; in start() local
79 proxy = alsa::openProxyForExternalDevice( in start()
83 proxy = alsa::openProxyForAttachedDevice( in start()
86 if (!proxy) { 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()
DUtils.cpp265 DeviceProxy proxy(new alsa_device_proxy, [](alsa_device_proxy* proxy) { in makeDeviceProxy() argument
266 if (proxy != nullptr) { in makeDeviceProxy()
267 proxy_close(proxy); in makeDeviceProxy()
268 delete proxy; in makeDeviceProxy()
271 memset(proxy.get(), 0, sizeof(alsa_device_proxy)); in makeDeviceProxy()
272 return proxy; in makeDeviceProxy()
287 auto proxy = makeDeviceProxy(); in openProxyForAttachedDevice() local
288 if (int err = proxy_prepare_from_default_config(proxy.get(), &profile); err != 0) { in openProxyForAttachedDevice()
293 if (int err = proxy_open(proxy.get()); err != 0) { in openProxyForAttachedDevice()
298 return proxy; in openProxyForAttachedDevice()
[all …]
/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/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/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/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()
820 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/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/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/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()
237 id.proxy = proxyUuid; in createIdentityWithConfig()
/hardware/interfaces/audio/aidl/android/hardware/audio/effect/
DIFactory.aidl49 in @nullable AudioUuid implementation, in @nullable AudioUuid proxy); in queryEffects() argument
DDescriptor.aidl122 @nullable AudioUuid proxy;
/hardware/interfaces/audio/aidl/aidl_api/android.hardware.audio.effect/1/android/hardware/audio/effect/
DIFactory.aidl37 …ia.audio.common.AudioUuid implementation, in @nullable android.media.audio.common.AudioUuid proxy); in queryEffects() argument
/hardware/interfaces/audio/aidl/aidl_api/android.hardware.audio.effect/current/android/hardware/audio/effect/
DIFactory.aidl37 …ia.audio.common.AudioUuid implementation, in @nullable android.media.audio.common.AudioUuid proxy); in queryEffects() argument
DDescriptor.aidl59 @nullable android.media.audio.common.AudioUuid proxy;

12