Searched refs:mResponseCallback (Results 1 – 6 of 6) sorted by relevance
58 @Mock PublishRequestResponse mResponseCallback; field in PublishProcessorTest89 doReturn(mTaskId).when(mResponseCallback).getTaskId(); in setUp()137 doReturn(mTaskId).when(mResponseCallback).getTaskId(); in testNotPublishWhenReachMaximumRetries()138 doReturn(true).when(mResponseCallback).needRetry(); in testNotPublishWhenReachMaximumRetries()142 publishProcessor.onNetworkResponse(mResponseCallback); in testNotPublishWhenReachMaximumRetries()145 verify(mResponseCallback).onDestroy(); in testNotPublishWhenReachMaximumRetries()168 doReturn(mTaskId).when(mResponseCallback).getTaskId(); in testCommandErrorWithRetry()169 doReturn(true).when(mResponseCallback).needRetry(); in testCommandErrorWithRetry()170 doReturn(Optional.of(10)).when(mResponseCallback).getCmdErrorCode(); in testCommandErrorWithRetry()174 publishProcessor.onCommandError(mResponseCallback); in testCommandErrorWithRetry()[all …]
92 private InlineSuggestionsResponseCallbackImpl mResponseCallback; field in InlineSuggestionSession128 return mResponseCallback != null; in shouldSendImeStatus()157 if (mResponseCallback != null) { in invalidate()159 mResponseCallback.invalidate(); in invalidate()160 mResponseCallback = null; in invalidate()187 mResponseCallback = new InlineSuggestionsResponseCallbackImpl(this); in makeInlineSuggestionRequestUncheck()188 mCallback.onInlineSuggestionsRequest(request, mResponseCallback); in makeInlineSuggestionRequestUncheck()
88 private IInlineSuggestionsResponseCallback mResponseCallback; field in AutofillInlineSuggestionsRequestSession165 if (mImeRequest == null || mResponseCallback == null || mImeSessionInvalidated) { in onInlineSuggestionsResponseLocked()222 if (mDestroyed || mResponseCallback == null) { in maybeUpdateResponseToImeLocked()250 mResponseCallback.onInlineSuggestionsResponse(mAutofillId, response); in updateResponseToImeUncheckLocked()304 mResponseCallback = callback; in handleOnReceiveImeRequest()
46 private IOptionsResponseCallback mResponseCallback = new IOptionsResponseCallback.Stub() { field in OptionsRequest109 optionsController.sendCapabilitiesRequest(mContactUri, featureTags, mResponseCallback); in requestCapabilities()187 return mResponseCallback; in getResponseCallback()
54 private final ISubscribeResponseCallback mResponseCallback = field in SubscribeRequest119 subscribeController.requestCapabilities(requestCapUris, mResponseCallback); in requestCapabilities()273 return mResponseCallback; in getResponseCallback()
92 private IPublishResponseCallback mResponseCallback = new IPublishResponseCallback.Stub() { field in PublishRequestResponse105 return mResponseCallback; in getResponseCallback()