Searched defs:parcel (Results 1 - 25 of 38) sorted by relevance

12

/system/bt/service/common/android/bluetooth/
H A Dadvertise_data.cc24 status_t AdvertiseData::writeToParcel(Parcel* parcel) const {
25 status_t status = parcel->writeByteVector(data_);
29 status_t AdvertiseData::readFromParcel(const Parcel* parcel) { argument
30 status_t status = parcel->readByteVector(&data_);
H A Dadvertise_settings.cc24 status_t AdvertiseSettings::writeToParcel(Parcel* parcel) const {
25 status_t status = parcel->writeInt32(mode_);
28 status = parcel->writeInt32(tx_power_level_);
31 status = parcel->writeInt32(connectable_);
34 status = parcel->writeInt32(timeout_.InMilliseconds());
38 status_t AdvertiseSettings::readFromParcel(const Parcel* parcel) { argument
40 status_t status = parcel->readInt32(&value);
45 status = parcel->readInt32(&value);
50 status = parcel->readInt32(&value);
55 status = parcel
[all...]
H A Dbluetooth_gatt_characteristic.cc31 status_t BluetoothGattCharacteristic::writeToParcel(Parcel* parcel) const {
32 status_t status = parcel->writeInt32(handle_);
35 status = parcel->writeParcelable((UUID)uuid_);
38 status = parcel->writeInt32(properties_);
41 status = parcel->writeInt32(permissions_);
49 status = parcel->writeParcelableVector(descriptors);
53 status_t BluetoothGattCharacteristic::readFromParcel(const Parcel* parcel) { argument
55 status_t status = parcel->readInt32(&tmp);
60 status = parcel->readParcelable(&uuid);
64 status = parcel
[all...]
H A Dbluetooth_gatt_descriptor.cc30 status_t BluetoothGattDescriptor::writeToParcel(Parcel* parcel) const {
31 status_t status = parcel->writeParcelable((UUID)uuid_);
34 status = parcel->writeInt32(handle_);
37 status = parcel->writeInt32(permissions_);
41 status_t BluetoothGattDescriptor::readFromParcel(const Parcel* parcel) { argument
43 status_t status = parcel->readParcelable(&uuid);
48 status = parcel->readInt32(&tmp);
52 status = parcel->readInt32(&tmp);
H A Dbluetooth_gatt_included_service.cc31 status_t BluetoothGattIncludedService::writeToParcel(Parcel* parcel) const {
32 status_t status = parcel->writeParcelable((UUID)uuid_);
35 status = parcel->writeInt32(handle_);
38 status = parcel->writeBool(primary_);
42 status_t BluetoothGattIncludedService::readFromParcel(const Parcel* parcel) { argument
44 status_t status = parcel->readParcelable(&uuid);
49 status = parcel->readInt32(&tmp);
53 status = parcel->readBool(&primary_);
H A Dbluetooth_gatt_service.cc31 status_t BluetoothGattService::writeToParcel(Parcel* parcel) const {
32 status_t status = parcel->writeInt32(handle_);
35 status = parcel->writeBool(primary_);
38 status = parcel->writeParcelable((UUID)uuid_);
44 status = parcel->writeParcelableVector(characteristics);
50 status = parcel->writeParcelableVector(includedServices);
55 status_t BluetoothGattService::readFromParcel(const Parcel* parcel) { argument
57 status_t status = parcel->readInt32(&tmp);
61 status = parcel->readBool(&primary_);
65 status = parcel
[all...]
H A Dscan_result.cc34 status_t ScanResult::writeToParcel(Parcel* parcel) const {
36 parcel->writeString16(String16(String8(device_address_.c_str())));
39 status = parcel->writeByteVector(scan_record_);
42 status = parcel->writeInt32(rssi_);
46 status_t ScanResult::readFromParcel(const Parcel* parcel) { argument
48 status_t status = parcel->readString16(&addr);
52 status = parcel->readByteVector(&scan_record_);
55 status = parcel->readInt32(&rssi_);
H A Dscan_settings.cc30 status_t ScanSettings::writeToParcel(Parcel* parcel) const {
31 status_t status = parcel->writeInt32(mode_);
34 status = parcel->writeInt32(callback_type_);
37 status = parcel->writeInt32(result_type_);
40 status = parcel->writeInt64(report_delay_ms_.InMilliseconds());
43 status = parcel->writeInt32(match_mode_);
46 status = parcel->writeInt32(match_count_per_filter_);
50 status_t ScanSettings::readFromParcel(const Parcel* parcel) { argument
52 status_t status = parcel->readInt32(&value);
56 status = parcel
[all...]
H A Duuid.cc30 status_t UUID::writeToParcel(Parcel* parcel) const {
50 status_t status = parcel->writeUint64(most_sig_bits);
53 status = parcel->writeUint64(least_sig_bits);
57 status_t UUID::readFromParcel(const Parcel* parcel) { argument
61 status_t status = parcel->readUint64(&most_sig_bits);
64 status = parcel->readUint64(&least_sig_bits);
H A Dscan_filter.cc34 status_t ScanFilter::writeToParcel(Parcel* parcel) const {
36 parcel->writeString16(String16(String8(device_name_.c_str())));
39 status = parcel->writeString16(String16(String8(device_address_.c_str())));
53 status = parcel->writeNullableParcelable(uuid);
63 status = parcel->writeNullableParcelable(uuid);
69 status_t ScanFilter::readFromParcel(const Parcel* parcel) { argument
71 status_t status = parcel->readString16(&name);
76 status = parcel->readString16(&addr);
81 status = parcel->readParcelable(&uuid);
85 status = parcel
[all...]
/system/connectivity/wificond/tests/
H A Dscan_stats_unittest.cpp41 Parcel parcel; local
42 EXPECT_EQ(::android::OK, scan_stats_in.writeToParcel(&parcel));
44 parcel.setDataPosition(0);
45 EXPECT_EQ(::android::OK, scan_stats_out.readFromParcel(&parcel));
/system/core/storaged/
H A Duid_info.cpp24 status_t UidInfo::writeToParcel(Parcel* parcel) const {
25 parcel->writeInt32(uid);
26 parcel->writeCString(name.c_str());
27 parcel->write(&io, sizeof(io));
29 parcel->writeInt32(tasks.size());
31 parcel->writeInt32(task_it.first);
32 parcel->writeCString(task_it.second.comm.c_str());
33 parcel->write(&task_it.second.io, sizeof(task_it.second.io));
38 status_t UidInfo::readFromParcel(const Parcel* parcel) { argument
39 uid = parcel
[all...]
/system/security/keystore/
H A DSignature.cpp26 status_t Signature::writeToParcel(Parcel* parcel) const {
27 return parcel->writeByteVector(sig_data_);
30 status_t Signature::readFromParcel(const Parcel* parcel) { argument
31 return parcel->readByteVector(&sig_data_);
H A DKeyAttestationApplicationId.cpp34 status_t KeyAttestationApplicationId::writeToParcel(Parcel* parcel) const {
35 return parcel->writeParcelableVector(packageInfos_);
38 status_t KeyAttestationApplicationId::readFromParcel(const Parcel* parcel) { argument
40 auto rc = parcel->readParcelableVector(&temp_vector);
/system/bt/binder/android/bluetooth/
H A Dbluetooth_device.cc30 status_t BluetoothDevice::writeToParcel(Parcel* parcel) const {
31 status_t status = parcel->writeString16(String16(address.ToString().c_str()));
35 status_t BluetoothDevice::readFromParcel(const Parcel* parcel) { argument
38 status_t status = parcel->readString16(&tmp);
/system/bt/binder/android/os/
H A Dparcel_file_descriptor.cc27 status_t ParcelFileDescriptor::writeToParcel(Parcel* parcel) const {
29 return parcel->writeParcelFileDescriptor(fd_, takeOwnership_);
32 status_t ParcelFileDescriptor::readFromParcel(const Parcel* parcel) { argument
H A Dparcel_uuid.cc53 status_t ParcelUuid::writeToParcel(Parcel* parcel) const {
54 status_t status = parcel->writeInt64(uuid_msb(uuid));
57 status = parcel->writeInt64(uuid_lsb(uuid));
61 status_t ParcelUuid::readFromParcel(const Parcel* parcel) { argument
64 status_t status = parcel->readInt64(&uuid_msb);
67 status = parcel->readInt64(&uuid_lsb);
/system/connectivity/wificond/scanning/
H A Dchannel_settings.cpp31 status_t ChannelSettings::writeToParcel(::android::Parcel* parcel) const {
32 RETURN_IF_FAILED(parcel->writeInt32(frequency_));
36 status_t ChannelSettings::readFromParcel(const ::android::Parcel* parcel) { argument
37 RETURN_IF_FAILED(parcel->readInt32(&frequency_));
H A Dhidden_network.cpp31 status_t HiddenNetwork::writeToParcel(::android::Parcel* parcel) const {
32 RETURN_IF_FAILED(parcel->writeByteVector(ssid_));
36 status_t HiddenNetwork::readFromParcel(const ::android::Parcel* parcel) { argument
37 RETURN_IF_FAILED(parcel->readByteVector(&ssid_));
H A Dpno_network.cpp31 status_t PnoNetwork::writeToParcel(::android::Parcel* parcel) const {
32 RETURN_IF_FAILED(parcel->writeInt32(is_hidden_ ? 1 : 0));
33 RETURN_IF_FAILED(parcel->writeByteVector(ssid_));
37 status_t PnoNetwork::readFromParcel(const ::android::Parcel* parcel) { argument
39 RETURN_IF_FAILED(parcel->readInt32(&is_hidden));
41 RETURN_IF_FAILED(parcel->readByteVector(&ssid_));
H A Dradio_chain_info.cpp30 status_t RadioChainInfo::writeToParcel(::android::Parcel* parcel) const {
31 RETURN_IF_FAILED(parcel->writeInt32(chain_id));
32 RETURN_IF_FAILED(parcel->writeInt32(level));
36 status_t RadioChainInfo::readFromParcel(const ::android::Parcel* parcel) { argument
37 RETURN_IF_FAILED(parcel->readInt32(&chain_id));
38 RETURN_IF_FAILED(parcel->readInt32(&level));
H A Dpno_settings.cpp34 status_t PnoSettings::writeToParcel(::android::Parcel* parcel) const {
35 RETURN_IF_FAILED(parcel->writeInt32(interval_ms_));
36 RETURN_IF_FAILED(parcel->writeInt32(min_2g_rssi_));
37 RETURN_IF_FAILED(parcel->writeInt32(min_5g_rssi_));
38 RETURN_IF_FAILED(parcel->writeInt32(pno_networks_.size()));
42 RETURN_IF_FAILED(parcel->writeInt32(1));
43 RETURN_IF_FAILED(network.writeToParcel(parcel));
48 status_t PnoSettings::readFromParcel(const ::android::Parcel* parcel) { argument
49 RETURN_IF_FAILED(parcel->readInt32(&interval_ms_));
50 RETURN_IF_FAILED(parcel
[all...]
H A Dsingle_scan_settings.cpp38 status_t SingleScanSettings::writeToParcel(::android::Parcel* parcel) const {
43 RETURN_IF_FAILED(parcel->writeInt32(scan_type_));
44 RETURN_IF_FAILED(parcel->writeInt32(channel_settings_.size()));
48 RETURN_IF_FAILED(parcel->writeInt32(1));
49 RETURN_IF_FAILED(channel.writeToParcel(parcel));
51 RETURN_IF_FAILED(parcel->writeInt32(hidden_networks_.size()));
55 RETURN_IF_FAILED(parcel->writeInt32(1));
56 RETURN_IF_FAILED(network.writeToParcel(parcel));
61 status_t SingleScanSettings::readFromParcel(const ::android::Parcel* parcel) { argument
62 RETURN_IF_FAILED(parcel
[all...]
/system/update_engine/
H A Dparcelable_update_engine_status.cc39 status_t ParcelableUpdateEngineStatus::writeToParcel(Parcel* parcel) const {
42 status = parcel->writeInt64(last_checked_time_);
47 status = parcel->writeString16(current_operation_);
52 status = parcel->writeDouble(progress_);
57 status = parcel->writeString16(current_version_);
62 status = parcel->writeString16(current_system_version_);
67 status = parcel->writeInt64(new_size_);
72 status = parcel->writeString16(new_version_);
77 return parcel->writeString16(new_system_version_);
80 status_t ParcelableUpdateEngineStatus::readFromParcel(const Parcel* parcel) { argument
[all...]
/system/netd/server/binder/android/net/
H A DUidRange.cpp41 status_t UidRange::writeToParcel(Parcel* parcel) const {
46 if (status_t err = parcel->writeInt32(mStart)) {
49 if (status_t err = parcel->writeInt32(mStop)) {
55 status_t UidRange::readFromParcel(const Parcel* parcel) { argument
60 if (status_t err = parcel->readInt32(&mStart)) {
63 if (status_t err = parcel->readInt32(&mStop)) {

Completed in 399 milliseconds

12