Home
last modified time | relevance | path

Searched defs:response (Results 1 – 25 of 602) sorted by relevance

12345678910>>...25

/packages/modules/Bluetooth/system/profile/avrcp/
Ddevice.cc113 auto response = RejectBuilder::MakeBuilder(static_cast<CommandPdu>(0), Status::INVALID_COMMAND); in VendorPacketHandler() local
132 auto response = in VendorPacketHandler() local
180 auto response = RejectBuilder::MakeBuilder(pkt->GetCommandPdu(), Status::INVALID_PARAMETER); in VendorPacketHandler() local
207 auto response = RejectBuilder::MakeBuilder(pkt->GetCommandPdu(), Status::INVALID_PARAMETER); in VendorPacketHandler() local
220 auto response = RejectBuilder::MakeBuilder(pkt->GetCommandPdu(), in VendorPacketHandler() local
235 auto response = RejectBuilder::MakeBuilder(pkt->GetCommandPdu(), in VendorPacketHandler() local
245 auto response = RejectBuilder::MakeBuilder(pkt->GetCommandPdu(), in VendorPacketHandler() local
257 auto response = RejectBuilder::MakeBuilder(pkt->GetCommandPdu(), in VendorPacketHandler() local
273 auto response = RejectBuilder::MakeBuilder(pkt->GetCommandPdu(), in VendorPacketHandler() local
284 auto response = RejectBuilder::MakeBuilder(pkt->GetCommandPdu(), in VendorPacketHandler() local
[all …]
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/measurement/
DMeasurementErrorResponseTest.java45 MeasurementErrorResponse response = new MeasurementErrorResponse.Builder().build(); in testDefaults() local
67 MeasurementErrorResponse response = in testAdServicesException_invalidArgument_expectIllegalArgumentException() local
76 MeasurementErrorResponse response = in testAdServicesException_internalError_expectIllegalStateException() local
83 MeasurementErrorResponse response = in testAdServicesException_ioError_expectIOException() local
90 MeasurementErrorResponse response = in testAdServicesException_unauthorized_expectSecurityException() local
99 MeasurementErrorResponse response = in testAdServicesException_unrecognized_expectIllegalStateException() local
116 private void verifyExample(MeasurementErrorResponse response) { in verifyExample()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/
DHealthConnectChangeLogsTests.java70 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testChangeLogs_insert_default() local
93 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testChangeLogs_insert_dataOrigin_filter_incorrect() local
119 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testChangeLogs_insert_dataOrigin_filter_correct() local
144 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testChangeLogs_insert_record_filter() local
166 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testChangeLogs_insertAndDelete_default() local
192 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testChangeLogs_insertAndDelete_beforePermission() local
223 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testChangeLogs_insertAndDelete_dataOrigin_filter_incorrect() local
250 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testChangeLogs_insertAndDelete_dataOrigin_filter_correct() local
277 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testChangeLogs_insertAndDelete_record_filter() local
301 ChangeLogsResponse response = TestUtils.getChangeLogs(changeLogsRequest); in testChangeLogs_insert_default_withPageSize() local
[all …]
DExerciseDurationAggregationTest.java88 AggregateRecordsResponse<Long> response = in testSimpleAggregation_oneSession_returnsItsDuration() local
111 AggregateRecordsResponse<Long> response = in testSimpleAggregation_oneSessionStartEarlierThanWindow_returnsOverlapDuration() local
132 AggregateRecordsResponse<Long> response = in testSimpleAggregation_oneSessionBiggerThanWindow_returnsOverlapDuration() local
168 AggregateRecordsResponse<Long> response = in testSimpleAggregation_oneSessionWithRest_returnsDurationMinusRest() local
230 AggregateRecordsResponse<Long> response = in testAggregation_oneSessionLocalTimeFilter_findsSessionWithMinOffset() local
267 AggregateRecordsResponse<Long> response = in testAggregation_oneSessionLocalTimeFilterExcludeSegment_substractsExcludeInterval() local
/packages/modules/Bluetooth/system/rust/src/gatt/server/transactions/helpers/
Datt_filter_by_size_type.rs101 let response = tokio_test::block_on(filter_read_attributes_by_size_type( in test_single_matching_attr() localVariable
150 let response = tokio_test::block_on(filter_read_attributes_by_size_type( in test_skip_mismatching_attrs() localVariable
205 let response = tokio_test::block_on(filter_read_attributes_by_size_type( in test_stop_once_length_changes() localVariable
236 let response = tokio_test::block_on(filter_read_attributes_by_size_type( in test_truncate_to_mtu() localVariable
260 let response = tokio_test::block_on(filter_read_attributes_by_size_type( in test_no_results() localVariable
285 let response = tokio_test::block_on(filter_read_attributes_by_size_type( in test_read_failure_on_first_attr() localVariable
328 let response = tokio_test::block_on(filter_read_attributes_by_size_type( in test_read_failure_on_subsequent_attr() localVariable
379 let response = tokio_test::block_on(filter_read_attributes_by_size_type( in test_skip_unreadable_mismatching_attr() localVariable
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/entitlement/response/
DGetImsiPseudonymResponseTest.java64 GetImsiPseudonymResponse response = new GetImsiPseudonymResponse(bodyArray.toString()); in responseBodyCorrectWithRefreshInterval() local
87 GetImsiPseudonymResponse response = new GetImsiPseudonymResponse(bodyArray.toString()); in responseBodyCorrectWithoutRefreshInterval() local
100 GetImsiPseudonymResponse response = new GetImsiPseudonymResponse("wrongbody"); in responseBodyNotJsonArray() local
119 GetImsiPseudonymResponse response = new GetImsiPseudonymResponse(bodyArray.toString()); in responseBodyInvalidRequest() local
140 GetImsiPseudonymResponse response = new GetImsiPseudonymResponse(bodyArray.toString()); in responseBodyAuthFailed() local
154 GetImsiPseudonymResponse response = new GetImsiPseudonymResponse(bodyArray.toString()); in responseBodyWrongMessageId() local
168 GetImsiPseudonymResponse response = new GetImsiPseudonymResponse(bodyArray.toString()); in responseBodyServerError() local
DChallengeResponseTest.java47 ChallengeResponse response = new ChallengeResponse(bodyArray.toString()); in responseBodyCorrect() local
54 ChallengeResponse response = new ChallengeResponse("wrongbody"); in responseBodyNotJsonArray() local
66 ChallengeResponse response = new ChallengeResponse(bodyArray.toString()); in responseBodyInvalidRequest() local
78 ChallengeResponse response = new ChallengeResponse(bodyArray.toString()); in responseBodyWrongMessageId() local
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/common/
DFledgeErrorResponseTest.java37 FledgeErrorResponse response = in testBuildFledgeErrorResponse() local
50 FledgeErrorResponse response = in testWriteToParcel() local
68 FledgeErrorResponse response = in testWriteToParcelEmptyMessage() local
97 FledgeErrorResponse response = in testFledgeErrorResponseDescribeContents() local
109 FledgeErrorResponse response = in testToString() local
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsResponseTests.java102 final MdnsResponse response = new MdnsResponse(/* now= */ 0, serviceName, INTERFACE_INDEX, in makeCompleteResponse() local
127 MdnsResponse response = new MdnsResponse(0, TEST_SERVICE_NAME, INTERFACE_INDEX, mNetwork); in getInet4AddressRecord_returnsAddedRecord() local
141 MdnsResponse response = new MdnsResponse(0, TEST_SERVICE_NAME, INTERFACE_INDEX, mNetwork); in getInet6AddressRecord_returnsAddedRecord() local
154 MdnsResponse response = new MdnsResponse(0, record.getPointer(), INTERFACE_INDEX, mNetwork); in getPointerRecords_returnsAddedRecord() local
170 MdnsResponse response = new MdnsResponse(0, name, INTERFACE_INDEX, mNetwork); in getServiceRecord_returnsAddedRecord() local
183 MdnsResponse response = new MdnsResponse(0, name, INTERFACE_INDEX, mNetwork); in getTextRecord_returnsAddedRecord() local
213 final MdnsResponse response = makeCompleteResponse(TEST_TTL_MS, 0 /* receiptTimeMillis */); in copyConstructor() local
228 final MdnsResponse response = makeCompleteResponse(TEST_TTL_MS, 0 /* receiptTimeMillis */); in addRecords_noChange() local
239 final MdnsResponse response = makeCompleteResponse(TEST_TTL_MS, 0 /* receiptTimeMillis */); in addRecords_ttlChange() local
276 final MdnsResponse response = makeCompleteResponse(TEST_TTL_MS, 0 /* receiptTimeMillis */); in addRecords_receiptTimeChange() local
DMdnsResponseDecoderTests.java230 MdnsResponse response = responses.valueAt(0); in testDecodeMultipleAnswerPacket() local
280 MdnsResponse response = responses.valueAt(0); in testDecodeIPv6AnswerPacket() local
295 MdnsResponse response = new MdnsResponse(responses.valueAt(0)); in testIsComplete() local
392 MdnsResponse response = makeMdnsResponse(0, DATAIN_SERVICE_NAME_1, List.of( in testDecodeWithIpv4AddressChange() local
412 MdnsResponse response = makeMdnsResponse(0, DATAIN_SERVICE_NAME_1, List.of( in testDecodeWithIpv4AddressRemove() local
437 MdnsResponse response = makeMdnsResponse(0, DATAIN_SERVICE_NAME_1, List.of( in testDecodeWithIpv6AddressChange() local
457 MdnsResponse response = makeMdnsResponse(0, DATAIN_SERVICE_NAME_1, List.of( in testDecodeWithIpv6AddressRemoved() local
480 MdnsResponse response = makeMdnsResponse(0, DATAIN_SERVICE_NAME_1, List.of( in testDecodeWithChangeOnText() local
501 MdnsResponse response = makeMdnsResponse(0, DATAIN_SERVICE_NAME_1, List.of( in testDecodeWithChangeOnService() local
524 MdnsResponse response = makeMdnsResponse(0, DATAIN_SERVICE_NAME_1, List.of( in testDecodeWithChangeOnPtr() local
[all …]
/packages/apps/QuickAccessWallet/tests/robolectric/src/com/android/systemui/plugin/globalactions/wallet/
DWalletPanelViewControllerTest.java138 GetWalletCardsResponse response = new GetWalletCardsResponse(Collections.emptyList(), 0); in init_showsEmptyStateViewIfCardsNotReturnedLastTime() local
156 GetWalletCardsResponse response = new GetWalletCardsResponse(cards, 0); in init_doesNotShowEmptyStateViewIfCardsReturnedLastTime() local
302 GetWalletCardsResponse response = new GetWalletCardsResponse(cards, 0); in onWalletCardsRetrieved_showsCards() local
321 GetWalletCardsResponse response = new GetWalletCardsResponse(cards, 0); in onWalletCardsRetrieved_showsOverflowButton_startWalletActivity() local
354 GetWalletCardsResponse response = new GetWalletCardsResponse(cards, 0); in onWalletCardsRetrieved_noShortLabel_showsOnlySettingsInOverflowMenu() local
383 GetWalletCardsResponse response = new GetWalletCardsResponse(cards, 0); in onWalletCardsRetrieved_noWalletIntent_showsOnlySettingsInOverflowMenu() local
405 GetWalletCardsResponse response = new GetWalletCardsResponse(cards, 0); in onWalletCardsRetrieved_dismissed_doesNotShowCards() local
438 GetWalletCardsResponse response = new GetWalletCardsResponse(Collections.emptyList(), 0); in onWalletCardsRetrieved_cardDataEmpty_showsEmptyState() local
467 GetWalletCardsResponse response = new GetWalletCardsResponse(Collections.emptyList(), 0); in onWalletCardsRetrieved_cardDataEmpty_intentIsNull_hidesWallet() local
478 GetWalletCardsResponse response = new GetWalletCardsResponse(Collections.emptyList(), 0); in onWalletCardsRetrieved_cardDataEmpty_logoIsNull_hidesWallet() local
[all …]
/packages/modules/Bluetooth/system/rust/src/gatt/server/transactions/
Dread_by_group_type_request.rs149 let response = in test_simple_grouping() localVariable
188 let response = in test_invalid_group_type() localVariable
217 let response = in test_range_validation() localVariable
254 let response = in test_attribute_truncation() localVariable
303 let response = in test_limit_total_size() localVariable
352 let response = in test_group_end_outside_range() localVariable
402 let response = in test_no_results() localVariable
Dfind_by_type_value.rs138 let response = in test_uuid_match() localVariable
200 let response = in test_value_match() localVariable
237 let response = in test_range_check() localVariable
273 let response = in test_empty_response() localVariable
327 let response = in test_grouping_uuid() localVariable
375 let response = in test_limit_total_size() localVariable
Dread_by_type_request.rs114 let response = in test_single_matching_attr() localVariable
169 let response = in test_type_filtering() localVariable
223 let response = in test_limit_total_size() localVariable
270 let response = in test_no_results() localVariable
298 let response = in test_range_validation() localVariable
Dfind_information_request.rs153 let response = handle_find_information_request(att_view.view(), 128, &db); in test_long_uuids() localVariable
216 let response = handle_find_information_request(att_view.view(), 128, &db); in test_short_uuids() localVariable
254 let response = handle_find_information_request(att_view.view(), 128, &db); in test_handle_validation() localVariable
297 let response = handle_find_information_request(att_view.view(), 6, &db); in test_limit_total_size() localVariable
336 let response = handle_find_information_request(att_view.view(), 6, &db); in test_empty_output() localVariable
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DUserIdentificationAssociationResponseTest.java33 UserIdentificationAssociationResponse response = forFailure(); in testFailure_noMessage() local
43 UserIdentificationAssociationResponse response = forFailure("D'OH!"); in testFailure_withMessage() local
73 UserIdentificationAssociationResponse response = forSuccess(new int[] {1, 2, 3}); in testSuccess_noMessage() local
83 UserIdentificationAssociationResponse response = forSuccess(new int[] {1, 2, 3}, "D'OH!"); in testSuccess_withMessage() local
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/entitlement/http/
DHttpClientTest.java116 Map<String, FakeResponse> response = ImmutableMap.of(TEST_URL, responseContent); in request_contentTypeXml_returnsXmlBody() local
150 Map<String, FakeResponse> response = ImmutableMap.of(TEST_URL, responseContent); in request_httpGetResponseBadRequest_throwsException() local
218 Map<String, FakeResponse> response = ImmutableMap.of(TEST_URL, responseContent); in request_postJson_doNotEscapeForwardSlash() local
242 Map<String, FakeResponse> response = ImmutableMap.of(TEST_URL, responseContent); in request_postGzipJsonArray() local
267 Map<String, FakeResponse> response = ImmutableMap.of(TEST_URL, responseContent); in request_postJsonArray() local
296 Map<String, FakeResponse> response = ImmutableMap.of(TEST_URL, responseContent); in request_postGzipJsonArray_response_gunzipJsonArray() local
320 Map<String, FakeResponse> response = ImmutableMap.of(TEST_URL, responseContent); in request_getResponseCodeFailed_expectThrowsException() local
346 Map<String, FakeResponse> response = ImmutableMap.of(TEST_URL, responseContent); in request_getResponseBodyFailed_expectThrowsException() local
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DVmsHalServiceTest.java399 HalPropValue response = createHalMessage( in testHandlePublisherIdRequestEvent() local
430 HalPropValue response = createHalMessage( in testHandlePublisherInformationRequestEvent() local
572 HalPropValue response = createHalMessage( in testHandleAvailabilityRequestEvent_ZeroLayers() local
592 HalPropValue response = createHalMessage( in testHandleAvailabilityRequestEvent_OneLayer() local
622 HalPropValue response = createHalMessage( in testHandleAvailabilityRequestEvent_MultipleLayers() local
664 HalPropValue response = createHalMessage( in testHandleStartSessionEvent() local
808 HalPropValue response = createHalMessage( in testHandleSubscriptionsRequestEvent_ZeroLayers() local
830 HalPropValue response = createHalMessage( in testHandleSubscriptionsRequestEvent_OneLayer_ZeroAssociatedLayers() local
853 HalPropValue response = createHalMessage( in testHandleSubscriptionsRequestEvent_ZeroLayers_OneAssociatedLayer() local
889 HalPropValue response = createHalMessage( in testHandleSubscriptionsRequestEvent_MultipleLayersAndAssociatedLayers() local
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/tests/testauth/
DTestAuthenticator.java62 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, in addAccount()
84 public Bundle getAuthToken(AccountAuthenticatorResponse response, Account account, in getAuthToken()
99 AccountAuthenticatorResponse response, Account account, Bundle options) { in confirmCredentials()
107 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { in editProperties()
125 AccountAuthenticatorResponse response, Account account, String[] features) { in hasFeatures()
138 public Bundle updateCredentials(AccountAuthenticatorResponse response, Account account, in updateCredentials()
/packages/services/Car/cpp/computepipe/tests/runner/graph/includes/
DGrpcGraphServerImpl.h92 proto::GraphOptionsResponse* response) override { in GetGraphOptions()
101 proto::StatusResponse* response) override { in SetGraphConfig()
109 proto::StatusResponse* response) override { in SetDebugOption()
117 proto::StatusResponse* response) override { in StartGraphExecution()
130 proto::OutputStreamResponse response; in ObserveOutputStream() local
152 proto::StatusResponse* response) override { in StopGraphExecution()
160 proto::StatusResponse* response) override { in ResetGraph()
168 proto::ProfilingDataResponse* response) { in GetProfilingData()
/packages/services/Car/cpp/computepipe/runner/graph/
DGrpcGraph.cpp39 ResponseType* response) { in FinishRpcAndGetResult()
103 proto::GraphOptionsResponse response; in initialize() local
152 proto::StatusResponse response; in handleConfigPhase() local
204 proto::StatusResponse response; in handleExecutionPhase() local
244 proto::StatusResponse response; in handleStopWithFlushPhase() local
287 proto::StatusResponse response; in handleStopImmediatePhase() local
327 proto::StatusResponse response; in handleResetPhase() local
368 proto::StatusResponse response; in StartGraphProfiling() local
392 proto::StatusResponse response; in StopGraphProfiling() local
415 proto::ProfilingDataResponse response; in GetDebugInfo() local
/packages/modules/Connectivity/framework/src/android/net/
DParseException.java26 public String response; field in ParseException
28 public ParseException(@NonNull String response) { in ParseException()
33 public ParseException(@NonNull String response, @NonNull Throwable cause) { in ParseException()
/packages/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/
DStatsdAuthenticator.java95 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, in addAccount()
102 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { in editProperties()
107 public Bundle updateCredentials(AccountAuthenticatorResponse response, Account account, in updateCredentials()
113 public Bundle confirmCredentials(AccountAuthenticatorResponse response, Account account, in confirmCredentials()
119 public Bundle getAuthToken(AccountAuthenticatorResponse response, Account account, in getAuthToken()
130 public Bundle hasFeatures(AccountAuthenticatorResponse response, Account account, in hasFeatures()
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/provision/worker/
DDeviceCheckInHelperTest.java143 final GetDeviceCheckInStatusGrpcResponse response = createStopResponse(); in testHandleGetDeviceCheckInStatusResponse_stopCheckIn_shouldSetNeedCheckInFalse() local
152 GetDeviceCheckInStatusGrpcResponse response = createReadyResponse(TEST_CONFIGURATION); in handleProvisionReadyResponse_validConfiguration_shouldSetStateAndStartLockTaskMode() local
168 GetDeviceCheckInStatusGrpcResponse response = createReadyResponse( in testHandleProvisionReadyResponse_invalidConfiguration_shouldNotSetState() local
182 final GetDeviceCheckInStatusGrpcResponse response = createRetryResponse( in testHandleGetDeviceCheckInStatusResponse_retryCheckIn_shouldEnqueueNewCheckInWork() local
198 final GetDeviceCheckInStatusGrpcResponse response = createRetryResponse( in handleGetDeviceCheckInStatusResponse_retryCheckIn_durationIsNegative_shouldRetry() local
228 GetDeviceCheckInStatusGrpcResponse response = Mockito.mock( in createMockResponse() local
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/secure/
DSecureElementChannelTest.java170 ResponseApdu response = mSecureElementChannel.openChannelWithResponse(); in openChannelWithResponse_unopened_success() local
182 ResponseApdu response = mSecureElementChannel.openChannelWithResponse(); in openChannelWithResponse_closed_success() local
245 ResponseApdu response = mSecureElementChannel.transmit(mMockCommandApdu); in transmit_unopened_failure() local
257 ResponseApdu response = mSecureElementChannel.transmit(mMockCommandApdu); in transmit_opened_success() local
269 ResponseApdu response = mSecureElementChannel.transmit(mMockCommandApdu); in transmit_closed_success() local

12345678910>>...25