Home
last modified time | relevance | path

Searched refs:mResponse (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/java/android/accounts/
DAccountManagerResponse.java29 private IAccountManagerResponse mResponse; field in AccountManagerResponse
33 mResponse = response; in AccountManagerResponse()
38 mResponse = in AccountManagerResponse()
44 mResponse.onResult(result); in onResult()
52 mResponse.onError(errorCode, errorMessage); in onError()
65 dest.writeStrongBinder(mResponse.asBinder()); in writeToParcel()
DAccountManager.java860 mService.getAuthTokenLabel(mResponse, accountType, authTokenType); in getAuthTokenLabel()
913 mResponse, account, features, userId, mContext.getOpPackageName());
973 mService.getAccountsByFeatures(mResponse, type, features,
1241 mService.renameAccount(mResponse, account, newName);
1368 mService.removeAccountAsUser(mResponse, account, false, userHandle.getIdentifier());
1394 mService.removeAccountAsUser(mResponse, account, activity != null,
1712 mService.getAuthToken(mResponse, account, authTokenType,
1883 mService.getAuthToken(mResponse, account, authTokenType,
1955 mService.addAccount(mResponse, accountType, authTokenType,
1984 mService.addAccountAsUser(mResponse, accountType, authTokenType,
[all …]
/frameworks/libs/service_entitlement/tests/utils/com/android/libraries/entitlement/testing/
DFakeURLStreamHandler.java85 private final FakeResponse mResponse; field in FakeURLStreamHandler.FakeHttpsURLConnection
90 mResponse = response; in FakeHttpsURLConnection()
95 if (mResponse.hasException() && mResponse.responseBody().length == 0) { in getInputStream()
98 return new ByteArrayInputStream(mResponse.responseBody()); in getInputStream()
117 if (mResponse.hasException() && mResponse.responseCode() == 0) { in getResponseCode()
120 return mResponse.responseCode(); in getResponseCode()
133 return "Location: " + mResponse.responseLocation(); in getHeaderField()
135 return mResponse.contentType(); in getHeaderField()
137 return mResponse.retryAfter(); in getHeaderField()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/scroll/
DScrollCaptureFrameworkSmokeTest.java53 private volatile ScrollCaptureResponse mResponse; field in ScrollCaptureFrameworkSmokeTest
76 mResponse = response; in testBasicOperation()
86 assertNotNull(mResponse); in testBasicOperation()
87 if (!mResponse.isConnected()) { in testBasicOperation()
88 Log.e(TAG, "Received response with no connection: " + mResponse); in testBasicOperation()
92 mResponse.getWindowTitle().contains(ScrollViewActivity.class.getSimpleName())); in testBasicOperation()
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/request/
DSubscribeCoordinatorTest.java71 @Mock CapabilityRequestResponse mResponse; field in SubscribeCoordinatorTest
85 doReturn(mResponse).when(mRequest).getRequestResponse(); in setUp()
86 doReturn(Optional.empty()).when(mResponse).getReasonHeaderCause(); in setUp()
112 doReturn(Optional.of(3)).when(mResponse).getCommandError(); in testRequestCommandError()
139 doReturn(Optional.ofNullable(details)).when(mResponse).getSipDetails(); in testRequestNetworkRespSuccess()
142 doReturn(true).when(mResponse).isNetworkResponseOK(); in testRequestNetworkRespSuccess()
143 doReturn(Optional.of(200)).when(mResponse).getNetworkRespSipCode(); in testRequestNetworkRespSuccess()
173 doReturn(Optional.of(400)).when(mResponse).getNetworkRespSipCode(); in testRequestNetworkRespFailure()
198 doReturn(false).when(mResponse).isNetworkResponseOK(); in testRequestNetworkRespError()
199 doReturn(true).when(mResponse).isRequestForbidden(); in testRequestNetworkRespError()
[all …]
DOptionsCoordinatorTest.java59 @Mock CapabilityRequestResponse mResponse; field in OptionsCoordinatorTest
72 doReturn(mResponse).when(mRequest).getRequestResponse(); in setUp()
99 doReturn(Optional.of(3)).when(mResponse).getCommandError(); in testRequestCommandError()
119 doReturn(true).when(mResponse).isNetworkResponseOK(); in testRequestNetworkResponse()
120 doReturn(Optional.of(200)).when(mResponse).getNetworkRespSipCode(); in testRequestNetworkResponse()
125 doReturn(updatedCapList).when(mResponse).getUpdatedContactCapability(); in testRequestNetworkResponse()
131 verify(mResponse).removeUpdatedCapabilities(updatedCapList); in testRequestNetworkResponse()
DRemoteOptionsCoordinatorTest.java55 @Mock RemoteOptResponse mResponse; field in RemoteOptionsCoordinatorTest
68 doReturn(mResponse).when(mRequest).getRemoteOptResponse(); in setUp()
81 doReturn(updatedCapability).when(mResponse).getRcsContactCapability(); in testRemoteRequestFinished()
82 doReturn(true).when(mResponse).isNumberBlocked(); in testRemoteRequestFinished()
/frameworks/base/media/java/android/media/tv/
DCommandResponse.java47 private final String mResponse; field in CommandResponse
57 mResponse = response; in CommandResponse()
63 mResponse = source.readString(); in CommandResponse()
73 return mResponse; in getResponse()
93 dest.writeString(mResponse); in writeToParcel()
/frameworks/base/core/java/android/hardware/location/
DContextHubTransaction.java190 private ContextHubTransaction.Response<T> mResponse; field in ContextHubTransaction
279 return mResponse; in waitForResponse()
320 mExecutor.execute(() -> mListener.onComplete(this, mResponse)); in setOnCompleteListener()
364 mResponse = response; in setResponse()
369 mExecutor.execute(() -> mListener.onComplete(this, mResponse)); in setResponse()
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/
DEapAkaHelper.java118 @Nullable private final String mResponse; field in EapAkaHelper.EapAkaResponse
124 mResponse = response; in EapAkaResponse()
134 return mResponse; in response()
/frameworks/av/media/mtp/
DMtpDevice.cpp341 newSession = mResponse.getParameter(1); in openSession()
509 mLastSendObjectInfoObjectHandle = mResponse.getParameter(3); in sendObjectInfo()
510 info->mStorageID = mResponse.getParameter(1); in sendObjectInfo()
511 info->mParent = mResponse.getParameter(2); in sendObjectInfo()
512 info->mHandle = mResponse.getParameter(3); in sendObjectInfo()
737 mResponse.copyFrom(mData); in readData()
738 return mResponse.getResponseCode() == MTP_RESPONSE_OK; in readData()
903 mResponse.copyFrom(mData); in readData()
920 return mResponse.getResponseCode(); in readResponse()
922 int ret = mResponse.read(mRequestIn1); in readResponse()
[all …]
DMtpServer.cpp230 mResponse.setTransactionID(transaction); in run()
231 ALOGV("sending response %04X", mResponse.getResponseCode()); in run()
232 ret = mResponse.write(mHandle); in run()
338 mResponse.reset(); in handleRequest()
462 mResponse.setResponseCode(response); in handleRequest()
513 mResponse.setParameter(1, mSessionID); in doOpenSession()
618 mResponse.setParameter(1, count); in doGetNumObjects()
621 mResponse.setParameter(1, 0); in doGetNumObjects()
919 mResponse.setParameter(1, length); in doGetPartialObject()
1050 mResponse.setParameter(1, storageID); in doSendObjectInfo()
[all …]
DMtpServer.h65 MtpResponsePacket mResponse; variable
DMtpDevice.h57 MtpResponsePacket mResponse; variable
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/eapaka/
DEapAkaResponse.java58 private String mResponse; field in EapAkaResponse
67 return mResponse; in response()
131 result.mResponse = Base64.encodeToString(challengeResponse, Base64.NO_WRAP).trim(); in respondToEapAkaChallenge()
/frameworks/base/telecomm/java/android/telecom/Logging/
DEventManager.java101 String mResponse; field in EventManager.TimedEventPair
107 this.mResponse = response; in TimedEventPair()
113 this.mResponse = response; in TimedEventPair()
217 pendingResponses.put(p.mResponse, new PendingResponse(event.eventId, in extractEventTimings()
/frameworks/base/core/java/android/view/textclassifier/
DSystemTextClassifier.java307 private T mResponse; field in SystemTextClassifier.ResponseReceiver
315 mResponse = response; in onSuccess()
343 return mResponse; in get()
/frameworks/base/services/tests/servicestests/src/com/android/server/credentials/
DProviderRegistryGetSessionTest.java100 private Set<CredentialDescriptionRegistry.FilterResult> mResponse; field in ProviderRegistryGetSessionTest
115 mResponse = new HashSet<>(); in setUp()
123 mResponse.add(mResult); in setUp()
125 .thenReturn(mResponse); in setUp()
/frameworks/base/core/java/android/widget/
DRemoteViews.java1534 final RemoteResponse mResponse;
1538 this.mResponse = response;
1543 mResponse = new RemoteResponse();
1544 mResponse.readFromParcel(parcel);
1549 mResponse.writeToParcel(dest, flags);
1560 if (mResponse.mPendingIntent != null) {
1576 target.setTagInternal(R.id.pending_intent_tag, mResponse.mPendingIntent);
1577 } else if (mResponse.mFillIntent != null) {
1587 target.setTagInternal(com.android.internal.R.id.fillInIntent, mResponse);
1597 target.setOnClickListener(v -> mResponse.handleViewInteraction(v, params.handler));
[all …]
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java3651 response = mResponse; in onResult()
4958 IAccountManagerResponse mResponse;
5013 mResponse = response;
5025 if (mResponse == null) {
5029 IAccountManagerResponse response = mResponse;
5140 if (mResponse != null) {
5142 mResponse.asBinder().unlinkToDeath(this, 0 /* flags */);
5145 mResponse = null;
5153 mResponse = null;
5301 response = mResponse;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt350 Landroid/accounts/AccountManager$BaseFutureTask;->mResponse:Landroid/accounts/IAccountManagerRespon…
406 Landroid/accounts/AccountManagerResponse;->mResponse:Landroid/accounts/IAccountManagerResponse;
21141 Landroid/hardware/location/ContextHubTransaction;->mResponse:Landroid/hardware/location/ContextHubT…
61785 Landroid/view/textclassifier/SystemTextClassifier$ResponseReceiver;->mResponse:Ljava/lang/Object;