/hardware/qcom/gps/msm8909w_3100/android/location_api/ |
D | MeasurementAPIClient.cpp | 45 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 …]
|
D | LocationUtil.cpp | 38 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 …]
|
D | LocationUtil.h | 43 void convertGnssLocation(Location& in, GnssLocation& out); 44 void convertGnssConstellationType(GnssSvType& in, GnssConstellationType& out); 45 void convertGnssEphemerisType(GnssEphemerisType& in, GnssDebug::SatelliteEphemerisType& out); 46 void convertGnssEphemerisSource(GnssEphemerisSource& in, GnssDebug::SatelliteEphemerisSource& out); 47 void convertGnssEphemerisHealth(GnssEphemerisHealth& in, GnssDebug::SatelliteEphemerisHealth& out);
|
/hardware/qcom/gps/msm8998/android/location_api/ |
D | GnssMeasurementAPIClient.cpp | 45 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 …]
|
D | LocationUtil.cpp | 38 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 …]
|
D | LocationUtil.h | 43 void convertGnssLocation(Location& in, GnssLocation& out); 44 void convertGnssConstellationType(GnssSvType& in, GnssConstellationType& out); 45 void convertGnssEphemerisType(GnssEphemerisType& in, GnssDebug::SatelliteEphemerisType& out); 46 void convertGnssEphemerisSource(GnssEphemerisSource& in, GnssDebug::SatelliteEphemerisSource& out); 47 void convertGnssEphemerisHealth(GnssEphemerisHealth& in, GnssDebug::SatelliteEphemerisHealth& out);
|
/hardware/libhardware/modules/usbaudio/ |
D | audio_hal.c | 719 const struct stream_in * in = ((const struct stream_in*)stream); in in_get_buffer_size() local 720 return proxy_get_period_size(&in->proxy) * audio_stream_in_frame_size(&(in->stream)); in in_get_buffer_size() 725 const struct stream_in *in = (const struct stream_in*)stream; in in_get_channels() local 726 return in->hal_channel_mask; in in_get_channels() 745 struct stream_in *in = (struct stream_in *)stream; in in_standby() local 747 stream_lock(&in->lock); in in_standby() 748 if (!in->standby) { in in_standby() 749 device_lock(in->adev); in in_standby() 750 proxy_close(&in->proxy); in in_standby() 751 device_unlock(in->adev); in in_standby() [all …]
|
/hardware/qcom/data/ipacfg-mgr/msm8998/hal/src/ |
D | CtUpdateAmbassador.cpp | 59 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 …]
|
D | PrefixParser.cpp | 55 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 …]
|
/hardware/libhardware/modules/audio/ |
D | audio_hw.c | 219 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/ |
D | config.cpp | 28 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/interfaces/confirmationui/support/include/android/hardware/confirmationui/support/ |
D | msg_formatting.h | 209 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/ |
D | audio_hw.cpp | 362 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() 492 const_cast<struct submix_stream_in*>(in)->ref_count--; in audio_config_compare() 493 route_idx = in->route_handle; in audio_config_compare() [all …]
|
/hardware/interfaces/keymaster/3.0/vts/functional/ |
D | authorization_set.cpp | 320 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/qcom/audio/hal/ |
D | audio_hw.c | 378 static void register_in_stream(struct stream_in *in) in register_in_stream() argument 380 struct audio_device *adev = in->dev; in register_in_stream() 385 in->capture_handle, in register_in_stream() 386 in->flags); in register_in_stream() 391 if (in->realtime) { in register_in_stream() 393 in->capture_handle, in register_in_stream() 394 in->pcm, in register_in_stream() 395 &in->config); in register_in_stream() 410 static void request_in_focus(struct stream_in *in, long ns) in request_in_focus() argument 412 struct audio_device *adev = in->dev; in request_in_focus() [all …]
|
/hardware/libhardware_legacy/audio/ |
D | audio_hw_hal.cpp | 274 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/ |
D | audio_hw_hal.cpp | 294 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/interfaces/keymaster/4.0/support/ |
D | authorization_set.cpp | 315 InStreams& deserializeParamValue(InStreams& in, hidl_vec<uint8_t>* blob) { in deserializeParamValue() argument 318 in.elements.read(reinterpret_cast<char*>(&blob_length), sizeof(uint32_t)); in deserializeParamValue() 320 in.elements.read(reinterpret_cast<char*>(&offset), sizeof(uint32_t)); in deserializeParamValue() 321 in.indirect.seekg(offset); in deserializeParamValue() 322 in.indirect.read(reinterpret_cast<char*>(&(*blob)[0]), blob->size()); in deserializeParamValue() 323 return in; in deserializeParamValue() 327 InStreams& deserializeParamValue(InStreams& in, T* value) { in deserializeParamValue() argument 328 in.elements.read(reinterpret_cast<char*>(value), sizeof(T)); in deserializeParamValue() 329 return in; in deserializeParamValue() 332 InStreams& deserialize(TAG_INVALID_t&&, InStreams& in, KeyParameter*) { in deserialize() argument [all …]
|
/hardware/interfaces/tests/baz/1.0/default/ |
D | Baz.cpp | 125 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 …]
|
/hardware/interfaces/tests/bar/1.0/default/ |
D | Bar.cpp | 97 const hidl_array<float, 3, 5> &in, transposeMe_cb _cb) { in transposeMe() argument 98 return mFoo->transposeMe(in, _cb); in transposeMe() 102 const MultiDimensional &in, callingDrWho_cb _hidl_cb) { in callingDrWho() argument 103 return mFoo->callingDrWho(in, _hidl_cb); in callingDrWho() 106 Return<void> Bar::transpose(const StringMatrix5x3 &in, transpose_cb _hidl_cb) { in transpose() argument 107 return mFoo->transpose(in, _hidl_cb); in transpose() 111 const hidl_array<hidl_string, 5, 3> &in, transpose2_cb _hidl_cb) { in transpose2() argument 112 return mFoo->transpose2(in, _hidl_cb); in transpose2() 125 const hidl_vec<sp<ISimple> > &in, in haveAVectorOfInterfaces() 127 _hidl_cb(in); in haveAVectorOfInterfaces() [all …]
|
/hardware/interfaces/gnss/1.0/ |
D | types.hal | 5 * 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 …]
|
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-stub/xdr/ |
D | loc_api_cb.xdr | 3 * 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 …]
|
/hardware/qcom/gps/msm8996/loc_api/libloc_api-rpc-50001/libloc_api-rpc-stub/xdr/ |
D | loc_api_cb.xdr | 3 * 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 …]
|
/hardware/qcom/gps/msm8909/loc_api/libloc_api-rpc-50001/libloc_api-rpc-stub/xdr/ |
D | loc_api_cb.xdr | 3 * 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 …]
|
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc-50001/libloc_api-rpc-stub/xdr/ |
D | loc_api_cb.xdr | 3 * 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 …]
|