Home
last modified time | relevance | path

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

12345678910>>...20

/system/update_engine/
Dparcelable_update_engine_status.cc25 status_t status; in writeToParcel() local
27 status = parcel->writeInt64(last_checked_time_); in writeToParcel()
28 if (status != OK) { in writeToParcel()
29 return status; in writeToParcel()
32 status = parcel->writeDouble(progress_); in writeToParcel()
33 if (status != OK) { in writeToParcel()
34 return status; in writeToParcel()
37 status = parcel->writeString16(current_operation_); in writeToParcel()
38 if (status != OK) { in writeToParcel()
39 return status; in writeToParcel()
[all …]
Dupdate_status_utils.cc40 const char* UpdateStatusToString(const UpdateStatus& status) { in UpdateStatusToString() argument
41 switch (status) { in UpdateStatusToString()
68 const char* UpdateStatusToWeaveStatus(const UpdateStatus& status) { in UpdateStatusToWeaveStatus() argument
69 switch (status) { in UpdateStatusToWeaveStatus()
97 UpdateStatus* status) { in StringToUpdateStatus() argument
99 *status = UpdateStatus::IDLE; in StringToUpdateStatus()
102 *status = UpdateStatus::CHECKING_FOR_UPDATE; in StringToUpdateStatus()
105 *status = UpdateStatus::UPDATE_AVAILABLE; in StringToUpdateStatus()
108 *status = UpdateStatus::DOWNLOADING; in StringToUpdateStatus()
111 *status = UpdateStatus::VERIFYING; in StringToUpdateStatus()
[all …]
/system/bt/stack/avrc/
Davrc_pars_tg.c44 tAVRC_STS status = AVRC_STS_NO_ERROR; in avrc_ctrl_pars_vendor_cmd() local
52 status = AVRC_STS_BAD_CMD; in avrc_ctrl_pars_vendor_cmd()
60 status = AVRC_STS_INTERNAL_ERR; in avrc_ctrl_pars_vendor_cmd()
63 if (status != AVRC_STS_NO_ERROR) in avrc_ctrl_pars_vendor_cmd()
64 return status; in avrc_ctrl_pars_vendor_cmd()
71 status = AVRC_STS_INTERNAL_ERR; in avrc_ctrl_pars_vendor_cmd()
84 status = AVRC_STS_BAD_CMD; in avrc_ctrl_pars_vendor_cmd()
87 return status; in avrc_ctrl_pars_vendor_cmd()
105 tAVRC_STS status = AVRC_STS_NO_ERROR; in avrc_pars_vendor_cmd() local
127 status = AVRC_STS_BAD_CMD; in avrc_pars_vendor_cmd()
[all …]
/system/bt/bta/hl/
Dbta_hl_ci.c50 tBTA_HL_STATUS status, in bta_hl_ci_get_tx_data() argument
58 mdl_handle, status, evt); in bta_hl_ci_get_tx_data()
63 p_evt->status = status; in bta_hl_ci_get_tx_data()
84 tBTA_HL_STATUS status, in bta_hl_ci_put_rx_data() argument
92 mdl_handle, status, evt); in bta_hl_ci_put_rx_data()
97 p_evt->status = status; in bta_hl_ci_put_rx_data()
118 tBTA_HL_STATUS status, in bta_hl_ci_get_echo_data() argument
126 mcl_handle, status, evt); in bta_hl_ci_get_echo_data()
131 p_evt->status = status; in bta_hl_ci_get_echo_data()
152 tBTA_HL_STATUS status, in bta_hl_ci_put_echo_data() argument
[all …]
Dbta_hl_main.c540 evt_data.enable_cfm.status = BTA_HL_STATUS_FAIL; in bta_hl_api_enable()
551 evt_data.enable_cfm.status = BTA_HL_STATUS_OK; in bta_hl_api_enable()
568 tBTA_HL_STATUS status = BTA_HL_STATUS_OK; in bta_hl_api_disable() local
577 status = BTA_HL_STATUS_FAIL; in bta_hl_api_disable()
578 evt_data.disable_cfm.status = status; in bta_hl_api_disable()
584 if (status != BTA_HL_STATUS_OK) in bta_hl_api_disable()
586 APPL_TRACE_DEBUG("bta_hl_api_disable status =%s", bta_hl_status_code(status)); in bta_hl_api_disable()
605 tBTA_HL_STATUS status = BTA_HL_STATUS_FAIL; in bta_hl_api_update() local
612 status = bta_hl_app_update(p_data->api_update.app_id, p_data->api_update.is_register); in bta_hl_api_update()
617 evt_data.dereg_cfm.status = status; in bta_hl_api_update()
[all …]
/system/bt/service/hal/
Dbluetooth_gatt_interface.cpp73 void RegisterClientCallback(int status, int client_if, bt_uuid_t* app_uuid) { in RegisterClientCallback() argument
75 VLOG(2) << __func__ << " - status: " << status << " client_if: " << client_if; in RegisterClientCallback()
80 RegisterClientCallback(g_interface, status, client_if, *app_uuid)); in RegisterClientCallback()
95 void ConnectCallback(int conn_id, int status, int client_if, bt_bdaddr_t* bda) { in ConnectCallback() argument
100 VLOG(2) << __func__ << " - status: " << status in ConnectCallback()
106 ConnectCallback(g_interface, conn_id, status, client_if, *bda)); in ConnectCallback()
109 void DisconnectCallback(int conn_id, int status, int client_if, in DisconnectCallback() argument
116 << " - status: " << status in DisconnectCallback()
120 DisconnectCallback(g_interface, conn_id, status, client_if, *bda)); in DisconnectCallback()
123 void SearchCompleteCallback(int conn_id, int status) { in SearchCompleteCallback() argument
[all …]
Dbluetooth_gatt_interface.h56 int status, int client_if,
67 int status,
74 int status,
81 int status);
85 int conn_id, int status, int registered, uint16_t handle);
93 int conn_id, int status, uint16_t handle);
97 int conn_id, int status, uint16_t handle);
101 int status, int client_if);
105 int conn_id, int status, int mtu);
109 int client_if, int status);
[all …]
Dbluetooth_interface.cpp75 void AdapterPropertiesCallback(bt_status_t status, in AdapterPropertiesCallback() argument
80 VLOG(1) << "Adapter properties changed - status: " << BtStatusText(status) in AdapterPropertiesCallback()
83 AdapterPropertiesCallback(status, num_properties, properties)); in AdapterPropertiesCallback()
86 void RemoteDevicePropertiesCallback(bt_status_t status, in RemoteDevicePropertiesCallback() argument
92 VLOG(1) << " Remote device properties changed - status: " << BtStatusText(status) in RemoteDevicePropertiesCallback()
96 RemoteDevicePropertiesCallback(status, remote_bd_addr, num_properties, in RemoteDevicePropertiesCallback()
133 bt_status_t status, in BondStateChangedCallback() argument
140 << " - status: " << status in BondStateChangedCallback()
142 FOR_EACH_BLUETOOTH_OBSERVER(BondStateChangedCallback(status, remote_bd_addr, state)); in BondStateChangedCallback()
145 void AclStateChangedCallback(bt_status_t status, in AclStateChangedCallback() argument
[all …]
Dfake_bluetooth_gatt_interface.cpp167 bt_status_t FakeSendResponse(int conn_id, int trans_id, int status, in FakeSendResponse() argument
170 return g_server_handler->SendResponse(conn_id, trans_id, status, response); in FakeSendResponse()
257 int status, int client_if, in NotifyRegisterClientCallback() argument
260 RegisterClientCallback(this, status, client_if, app_uuid)); in NotifyRegisterClientCallback()
264 int conn_id, int status, int client_if, const bt_bdaddr_t& bda) { in NotifyConnectCallback() argument
266 ConnectCallback(this, conn_id, status, client_if, bda)); in NotifyConnectCallback()
270 int conn_id, int status, int client_if, const bt_bdaddr_t& bda) { in NotifyDisconnectCallback() argument
272 DisconnectCallback(this, conn_id, status, client_if, bda)); in NotifyDisconnectCallback()
282 int client_if, int status) { in NotifyMultiAdvEnableCallback() argument
284 MultiAdvEnableCallback(this, client_if, status)); in NotifyMultiAdvEnableCallback()
[all …]
/system/core/fastboot/
Dengine.cpp67 int (*func)(Action* a, int status, const char* resp);
91 static int cb_default(Action* a, int status, const char* resp) { in cb_default() argument
92 if (status) { in cb_default()
99 return status; in cb_default()
196 static int cb_check(Action* a, int status, const char* resp, int invert) in cb_check() argument
203 if (status) { in cb_check()
205 return status; in cb_check()
239 static int cb_require(Action*a, int status, const char* resp) { in cb_require() argument
240 return cb_check(a, status, resp, 0); in cb_require()
243 static int cb_reject(Action* a, int status, const char* resp) { in cb_reject() argument
[all …]
/system/bt/btif/src/
Dbtif_sock.c67 bt_status_t status = btsock_rfc_init(thread_handle, uid_set); in btif_sock_init() local
68 if (status != BT_STATUS_SUCCESS) { in btif_sock_init()
69 LOG_ERROR(LOG_TAG, "%s error initializing RFCOMM sockets: %d", __func__, status); in btif_sock_init()
73 status = btsock_l2cap_init(thread_handle, uid_set); in btif_sock_init()
74 if (status != BT_STATUS_SUCCESS) { in btif_sock_init()
75 LOG_ERROR(LOG_TAG, "%s error initializing L2CAP sockets: %d", __func__, status); in btif_sock_init()
86 status = btsock_sco_init(thread); in btif_sock_init()
87 if (status != BT_STATUS_SUCCESS) { in btif_sock_init()
88 LOG_ERROR(LOG_TAG, "%s error initializing SCO sockets: %d", __func__, status); in btif_sock_init()
127 bt_status_t status = BT_STATUS_FAIL; in btsock_listen() local
[all …]
Dbtif_sdp_server.c378 BOOLEAN status = TRUE; in add_maps_sdp() local
397 status &= SDP_AddServiceClassIdList(sdp_handle, 1, &service); in add_maps_sdp()
408 status &= SDP_AddProtocolList(sdp_handle, 3, protoList); in add_maps_sdp()
411 status &= SDP_AddAttribute(sdp_handle, in add_maps_sdp()
418 status &= SDP_AddProfileDescriptorList(sdp_handle, in add_maps_sdp()
423 status &= SDP_AddAttribute(sdp_handle, ATTR_ID_MAS_INSTANCE_ID, UINT_DESC_TYPE, in add_maps_sdp()
427 status &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_MSG_TYPE, UINT_DESC_TYPE, in add_maps_sdp()
432 status &= SDP_AddAttribute(sdp_handle, ATTR_ID_MAP_SUPPORTED_FEATURES, in add_maps_sdp()
439 status &= SDP_AddAttribute(sdp_handle, ATTR_ID_GOEP_L2CAP_PSM, in add_maps_sdp()
444 status &= SDP_AddUuidSequence (sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, &browse); in add_maps_sdp()
[all …]
/system/connectivity/shill/supplicant/
Dsupplicant_eap_state_handler.cc31 bool SupplicantEAPStateHandler::ParseStatus(const string& status, in ParseStatus() argument
34 if (status == WPASupplicant::kEAPStatusAcceptProposedMethod) { in ParseStatus()
36 } else if (status == WPASupplicant::kEAPStatusCompletion) { in ParseStatus()
52 LOG(ERROR) << "EAP: Unexpected " << status << " parameter: " << parameter; in ParseStatus()
54 } else if (status == WPASupplicant::kEAPStatusLocalTLSAlert || in ParseStatus()
55 status == WPASupplicant::kEAPStatusRemoteTLSAlert) { in ParseStatus()
56 tls_error_ = status; in ParseStatus()
57 } else if (status == in ParseStatus()
64 LOG(ERROR) << "EAP: Unexpected " << status << " parameter: " << parameter; in ParseStatus()
66 } else if (status == WPASupplicant::kEAPStatusParameterNeeded) { in ParseStatus()
[all …]
/system/bt/stack/btu/
Dbtu_hcif.c52 extern void btm_process_cancel_complete(UINT8 status, UINT8 mode);
74 static void btu_hcif_command_status_evt (uint8_t status, BT_HDR *command, void *context);
397 UINT8 status; in btu_hcif_inquiry_comp_evt() local
399 STREAM_TO_UINT8 (status, p); in btu_hcif_inquiry_comp_evt()
402 btm_process_inq_complete(status, BTM_BR_INQUIRY_MASK); in btu_hcif_inquiry_comp_evt()
461 UINT8 status; in btu_hcif_connection_comp_evt() local
470 STREAM_TO_UINT8 (status, p); in btu_hcif_connection_comp_evt()
480 btm_sec_connected (bda, handle, status, enc_mode); in btu_hcif_connection_comp_evt()
482 l2c_link_hci_conn_comp (status, handle, bda); in btu_hcif_connection_comp_evt()
490 btm_sco_connected (status, bda, handle, &esco_data); in btu_hcif_connection_comp_evt()
[all …]
/system/bt/stack/btm/
Dbtm_ble_batchscan.c323 tBTM_STATUS status = BTM_NO_RESOURCES; in btm_ble_read_batchscan_reports() local
332 if ((status = BTM_VendorSpecificCommand (HCI_BLE_BATCH_SCAN_OCF, in btm_ble_read_batchscan_reports()
336 BTM_TRACE_ERROR("btm_ble_read_batchscan_reports %d", status); in btm_ble_read_batchscan_reports()
340 if (BTM_CMD_STARTED == status) in btm_ble_read_batchscan_reports()
347 return status; in btm_ble_read_batchscan_reports()
367 UINT8 status = 0, subcode = 0, opcode = 0; in btm_ble_batchscan_vsc_cmpl_cback() local
381 STREAM_TO_UINT8(status, p); in btm_ble_batchscan_vsc_cmpl_cback()
399 if (BTM_SUCCESS == status && BTM_BLE_SCAN_ENABLE_CALLED == cur_state) in btm_ble_batchscan_vsc_cmpl_cback()
409 status, ble_batchscan_cb.cur_state, cb_evt); in btm_ble_batchscan_vsc_cmpl_cback()
412 ble_batchscan_cb.p_setup_cback(cb_evt, ref_value, status); in btm_ble_batchscan_vsc_cmpl_cback()
[all …]
Dbtm_ble_cont_energy.c48 UINT8 status = 0; in btm_ble_cont_energy_cmpl_cback() local
57 STREAM_TO_UINT8(status, p); in btm_ble_cont_energy_cmpl_cback()
64 status, total_tx_time, total_rx_time, total_energy_used, total_idle_time); in btm_ble_cont_energy_cmpl_cback()
68 total_energy_used, status); in btm_ble_cont_energy_cmpl_cback()
86 tBTM_STATUS status = BTM_ILLEGAL_VALUE; in BTM_BleGetEnergyInfo() local
100 if ((status = BTM_VendorSpecificCommand (HCI_BLE_ENERGY_INFO_OCF, 0, NULL, in BTM_BleGetEnergyInfo()
103 BTM_TRACE_ERROR("BTM_BleGetEnergyInfo status: %d", status); in BTM_BleGetEnergyInfo()
107 return status; in BTM_BleGetEnergyInfo()
/system/bt/test/suite/gatt/
Dgatt_test.cpp102 int status, int clientIf, const bt_uuid_t& app_uuid) { in RegisterClientCallback() argument
103 status_ = status; in RegisterClientCallback()
116 int status, int client_if) { in ListenCallback() argument
117 status_ = status; in ListenCallback()
125 int status, int server_if, const bt_uuid_t& uuid) { in RegisterServerCallback() argument
126 status_ = status; in RegisterServerCallback()
133 int status, int server_if, const btgatt_srvc_id_t& srvc_id, in ServiceAddedCallback() argument
135 status_ = status; in ServiceAddedCallback()
143 int status, int server_if, const bt_uuid_t& char_id, in CharacteristicAddedCallback() argument
145 status_ = status; in CharacteristicAddedCallback()
[all …]
Dgatt_unittest.cpp46 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) in TEST_F()
68 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) in TEST_F()
74 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) in TEST_F()
80 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) in TEST_F()
93 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) in TEST_F()
106 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) in TEST_F()
127 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) << "Error adding service."; in TEST_F()
134 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) in TEST_F()
141 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) in TEST_F()
147 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) << "Error starting server."; in TEST_F()
[all …]
/system/tpm/trunks/
Dtrunks_ftdi_spi.cc75 bool TrunksFtdiSpi::ReadTpmSts(uint32_t *status) { in ReadTpmSts() argument
76 return FtdiReadReg(TPM_STS_REG, sizeof(*status), status); in ReadTpmSts()
79 bool TrunksFtdiSpi::WriteTpmSts(uint32_t status) { in WriteTpmSts() argument
80 return FtdiWriteReg(TPM_STS_REG, sizeof(status), &status); in WriteTpmSts()
151 uint32_t status; in GetBurstCount() local
153 ReadTpmSts(&status); in GetBurstCount()
154 return (size_t)((status >> burstCountShift) & burstCountMask); in GetBurstCount()
158 uint32_t did_vid, status; in Init() local
197 ReadTpmSts(&status); in Init()
198 if (((status >> tpmFamilyShift) & tpmFamilyMask) != tpmFamilyTPM2) { in Init()
[all …]
/system/bt/service/
Dlow_energy_client.cpp40 BLEStatus GetBLEStatus(int status) { in GetBLEStatus() argument
41 if (status == BT_STATUS_FAIL) in GetBLEStatus()
44 return static_cast<BLEStatus>(status); in GetBLEStatus()
343 bt_status_t status = hal::BluetoothGattInterface::Get()-> in Connect() local
346 if (status != BT_STATUS_SUCCESS) { in Connect()
370 bt_status_t status = hal::BluetoothGattInterface::Get()-> in Disconnect() local
372 if (status != BT_STATUS_SUCCESS) { in Disconnect()
397 bt_status_t status = hal::BluetoothGattInterface::Get()-> in SetMtu() local
399 if (status != BT_STATUS_SUCCESS) { in SetMtu()
423 bt_status_t status = hal::BluetoothGattInterface::Get()-> in StartScan() local
[all …]
/system/tools/aidl/tests/
Dsimple_parcelable.cpp34 status_t status = parcel->writeString16(name_); in writeToParcel() local
35 if (status != OK) { in writeToParcel()
36 return status; in writeToParcel()
38 status = parcel->writeInt32(number_); in writeToParcel()
39 return status; in writeToParcel()
43 status_t status = parcel->readString16(&name_); in readFromParcel() local
44 if (status != OK) { in readFromParcel()
45 return status; in readFromParcel()
/system/bt/service/common/bluetooth/binder/
DIBluetoothLowEnergyCallback.cpp53 int status = data.readInt32(); in onTransact() local
55 OnClientRegistered(status, client_if); in onTransact()
59 int status = data.readInt32(); in onTransact() local
64 OnConnectionState(status, client_id, address, connected); in onTransact()
68 int status = data.readInt32(); in onTransact() local
72 OnMtuChanged(status, address, mtu); in onTransact()
82 int status = data.readInt32(); in onTransact() local
86 OnMultiAdvertiseCallback(status, is_start, *settings); in onTransact()
103 int status, int client_if) { in OnClientRegistered() argument
108 data.writeInt32(status); in OnClientRegistered()
[all …]
/system/bt/bta/hh/
Dbta_hh_act.c70 tBTA_HH_STATUS status = BTA_HH_ERR; in bta_hh_api_enable() local
86 status = BTA_HH_OK; in bta_hh_api_enable()
101 if (status == BTA_HH_OK) in bta_hh_api_enable()
108 (* bta_hh_cb.p_cback)(BTA_HH_ENABLE_EVT, (tBTA_HH *)&status); in bta_hh_api_enable()
165 tBTA_HH_STATUS status = BTA_HH_OK; in bta_hh_disc_cmpl() local
169 status = BTA_HH_ERR; in bta_hh_disc_cmpl()
173 UNUSED(status); in bta_hh_disc_cmpl()
175 bta_hh_cleanup_disable(status); in bta_hh_disc_cmpl()
193 tBTA_HH_STATUS status = BTA_HH_ERR_SDP; in bta_hh_sdp_cback() local
217 status = BTA_HH_OK; in bta_hh_sdp_cback()
[all …]
/system/bt/stack/a2dp/
Da2d_sbc.c54 tA2D_STATUS status; in A2D_BldSbcInfo() local
69 status = A2D_INVALID_PARAMS; in A2D_BldSbcInfo()
73 status = A2D_SUCCESS; in A2D_BldSbcInfo()
86 return status; in A2D_BldSbcInfo()
110 tA2D_STATUS status = A2D_SUCCESS; in A2D_ParsSbcInfo() local
134 status = A2D_BAD_MIN_BITPOOL; in A2D_ParsSbcInfo()
138 status = A2D_BAD_MAX_BITPOOL; in A2D_ParsSbcInfo()
141 return status; in A2D_ParsSbcInfo()
144 status = A2D_BAD_SAMP_FREQ; in A2D_ParsSbcInfo()
146 status = A2D_BAD_CH_MODE; in A2D_ParsSbcInfo()
[all …]
/system/bt/bta/av/
Dbta_av_sbc.c427 UINT8 status = A2D_SUCCESS; in bta_av_sbc_cfg_for_cap() local
432 if ((status = A2D_ParsSbcInfo(&peer_cie, p_peer, TRUE)) != 0) in bta_av_sbc_cfg_for_cap()
434 return status; in bta_av_sbc_cfg_for_cap()
504 if (status == A2D_SUCCESS) in bta_av_sbc_cfg_for_cap()
509 return status; in bta_av_sbc_cfg_for_cap()
524 UINT8 status = 0; in bta_av_sbc_cfg_matches_cap() local
528 if ((status = A2D_ParsSbcInfo(&cfg_cie, p_cfg, TRUE)) != 0) in bta_av_sbc_cfg_matches_cap()
530 APPL_TRACE_ERROR(" bta_av_sbc_cfg_matches_cap Parsing Failed %d", status); in bta_av_sbc_cfg_matches_cap()
531 return status; in bta_av_sbc_cfg_matches_cap()
547 status = A2D_NS_SAMP_FREQ; in bta_av_sbc_cfg_matches_cap()
[all …]

12345678910>>...20