Home
last modified time | relevance | path

Searched refs:in (Results 1 – 25 of 531) sorted by relevance

12345678910>>...22

/hardware/qcom/gps/msm8998/android/location_api/
DGnssMeasurementAPIClient.cpp45 static void convertGnssData(GnssMeasurementsNotification& in,
47 static void convertGnssMeasurement(GnssMeasurementsData& in,
49 static void convertGnssClock(GnssMeasurementsClock& in, IGnssMeasurementCallback::GnssClock& out);
155 static void convertGnssMeasurement(GnssMeasurementsData& in, in convertGnssMeasurement() argument
159 if (in.flags & GNSS_MEASUREMENTS_DATA_SIGNAL_TO_NOISE_RATIO_BIT) in convertGnssMeasurement()
161 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_FREQUENCY_BIT) in convertGnssMeasurement()
163 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_CYCLES_BIT) in convertGnssMeasurement()
165 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_PHASE_BIT) in convertGnssMeasurement()
167 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_PHASE_UNCERTAINTY_BIT) in convertGnssMeasurement()
169 out.svid = in.svId; in convertGnssMeasurement()
[all …]
DLocationUtil.cpp38 void convertGnssLocation(Location& in, GnssLocation& out) in convertGnssLocation() argument
41 if (in.flags & LOCATION_HAS_LAT_LONG_BIT) in convertGnssLocation()
43 if (in.flags & LOCATION_HAS_ALTITUDE_BIT) in convertGnssLocation()
45 if (in.flags & LOCATION_HAS_SPEED_BIT) in convertGnssLocation()
47 if (in.flags & LOCATION_HAS_BEARING_BIT) in convertGnssLocation()
49 if (in.flags & LOCATION_HAS_ACCURACY_BIT) { in convertGnssLocation()
55 out.latitudeDegrees = in.latitude; in convertGnssLocation()
56 out.longitudeDegrees = in.longitude; in convertGnssLocation()
57 out.altitudeMeters = in.altitude; in convertGnssLocation()
58 out.speedMetersPerSec = in.speed; in convertGnssLocation()
[all …]
/hardware/qcom/display/msm8909/libhwcomposer/
Dhwc_qdcm.cpp63 static void qdcmSetActiveMode(hwc_context_t *ctx, const Parcel *in, Parcel *out) in qdcmSetActiveMode() argument
67 if (ctx->mQdcmInfo.mQdcmMode && in && out) { in qdcmSetActiveMode()
70 { (disp_id_type)in->readInt32(), in->readInt32()}; in qdcmSetActiveMode()
79 static void qdcmSetDefaultMode(hwc_context_t *ctx, const Parcel *in, Parcel *out) in qdcmSetDefaultMode() argument
83 if (ctx->mQdcmInfo.mQdcmMode && in && out) { in qdcmSetDefaultMode()
86 { (disp_id_type)in->readInt32(), in->readInt32()}; in qdcmSetDefaultMode()
96 const Parcel *in, Parcel *out) in qdcmGetDefaultMode() argument
100 if (ctx->mQdcmInfo.mQdcmMode && in && out) { in qdcmGetDefaultMode()
102 int params = in->readInt32(); in qdcmGetDefaultMode()
114 const Parcel *in __unused, Parcel *out __unused) in qdcmGetColorBalanceRange()
[all …]
/hardware/libhardware/modules/usbaudio/
Daudio_hal.c712 const struct stream_in * in = ((const struct stream_in*)stream); in in_get_buffer_size() local
713 return proxy_get_period_size(&in->proxy) * audio_stream_in_frame_size(&(in->stream)); in in_get_buffer_size()
718 const struct stream_in *in = (const struct stream_in*)stream; in in_get_channels() local
719 return in->hal_channel_mask; in in_get_channels()
738 struct stream_in *in = (struct stream_in *)stream; in in_standby() local
740 stream_lock(&in->lock); in in_standby()
741 if (!in->standby) { in in_standby()
742 device_lock(in->adev); in in_standby()
743 proxy_close(&in->proxy); in in_standby()
744 device_unlock(in->adev); in in_standby()
[all …]
/hardware/qcom/audio/hal/
Daudio_hw.c331 static void register_in_stream(struct stream_in *in) in register_in_stream() argument
333 struct audio_device *adev = in->dev; in register_in_stream()
338 in->capture_handle, in register_in_stream()
339 in->flags); in register_in_stream()
344 if (in->realtime) { in register_in_stream()
346 in->capture_handle, in register_in_stream()
347 in->pcm, in register_in_stream()
348 &in->config); in register_in_stream()
363 static void request_in_focus(struct stream_in *in, long ns) in request_in_focus() argument
365 struct audio_device *adev = in->dev; in request_in_focus()
[all …]
/hardware/libhardware/modules/audio_remote_submix/
Daudio_hw.cpp362 struct submix_stream_in * const in, in audio_config_compare() argument
367 ALOG_ASSERT(in || out); in audio_config_compare()
374 if (in) { in audio_config_compare()
375 in->route_handle = route_idx; in audio_config_compare()
376 rsxadev->routes[route_idx].input = in; in audio_config_compare()
444 if (in) device_config->pipe_frame_size = audio_stream_in_frame_size(&in->stream); in audio_config_compare()
487 const struct submix_stream_in * const in, in audio_config_compare() argument
493 if (in != NULL) { in audio_config_compare()
495 const_cast<struct submix_stream_in*>(in)->ref_count--; in audio_config_compare()
496 route_idx = in->route_handle; in audio_config_compare()
[all …]
/hardware/interfaces/keymaster/3.0/vts/functional/
Dauthorization_set.cpp320 InStreams& deserializeParamValue(InStreams& in, hidl_vec<uint8_t>* blob) { in deserializeParamValue() argument
323 in.elements.read(reinterpret_cast<char*>(&blob_length), sizeof(uint32_t)); in deserializeParamValue()
325 in.elements.read(reinterpret_cast<char*>(&offset), sizeof(uint32_t)); in deserializeParamValue()
326 in.indirect.seekg(offset); in deserializeParamValue()
327 in.indirect.read(reinterpret_cast<char*>(&(*blob)[0]), blob->size()); in deserializeParamValue()
328 return in; in deserializeParamValue()
331 template <typename T> InStreams& deserializeParamValue(InStreams& in, T* value) { in deserializeParamValue() argument
332 in.elements.read(reinterpret_cast<char*>(value), sizeof(T)); in deserializeParamValue()
333 return in; in deserializeParamValue()
336 InStreams& deserialize(TAG_INVALID_t&&, InStreams& in, KeyParameter*) { in deserialize() argument
[all …]
/hardware/libhardware_legacy/audio/
Daudio_hw_hal.cpp274 const struct legacy_stream_in *in = in in_get_sample_rate() local
276 return in->legacy_in->sampleRate(); in in_get_sample_rate()
281 struct legacy_stream_in *in = in in_set_sample_rate() local
291 const struct legacy_stream_in *in = in in_get_buffer_size() local
293 return in->legacy_in->bufferSize(); in in_get_buffer_size()
298 const struct legacy_stream_in *in = in in_get_channels() local
300 return (audio_channel_mask_t) in->legacy_in->channels(); in in_get_channels()
305 const struct legacy_stream_in *in = in in_get_format() local
308 return (audio_format_t) in->legacy_in->format(); in in_get_format()
313 struct legacy_stream_in *in = in in_set_format() local
[all …]
/hardware/qcom/audio/legacy/alsa_sound/
Daudio_hw_hal.cpp294 const struct qcom_stream_in *in = in in_get_sample_rate() local
296 return in->qcom_in->sampleRate(); in in_get_sample_rate()
301 struct qcom_stream_in *in = in in_set_sample_rate() local
311 const struct qcom_stream_in *in = in in_get_buffer_size() local
313 return in->qcom_in->bufferSize(); in in_get_buffer_size()
318 const struct qcom_stream_in *in = in in_get_channels() local
320 return in->qcom_in->channels(); in in_get_channels()
325 const struct qcom_stream_in *in = in in_get_format() local
327 return (audio_format_t)in->qcom_in->format(); in in_get_format()
332 struct qcom_stream_in *in = in in_set_format() local
[all …]
/hardware/qcom/audio/hal/audio_extn/
Dsoundtrigger.c125 int audio_extn_sound_trigger_read(struct stream_in *in, void *buffer, in audio_extn_sound_trigger_read() argument
135 if (!in->is_st_session_active) { in audio_extn_sound_trigger_read()
139 if (in->standby) in audio_extn_sound_trigger_read()
140 in->standby = false; in audio_extn_sound_trigger_read()
143 st_info = get_sound_trigger_info(in->capture_handle); in audio_extn_sound_trigger_read()
155 in->is_st_session_active = false; in audio_extn_sound_trigger_read()
158 usleep((bytes * 1000000) / (audio_stream_in_frame_size((struct audio_stream_in *)in) * in audio_extn_sound_trigger_read()
159 in->config.rate)); in audio_extn_sound_trigger_read()
164 void audio_extn_sound_trigger_stop_lab(struct stream_in *in) in audio_extn_sound_trigger_stop_lab() argument
170 if (!st_dev || !in) in audio_extn_sound_trigger_stop_lab()
[all …]
/hardware/interfaces/tests/bar/1.0/default/
DBar.cpp92 const hidl_array<float, 3, 5> &in, transposeMe_cb _cb) { in transposeMe() argument
93 return mFoo->transposeMe(in, _cb); in transposeMe()
97 const MultiDimensional &in, callingDrWho_cb _hidl_cb) { in callingDrWho() argument
98 return mFoo->callingDrWho(in, _hidl_cb); in callingDrWho()
101 Return<void> Bar::transpose(const StringMatrix5x3 &in, transpose_cb _hidl_cb) { in transpose() argument
102 return mFoo->transpose(in, _hidl_cb); in transpose()
106 const hidl_array<hidl_string, 5, 3> &in, transpose2_cb _hidl_cb) { in transpose2() argument
107 return mFoo->transpose2(in, _hidl_cb); in transpose2()
120 const hidl_vec<sp<ISimple> > &in, in haveAVectorOfInterfaces()
122 _hidl_cb(in); in haveAVectorOfInterfaces()
[all …]
/hardware/libhardware/modules/audio/
Daudio_hw.c216 struct stub_stream_in *in = (struct stub_stream_in *)stream; in in_standby() local
217 in->last_read_time_us = 0; in in_standby()
248 struct stub_stream_in *in = (struct stub_stream_in *)stream; in in_read() local
254 const bool standby = in->last_read_time_us == 0; in in_read()
256 0 : now - in->last_read_time_us; in in_read()
264 in->last_read_time_us = now + sleep_time; in in_read()
421 struct stub_stream_in *in = (struct stub_stream_in *)calloc(1, sizeof(struct stub_stream_in)); in adev_open_input_stream() local
422 if (!in) in adev_open_input_stream()
425 in->stream.common.get_sample_rate = in_get_sample_rate; in adev_open_input_stream()
426 in->stream.common.set_sample_rate = in_set_sample_rate; in adev_open_input_stream()
[all …]
/hardware/interfaces/gnss/1.0/
Dtypes.hal5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
43 /** Bit mask to indicate which values are valid in a GnssLocation object. */
69 /** Represents latitude in degrees. */
72 /** Represents longitude in degrees. */
76 * Represents altitude in meters above the WGS 84 reference ellipsoid.
80 /** Represents speed in meters per second. */
83 /** Represents heading in degrees. */
87 * Represents expected horizontal position accuracy, radial, in meters
93 * Represents expected vertical position accuracy in meters
[all …]
DIGnssNavigationMessageCallback.hal5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
31 /** GPS L1 C/A message contained in the structure. */
33 /** GPS L2-CNAV message contained in the structure. */
35 /** GPS L5-CNAV message contained in the structure. */
37 /** GPS CNAV-2 message contained in the structure. */
39 /** Glonass L1 CA message contained in the structure. */
41 /** Beidou D1 message contained in the structure. */
43 /** Beidou D2 message contained in the structure. */
45 /** Galileo I/NAV message contained in the structure. */
[all …]
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc-50001/libloc_api-rpc-stub/xdr/
Dloc_api_cb.xdr3 * Redistribution and use in source and binary forms, with or without
8 * * Redistributions in binary form must reproduce the above
10 * disclaimer in the documentation and/or other materials provided
113 /* Following elements added in enum rpc_loc_assist_data_request_e_type in 0x00050002
116 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050002
129 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050003
144 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050004
156 /* Following elements added in enum rpc_loc_server_addr_e_type in 0x00050005
159 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050005
172 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050006
[all …]
Dloc_api.xdr3 * Redistribution and use in source and binary forms, with or without
8 * * Redistributions in binary form must reproduce the above
10 * disclaimer in the documentation and/or other materials provided
72 * Declare an rpc_uint32 type for each callback type in the API
117 rpc_uint32 features; /* Features turned on in the code.
187 /* Following elements added in enum rpc_loc_assist_data_request_e_type in 0x00050002
190 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050002
203 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050003
218 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050004
230 /* Following elements added in enum rpc_loc_server_addr_e_type in 0x00050005
[all …]
/hardware/qcom/gps/msm8909/loc_api/libloc_api-rpc-50001/libloc_api-rpc-stub/xdr/
Dloc_api_cb.xdr3 * Redistribution and use in source and binary forms, with or without
8 * * Redistributions in binary form must reproduce the above
10 * disclaimer in the documentation and/or other materials provided
113 /* Following elements added in enum rpc_loc_assist_data_request_e_type in 0x00050002
116 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050002
129 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050003
144 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050004
156 /* Following elements added in enum rpc_loc_server_addr_e_type in 0x00050005
159 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050005
172 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050006
[all …]
Dloc_api.xdr3 * Redistribution and use in source and binary forms, with or without
8 * * Redistributions in binary form must reproduce the above
10 * disclaimer in the documentation and/or other materials provided
72 * Declare an rpc_uint32 type for each callback type in the API
117 rpc_uint32 features; /* Features turned on in the code.
187 /* Following elements added in enum rpc_loc_assist_data_request_e_type in 0x00050002
190 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050002
203 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050003
218 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050004
230 /* Following elements added in enum rpc_loc_server_addr_e_type in 0x00050005
[all …]
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-stub/xdr/
Dloc_api_cb.xdr3 * Redistribution and use in source and binary forms, with or without
8 * * Redistributions in binary form must reproduce the above
10 * disclaimer in the documentation and/or other materials provided
113 /* Following elements added in enum rpc_loc_assist_data_request_e_type in 0x00050002
116 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050002
129 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050003
144 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050004
156 /* Following elements added in enum rpc_loc_server_addr_e_type in 0x00050005
159 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050005
172 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050006
[all …]
Dloc_api.xdr3 * Redistribution and use in source and binary forms, with or without
8 * * Redistributions in binary form must reproduce the above
10 * disclaimer in the documentation and/or other materials provided
72 * Declare an rpc_uint32 type for each callback type in the API
117 rpc_uint32 features; /* Features turned on in the code.
187 /* Following elements added in enum rpc_loc_assist_data_request_e_type in 0x00050002
190 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050002
203 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050003
218 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050004
230 /* Following elements added in enum rpc_loc_server_addr_e_type in 0x00050005
[all …]
/hardware/qcom/gps/msm8996/loc_api/libloc_api-rpc-50001/libloc_api-rpc-stub/xdr/
Dloc_api_cb.xdr3 * Redistribution and use in source and binary forms, with or without
8 * * Redistributions in binary form must reproduce the above
10 * disclaimer in the documentation and/or other materials provided
113 /* Following elements added in enum rpc_loc_assist_data_request_e_type in 0x00050002
116 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050002
129 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050003
144 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050004
156 /* Following elements added in enum rpc_loc_server_addr_e_type in 0x00050005
159 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050005
172 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050006
[all …]
Dloc_api.xdr3 * Redistribution and use in source and binary forms, with or without
8 * * Redistributions in binary form must reproduce the above
10 * disclaimer in the documentation and/or other materials provided
72 * Declare an rpc_uint32 type for each callback type in the API
117 rpc_uint32 features; /* Features turned on in the code.
187 /* Following elements added in enum rpc_loc_assist_data_request_e_type in 0x00050002
190 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050002
203 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050003
218 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050004
230 /* Following elements added in enum rpc_loc_server_addr_e_type in 0x00050005
[all …]
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-stub/xdr/
Dloc_api_cb.xdr3 * Redistribution and use in source and binary forms, with or without
8 * * Redistributions in binary form must reproduce the above
10 * disclaimer in the documentation and/or other materials provided
113 /* Following elements added in enum rpc_loc_assist_data_request_e_type in 0x00050002
116 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050002
129 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050003
144 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050004
156 /* Following elements added in enum rpc_loc_server_addr_e_type in 0x00050005
159 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050005
172 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050006
[all …]
Dloc_api.xdr3 * Redistribution and use in source and binary forms, with or without
8 * * Redistributions in binary form must reproduce the above
10 * disclaimer in the documentation and/or other materials provided
72 * Declare an rpc_uint32 type for each callback type in the API
117 rpc_uint32 features; /* Features turned on in the code.
187 /* Following elements added in enum rpc_loc_assist_data_request_e_type in 0x00050002
190 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050002
203 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050003
218 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050004
230 /* Following elements added in enum rpc_loc_server_addr_e_type in 0x00050005
[all …]
/hardware/interfaces/audio/effect/2.0/
DIEnvironmentalReverbEffect.hal5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
97 * Sets the level of reflections in the room.
102 * Gets the level of reflections in the room.
107 * Sets the reflections delay in the room.
112 * Gets the reflections delay in the room.
157 int16_t roomLevel; // in millibels, range -6000 to 0
158 int16_t roomHfLevel; // in millibels, range -4000 to 0
159 uint32_t decayTime; // in milliseconds, range 100 to 20000
160 int16_t decayHfRatio; // in permilles, range 100 to 1000
[all …]

12345678910>>...22