Home
last modified time | relevance | path

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

12345678910>>...46

/hardware/qcom/sdm845/gps/sdm845/android/location_api/
DLocationUtil.cpp42 void convertGnssLocation(Location& in, GnssLocation& out) in convertGnssLocation() argument
45 if (in.flags & LOCATION_HAS_LAT_LONG_BIT) in convertGnssLocation()
47 if (in.flags & LOCATION_HAS_ALTITUDE_BIT) in convertGnssLocation()
49 if (in.flags & LOCATION_HAS_SPEED_BIT) in convertGnssLocation()
51 if (in.flags & LOCATION_HAS_BEARING_BIT) in convertGnssLocation()
53 if (in.flags & LOCATION_HAS_ACCURACY_BIT) in convertGnssLocation()
55 if (in.flags & LOCATION_HAS_VERTICAL_ACCURACY_BIT) in convertGnssLocation()
57 if (in.flags & LOCATION_HAS_SPEED_ACCURACY_BIT) in convertGnssLocation()
59 if (in.flags & LOCATION_HAS_BEARING_ACCURACY_BIT) in convertGnssLocation()
61 out.latitudeDegrees = in.latitude; in convertGnssLocation()
[all …]
DMeasurementAPIClient.cpp48 static void convertGnssData(GnssMeasurementsNotification& in,
50 static void convertGnssData_1_1(GnssMeasurementsNotification& in,
52 static void convertGnssMeasurement(GnssMeasurementsData& in,
54 static void convertGnssClock(GnssMeasurementsClock& in, IGnssMeasurementCallback::GnssClock& out);
184 static void convertGnssMeasurement(GnssMeasurementsData& in, in convertGnssMeasurement() argument
188 if (in.flags & GNSS_MEASUREMENTS_DATA_SIGNAL_TO_NOISE_RATIO_BIT) in convertGnssMeasurement()
190 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_FREQUENCY_BIT) in convertGnssMeasurement()
192 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_CYCLES_BIT) in convertGnssMeasurement()
194 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_PHASE_BIT) in convertGnssMeasurement()
196 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_PHASE_UNCERTAINTY_BIT) in convertGnssMeasurement()
[all …]
DLocationUtil.h43 void convertGnssLocation(Location& in, V1_0::GnssLocation& out);
44 void convertGnssLocation(const V1_0::GnssLocation& in, Location& out);
45 void convertGnssConstellationType(GnssSvType& in, V1_0::GnssConstellationType& out);
46 void convertGnssEphemerisType(GnssEphemerisType& in, GnssDebug::SatelliteEphemerisType& out);
47 void convertGnssEphemerisSource(GnssEphemerisSource& in, GnssDebug::SatelliteEphemerisSource& out);
48 void convertGnssEphemerisHealth(GnssEphemerisHealth& in, GnssDebug::SatelliteEphemerisHealth& out);
/hardware/qcom/gps/msm8909w_3100/android/location_api/
DMeasurementAPIClient.cpp45 static void convertGnssData(GnssMeasurementsNotification& in,
47 static void convertGnssMeasurement(GnssMeasurementsData& in,
49 static void convertGnssClock(GnssMeasurementsClock& in, IGnssMeasurementCallback::GnssClock& out);
137 static void convertGnssMeasurement(GnssMeasurementsData& in, in convertGnssMeasurement() argument
141 if (in.flags & GNSS_MEASUREMENTS_DATA_SIGNAL_TO_NOISE_RATIO_BIT) in convertGnssMeasurement()
143 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_FREQUENCY_BIT) in convertGnssMeasurement()
145 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_CYCLES_BIT) in convertGnssMeasurement()
147 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_PHASE_BIT) in convertGnssMeasurement()
149 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_PHASE_UNCERTAINTY_BIT) in convertGnssMeasurement()
151 if (in.flags & GNSS_MEASUREMENTS_DATA_AUTOMATIC_GAIN_CONTROL_BIT) 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()
51 if (in.flags & LOCATION_HAS_VERTICAL_ACCURACY_BIT) in convertGnssLocation()
53 if (in.flags & LOCATION_HAS_SPEED_ACCURACY_BIT) in convertGnssLocation()
55 if (in.flags & LOCATION_HAS_BEARING_ACCURACY_BIT) in convertGnssLocation()
57 out.latitudeDegrees = in.latitude; in convertGnssLocation()
[all …]
/hardware/qcom/sdm845/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);
160 static void convertGnssMeasurement(GnssMeasurementsData& in, in convertGnssMeasurement() argument
164 if (in.flags & GNSS_MEASUREMENTS_DATA_SIGNAL_TO_NOISE_RATIO_BIT) in convertGnssMeasurement()
166 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_FREQUENCY_BIT) in convertGnssMeasurement()
168 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_CYCLES_BIT) in convertGnssMeasurement()
170 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_PHASE_BIT) in convertGnssMeasurement()
172 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_PHASE_UNCERTAINTY_BIT) in convertGnssMeasurement()
174 if (in.flags & GNSS_MEASUREMENTS_DATA_AUTOMATIC_GAIN_CONTROL_BIT) 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()
51 if (in.flags & LOCATION_HAS_VERTICAL_ACCURACY_BIT) in convertGnssLocation()
53 if (in.flags & LOCATION_HAS_SPEED_ACCURACY_BIT) in convertGnssLocation()
55 if (in.flags & LOCATION_HAS_BEARING_ACCURACY_BIT) in convertGnssLocation()
57 out.latitudeDegrees = in.latitude; in convertGnssLocation()
[all …]
/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);
160 static void convertGnssMeasurement(GnssMeasurementsData& in, in convertGnssMeasurement() argument
164 if (in.flags & GNSS_MEASUREMENTS_DATA_SIGNAL_TO_NOISE_RATIO_BIT) in convertGnssMeasurement()
166 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_FREQUENCY_BIT) in convertGnssMeasurement()
168 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_CYCLES_BIT) in convertGnssMeasurement()
170 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_PHASE_BIT) in convertGnssMeasurement()
172 if (in.flags & GNSS_MEASUREMENTS_DATA_CARRIER_PHASE_UNCERTAINTY_BIT) in convertGnssMeasurement()
174 if (in.flags & GNSS_MEASUREMENTS_DATA_AUTOMATIC_GAIN_CONTROL_BIT) 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()
51 if (in.flags & LOCATION_HAS_VERTICAL_ACCURACY_BIT) in convertGnssLocation()
53 if (in.flags & LOCATION_HAS_SPEED_ACCURACY_BIT) in convertGnssLocation()
55 if (in.flags & LOCATION_HAS_BEARING_ACCURACY_BIT) in convertGnssLocation()
57 out.latitudeDegrees = in.latitude; in convertGnssLocation()
[all …]
/hardware/libhardware/modules/usbaudio/
Daudio_hal.c703 const struct stream_in * in = ((const struct stream_in*)stream); in in_get_buffer_size() local
704 return proxy_get_period_size(&in->proxy) * audio_stream_in_frame_size(&(in->stream)); in in_get_buffer_size()
709 const struct stream_in *in = (const struct stream_in*)stream; in in_get_channels() local
710 return in->hal_channel_mask; in in_get_channels()
729 struct stream_in *in = (struct stream_in *)stream; in in_standby() local
731 stream_lock(&in->lock); in in_standby()
732 if (!in->standby) { in in_standby()
733 proxy_close(&in->proxy); in in_standby()
734 in->standby = true; in in_standby()
736 stream_unlock(&in->lock); in in_standby()
[all …]
/hardware/qcom/sdm845/data/ipacfg-mgr/hal/src/
DPrefixParser.cpp55 bool PrefixParser::add(vector<string> in) { in add() argument
56 return add(in, IP_FAM::INVALID); in add()
59 bool PrefixParser::add(string in) { in add() argument
60 return add(in, IP_FAM::INVALID); in add()
63 bool PrefixParser::addV4(string in) { in addV4() argument
64 return add(in, IP_FAM::V4); in addV4()
67 bool PrefixParser::addV4(vector<string> in) { in addV4() argument
68 return add(in, IP_FAM::V4); in addV4()
71 bool PrefixParser::addV6(string in) { in addV6() argument
72 return add(in, IP_FAM::V6); in addV6()
[all …]
DCtUpdateAmbassador.cpp59 void CtUpdateAmbassador::updateTimeout(IpaNatTimeoutUpdate in) { in updateTimeout() argument
62 in.src.ipAddr, in.src.port, in.dst.ipAddr, in.dst.port, in updateTimeout()
63 in.proto); in updateTimeout()
66 if (!translate(in, out)) { in updateTimeout()
85 bool CtUpdateAmbassador::translate(IpaNatTimeoutUpdate in, HALNatTimeoutUpdate &out) { in translate() argument
86 return translate(in.src, out.src) in translate()
87 && translate(in.dst, out.dst) in translate()
88 && L4ToNetwork(in.proto, out.proto); in translate()
91 bool CtUpdateAmbassador::translate(IpaIpAddrPortPair in, HALIpAddrPortPair& out) { in translate() argument
94 if (inet_ntop(AF_INET, &(in.ipAddr), ipAddrStr, INET_ADDRSTRLEN) == nullptr) { in translate()
[all …]
/hardware/qcom/data/ipacfg-mgr/msm8998/hal/src/
DPrefixParser.cpp55 bool PrefixParser::add(vector<string> in) { in add() argument
56 return add(in, IP_FAM::INVALID); in add()
59 bool PrefixParser::add(string in) { in add() argument
60 return add(in, IP_FAM::INVALID); in add()
63 bool PrefixParser::addV4(string in) { in addV4() argument
64 return add(in, IP_FAM::V4); in addV4()
67 bool PrefixParser::addV4(vector<string> in) { in addV4() argument
68 return add(in, IP_FAM::V4); in addV4()
71 bool PrefixParser::addV6(string in) { in addV6() argument
72 return add(in, IP_FAM::V6); in addV6()
[all …]
DCtUpdateAmbassador.cpp59 void CtUpdateAmbassador::updateTimeout(IpaNatTimeoutUpdate in) { in updateTimeout() argument
62 in.src.ipAddr, in.src.port, in.dst.ipAddr, in.dst.port, in updateTimeout()
63 in.proto); in updateTimeout()
66 if (!translate(in, out)) { in updateTimeout()
85 bool CtUpdateAmbassador::translate(IpaNatTimeoutUpdate in, HALNatTimeoutUpdate &out) { in translate() argument
86 return translate(in.src, out.src) in translate()
87 && translate(in.dst, out.dst) in translate()
88 && L4ToNetwork(in.proto, out.proto); in translate()
91 bool CtUpdateAmbassador::translate(IpaIpAddrPortPair in, HALIpAddrPortPair& out) { in translate() argument
94 if (inet_ntop(AF_INET, &(in.ipAddr), ipAddrStr, INET_ADDRSTRLEN) == nullptr) { in translate()
[all …]
/hardware/libhardware/modules/audio/
Daudio_hw.c219 const struct stub_stream_in *in = (const struct stub_stream_in *)stream; in in_get_sample_rate() local
221 ALOGV("in_get_sample_rate: %u", in->sample_rate); in in_get_sample_rate()
222 return in->sample_rate; in in_get_sample_rate()
227 struct stub_stream_in *in = (struct stub_stream_in *)stream; in in_set_sample_rate() local
230 in->sample_rate = rate; in in_set_sample_rate()
236 const struct stub_stream_in *in = (const struct stub_stream_in *)stream; in in_get_buffer_size() local
237 size_t buffer_size = in->frame_count * in in_get_buffer_size()
238 audio_stream_in_frame_size(&in->stream); in in_get_buffer_size()
246 const struct stub_stream_in *in = (const struct stub_stream_in *)stream; in in_get_channels() local
248 ALOGV("in_get_channels: %x", in->channel_mask); in in_get_channels()
[all …]
/hardware/nxp/secure_element/libese-spi/p73/utils/
Dconfig.cpp28 bool parseBytesString(std::string in, std::vector<uint8_t>& out) { in parseBytesString() argument
29 vector<string> values = Split(in, ":"); in parseBytesString()
61 bool ConfigValue::parseFromString(std::string in) { in parseFromString() argument
62 if (in.length() > 1 && in[0] == '"' && in[in.length() - 1] == '"') { in parseFromString()
63 CHECK(in.length() > 2); // Don't allow empty strings in parseFromString()
65 value_string_ = in.substr(1, in.length() - 2); in parseFromString()
69 if (in.length() > 1 && in[0] == '{' && in[in.length() - 1] == '}') { in parseFromString()
70 CHECK(in.length() >= 4); // Needs at least one byte in parseFromString()
72 return parseBytesString(in.substr(1, in.length() - 2), value_bytes_); in parseFromString()
76 if (ParseUint(in.c_str(), &tmp)) { in parseFromString()
/hardware/qcom/audio/hal/
Daudio_hw.c411 static void register_in_stream(struct stream_in *in) in register_in_stream() argument
413 struct audio_device *adev = in->dev; in register_in_stream()
418 in->capture_handle, in register_in_stream()
419 in->flags); in register_in_stream()
424 if (in->realtime) { in register_in_stream()
426 in->capture_handle, in register_in_stream()
427 in->pcm, in register_in_stream()
428 &in->config); in register_in_stream()
443 static void request_in_focus(struct stream_in *in, long ns) in request_in_focus() argument
445 struct audio_device *adev = in->dev; in request_in_focus()
[all …]
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/support/
Dmsg_formatting.h209 inline std::tuple<ReadStream, ReadStream::ptr_t, size_t> read(ReadStream in) {
210 auto pos = in.pos();
211 in += 4;
212 if (!in) return {in, nullptr, 0};
215 pos = in.pos();
216 in += size;
217 if (!in) return {in, nullptr, 0};
218 return {in, pos, size};
222 std::tuple<ReadStream, T> readSimpleType(ReadStream in) {
226 std::tie(in, pos, read_size) = read(in);
[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()
485 const struct submix_stream_in * const in, in audio_config_compare() argument
490 if (in != NULL) { in audio_config_compare()
493 const_cast<struct submix_stream_in*>(in)->ref_count--; in audio_config_compare()
494 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/sdm845/display/gralloc/
Dgr_buf_descriptor.h62 Error Decode(const hidl_vec<uint32_t> &in) { in Decode() argument
63 if (in.size() != kBufferDescriptorSize || in[0] != kMagicVersion) { in Decode()
66 width_ = static_cast<int32_t>(in[1]); in Decode()
67 height_ = static_cast<int32_t>(in[2]); in Decode()
68 layer_count_ = in[3]; in Decode()
69 format_ = static_cast<int32_t>(in[4]); in Decode()
70 usage_ = static_cast<uint64_t>(in[6]) << 32 | in[5]; in Decode()
/hardware/interfaces/keymaster/4.0/support/
Dauthorization_set.cpp335 InStreams& deserializeParamValue(InStreams& in, hidl_vec<uint8_t>* blob) { in deserializeParamValue() argument
338 in.elements.read(reinterpret_cast<char*>(&blob_length), sizeof(uint32_t)); in deserializeParamValue()
340 in.elements.read(reinterpret_cast<char*>(&offset), sizeof(uint32_t)); in deserializeParamValue()
341 in.indirect.seekg(offset); in deserializeParamValue()
342 in.indirect.read(reinterpret_cast<char*>(&(*blob)[0]), blob->size()); in deserializeParamValue()
343 return in; in deserializeParamValue()
347 InStreams& deserializeParamValue(InStreams& in, T* value) { in deserializeParamValue() argument
348 in.elements.read(reinterpret_cast<char*>(value), sizeof(T)); in deserializeParamValue()
349 return in; in deserializeParamValue()
352 InStreams& deserialize(TAG_INVALID_t&&, InStreams& in, KeyParameter*) { in deserialize() argument
[all …]
/hardware/interfaces/tests/baz/1.0/default/
DBaz.cpp125 Return<void> Baz::someMethodWithVectorOfArray(const IBase::VectorOfArray& in, in someMethodWithVectorOfArray() argument
128 << toString(in); in someMethodWithVectorOfArray()
132 const size_t n = in.addresses.size(); in someMethodWithVectorOfArray()
136 out.addresses[i] = in.addresses[n - 1 - i]; in someMethodWithVectorOfArray()
144 Return<void> Baz::someMethodTakingAVectorOfArray(const hidl_vec<hidl_array<uint8_t, 6>>& in, in someMethodTakingAVectorOfArray() argument
147 << toString(in); in someMethodTakingAVectorOfArray()
149 const size_t n = in.size(); in someMethodTakingAVectorOfArray()
155 out[i] = in[n - 1 - i]; in someMethodTakingAVectorOfArray()
163 Return<void> Baz::transpose(const IBase::StringMatrix5x3& in, transpose_cb _hidl_cb) { in transpose() argument
164 LOG(INFO) << "Baz::transpose " << toString(in); in transpose()
[all …]

12345678910>>...46