/hardware/interfaces/gatekeeper/1.0/default/ |
D | Gatekeeper.cpp | 61 GatekeeperResponse rsp; in enroll() local 71 rsp.data.setToExternal(enrolled_password_handle, in enroll() 74 rsp.code = GatekeeperStatusCode::STATUS_OK; in enroll() 76 rsp.timeout = ret; in enroll() 77 rsp.code = GatekeeperStatusCode::ERROR_RETRY_TIMEOUT; in enroll() 79 rsp.code = GatekeeperStatusCode::ERROR_GENERAL_FAILURE; in enroll() 81 cb(rsp); in enroll() 91 GatekeeperResponse rsp; in verify() local 102 rsp.data.setToExternal(auth_token, auth_token_length, true); in verify() 104 rsp.code = GatekeeperStatusCode::STATUS_REENROLL; in verify() [all …]
|
/hardware/interfaces/gatekeeper/1.0/vts/functional/ |
D | VtsHalGatekeeperV1_0TargetTest.cpp | 57 static const hw_auth_token_t *toAuthToken(GatekeeperResponse &rsp) { in toAuthToken() argument 59 reinterpret_cast<hw_auth_token_t *>(rsp.data.data()); in toAuthToken() 60 const size_t auth_token_size = rsp.data.size(); in toAuthToken() 85 void doEnroll(GatekeeperRequest &req, GatekeeperResponse &rsp) { in doEnroll() argument 89 [&rsp](const GatekeeperResponse &cbRsp) { rsp = cbRsp; }); in doEnroll() 91 if (rsp.code != GatekeeperStatusCode::ERROR_RETRY_TIMEOUT) break; in doEnroll() 97 void doVerify(GatekeeperRequest &req, GatekeeperResponse &rsp) { in doVerify() argument 101 [&rsp](const GatekeeperResponse &cb_rsp) { rsp = cb_rsp; }); in doVerify() 103 if (rsp.code != GatekeeperStatusCode::ERROR_RETRY_TIMEOUT) break; in doVerify() 109 void doDeleteUser(GatekeeperResponse &rsp) { in doDeleteUser() argument [all …]
|
/hardware/qcom/bt/msm8996/libbt-vendor/src/ |
D | hw_rome.c | 133 int get_vs_hci_event(unsigned char *rsp) in get_vs_hci_event() argument 145 if( (rsp[EVENTCODE_OFFSET] == VSEVENT_CODE) || (rsp[EVENTCODE_OFFSET] == EVT_CMD_COMPLETE)) in get_vs_hci_event() 153 ALOGI("%s: length 0x%x resp 0x%x type 0x%x", __FUNCTION__, paramlen = rsp[EVT_PLEN], in get_vs_hci_event() 154 rsp[CMD_RSP_OFFSET], rsp[RSP_TYPE_OFFSET]); in get_vs_hci_event() 157 switch ( rsp[CMD_RSP_OFFSET] ) in get_vs_hci_event() 161 switch(rsp[RSP_TYPE_OFFSET]) in get_vs_hci_event() 166 productid = (unsigned int)(rsp[PATCH_PROD_ID_OFFSET +3] << 24 | in get_vs_hci_event() 167 rsp[PATCH_PROD_ID_OFFSET+2] << 16 | in get_vs_hci_event() 168 rsp[PATCH_PROD_ID_OFFSET+1] << 8 | in get_vs_hci_event() 169 rsp[PATCH_PROD_ID_OFFSET] )); in get_vs_hci_event() [all …]
|
D | hw_ar3k.c | 390 unsigned char cmd[MAX_CMD_LEN], rsp[HCI_MAX_EVENT_SIZE]; in set_cntrlr_baud() local 414 if (read_hci_event(fd, rsp, sizeof(rsp)) < 0) in set_cntrlr_baud() 1058 unsigned char rsp[HCI_MAX_EVENT_SIZE]; in ath3k_init() local 1116 if (read_hci_event(fd, rsp, sizeof(rsp)) < 0) { in ath3k_init() 1135 if (read_hci_event(fd, rsp, sizeof(rsp)) < 0) { in ath3k_init()
|
/hardware/qcom/bt/msm8998/libbt-vendor/src/ |
D | hw_rome.c | 122 int get_vs_hci_event(unsigned char *rsp) in get_vs_hci_event() argument 135 if( (rsp[EVENTCODE_OFFSET] == VSEVENT_CODE) || (rsp[EVENTCODE_OFFSET] == EVT_CMD_COMPLETE)) in get_vs_hci_event() 143 ALOGI("%s: Parameter Length: 0x%x", __FUNCTION__, paramlen = rsp[EVT_PLEN]); in get_vs_hci_event() 144 ALOGI("%s: Command response: 0x%x", __FUNCTION__, rsp[CMD_RSP_OFFSET]); in get_vs_hci_event() 145 ALOGI("%s: Response type : 0x%x", __FUNCTION__, rsp[RSP_TYPE_OFFSET]); in get_vs_hci_event() 148 switch ( rsp[CMD_RSP_OFFSET] ) in get_vs_hci_event() 152 switch(rsp[RSP_TYPE_OFFSET]) in get_vs_hci_event() 157 productid = (unsigned int)(rsp[PATCH_PROD_ID_OFFSET +3] << 24 | in get_vs_hci_event() 158 rsp[PATCH_PROD_ID_OFFSET+2] << 16 | in get_vs_hci_event() 159 rsp[PATCH_PROD_ID_OFFSET+1] << 8 | in get_vs_hci_event() [all …]
|
D | hw_ar3k.c | 391 unsigned char cmd[MAX_CMD_LEN], rsp[HCI_MAX_EVENT_SIZE]; in set_cntrlr_baud() local 415 if (read_hci_event(fd, rsp, sizeof(rsp)) < 0) in set_cntrlr_baud() 1059 unsigned char rsp[HCI_MAX_EVENT_SIZE]; in ath3k_init() local 1117 if (read_hci_event(fd, rsp, sizeof(rsp)) < 0) { in ath3k_init() 1136 if (read_hci_event(fd, rsp, sizeof(rsp)) < 0) { in ath3k_init()
|
/hardware/qcom/bt/msm8909/libbt-vendor/src/ |
D | hw_rome.c | 120 int get_vs_hci_event(unsigned char *rsp) in get_vs_hci_event() argument 132 if( (rsp[EVENTCODE_OFFSET] == VSEVENT_CODE) || (rsp[EVENTCODE_OFFSET] == EVT_CMD_COMPLETE)) in get_vs_hci_event() 140 ALOGI("%s: Parameter Length: 0x%x", __FUNCTION__, paramlen = rsp[EVT_PLEN]); in get_vs_hci_event() 141 ALOGI("%s: Command response: 0x%x", __FUNCTION__, rsp[CMD_RSP_OFFSET]); in get_vs_hci_event() 142 ALOGI("%s: Response type : 0x%x", __FUNCTION__, rsp[RSP_TYPE_OFFSET]); in get_vs_hci_event() 145 switch ( rsp[CMD_RSP_OFFSET] ) in get_vs_hci_event() 149 switch(rsp[RSP_TYPE_OFFSET]) in get_vs_hci_event() 154 productid = (unsigned int)(rsp[PATCH_PROD_ID_OFFSET +3] << 24 | in get_vs_hci_event() 155 rsp[PATCH_PROD_ID_OFFSET+2] << 16 | in get_vs_hci_event() 156 rsp[PATCH_PROD_ID_OFFSET+1] << 8 | in get_vs_hci_event() [all …]
|
D | hw_ar3k.c | 388 unsigned char cmd[MAX_CMD_LEN], rsp[HCI_MAX_EVENT_SIZE]; in set_cntrlr_baud() local 412 if (read_hci_event(fd, rsp, sizeof(rsp)) < 0) in set_cntrlr_baud() 1054 unsigned char rsp[HCI_MAX_EVENT_SIZE]; in ath3k_init() local 1112 if (read_hci_event(fd, rsp, sizeof(rsp)) < 0) { in ath3k_init() 1131 if (read_hci_event(fd, rsp, sizeof(rsp)) < 0) { in ath3k_init()
|
/hardware/qcom/bt/msm8992/libbt-vendor/src/ |
D | hw_rome.c | 118 int get_vs_hci_event(unsigned char *rsp) in get_vs_hci_event() argument 130 if( (rsp[EVENTCODE_OFFSET] == VSEVENT_CODE) || (rsp[EVENTCODE_OFFSET] == EVT_CMD_COMPLETE)) in get_vs_hci_event() 138 ALOGI("%s: length 0x%x resp 0x%x type 0x%x", __FUNCTION__, paramlen = rsp[EVT_PLEN], in get_vs_hci_event() 139 rsp[CMD_RSP_OFFSET], rsp[RSP_TYPE_OFFSET]); in get_vs_hci_event() 142 switch ( rsp[CMD_RSP_OFFSET] ) in get_vs_hci_event() 146 switch(rsp[RSP_TYPE_OFFSET]) in get_vs_hci_event() 151 productid = (unsigned int)(rsp[PATCH_PROD_ID_OFFSET +3] << 24 | in get_vs_hci_event() 152 rsp[PATCH_PROD_ID_OFFSET+2] << 16 | in get_vs_hci_event() 153 rsp[PATCH_PROD_ID_OFFSET+1] << 8 | in get_vs_hci_event() 154 rsp[PATCH_PROD_ID_OFFSET] )); in get_vs_hci_event() [all …]
|
D | hw_ar3k.c | 388 unsigned char cmd[MAX_CMD_LEN], rsp[HCI_MAX_EVENT_SIZE]; in set_cntrlr_baud() local 412 if (read_hci_event(fd, rsp, sizeof(rsp)) < 0) in set_cntrlr_baud() 1054 unsigned char rsp[HCI_MAX_EVENT_SIZE]; in ath3k_init() local 1112 if (read_hci_event(fd, rsp, sizeof(rsp)) < 0) { in ath3k_init() 1131 if (read_hci_event(fd, rsp, sizeof(rsp)) < 0) { in ath3k_init()
|
/hardware/ril/libril/ |
D | RilSapSocket.cpp | 239 MsgHeader rsp; in onRequestComplete() local 240 rsp.token = request->curr->token; in onRequestComplete() 241 rsp.type = MsgType_RESPONSE; in onRequestComplete() 242 rsp.id = request->curr->id; in onRequestComplete() 243 rsp.error = (Error)e; in onRequestComplete() 244 rsp.payload = (pb_bytes_array_t *)calloc(1, sizeof(pb_bytes_array_t) + response_len); in onRequestComplete() 245 if (!rsp.payload) { in onRequestComplete() 249 memcpy(rsp.payload->bytes, response, response_len); in onRequestComplete() 250 rsp.payload->size = response_len; in onRequestComplete() 252 rsp.payload->size = 0; in onRequestComplete() [all …]
|
D | sap_service.cpp | 765 void processResponse(MsgHeader *rsp, RilSapSocket *sapSocket, MsgType msgType) { in processResponse() argument 766 MsgId msgId = rsp->id; in processResponse() 767 uint8_t *data = rsp->payload->bytes; in processResponse() 768 size_t dataLen = rsp->payload->size; in processResponse() 787 rsp->token, in processResponse() 790 retStatus = sapImpl->sapCallback->connectResponse(rsp->token, in processResponse() 798 RLOGD("processResponse: calling sapCallback->disconnectResponse %d", rsp->token); in processResponse() 799 retStatus = sapImpl->sapCallback->disconnectResponse(rsp->token); in processResponse() 804 rsp->token, disconnectInd->disconnectType); in processResponse() 805 retStatus = sapImpl->sapCallback->disconnectIndication(rsp->token, in processResponse() [all …]
|
D | sap_service.h | 28 void processResponse(MsgHeader *rsp, RilSapSocket *sapSocket); 29 void processUnsolResponse(MsgHeader *rsp, RilSapSocket *sapSocket);
|
/hardware/interfaces/contexthub/1.0/default/ |
D | Contexthub.cpp | 236 status_response_t *rsp) { in isValidOsStatus() argument 239 rsp->result = msg[0]; in isValidOsStatus() 243 if (msg == nullptr || msgLen != sizeof(*rsp)) { in isValidOsStatus() 250 memcpy(rsp, msg, sizeof(*rsp)); in isValidOsStatus() 269 struct status_response_t rsp; in handleOsMessage() local 271 if (isValidOsStatus(msg, msgLen, &rsp) && rsp.result == 0) { in handleOsMessage()
|
/hardware/libhardware/include/hardware/ |
D | bt_hf.h | 290 bt_status_t (*formatted_at_response)(const char *rsp, bt_bdaddr_t *bd_addr );
|