Home
last modified time | relevance | path

Searched refs:status (Results 1 – 25 of 1084) sorted by relevance

12345678910>>...44

/system/bt/service/common/android/bluetooth/
Dbluetooth_a2dp_codec_config.cc30 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 …]
Dbluetooth_avrcp_media_attr.cc30 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 …]
Dbluetooth_remote_device_props.cc32 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 …]
Dscan_settings.cc31 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 …]
Dbluetooth_gatt_characteristic.cc32 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 …]
Dadvertise_settings.cc25 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 …]
Dbluetooth_gatt_service.cc32 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 …]
Dscan_filter.cc35 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()
49 status = parcel->writeNullableParcelable(uuid); in writeToParcel()
50 if (status != OK) return status; in writeToParcel()
56 status = parcel->writeNullableParcelable(uuid); in writeToParcel()
57 return status; in writeToParcel()
62 status_t status = parcel->readString16(&name); in readFromParcel() local
63 if (status != OK) return status; in readFromParcel()
[all …]
Dbluetooth_gatt_descriptor.cc31 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 …]
Dbluetooth_gatt_included_service.cc32 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 …]
Dscan_result.cc35 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 …]
Dbluetooth_avrcp_int_value.cc30 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()
Dbluetooth_avrcp_string_value.cc30 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()
Dbluetooth_avrcp_register_notification_response.cc31 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/
DEventFlag.cpp40 status_t status = NO_MEMORY; in createEventFlag() local
43 EventFlag* evFlag = new (std::nothrow) EventFlag(fd, offset, &status); in createEventFlag()
45 if (status == NO_ERROR) { in createEventFlag()
52 return status; in createEventFlag()
61 status_t status = NO_MEMORY; in createEventFlag() local
64 EventFlag* evFlag = new (std::nothrow) EventFlag(fwAddr, &status); in createEventFlag()
66 if (status == NO_ERROR) { in createEventFlag()
73 return status; in createEventFlag()
79 EventFlag::EventFlag(int fd, off_t offset, status_t* status) { in EventFlag() argument
86 *status = NO_ERROR; in EventFlag()
[all …]
/system/gsid/
Dgsi_tool.cpp72 static std::string ErrorMessage(const android::binder::Status& status, in ErrorMessage() argument
74 if (!status.isOk()) { in ErrorMessage()
75 return status.exceptionMessage().string(); in ErrorMessage()
123 auto status = gsid_->getInstallProgress(&latest); in UpdateProgress() local
124 if (!status.isOk()) { in UpdateProgress()
128 if (latest.status == IGsiService::STATUS_NO_OPERATION) { in UpdateProgress()
269 auto status = gsid->openInstall(installDir, &error); in Install() local
270 if (!status.isOk() || error != IGsiService::INSTALL_OK) { in Install()
271 std::cerr << "Could not open DSU installation: " << ErrorMessage(status, error) << "\n"; in Install()
275 auto status = gsid->createPartition("userdata", userdataSize, false, &error); in Install() local
[all …]
/system/tools/aidl/tests/
Daidl_test_client_nullables.cpp50 auto status = (*service.*func)(input, &output); in DoTest() local
51 ASSERT_TRUE(status.isOk()); in DoTest()
56 status = (*service.*func)(input, &output); in DoTest()
57 ASSERT_TRUE(status.isOk()); in DoTest()
102 auto status = service->RepeatNullableParcelable(input, &output); in TEST_F() local
103 ASSERT_TRUE(status.isOk()); in TEST_F()
108 status = service->RepeatNullableParcelable(input, &output); in TEST_F()
109 ASSERT_TRUE(status.isOk()); in TEST_F()
114 auto status = service->TakesAnIBinder(nullptr); in TEST_F() local
117 ASSERT_TRUE(status.isOk()) << status; in TEST_F()
[all …]
Daidl_test_client_service_exceptions.cpp22 auto status = service->TestOneway(); in TEST_F() local
23 EXPECT_TRUE(status.isOk()) << status; in TEST_F()
35 auto status = service->ThrowServiceException(i); in TEST_F() local
36 ASSERT_THAT(status.exceptionCode(), Eq(android::binder::Status::EX_SERVICE_SPECIFIC)) << status; in TEST_F()
37 ASSERT_THAT(status.serviceSpecificErrorCode(), Eq(i)) << status; in TEST_F()
/system/core/fs_mgr/libfiemap/
Dbinder.cpp77 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/
Dnfa_ee_api.cc56 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/nfc/src/nfa/rw/
Dnfa_rw_act.cc115 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/bt/btif/src/
Dbtif_sock.cc73 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/bt/stack/btu/
Dbtu_hcif.cc80 static void btu_hcif_command_status_evt(uint8_t status, BT_HDR* command,
106 uint16_t status = android::bluetooth::hci::STATUS_UNKNOWN; in btu_hcif_log_event_metrics() local
123 log_classic_pairing_event(bda, handle, cmd, evt_code, status, reason, in btu_hcif_log_event_metrics()
128 STREAM_TO_UINT8(status, p_event); in btu_hcif_log_event_metrics()
130 log_classic_pairing_event(bda, handle, cmd, evt_code, status, reason, in btu_hcif_log_event_metrics()
134 STREAM_TO_UINT8(status, p_event); in btu_hcif_log_event_metrics()
137 log_classic_pairing_event(bda, handle, cmd, evt_code, status, reason, in btu_hcif_log_event_metrics()
142 STREAM_TO_UINT8(status, p_event); in btu_hcif_log_event_metrics()
145 log_classic_pairing_event(bda, handle, cmd, evt_code, status, reason, in btu_hcif_log_event_metrics()
151 STREAM_TO_UINT8(status, p_event); in btu_hcif_log_event_metrics()
[all …]
/system/extras/simpleperf/
Dread_elf_test.cpp67 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/binder/android/bluetooth/
DIBluetoothGattCallback.aidl26 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 …]

12345678910>>...44