/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/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/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 | 70 static std::string ErrorMessage(const android::binder::Status& status, in ErrorMessage() argument 72 if (!status.isOk()) { in ErrorMessage() 73 return status.exceptionMessage().string(); in ErrorMessage() 121 auto status = gsid_->getInstallProgress(&latest); in UpdateProgress() local 122 if (!status.isOk()) { in UpdateProgress() 126 if (latest.status == IGsiService::STATUS_NO_OPERATION) { in UpdateProgress() 267 auto status = gsid->openInstall(installDir, &error); in Install() local 268 if (!status.isOk() || error != IGsiService::INSTALL_OK) { in Install() 269 std::cerr << "Could not open DSU installation: " << ErrorMessage(status, error) << "\n"; in Install() 273 auto status = gsid->createPartition("userdata", userdataSize, false, &error); in Install() local [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/extras/simpleperf/ |
D | read_elf_test.cpp | 67 ElfStatus status; in TEST() local 68 auto elf = ElfFile::Open(GetTestData(ELF_FILE), &status); in TEST() 69 ASSERT_EQ(status, ElfStatus::NO_ERROR); in TEST() 76 ElfStatus status; in TEST() local 78 auto elf = ElfFile::Open(GetTestData(path), &status); in TEST() 79 ASSERT_EQ(status, ElfStatus::NO_ERROR); in TEST() 108 ElfStatus status; in TEST() local 109 auto elf = ElfFile::Open(GetTestData(ELF_FILE), &elf_file_build_id, &status); in TEST() 110 ASSERT_EQ(ElfStatus::NO_ERROR, status); in TEST() 118 ElfStatus status; in TEST() local [all …]
|
/system/bt/stack/avrc/ |
D | avrc_pars_tg.cc | 44 tAVRC_STS status = AVRC_STS_NO_ERROR; in avrc_ctrl_pars_vendor_cmd() local 51 status = AVRC_STS_BAD_CMD; in avrc_ctrl_pars_vendor_cmd() 58 status = AVRC_STS_INTERNAL_ERR; in avrc_ctrl_pars_vendor_cmd() 61 if (status != AVRC_STS_NO_ERROR) return status; in avrc_ctrl_pars_vendor_cmd() 66 status = AVRC_STS_INTERNAL_ERR; in avrc_ctrl_pars_vendor_cmd() 78 status = AVRC_STS_BAD_CMD; in avrc_ctrl_pars_vendor_cmd() 81 return status; in avrc_ctrl_pars_vendor_cmd() 99 tAVRC_STS status = AVRC_STS_NO_ERROR; in avrc_pars_vendor_cmd() local 119 status = AVRC_STS_BAD_CMD; in avrc_pars_vendor_cmd() 127 status = AVRC_STS_INTERNAL_ERR; in avrc_pars_vendor_cmd() [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() 83 LOG_ERROR("%s error initializing RFCOMM sockets: %d", __func__, status); in btif_sock_init() 87 status = btsock_l2cap_init(thread_handle, uid_set); in btif_sock_init() 88 if (status != BT_STATUS_SUCCESS) { in btif_sock_init() 89 LOG_ERROR("%s error initializing L2CAP sockets: %d", __func__, status); in btif_sock_init() 100 status = btsock_sco_init(thread); in btif_sock_init() 101 if (status != BT_STATUS_SUCCESS) { in btif_sock_init() 102 LOG_ERROR("%s error initializing SCO sockets: %d", __func__, status); in btif_sock_init() [all …]
|
/system/tools/aidl/tests/ |
D | aidl_test_client_nullables.cpp | 48 auto status = (*service.*func)(input, &output); in DoTest() local 49 ASSERT_TRUE(status.isOk()); in DoTest() 54 status = (*service.*func)(input, &output); in DoTest() 55 ASSERT_TRUE(status.isOk()); in DoTest() 101 auto status = service->TakesAnIBinder(nullptr); in TEST_F() local 102 ASSERT_THAT(status.exceptionCode(), Eq(android::binder::Status::EX_NULL_POINTER)); in TEST_F() 107 auto status = service->TakesAnIBinderList(input); in TEST_F() local 108 ASSERT_THAT(status.exceptionCode(), Eq(android::binder::Status::EX_NULL_POINTER)); in TEST_F() 113 auto status = service->TakesAnIBinder(input); in TEST_F() local 114 ASSERT_TRUE(status.isOk()); in TEST_F() [all …]
|