/system/update_engine/ |
D | parcelable_update_engine_status.cc | 28 const UpdateEngineStatus& status) in ParcelableUpdateEngineStatus() argument 29 : last_checked_time_(status.last_checked_time), in ParcelableUpdateEngineStatus() 31 chromeos_update_engine::UpdateStatusToString(status.status)), in ParcelableUpdateEngineStatus() 32 progress_(status.progress), in ParcelableUpdateEngineStatus() 33 current_version_(String16{status.current_version.c_str()}), in ParcelableUpdateEngineStatus() 34 current_system_version_(String16{status.current_system_version.c_str()}), 35 new_size_(status.new_size_bytes), 36 new_version_(String16{status.new_version.c_str()}), 37 new_system_version_(String16{status.new_system_version.c_str()}) {} 40 status_t status; in writeToParcel() local [all …]
|
D | update_status_utils.cc | 25 const char* UpdateStatusToString(const UpdateStatus& status) { in UpdateStatusToString() argument 26 switch (status) { in UpdateStatusToString() 57 bool StringToUpdateStatus(const std::string& s, UpdateStatus* status) { in StringToUpdateStatus() argument 59 *status = UpdateStatus::IDLE; in StringToUpdateStatus() 62 *status = UpdateStatus::CHECKING_FOR_UPDATE; in StringToUpdateStatus() 65 *status = UpdateStatus::UPDATE_AVAILABLE; in StringToUpdateStatus() 68 *status = UpdateStatus::NEED_PERMISSION_TO_UPDATE; in StringToUpdateStatus() 71 *status = UpdateStatus::DOWNLOADING; in StringToUpdateStatus() 74 *status = UpdateStatus::VERIFYING; in StringToUpdateStatus() 77 *status = UpdateStatus::FINALIZING; in StringToUpdateStatus() [all …]
|
/system/bt/service/common/android/bluetooth/ |
D | bluetooth_a2dp_codec_config.cc | 30 status_t status = parcel->writeInt32(codec_type_); in writeToParcel() local 31 if (status != OK) return status; in writeToParcel() 33 status = parcel->writeInt32(codec_priority_); in writeToParcel() 34 if (status != OK) return status; in writeToParcel() 36 status = parcel->writeInt32(sample_rate_); in writeToParcel() 37 if (status != OK) return status; in writeToParcel() 39 status = parcel->writeInt32(bits_per_sample_); in writeToParcel() 40 if (status != OK) return status; in writeToParcel() 42 status = parcel->writeInt32(channel_mode_); in writeToParcel() 43 if (status != OK) return status; in writeToParcel() [all …]
|
D | bluetooth_avrcp_media_attr.cc | 30 status_t status = in writeToParcel() local 32 if (status != OK) return status; in writeToParcel() 34 status = parcel->writeString16(String16(artist_.c_str(), artist_.size())); in writeToParcel() 35 if (status != OK) return status; in writeToParcel() 37 status = parcel->writeString16(String16(album_.c_str(), album_.size())); in writeToParcel() 38 if (status != OK) return status; in writeToParcel() 40 status = parcel->writeString16(String16(genre_.c_str(), genre_.size())); in writeToParcel() 41 if (status != OK) return status; in writeToParcel() 43 status = parcel->writeInt32(track_num_); in writeToParcel() 44 if (status != OK) return status; in writeToParcel() [all …]
|
D | bluetooth_remote_device_props.cc | 32 status_t status = in writeToParcel() local 34 if (status != OK) return status; in writeToParcel() 36 status = parcel->writeString16(String16(address_.c_str(), address_.size())); in writeToParcel() 37 if (status != OK) return status; in writeToParcel() 44 status = parcel->writeParcelableVector(uuids); in writeToParcel() 45 if (status != OK) return status; in writeToParcel() 47 status = parcel->writeInt32(device_class_); in writeToParcel() 48 if (status != OK) return status; in writeToParcel() 50 status = parcel->writeInt32(device_type_); in writeToParcel() 51 if (status != OK) return status; in writeToParcel() [all …]
|
D | scan_settings.cc | 31 status_t status = parcel->writeInt32(mode_); in writeToParcel() local 32 if (status != OK) return status; in writeToParcel() 34 status = parcel->writeInt32(callback_type_); in writeToParcel() 35 if (status != OK) return status; in writeToParcel() 37 status = parcel->writeInt32(result_type_); in writeToParcel() 38 if (status != OK) return status; in writeToParcel() 40 status = parcel->writeInt64(report_delay_ms_.InMilliseconds()); in writeToParcel() 41 if (status != OK) return status; in writeToParcel() 43 status = parcel->writeInt32(match_mode_); in writeToParcel() 44 if (status != OK) return status; in writeToParcel() [all …]
|
D | bluetooth_gatt_characteristic.cc | 32 status_t status = parcel->writeInt32(handle_); in writeToParcel() local 33 if (status != OK) return status; in writeToParcel() 35 status = parcel->writeParcelable((UUID)uuid_); in writeToParcel() 36 if (status != OK) return status; in writeToParcel() 38 status = parcel->writeInt32(properties_); in writeToParcel() 39 if (status != OK) return status; in writeToParcel() 41 status = parcel->writeInt32(permissions_); in writeToParcel() 42 if (status != OK) return status; in writeToParcel() 49 status = parcel->writeParcelableVector(descriptors); in writeToParcel() 50 return status; in writeToParcel() [all …]
|
D | advertise_settings.cc | 25 status_t status = parcel->writeInt32(mode_); in writeToParcel() local 26 if (status != OK) return status; in writeToParcel() 28 status = parcel->writeInt32(tx_power_level_); in writeToParcel() 29 if (status != OK) return status; in writeToParcel() 31 status = parcel->writeInt32(connectable_); in writeToParcel() 32 if (status != OK) return status; in writeToParcel() 34 status = parcel->writeInt32(timeout_.InMilliseconds()); in writeToParcel() 35 return status; in writeToParcel() 40 status_t status = parcel->readInt32(&value); in readFromParcel() local 41 if (status != OK) return status; in readFromParcel() [all …]
|
D | bluetooth_gatt_service.cc | 32 status_t status = parcel->writeInt32(handle_); in writeToParcel() local 33 if (status != OK) return status; in writeToParcel() 35 status = parcel->writeBool(primary_); in writeToParcel() 36 if (status != OK) return status; in writeToParcel() 38 status = parcel->writeParcelable((UUID)uuid_); in writeToParcel() 39 if (status != OK) return status; in writeToParcel() 44 status = parcel->writeParcelableVector(characteristics); in writeToParcel() 50 status = parcel->writeParcelableVector(includedServices); in writeToParcel() 52 return status; in writeToParcel() 57 status_t status = parcel->readInt32(&tmp); in readFromParcel() local [all …]
|
D | bluetooth_gatt_descriptor.cc | 31 status_t status = parcel->writeParcelable((UUID)uuid_); in writeToParcel() local 32 if (status != OK) return status; in writeToParcel() 34 status = parcel->writeInt32(handle_); in writeToParcel() 35 if (status != OK) return status; in writeToParcel() 37 status = parcel->writeInt32(permissions_); in writeToParcel() 38 return status; in writeToParcel() 43 status_t status = parcel->readParcelable(&uuid); in readFromParcel() local 44 if (status != OK) return status; in readFromParcel() 48 status = parcel->readInt32(&tmp); in readFromParcel() 49 if (status != OK) return status; in readFromParcel() [all …]
|
D | scan_filter.cc | 35 status_t status = in writeToParcel() local 37 if (status != OK) return status; in writeToParcel() 39 status = parcel->writeString16(String16(String8(device_address_.c_str()))); in writeToParcel() 40 if (status != OK) return status; in writeToParcel() 53 status = parcel->writeNullableParcelable(uuid); in writeToParcel() 55 if (status != OK) return status; in writeToParcel() 63 status = parcel->writeNullableParcelable(uuid); in writeToParcel() 66 return status; in writeToParcel() 71 status_t status = parcel->readString16(&name); in readFromParcel() local 72 if (status != OK) return status; in readFromParcel() [all …]
|
D | bluetooth_gatt_included_service.cc | 32 status_t status = parcel->writeParcelable((UUID)uuid_); in writeToParcel() local 33 if (status != OK) return status; in writeToParcel() 35 status = parcel->writeInt32(handle_); in writeToParcel() 36 if (status != OK) return status; in writeToParcel() 38 status = parcel->writeBool(primary_); in writeToParcel() 39 return status; in writeToParcel() 44 status_t status = parcel->readParcelable(&uuid); in readFromParcel() local 45 if (status != OK) return status; in readFromParcel() 49 status = parcel->readInt32(&tmp); in readFromParcel() 50 if (status != OK) return status; in readFromParcel() [all …]
|
D | scan_result.cc | 35 status_t status = in writeToParcel() local 37 if (status != OK) return status; in writeToParcel() 39 status = parcel->writeByteVector(scan_record_); in writeToParcel() 40 if (status != OK) return status; in writeToParcel() 42 status = parcel->writeInt32(rssi_); in writeToParcel() 43 return status; in writeToParcel() 48 status_t status = parcel->readString16(&addr); in readFromParcel() local 49 if (status != OK) return status; in readFromParcel() 52 status = parcel->readByteVector(&scan_record_); in readFromParcel() 53 if (status != OK) return status; in readFromParcel() [all …]
|
D | bluetooth_avrcp_int_value.cc | 30 status_t status = parcel->writeInt32(id_); in writeToParcel() local 31 if (status != OK) return status; in writeToParcel() 33 status = parcel->writeInt32(value_); in writeToParcel() 34 if (status != OK) return status; in writeToParcel() 36 return status; in writeToParcel() 41 status_t status = parcel->readInt32(&tmp); in readFromParcel() local 42 if (status != OK) return status; in readFromParcel() 45 status = parcel->readInt32(&tmp); in readFromParcel() 46 if (status != OK) return status; in readFromParcel() 49 return status; in readFromParcel()
|
D | bluetooth_avrcp_string_value.cc | 30 status_t status = parcel->writeInt32(id_); in writeToParcel() local 31 if (status != OK) return status; in writeToParcel() 33 status = parcel->writeString16(String16(value_.c_str(), value_.size())); in writeToParcel() 34 if (status != OK) return status; in writeToParcel() 36 return status; in writeToParcel() 41 status_t status = parcel->readInt32(&tmp); in readFromParcel() local 42 if (status != OK) return status; in readFromParcel() 46 status = parcel->readString16(&value); in readFromParcel() 47 if (status != OK) return status; in readFromParcel() 50 return status; in readFromParcel()
|
D | bluetooth_avrcp_register_notification_response.cc | 31 status_t status = parcel->write(&data_, sizeof(data_)); in writeToParcel() local 32 if (status != OK) return status; in writeToParcel() 34 return status; in writeToParcel() 39 status_t status = parcel->read(&data_, sizeof(data_)); in readFromParcel() local 40 if (status != OK) return status; in readFromParcel() 42 return status; in readFromParcel()
|
/system/libfmq/ |
D | EventFlag.cpp | 39 status_t status = NO_MEMORY; in createEventFlag() local 42 EventFlag* evFlag = new (std::nothrow) EventFlag(fd, offset, &status); in createEventFlag() 44 if (status == NO_ERROR) { in createEventFlag() 51 return status; in createEventFlag() 60 status_t status = NO_MEMORY; in createEventFlag() local 63 EventFlag* evFlag = new (std::nothrow) EventFlag(fwAddr, &status); in createEventFlag() 65 if (status == NO_ERROR) { in createEventFlag() 72 return status; in createEventFlag() 78 EventFlag::EventFlag(int fd, off_t offset, status_t* status) { in EventFlag() argument 85 *status = NO_ERROR; in EventFlag() [all …]
|
/system/netd/tests/ |
D | binder_test.cpp | 283 binder::Status status; in TEST_F() local 286 status = mNetd->ipSecAddTunnelInterface(td.deviceName, td.localAddress, td.remoteAddress, in TEST_F() 288 EXPECT_TRUE(status.isOk()) << td.family << status.exceptionMessage(); in TEST_F() 294 status = mNetd->ipSecUpdateTunnelInterface(td.deviceName, td.localAddress, td.remoteAddress, in TEST_F() 296 EXPECT_TRUE(status.isOk()) << td.family << status.exceptionMessage(); in TEST_F() 299 status = mNetd->ipSecRemoveTunnelInterface(td.deviceName); in TEST_F() 300 EXPECT_TRUE(status.isOk()) << td.family << status.exceptionMessage(); in TEST_F() 335 android::netdutils::Status status = XfrmController::ipSecAllocateSpi(0, "::", "::1", 123, spi); in allocateIpSecResources() local 336 SCOPED_TRACE(status); in allocateIpSecResources() 337 RETURN_FALSE_IF_NEQ(status.ok(), expectOk); in allocateIpSecResources() [all …]
|
/system/nfc/src/nfa/rw/ |
D | nfa_rw_act.cc | 115 if ((p_rw_data->status == NFC_STATUS_TIMEOUT) || in nfa_rw_send_data_to_upper() 122 NFC_GetStatusName(p_rw_data->data.status).c_str()); in nfa_rw_send_data_to_upper() 125 conn_evt_data.data.status = p_rw_data->data.status; in nfa_rw_send_data_to_upper() 150 conn_evt_data.status = NFA_STATUS_FAILED; in nfa_rw_error_cleanup() 214 if (p_rw_data->ndef.status == NFC_STATUS_OK) { in nfa_rw_handle_ndef_detect() 220 conn_evt_data.ndef_detect.status = NFA_STATUS_OK; in nfa_rw_handle_ndef_detect() 237 conn_evt_data.status = nfa_rw_start_ndef_read(); in nfa_rw_handle_ndef_detect() 238 if (conn_evt_data.status != NFA_STATUS_OK) { in nfa_rw_handle_ndef_detect() 248 conn_evt_data.status = nfa_rw_start_ndef_write(); in nfa_rw_handle_ndef_detect() 249 if (conn_evt_data.status != NFA_STATUS_OK) { in nfa_rw_handle_ndef_detect() [all …]
|
/system/gsid/ |
D | gsi_tool.cpp | 71 static std::string ErrorMessage(const android::binder::Status& status, in ErrorMessage() argument 73 if (!status.isOk()) { in ErrorMessage() 74 return status.exceptionMessage().string(); in ErrorMessage() 122 auto status = gsid_->getInstallProgress(&latest); in UpdateProgress() local 123 if (!status.isOk()) { in UpdateProgress() 127 if (latest.status == IGsiService::STATUS_NO_OPERATION) { in UpdateProgress() 268 auto status = gsid->openInstall(installDir, &error); in Install() local 269 if (!status.isOk() || error != IGsiService::INSTALL_OK) { in Install() 270 std::cerr << "Could not open DSU installation: " << ErrorMessage(status, error) << "\n"; in Install() 274 auto status = gsid->createPartition("userdata", userdataSize, false, &error); in Install() local [all …]
|
/system/core/fs_mgr/libfiemap/ |
D | binder.cpp | 77 static FiemapStatus ToFiemapStatus(const char* func, const binder::Status& status) { in ToFiemapStatus() argument 78 if (!status.isOk()) { in ToFiemapStatus() 79 LOG(ERROR) << func << " binder returned: " << status.toString8().string(); in ToFiemapStatus() 80 if (status.serviceSpecificErrorCode() != 0) { in ToFiemapStatus() 81 return FiemapStatus::FromErrorCode(status.serviceSpecificErrorCode()); in ToFiemapStatus() 100 auto status = manager_->createBackingImage(name, size, flags, callback); in CreateBackingImage() local 101 return ToFiemapStatus(__PRETTY_FUNCTION__, status); in CreateBackingImage() 105 auto status = manager_->deleteBackingImage(name); in DeleteBackingImage() local 106 if (!status.isOk()) { in DeleteBackingImage() 108 << " binder returned: " << status.exceptionMessage().string(); in DeleteBackingImage() [all …]
|
/system/nfc/src/nfa/ee/ |
D | nfa_ee_api.cc | 56 tNFA_STATUS status = NFA_STATUS_FAILED; in NFA_EeDiscover() local 63 status = NFA_STATUS_FAILED; in NFA_EeDiscover() 66 status = NFA_STATUS_INVALID_PARAM; in NFA_EeDiscover() 75 status = NFA_STATUS_OK; in NFA_EeDiscover() 79 return status; in NFA_EeDiscover() 155 tNFA_STATUS status = NFA_STATUS_FAILED; in NFA_EeRegister() local 161 status = NFA_STATUS_INVALID_PARAM; in NFA_EeRegister() 170 status = NFA_STATUS_OK; in NFA_EeRegister() 174 return status; in NFA_EeRegister() 190 tNFA_STATUS status = NFA_STATUS_INVALID_PARAM; in NFA_EeDeregister() local [all …]
|
/system/bt/binder/android/bluetooth/ |
D | IBluetoothGattCallback.aidl | 26 void onClientRegistered(in int status, in int clientIf); in onClientRegistered() argument 27 void onClientConnectionState(in int status, in int clientIf, in onClientConnectionState() argument 29 void onPhyUpdate(in String address, in int txPhy, in int rxPhy, in int status); in onPhyUpdate() argument 30 void onPhyRead(in String address, in int txPhy, in int rxPhy, in int status); in onPhyRead() argument 31 void onSearchComplete(in String address, in List<BluetoothGattService> services, in int status); in onSearchComplete() argument 32 void onCharacteristicRead(in String address, in int status, in int handle, in byte[] value); in onCharacteristicRead() argument 33 void onCharacteristicWrite(in String address, in int status, in int handle); in onCharacteristicWrite() argument 34 void onExecuteWrite(in String address, in int status); in onExecuteWrite() argument 35 void onDescriptorRead(in String address, in int status, in int handle, in byte[] value); in onDescriptorRead() argument 36 void onDescriptorWrite(in String address, in int status, in int handle); in onDescriptorWrite() argument [all …]
|
/system/bt/btif/src/ |
D | btif_sock.cc | 73 bt_status_t status; in btif_sock_init() local 81 status = btsock_rfc_init(thread_handle, uid_set); in btif_sock_init() 82 if (status != BT_STATUS_SUCCESS) { in btif_sock_init() 84 status); in btif_sock_init() 88 status = btsock_l2cap_init(thread_handle, uid_set); in btif_sock_init() 89 if (status != BT_STATUS_SUCCESS) { in btif_sock_init() 91 status); in btif_sock_init() 102 status = btsock_sco_init(thread); in btif_sock_init() 103 if (status != BT_STATUS_SUCCESS) { in btif_sock_init() 105 status); in btif_sock_init() [all …]
|
/system/extras/partition_tools/ |
D | lpdump_target.cc | 31 binder::Status status = service->run(args, &output); in Run() local 32 if (status.isOk()) { in Run() 36 std::cerr << status.exceptionMessage(); in Run() 37 if (status.serviceSpecificErrorCode() != 0) { in Run() 38 return status.serviceSpecificErrorCode(); in Run() 40 return -status.exceptionCode(); in Run() 56 status_t status = getService(String16("lpdump_service"), &service_); in LpdumpService() local 58 while (status != OK && wait_counter++ < 3) { in LpdumpService() 60 status = getService(String16("lpdump"), &service_); in LpdumpService() 62 if (status != OK || service_ == nullptr) { in LpdumpService() [all …]
|