Home
last modified time | relevance | path

Searched refs:response (Results 1 – 25 of 303) sorted by relevance

12345678910>>...13

/hardware/ril/libril/
Dril_service.h27 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 …]
Dril_service.cpp92 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/
Dgatekeeper_test.cpp52 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/
DSoftGateKeeperDevice.cpp57 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/interfaces/secure_element/1.0/vts/functional/
DVtsHalSecureElementV1_0TargetTest.cpp100 LogicalChannelResponse response; in TEST_P() local
103 [&statusReturned, &response](LogicalChannelResponse channelResponse, in TEST_P()
107 response.channelNumber = channelResponse.channelNumber; in TEST_P()
108 response.selectResponse.resize(channelResponse.selectResponse.size()); in TEST_P()
110 response.selectResponse[i] = channelResponse.selectResponse[i]; in TEST_P()
115 EXPECT_LE((unsigned int)2, response.selectResponse.size()); in TEST_P()
116 EXPECT_LE(1, response.channelNumber); in TEST_P()
118 command[0] |= response.channelNumber; in TEST_P()
129 EXPECT_EQ(SecureElementStatus::SUCCESS, se_->closeChannel(response.channelNumber)); in TEST_P()
140 std::vector<uint8_t> response; in TEST_P() local
[all …]
/hardware/interfaces/weaver/aidl/vts/
DVtsHalWeaverTargetTest.cpp102 WeaverReadResponse response; in TEST_P() local
105 const auto readRet = weaver->read(slotId, KEY, &response); in TEST_P()
107 readValue = response.value; in TEST_P()
108 timeout = response.timeout; in TEST_P()
128 WeaverReadResponse response; in TEST_P() local
131 const auto readRet = weaver->read(slotId, KEY, &response); in TEST_P()
133 readValue = response.value; in TEST_P()
134 timeout = response.timeout; in TEST_P()
150 WeaverReadResponse response; in TEST_P() local
153 weaver->read(slotId, WRONG_KEY, &response); in TEST_P()
[all …]
/hardware/interfaces/automotive/vehicle/2.0/utils/
DUserHalHelper.cpp306 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 …]
DUserHalHelper.h54 std::unique_ptr<VehiclePropValue> toVehiclePropValue(const InitialUserInfoResponse& response);
55 std::unique_ptr<VehiclePropValue> toVehiclePropValue(const SwitchUserResponse& response);
56 std::unique_ptr<VehiclePropValue> toVehiclePropValue(const CreateUserResponse& response);
57 std::unique_ptr<VehiclePropValue> toVehiclePropValue(const UserIdentificationResponse& response);
/hardware/interfaces/gatekeeper/1.0/
DIGatekeeper.hal43 * @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/
DUserHalHelper.cpp330 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 …]
DFakeUserHal.cpp309 VehiclePropValuePool::RecyclableType response, int32_t requestId) { in sendUserHalResponse() argument
310 switch (response->areaId) { in sendUserHalResponse()
313 response->value.int32Values[0] = requestId; in sendUserHalResponse()
317 response->value.int32Values[0] = -requestId; in sendUserHalResponse()
321 response->toString().c_str()); in sendUserHalResponse()
324 << response->toString(); in sendUserHalResponse()
326 ALOGE("invalid action on lshal response: %s", response->toString().c_str()); in sendUserHalResponse()
328 << "invalid action on lshal response: " << response->toString(); in sendUserHalResponse()
331 ALOGD("updating property to: %s", response->toString().c_str()); in sendUserHalResponse()
332 return response; in sendUserHalResponse()
/hardware/interfaces/radio/1.0/
DIRadioResponse.hal20 * 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/interfaces/radio/aidl/compat/libradiocompat/include/libradiocompat/
DCallbackManager.h48 RadioResponse& response() const;
51 void setResponseFunctions(const std::shared_ptr<ResponseType>& response, in setResponseFunctions() argument
53 CHECK(response); in setResponseFunctions()
56 mRadioResponse->setResponseFunction(response); in setResponseFunctions()
/hardware/interfaces/radio/1.5/
DIRadioResponse.hal31 * 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/ril/reference-ril/
Dreference-ril.c209 #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/
DIRadioResponse.hal33 * 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/1.2/
DIRadioResponse.hal23 * Interface declaring response functions to solicited radio requests.
28 * @param info Response info struct containing response type, serial no. and error
46 * @param info Response info struct containing response type, serial no. and error
55 * @param info Response info struct containing response type, serial no. and error
66 * @param info Response info struct containing response type, serial no. and error
103 * @param info Response info struct containing response type, serial no. and error
104 * @param voiceRegResponse Current Voice registration response as defined by VoiceRegStateResult
116 * @param info Response info struct containing response type, serial no. and error
117 * @param dataRegResponse Current Data registration response as defined by DataRegStateResult in
/hardware/interfaces/radio/1.4/
DIRadioResponse.hal31 * 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 …]
/hardware/interfaces/radio/1.1/
DIRadioResponse.hal23 * Interface declaring response functions to solicited radio requests.
27 * @param info Response info struct containing response type, serial no. and error
40 * @param info Response info struct containing response type, serial no. and error
51 * @param info Response info struct containing response type, serial no. and error
67 * @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
90 * @param info Response info struct containing response type, serial no. and error
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/userhal/
DFakeUserHal.cpp288 std::unique_ptr<VehiclePropValue> response, int32_t requestId) { in sendUserHalResponse() argument
289 switch (response->areaId) { in sendUserHalResponse()
292 response->value.int32Values[0] = requestId; in sendUserHalResponse()
296 response->value.int32Values[0] = -requestId; in sendUserHalResponse()
300 toString(*response).c_str()); in sendUserHalResponse()
303 << toString(*response); in sendUserHalResponse()
305 ALOGE("invalid action on lshal response: %s", toString(*response).c_str()); in sendUserHalResponse()
307 << "invalid action on lshal response: " << toString(*response); in sendUserHalResponse()
310 ALOGD("updating property to: %s", toString(*response).c_str()); in sendUserHalResponse()
311 return response; in sendUserHalResponse()
/hardware/interfaces/secure_element/1.0/
DISecureElement.hal39 * @return response containing the response. Empty vector if Secure Element
42 getAtr() generates (vec<uint8_t> response);
58 * @return response to the command. In case of error in communicating with
61 transmit(vec<uint8_t> data) generates (vec<uint8_t> response);
80 * @return response On success, response to SELECT command is returned
84 generates (LogicalChannelResponse response, SecureElementStatus status);
104 * @return selectResponse On success, response to SELECT command is returned
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/userhal/include/
DUserHalHelper.h68 const aidl::android::hardware::automotive::vehicle::InitialUserInfoResponse& response);
71 const aidl::android::hardware::automotive::vehicle::SwitchUserResponse& response);
74 const aidl::android::hardware::automotive::vehicle::CreateUserResponse& response);
77 const aidl::android::hardware::automotive::vehicle::UserIdentificationResponse& response);
/hardware/interfaces/wifi/1.0/
DIWifiNanIface.hal45 * Get NAN capabilities. Asynchronous response is with
62 * Asynchronous response is with |IWifiNanIfaceEventCallback.notifyEnableResponse|.
79 * Asynchronous response is with |IWifiNanIfaceEventCallback.notifyConfigResponse|.
95 * Asynchronous response is with |IWifiNanIfaceEventCallback.notifyDisableResponse|.
108 * Asynchronous response is with |IWifiNanIfaceEventCallback.notifyStartPublishResponse|.
124 * Asynchronous response is with |IWifiNanIfaceEventCallback.notifyStopPublishResponse|.
139 * Asynchronous response is with |IWifiNanIfaceEventCallback.notifyStartSubscribeResponse|.
155 * Asynchronous response is with |IWifiNanIfaceEventCallback.notifyStopSubscribeResponse|.
170 * Asynchronous response is with |IWifiNanIfaceEventCallback.notifyTransmitFollowupResponse|.
186 * Asynchronous response is with |IWifiNanIfaceEventCallback.notifyCreateDataInterfaceResponse|.
[all …]
/hardware/interfaces/radio/deprecated/1.0/
DIOemHookResponse.hal22 * Interface declaring response functions to solicited oem hook requests.
24 * <xyz>Response is response to IOemHook.<xyz>
28 * @param info Response info struct containing response type, serial no. and error
40 * @param info Response info struct containing response type, serial no. and error
/hardware/interfaces/radio/config/1.1/
DIRadioConfigResponse.hal29 * Interface declaring response functions to solicited radio config requests.
33 * @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
67 * @param info Response info struct containing response type, serial no. and error

12345678910>>...13