/hardware/ril/libril/ |
D | ril_service.h | 27 int token, RIL_Errno e, void *response, size_t responselen); 30 int responseType, int serial, RIL_Errno e, void *response, 34 int responseType, int serial, RIL_Errno e, void *response, 38 int responseType, int serial, RIL_Errno e, void *response, 42 int responseType, int serial, RIL_Errno e, void *response, 46 int responseType, int serial, RIL_Errno e, void *response, 50 int responseType, int serial, RIL_Errno e, void *response, 55 void *response, size_t responselen); 58 int responseType, int serial, RIL_Errno e, void *response, 62 int responseType, int serial, RIL_Errno e, void *response, size_t responselen); [all …]
|
D | ril_service.cpp | 92 void convertRilHardwareConfigListToHal(void *response, size_t responseLen, 95 void convertRilRadioCapabilityToHal(void *response, size_t responseLen, RadioCapability& rc); 97 void convertRilLceDataInfoToHal(void *response, size_t responseLen, LceDataInfo& lce); 99 void convertRilSignalStrengthToHal(void *response, size_t responseLen, 105 void convertRilDataCallListToHal(void *response, size_t responseLen, 108 void convertRilCellInfoListToHal(void *response, size_t responseLen, hidl_vec<CellInfo>& records); 2925 void *response, size_t responseLen) { in responseIntOrEmpty() argument 2929 if (response == NULL && responseLen == 0) { in responseIntOrEmpty() 2933 } else if (response == NULL || responseLen != sizeof(int)) { in responseIntOrEmpty() 2937 int *p_int = (int *) response; in responseIntOrEmpty() [all …]
|
/hardware/interfaces/gatekeeper/1.0/software/tests/ |
D | gatekeeper_test.cpp | 52 static void do_enroll(SoftGateKeeper& gatekeeper, EnrollResponse* response) { in do_enroll() argument 55 gatekeeper.Enroll(request, response); in do_enroll() 60 EnrollResponse response; in TEST() local 61 do_enroll(gatekeeper, &response); in TEST() 62 ASSERT_EQ(::gatekeeper::gatekeeper_error_t::ERROR_NONE, response.error); in TEST() 67 EnrollResponse response; in TEST() local 71 gatekeeper.Enroll(request, &response); in TEST() 73 ASSERT_EQ(::gatekeeper::gatekeeper_error_t::ERROR_INVALID, response.error); in TEST() 84 VerifyResponse response; in TEST() local 86 gatekeeper.Verify(request, &response); in TEST() [all …]
|
/hardware/interfaces/gatekeeper/1.0/software/ |
D | SoftGateKeeperDevice.cpp | 57 EnrollResponse response; in enroll() local 58 impl_->Enroll(request, &response); in enroll() 60 if (response.error == ERROR_RETRY) { in enroll() 61 _hidl_cb({GatekeeperStatusCode::ERROR_RETRY_TIMEOUT, response.retry_timeout, {}}); in enroll() 62 } else if (response.error != ERROR_NONE) { in enroll() 65 hidl_vec<uint8_t> new_handle(response.enrolled_password_handle.Data<uint8_t>(), in enroll() 66 response.enrolled_password_handle.Data<uint8_t>() + in enroll() 67 response.enrolled_password_handle.size()); in enroll() 68 _hidl_cb({GatekeeperStatusCode::STATUS_OK, response.retry_timeout, new_handle}); in enroll() 84 VerifyResponse response; in verify() local [all …]
|
/hardware/nxp/weaver/libese_weaver/src/ |
D | weaver-parser-impl.cpp | 233 Status_Weaver WeaverParserImpl::ParseSlotInfo(std::vector<uint8_t> response, in ParseSlotInfo() argument 238 if (isSuccess(response)) { in ParseSlotInfo() 241 uint32_t slots = response.at(SLOT_ID_INDEX) << BYTE3_MSB_POS; in ParseSlotInfo() 242 slots |= response.at(SLOT_ID_INDEX + 1); in ParseSlotInfo() 262 Status_Weaver WeaverParserImpl::ParseReadInfo(std::vector<uint8_t> response, in ParseReadInfo() argument 266 if (response.size() < RES_STATUS_SIZE) { in ParseReadInfo() 270 if (isSuccess(response)) { in ParseReadInfo() 272 switch (response.at(READ_ERR_CODE_INDEX)) { in ParseReadInfo() 285 response.size()) { in ParseReadInfo() 289 std::begin(response) + READ_ERR_CODE_SIZE, in ParseReadInfo() [all …]
|
/hardware/nxp/keymint/KM200/ |
D | JavacardSecureElement.cpp | 76 std::vector<uint8_t>& response) { in sendData() argument 86 if (!transport_->sendData(apdu, response)) { in sendData() 93 if ((response.size() <= 2) || (getApduStatus(response) != APDU_RESP_STATUS_OK)) { in sendData() 94 LOG(ERROR) << "Response of the sendData is wrong: response size = " << response.size() in sendData() 95 << " apdu status = " << getApduStatus(response); in sendData() 99 response.pop_back(); in sendData() 100 response.pop_back(); in sendData() 106 vector<uint8_t> response; in sendRequest() local 109 auto sendError = sendData(ins, command, response); in sendRequest() 114 return cbor_.decodeData(response); in sendRequest() [all …]
|
/hardware/interfaces/secure_element/1.0/vts/functional/ |
D | VtsHalSecureElementV1_0TargetTest.cpp | 101 LogicalChannelResponse response; in TEST_P() local 104 [&statusReturned, &response](LogicalChannelResponse channelResponse, in TEST_P() 108 response.channelNumber = channelResponse.channelNumber; in TEST_P() 109 response.selectResponse.resize(channelResponse.selectResponse.size()); in TEST_P() 111 response.selectResponse[i] = channelResponse.selectResponse[i]; in TEST_P() 116 EXPECT_LE((unsigned int)2, response.selectResponse.size()); in TEST_P() 117 EXPECT_LE(1, response.channelNumber); in TEST_P() 119 command[0] |= response.channelNumber; in TEST_P() 130 EXPECT_EQ(SecureElementStatus::SUCCESS, se_->closeChannel(response.channelNumber)); in TEST_P() 141 std::vector<uint8_t> response; in TEST_P() local [all …]
|
/hardware/nxp/keymint/KM300/ |
D | JavacardSecureElement.cpp | 102 std::vector<uint8_t>& response) { in sendData() argument 112 if (!transport_->sendData(apdu, response)) { in sendData() 119 if ((response.size() <= 2) || (getApduStatus(response) != APDU_RESP_STATUS_OK)) { in sendData() 120 LOG(ERROR) << "Response of the sendData is wrong: response size = " << response.size() in sendData() 121 << " apdu status = " << getApduStatus(response); in sendData() 125 response.pop_back(); in sendData() 126 response.pop_back(); in sendData() 132 vector<uint8_t> response; in sendRequest() local 135 auto sendError = sendData(ins, command, response); in sendRequest() 140 return cbor_.decodeData(response); in sendRequest() [all …]
|
/hardware/interfaces/gatekeeper/aidl/software/ |
D | GateKeeper.cpp | 80 EnrollResponse response; in enroll() local 81 impl_.Enroll(request, &response); in enroll() 82 if (response.error == ERROR_RETRY) { in enroll() 84 *rsp = {ERROR_RETRY_TIMEOUT, static_cast<int32_t>(response.retry_timeout), 0, {}}; in enroll() 86 } else if (response.error != ERROR_NONE) { in enroll() 87 LOG(ERROR) << "Enroll response has an error: " << response.error; in enroll() 91 response.enrolled_password_handle.Data<::gatekeeper::password_handle_t>(); in enroll() 95 {response.enrolled_password_handle.Data<uint8_t>(), in enroll() 96 (response.enrolled_password_handle.Data<uint8_t>() + in enroll() 97 response.enrolled_password_handle.size())}}; in enroll() [all …]
|
/hardware/interfaces/automotive/remoteaccess/test_grpc_server/impl/include/ |
D | TestWakeupClientServiceImpl.h | 81 void add(const GetRemoteTasksResponse& response); 131 NotifyWakeupRequiredResponse* response); 134 ScheduleTaskResponse* response); 137 UnscheduleTaskResponse* response); 141 UnscheduleAllTasksResponse* response); 145 IsTaskScheduledResponse* response); 149 GetAllPendingScheduledTasksResponse* response); 152 IsVehicleInUseResponse* response); 156 GetApPowerBootupReasonResponse* response); 252 void injectTaskResponse(const GetRemoteTasksResponse& response); [all …]
|
/hardware/interfaces/secure_element/aidl/vts/ |
D | VtsHalSecureElementTargetTest.cpp | 137 std::vector<uint8_t> response; in transmit() local 149 auto status = secure_element_->transmit(apdu, &response); in transmit() 156 EXPECT_GE(response.size(), 2u); in transmit() 158 (response[response.size() - 2] << 8) | (response[response.size() - 1] << 0); in transmit() 163 EXPECT_EQ(response.size(), 258); in transmit() 221 std::vector<uint8_t> response; in TEST_P() local 228 EXPECT_ERR(secure_element_->openBasicChannel(kNonSelectableAid, 0x00, &response)); in TEST_P() 233 EXPECT_OK(secure_element_->openBasicChannel(kSelectableAid, 0x00, &response)); in TEST_P() 234 EXPECT_GE(response.size(), 2u); in TEST_P() 241 EXPECT_ERR(secure_element_->openBasicChannel(kSelectableAid, 0x00, &response)); in TEST_P() [all …]
|
/hardware/interfaces/automotive/remoteaccess/test_grpc_server/impl/src/ |
D | TestWakeupClientServiceImpl.cpp | 55 GetRemoteTasksResponse response; in generateTask() local 56 response.set_data(reinterpret_cast<const char*>(DATA), sizeof(DATA)); in generateTask() 57 response.set_clientid(clientId); in generateTask() 58 return response; in generateTask() 78 TaskInfo response = std::move(mTasks.top()); in maybePopOne() local 80 mLooper->removeMessages(mTaskTimeoutMessageHandler, response.taskId); in maybePopOne() 81 return std::move(response.taskData); in maybePopOne() 181 GetRemoteTasksResponse response; in injectTask() local 182 response.set_data(taskData); in injectTask() 183 response.set_clientid(clientId); in injectTask() [all …]
|
/hardware/interfaces/automotive/vehicle/2.0/utils/ |
D | UserHalHelper.cpp | 306 std::unique_ptr<VehiclePropValue> toVehiclePropValue(const InitialUserInfoResponse& response) { in toVehiclePropValue() argument 311 propValue->value.int32Values[0] = static_cast<int32_t>(response.requestId); in toVehiclePropValue() 312 propValue->value.int32Values[1] = static_cast<int32_t>(response.action); in toVehiclePropValue() 313 propValue->value.int32Values[2] = static_cast<int32_t>(response.userToSwitchOrCreate.userId); in toVehiclePropValue() 314 propValue->value.int32Values[3] = static_cast<int32_t>(response.userToSwitchOrCreate.flags); in toVehiclePropValue() 315 propValue->value.stringValue = std::string(response.userLocales) + std::string(kSeparator) + in toVehiclePropValue() 316 std::string(response.userNameToCreate); in toVehiclePropValue() 320 std::unique_ptr<VehiclePropValue> toVehiclePropValue(const SwitchUserResponse& response) { in toVehiclePropValue() argument 325 propValue->value.int32Values[0] = static_cast<int32_t>(response.requestId); in toVehiclePropValue() 326 propValue->value.int32Values[1] = static_cast<int32_t>(response.messageType); in toVehiclePropValue() [all …]
|
/hardware/interfaces/automotive/remoteaccess/test_grpc_server/impl/test/ |
D | TestWakeupClientServiceImplUnitTest.cpp | 109 GetRemoteTasksResponse response; in waitForRemoteTasks() local 112 while (reader->Read(&response)) { in waitForRemoteTasks() 114 mRemoteTaskResponses.push_back(response); in waitForRemoteTasks() 136 ScheduleTaskResponse response; in scheduleTask() local 148 return getStub()->ScheduleTask(&context, request, &response); in scheduleTask() 172 ScheduleTaskResponse response = {}; in TEST_F() local 183 Status status = getStub()->ScheduleTask(&context, request, &response); in TEST_F() 186 ASSERT_EQ(response.errorcode(), ErrorCode::OK); in TEST_F() 192 for (const auto& response : responses) { in TEST_F() local 193 EXPECT_EQ(response.clientid(), kTestClientId); in TEST_F() [all …]
|
/hardware/interfaces/weaver/vts/ |
D | VtsHalWeaverTargetTest.cpp | 286 WeaverReadResponse response; in TEST_P() local 287 const auto readRet = weaver_->read(slotId, KEY, &response); in TEST_P() 289 EXPECT_EQ(response.value, VALUE); in TEST_P() 290 EXPECT_EQ(response.timeout, 0u); in TEST_P() 291 EXPECT_EQ(response.status, WeaverReadStatus::OK); in TEST_P() 307 WeaverReadResponse response; in TEST_P() local 308 const auto readRet = weaver_->read(slotId, KEY, &response); in TEST_P() 310 EXPECT_EQ(response.value, OTHER_VALUE); in TEST_P() 311 EXPECT_EQ(response.timeout, 0u); in TEST_P() 312 EXPECT_EQ(response.status, WeaverReadStatus::OK); in TEST_P() [all …]
|
/hardware/interfaces/gatekeeper/1.0/ |
D | IGatekeeper.hal | 43 * @return response 48 * response.code must always contain operation completion status. 51 * If ERROR_RETRY_TIMEOUT is returned, response.timeout must be non-zero. 57 generates (GatekeeperResponse response); 65 * On success, returns verification token in response.data, which shall be 80 * @return response 84 * response.code must always contain operation completion status. 88 * If ERROR_RETRY_TIMEOUT is returned, response.timeout must be non-zero. 93 generates (GatekeeperResponse response); 102 * @return response [all …]
|
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/userhal/src/ |
D | UserHalHelper.cpp | 330 const InitialUserInfoResponse& response) { in toVehiclePropValue() argument 336 propValue->value.int32Values[0] = static_cast<int32_t>(response.requestId); in toVehiclePropValue() 337 propValue->value.int32Values[1] = static_cast<int32_t>(response.action); in toVehiclePropValue() 338 propValue->value.int32Values[2] = static_cast<int32_t>(response.userToSwitchOrCreate.userId); in toVehiclePropValue() 339 propValue->value.int32Values[3] = response.userToSwitchOrCreate.flags; in toVehiclePropValue() 340 propValue->value.stringValue = std::string(response.userLocales) + std::string(kSeparator) + in toVehiclePropValue() 341 std::string(response.userNameToCreate); in toVehiclePropValue() 346 const SwitchUserResponse& response) { in toVehiclePropValue() argument 352 propValue->value.int32Values[0] = static_cast<int32_t>(response.requestId); in toVehiclePropValue() 353 propValue->value.int32Values[1] = static_cast<int32_t>(response.messageType); in toVehiclePropValue() [all …]
|
/hardware/interfaces/radio/1.0/ |
D | IRadioResponse.hal | 20 * Interface declaring response functions to solicited radio requests. 22 * <xyz>Response is response to IRadio.<xyz> 26 * @param info Response info struct containing response type, serial no. and error 41 * @param info Response info struct containing response type, serial no. and error 59 * @param info Response info struct containing response type, serial no. and error 77 * @param info Response info struct containing response type, serial no. and error 96 * @param info Response info struct containing response type, serial no. and error 113 * @param info Response info struct containing response type, serial no. and error 131 * @param info Response info struct containing response type, serial no. and error 150 * @param info Response info struct containing response type, serial no. and error [all …]
|
/hardware/nxp/nfc/snxxx/halimpl/observe_mode/ |
D | ObserveMode.cc | 95 vector<uint8_t> response; in handleGetObserveModeStatus() local 96 response.push_back(0x00); in handleGetObserveModeStatus() 97 response.push_back(isObserveModeEnabled() ? 0x00 : 0x01); in handleGetObserveModeStatus() 100 std::move(response)); in handleGetObserveModeStatus()
|
/hardware/interfaces/radio/1.5/ |
D | IRadioResponse.hal | 31 * Interface declaring response functions to solicited radio requests. 35 * @param info Response info struct containing response type, serial no. and error 45 * @param info Response info struct containing response type, serial no. and error 56 * @param info Response info struct containing response type, serial no. and error 68 * @param info Response info struct containing response type, serial no. and error 80 * @param info Response info struct containing response type, serial no. and error 91 * @param info Response info struct containing response type, serial no. and error 104 * @param info Response info struct containing response type, serial no. and error 123 * @param info Response info struct containing response type, serial no. and error 137 * @param info Response info struct containing response type, serial no. and error [all …]
|
/hardware/nxp/weaver/libese_weaver/inc/ |
D | weaver_parser-impl.h | 100 Status_Weaver ParseSlotInfo(std::vector<uint8_t> response, 113 Status_Weaver ParseReadInfo(std::vector<uint8_t> response, 126 Status_Weaver ParseGetDataInfo(std::vector<uint8_t> response, 137 bool isSuccess(std::vector<uint8_t> response); 175 APP_ERR_CODE checkStatus(std::vector<uint8_t> response);
|
/hardware/ril/reference-ril/ |
D | reference-ril.c | 209 #define RIL_onRequestComplete(t, e, response, responselen) s_rilenv->OnRequestComplete(t,e, respons… argument 266 static int parse_technology_response(const char *response, int *current, int32_t *preferred); 346 static int parseSimResponseLine(char* line, RIL_SIM_IO_Response* response) { in parseSimResponseLine() argument 351 err = at_tok_nextint(&line, &response->sw1); in parseSimResponseLine() 353 err = at_tok_nextint(&line, &response->sw2); in parseSimResponseLine() 357 err = at_tok_nextstr(&line, &response->simResponse); in parseSimResponseLine() 621 RIL_Data_Call_Response_v11 *response = responses; in requestOrSendDataCallList() local 630 err = at_tok_nextint(&line, &response->cid); in requestOrSendDataCallList() 634 err = at_tok_nextint(&line, &response->active); in requestOrSendDataCallList() 638 response++; in requestOrSendDataCallList() [all …]
|
/hardware/interfaces/radio/1.6/ |
D | IRadioResponse.hal | 33 * Interface declaring response functions to solicited radio requests. 37 * @param info Response info struct containing response type, serial no. and error 49 * @param info Response info struct containing response type, serial no. and error 68 * @param info Response info struct containing response type, serial no. and error 80 * @param info Response info struct containing response type, serial no. and error 112 * @param info Response info struct containing response type, serial no. and error 145 * @param info Response info struct containing response type, serial no. and error 179 * @param info Response info struct containing response type, serial no. and error 213 * @param info Response info struct containing response type, serial no. and error 221 * Note that this differs from setSimCardPowerResponse_1_1 in that the response [all …]
|
/hardware/interfaces/radio/aidl/compat/libradiocompat/include/libradiocompat/ |
D | CallbackManager.h | 48 RadioResponse& response() const; 52 void setResponseFunctions(const std::shared_ptr<ResponseType>& response, in setResponseFunctions() argument 54 CHECK(response); in setResponseFunctions() 57 mRadioResponse->setResponseFunction(response); in setResponseFunctions()
|
/hardware/interfaces/radio/1.4/ |
D | IRadioResponse.hal | 31 * Interface declaring response functions to solicited radio requests. 35 * @param info Response info struct containing response type, serial no. and error 58 * @param info Response info struct containing response type, serial no. and error 74 * @param info Response info struct containing response type, serial no. and error 85 * @param info Response info struct containing response type, serial no. and error 86 * @param dataRegResponse Current Data registration response as defined by DataRegStateResult in 99 * @param info Response info struct containing response type, serial no. and error 112 * @param info Response info struct containing response type, serial no. and error 130 * @param info Response info struct containing response type, serial no. and error 146 * @param info Response info struct containing response type, serial no. and error [all …]
|