/hardware/qcom/sdm845/gps/sdm845/android/location_api/ |
D | LocationUtil.cpp | 42 void convertGnssLocation(Location& in, GnssLocation& out) in convertGnssLocation() argument 44 memset(&out, 0, sizeof(GnssLocation)); in convertGnssLocation() 46 out.gnssLocationFlags |= GnssLocationFlags::HAS_LAT_LONG; in convertGnssLocation() 48 out.gnssLocationFlags |= GnssLocationFlags::HAS_ALTITUDE; in convertGnssLocation() 50 out.gnssLocationFlags |= GnssLocationFlags::HAS_SPEED; in convertGnssLocation() 52 out.gnssLocationFlags |= GnssLocationFlags::HAS_BEARING; in convertGnssLocation() 54 out.gnssLocationFlags |= GnssLocationFlags::HAS_HORIZONTAL_ACCURACY; in convertGnssLocation() 56 out.gnssLocationFlags |= GnssLocationFlags::HAS_VERTICAL_ACCURACY; in convertGnssLocation() 58 out.gnssLocationFlags |= GnssLocationFlags::HAS_SPEED_ACCURACY; in convertGnssLocation() 60 out.gnssLocationFlags |= GnssLocationFlags::HAS_BEARING_ACCURACY; in convertGnssLocation() [all …]
|
D | MeasurementAPIClient.cpp | 49 V1_0::IGnssMeasurementCallback::GnssData& out); 51 IGnssMeasurementCallback::GnssData& out); 53 V1_0::IGnssMeasurementCallback::GnssMeasurement& out); 54 static void convertGnssClock(GnssMeasurementsClock& in, IGnssMeasurementCallback::GnssClock& out); 185 V1_0::IGnssMeasurementCallback::GnssMeasurement& out) in convertGnssMeasurement() argument 187 memset(&out, 0, sizeof(IGnssMeasurementCallback::GnssMeasurement)); in convertGnssMeasurement() 189 out.flags |= IGnssMeasurementCallback::GnssMeasurementFlags::HAS_SNR; in convertGnssMeasurement() 191 out.flags |= IGnssMeasurementCallback::GnssMeasurementFlags::HAS_CARRIER_FREQUENCY; in convertGnssMeasurement() 193 out.flags |= IGnssMeasurementCallback::GnssMeasurementFlags::HAS_CARRIER_CYCLES; in convertGnssMeasurement() 195 out.flags |= IGnssMeasurementCallback::GnssMeasurementFlags::HAS_CARRIER_PHASE; in convertGnssMeasurement() [all …]
|
/hardware/qcom/sdm845/gps/msm8998/android/location_api/ |
D | LocationUtil.cpp | 38 void convertGnssLocation(Location& in, GnssLocation& out) in convertGnssLocation() argument 40 memset(&out, 0, sizeof(GnssLocation)); in convertGnssLocation() 42 out.gnssLocationFlags |= GnssLocationFlags::HAS_LAT_LONG; in convertGnssLocation() 44 out.gnssLocationFlags |= GnssLocationFlags::HAS_ALTITUDE; in convertGnssLocation() 46 out.gnssLocationFlags |= GnssLocationFlags::HAS_SPEED; in convertGnssLocation() 48 out.gnssLocationFlags |= GnssLocationFlags::HAS_BEARING; in convertGnssLocation() 50 out.gnssLocationFlags |= GnssLocationFlags::HAS_HORIZONTAL_ACCURACY; in convertGnssLocation() 52 out.gnssLocationFlags |= GnssLocationFlags::HAS_VERTICAL_ACCURACY; in convertGnssLocation() 54 out.gnssLocationFlags |= GnssLocationFlags::HAS_SPEED_ACCURACY; in convertGnssLocation() 56 out.gnssLocationFlags |= GnssLocationFlags::HAS_BEARING_ACCURACY; in convertGnssLocation() [all …]
|
D | GnssMeasurementAPIClient.cpp | 46 IGnssMeasurementCallback::GnssData& out); 48 IGnssMeasurementCallback::GnssMeasurement& out); 49 static void convertGnssClock(GnssMeasurementsClock& in, IGnssMeasurementCallback::GnssClock& out); 161 IGnssMeasurementCallback::GnssMeasurement& out) in convertGnssMeasurement() argument 163 memset(&out, 0, sizeof(IGnssMeasurementCallback::GnssMeasurement)); in convertGnssMeasurement() 165 out.flags |= IGnssMeasurementCallback::GnssMeasurementFlags::HAS_SNR; in convertGnssMeasurement() 167 out.flags |= IGnssMeasurementCallback::GnssMeasurementFlags::HAS_CARRIER_FREQUENCY; in convertGnssMeasurement() 169 out.flags |= IGnssMeasurementCallback::GnssMeasurementFlags::HAS_CARRIER_CYCLES; in convertGnssMeasurement() 171 out.flags |= IGnssMeasurementCallback::GnssMeasurementFlags::HAS_CARRIER_PHASE; in convertGnssMeasurement() 173 out.flags |= IGnssMeasurementCallback::GnssMeasurementFlags::HAS_CARRIER_PHASE_UNCERTAINTY; in convertGnssMeasurement() [all …]
|
/hardware/qcom/gps/msm8998/android/location_api/ |
D | LocationUtil.cpp | 38 void convertGnssLocation(Location& in, GnssLocation& out) in convertGnssLocation() argument 40 memset(&out, 0, sizeof(GnssLocation)); in convertGnssLocation() 42 out.gnssLocationFlags |= GnssLocationFlags::HAS_LAT_LONG; in convertGnssLocation() 44 out.gnssLocationFlags |= GnssLocationFlags::HAS_ALTITUDE; in convertGnssLocation() 46 out.gnssLocationFlags |= GnssLocationFlags::HAS_SPEED; in convertGnssLocation() 48 out.gnssLocationFlags |= GnssLocationFlags::HAS_BEARING; in convertGnssLocation() 50 out.gnssLocationFlags |= GnssLocationFlags::HAS_HORIZONTAL_ACCURACY; in convertGnssLocation() 52 out.gnssLocationFlags |= GnssLocationFlags::HAS_VERTICAL_ACCURACY; in convertGnssLocation() 54 out.gnssLocationFlags |= GnssLocationFlags::HAS_SPEED_ACCURACY; in convertGnssLocation() 56 out.gnssLocationFlags |= GnssLocationFlags::HAS_BEARING_ACCURACY; in convertGnssLocation() [all …]
|
D | GnssMeasurementAPIClient.cpp | 46 IGnssMeasurementCallback::GnssData& out); 48 IGnssMeasurementCallback::GnssMeasurement& out); 49 static void convertGnssClock(GnssMeasurementsClock& in, IGnssMeasurementCallback::GnssClock& out); 161 IGnssMeasurementCallback::GnssMeasurement& out) in convertGnssMeasurement() argument 163 memset(&out, 0, sizeof(IGnssMeasurementCallback::GnssMeasurement)); in convertGnssMeasurement() 165 out.flags |= IGnssMeasurementCallback::GnssMeasurementFlags::HAS_SNR; in convertGnssMeasurement() 167 out.flags |= IGnssMeasurementCallback::GnssMeasurementFlags::HAS_CARRIER_FREQUENCY; in convertGnssMeasurement() 169 out.flags |= IGnssMeasurementCallback::GnssMeasurementFlags::HAS_CARRIER_CYCLES; in convertGnssMeasurement() 171 out.flags |= IGnssMeasurementCallback::GnssMeasurementFlags::HAS_CARRIER_PHASE; in convertGnssMeasurement() 173 out.flags |= IGnssMeasurementCallback::GnssMeasurementFlags::HAS_CARRIER_PHASE_UNCERTAINTY; in convertGnssMeasurement() [all …]
|
/hardware/qcom/gps/msm8909w_3100/android/location_api/ |
D | LocationUtil.cpp | 38 void convertGnssLocation(Location& in, GnssLocation& out) in convertGnssLocation() argument 40 memset(&out, 0, sizeof(GnssLocation)); in convertGnssLocation() 42 out.gnssLocationFlags |= GnssLocationFlags::HAS_LAT_LONG; in convertGnssLocation() 44 out.gnssLocationFlags |= GnssLocationFlags::HAS_ALTITUDE; in convertGnssLocation() 46 out.gnssLocationFlags |= GnssLocationFlags::HAS_SPEED; in convertGnssLocation() 48 out.gnssLocationFlags |= GnssLocationFlags::HAS_BEARING; in convertGnssLocation() 50 out.gnssLocationFlags |= GnssLocationFlags::HAS_HORIZONTAL_ACCURACY; in convertGnssLocation() 52 out.gnssLocationFlags |= GnssLocationFlags::HAS_VERTICAL_ACCURACY; in convertGnssLocation() 54 out.gnssLocationFlags |= GnssLocationFlags::HAS_SPEED_ACCURACY; in convertGnssLocation() 56 out.gnssLocationFlags |= GnssLocationFlags::HAS_BEARING_ACCURACY; in convertGnssLocation() [all …]
|
D | MeasurementAPIClient.cpp | 46 IGnssMeasurementCallback::GnssData& out); 48 IGnssMeasurementCallback::GnssMeasurement& out); 49 static void convertGnssClock(GnssMeasurementsClock& in, IGnssMeasurementCallback::GnssClock& out); 138 IGnssMeasurementCallback::GnssMeasurement& out) in convertGnssMeasurement() argument 140 memset(&out, 0, sizeof(IGnssMeasurementCallback::GnssMeasurement)); in convertGnssMeasurement() 142 out.flags |= IGnssMeasurementCallback::GnssMeasurementFlags::HAS_SNR; in convertGnssMeasurement() 144 out.flags |= IGnssMeasurementCallback::GnssMeasurementFlags::HAS_CARRIER_FREQUENCY; in convertGnssMeasurement() 146 out.flags |= IGnssMeasurementCallback::GnssMeasurementFlags::HAS_CARRIER_CYCLES; in convertGnssMeasurement() 148 out.flags |= IGnssMeasurementCallback::GnssMeasurementFlags::HAS_CARRIER_PHASE; in convertGnssMeasurement() 150 out.flags |= IGnssMeasurementCallback::GnssMeasurementFlags::HAS_CARRIER_PHASE_UNCERTAINTY; in convertGnssMeasurement() [all …]
|
/hardware/qcom/audio/hal/ |
D | audio_hw.c | 360 static int check_a2dp_restore_l(struct audio_device *adev, struct stream_out *out, bool restore); 388 static void register_out_stream(struct stream_out *out) in register_out_stream() argument 390 struct audio_device *adev = out->dev; in register_out_stream() 391 if (out->usecase == USECASE_AUDIO_PLAYBACK_OFFLOAD) in register_out_stream() 398 out->handle, in register_out_stream() 399 out->flags); in register_out_stream() 404 if (out->realtime) { in register_out_stream() 406 out->handle, in register_out_stream() 407 out->pcm, &out->config); in register_out_stream() 432 static void request_out_focus(struct stream_out *out, long ns) in request_out_focus() argument [all …]
|
/hardware/libhardware/modules/usbaudio/ |
D | audio_hal.c | 306 const struct stream_out* out = (const struct stream_out*)stream; in out_get_buffer_size() local 308 proxy_get_period_size(&out->proxy) * audio_stream_out_frame_size(&(out->stream)); in out_get_buffer_size() 314 const struct stream_out *out = (const struct stream_out*)stream; in out_get_channels() local 315 return out->hal_channel_mask; in out_get_channels() 336 struct stream_out *out = (struct stream_out *)stream; in out_standby() local 338 stream_lock(&out->lock); in out_standby() 339 if (!out->standby) { in out_standby() 340 proxy_close(&out->proxy); in out_standby() 341 out->standby = true; in out_standby() 343 stream_unlock(&out->lock); in out_standby() [all …]
|
/hardware/interfaces/tests/foo/1.0/default/lib/include/hidl-test/ |
D | FooHelper.h | 27 std::string out; in to_string() local 28 out = "["; in to_string() 31 out += ", "; in to_string() 33 out += to_string(elems[i]); in to_string() 35 out += "]"; in to_string() 37 return out; in to_string() 47 std::string out; in to_string() local 48 out = "["; in to_string() 51 out += ", "; in to_string() 54 out += "["; in to_string() [all …]
|
/hardware/libhardware/modules/audio/ |
D | audio_hw.c | 68 const struct stub_stream_out *out = (const struct stub_stream_out *)stream; in out_get_sample_rate() local 70 ALOGV("out_get_sample_rate: %u", out->sample_rate); in out_get_sample_rate() 71 return out->sample_rate; in out_get_sample_rate() 76 struct stub_stream_out *out = (struct stub_stream_out *)stream; in out_set_sample_rate() local 79 out->sample_rate = rate; in out_set_sample_rate() 85 const struct stub_stream_out *out = (const struct stub_stream_out *)stream; in out_get_buffer_size() local 86 size_t buffer_size = out->frame_count * in out_get_buffer_size() 87 audio_stream_out_frame_size(&out->stream); in out_get_buffer_size() 95 const struct stub_stream_out *out = (const struct stub_stream_out *)stream; in out_get_channels() local 97 ALOGV("out_get_channels: %x", out->channel_mask); in out_get_channels() [all …]
|
/hardware/qcom/sdm845/data/ipacfg-mgr/hal/src/ |
D | CtUpdateAmbassador.cpp | 65 HALNatTimeoutUpdate out; in updateTimeout() local 66 if (!translate(in, out)) { in updateTimeout() 81 mFramework->updateTimeout(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 101 out.addr = ipAddrStr; in translate() 102 out.port = in.port; in translate() [all …]
|
/hardware/qcom/data/ipacfg-mgr/msm8998/hal/src/ |
D | CtUpdateAmbassador.cpp | 65 HALNatTimeoutUpdate out; in updateTimeout() local 66 if (!translate(in, out)) { in updateTimeout() 81 mFramework->updateTimeout(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 101 out.addr = ipAddrStr; in translate() 102 out.port = in.port; in translate() [all …]
|
/hardware/interfaces/keymaster/3.0/vts/functional/ |
D | authorization_set.cpp | 207 OutStreams& serializeParamValue(OutStreams& out, const hidl_vec<uint8_t>& blob) { in serializeParamValue() argument 213 out.elements.setstate(std::ios_base::badbit); in serializeParamValue() 214 return out; in serializeParamValue() 217 out.elements.write(reinterpret_cast<const char*>(&buffer), sizeof(uint32_t)); in serializeParamValue() 220 auto offset = out.indirect.tellp(); in serializeParamValue() 224 out.elements.setstate(std::ios_base::badbit); in serializeParamValue() 225 return out; in serializeParamValue() 228 out.elements.write(reinterpret_cast<const char*>(&buffer), sizeof(uint32_t)); in serializeParamValue() 231 if (blob_length) out.indirect.write(reinterpret_cast<const char*>(&blob[0]), blob_length); in serializeParamValue() 233 return out; in serializeParamValue() [all …]
|
/hardware/interfaces/confirmationui/support/test/ |
D | msg_formatting_test.cpp | 44 std::ostream& hexdump(std::ostream& out, const uint8_t* data, size_t size) { in hexdump() argument 47 out << (nibble2hex[0x0F & (byte >> 4)]); in hexdump() 48 out << (nibble2hex[0x0F & byte]); in hexdump() 51 out << "\n"; in hexdump() 54 out << " "; in hexdump() 57 out << " "; in hexdump() 61 return out; in hexdump() 70 WriteStream out(buffer); in TEST() local 71 out = unalign(out); in TEST() 72 out += 4; in TEST() [all …]
|
/hardware/qcom/audio/legacy/alsa_sound/ |
D | audio_hw_hal.cpp | 144 const struct qcom_stream_out *out = in out_get_sample_rate() local 146 return out->qcom_out->sampleRate(); in out_get_sample_rate() 151 struct qcom_stream_out *out = in out_set_sample_rate() local 161 const struct qcom_stream_out *out = in out_get_buffer_size() local 163 return out->qcom_out->bufferSize(); in out_get_buffer_size() 168 const struct qcom_stream_out *out = in out_get_channels() local 170 return out->qcom_out->channels(); in out_get_channels() 175 const struct qcom_stream_out *out = in out_get_format() local 177 return (audio_format_t)out->qcom_out->format(); in out_get_format() 182 struct qcom_stream_out *out = in out_set_format() local [all …]
|
/hardware/libhardware_legacy/audio/ |
D | audio_hw_hal.cpp | 123 const struct legacy_stream_out *out = in out_get_sample_rate() local 125 return out->legacy_out->sampleRate(); in out_get_sample_rate() 130 struct legacy_stream_out *out = in out_set_sample_rate() local 140 const struct legacy_stream_out *out = in out_get_buffer_size() local 142 return out->legacy_out->bufferSize(); in out_get_buffer_size() 147 const struct legacy_stream_out *out = in out_get_channels() local 149 return (audio_channel_mask_t) out->legacy_out->channels(); in out_get_channels() 154 const struct legacy_stream_out *out = in out_get_format() local 157 return (audio_format_t) out->legacy_out->format(); in out_get_format() 162 struct legacy_stream_out *out = in out_set_format() local [all …]
|
/hardware/interfaces/tests/baz/1.0/default/ |
D | Baz.cpp | 62 hidl_array<bool, 4> out; in someBoolArrayMethod() local 63 out[0] = !x[0]; in someBoolArrayMethod() 64 out[1] = !x[1]; in someBoolArrayMethod() 65 out[2] = !x[2]; in someBoolArrayMethod() 66 out[3] = true; in someBoolArrayMethod() 68 _hidl_cb(out); in someBoolArrayMethod() 76 hidl_vec<bool> out; in someBoolVectorMethod() local 77 out.resize(x.size()); in someBoolVectorMethod() 79 out[i] = !x[i]; in someBoolVectorMethod() 82 _hidl_cb(out); in someBoolVectorMethod() [all …]
|
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/support/ |
D | msg_formatting.h | 189 inline WriteStream write(WriteStream out, const uint8_t* buffer, size_t size) { 190 auto pos = out.pos(); 192 out += 4 + size; 193 if (out) { 195 out.good_ = false; 196 return out; 202 return out; 205 WriteStream write(WriteStream out, const uint8_t (&v)[size]) { 206 return write(out, v, size); 251 WriteStream writeSimpleHidlVec(WriteStream out, const hidl_vec<T>& vec) { [all …]
|
/hardware/interfaces/keymaster/4.0/support/ |
D | authorization_set.cpp | 209 OutStreams& serializeParamValue(OutStreams& out, const hidl_vec<uint8_t>& blob) { in serializeParamValue() argument 215 out.elements.setstate(std::ios_base::badbit); in serializeParamValue() 216 return out; in serializeParamValue() 219 out.elements.write(reinterpret_cast<const char*>(&buffer), sizeof(uint32_t)); in serializeParamValue() 222 auto offset = out.indirect.tellp(); in serializeParamValue() 225 out.elements.setstate(std::ios_base::badbit); in serializeParamValue() 226 return out; in serializeParamValue() 229 out.elements.write(reinterpret_cast<const char*>(&buffer), sizeof(uint32_t)); in serializeParamValue() 232 if (blob_length) out.indirect.write(reinterpret_cast<const char*>(&blob[0]), blob_length); in serializeParamValue() 234 return out; in serializeParamValue() [all …]
|
/hardware/libhardware/modules/audio_remote_submix/ |
D | audio_hw.cpp | 363 struct submix_stream_out * const out, in audio_config_compare() argument 367 ALOG_ASSERT(in || out); in audio_config_compare() 389 if (out) { in audio_config_compare() 390 out->route_handle = route_idx; in audio_config_compare() 391 rsxadev->routes[route_idx].output = out; in audio_config_compare() 405 if (out) in audio_config_compare() 445 if (out) device_config->pipe_frame_size = audio_stream_out_frame_size(&out->stream); in audio_config_compare() 486 const struct submix_stream_out * const out) in audio_config_compare() argument 512 if (out != NULL) { in audio_config_compare() 513 route_idx = out->route_handle; in audio_config_compare() [all …]
|
/hardware/qcom/sdm845/display/gralloc/ |
D | gr_buf_descriptor.h | 50 hidl_vec<uint32_t> out; in Encode() local 51 out.resize(kBufferDescriptorSize); in Encode() 52 out[0] = kMagicVersion; in Encode() 53 out[1] = bd_info.width; in Encode() 54 out[2] = bd_info.height; in Encode() 55 out[3] = bd_info.layerCount; in Encode() 56 out[4] = static_cast<uint32_t>(bd_info.format); in Encode() 57 out[5] = static_cast<uint32_t>(bd_info.usage); in Encode() 58 out[6] = static_cast<uint32_t>(bd_info.usage >> 32); in Encode() 59 return out; in Encode()
|
/hardware/qcom/gps/msm8909w_3100/core/data-items/common/ |
D | ClientIndex.cpp | 60 void ClientIndex <CT,DIT> :: getSubscribedList (CT client, list <DIT> & out) { in getSubscribedList() argument 65 out = it->second; in getSubscribedList() 80 void ClientIndex <CT,DIT> :: remove (const list <DIT> & r, list <CT> & out) { in remove() argument 94 out.push_back (dicIter->first); in remove() 110 list <DIT> & out in remove() 119 inserter (out,out.begin ())); in remove() 120 if (!out.empty ()) { in remove() 121 typename list <DIT> :: iterator it = out.begin (); in remove() 122 for (; it != out.end (); ++it) { in remove() 141 list <DIT> & out in add() [all …]
|
D | DataItemIndex.cpp | 51 list <CT> & out in getListOfSubscribedClients() 57 out = cdiIter->second; in getListOfSubscribedClients() 72 void DataItemIndex <CT,DIT> :: remove (const list <CT> & r, list <DIT> & out) { in remove() argument 92 out.push_back (cdiIter->first); in remove() 108 list <CT> & out in remove() 118 inserter (out, out.begin ())); in remove() 119 if (!out.empty ()) { in remove() 120 typename list <CT> :: iterator it = out.begin (); in remove() 121 for (; it != out.end (); ++it) { in remove() 140 list <CT> & out in add() [all …]
|